etherlab/plc_cia402node.c
changeset 2077 14dfb786c53e
parent 2070 dee8d519f3ff
child 2079 49242019a9ca
equal deleted inserted replaced
2075:21eb91dc7071 2077:14dfb786c53e
    27 	__SwitchOnDisabled,
    27 	__SwitchOnDisabled,
    28 	__ReadyToSwitchOn,
    28 	__ReadyToSwitchOn,
    29 	__SwitchedOn,
    29 	__SwitchedOn,
    30 	__OperationEnabled,
    30 	__OperationEnabled,
    31 	__QuickStopActive,
    31 	__QuickStopActive,
    32 	__FaultReactionActive,
    32     __FaultReactionActive,
    33 	__Fault,
    33     __Fault,
    34 } __CIA402NodeState;
    34 } __CIA402NodeState;
    35 
    35 
    36 typedef struct {
    36 typedef struct {
    37 %(entry_variables)s
    37 %(entry_variables)s
    38 	__CIA402NodeState state;
    38     __CIA402NodeState state;
    39 	axis_s* axis;
    39     axis_s* axis;
    40 } __CIA402Node;
    40 } __CIA402Node;
    41 
    41 
    42 static __CIA402Node __CIA402Node_%(location)s;
    42 static __CIA402Node __CIA402Node_%(location)s;
    43 
    43 
    44 %(extern_located_variables_declaration)s
    44 %(extern_located_variables_declaration)s