190
ifm System Manual ecomatmobile BasicDisplay (CR0451) V01
CAN in the PDM360 CAN POUs to CANopen
CANOPEN_GETSTATE
7865
= Get State
Unit type = function block (FB)
Contained in the library: ifm_CANopen_NT_Vxxyyzz.LIB
Available for the following devices:
- BasicController: CR040n
- BasicDisplay: CR0451
- PDM360NG: CR108n
Symbol in CoDeSys:
CANOPEN_GETSTATE
EXECUTE
MASTERSTATE
CHANNEL
PLCNODEID
NODE
PLCBAUDRATE
PLCVERSION
CANSTATE
NODESTATE
LASTNODESTATE
RESULT
Description
7867
Via CANOPEN_GETSTATE, parameters of the master, a slave device or a specific node in the
network can be set.
Parameters of the inputs
7868
Parameter Data type Description
EXECUTE BOOL
FALSETRUE (edge):
POU is executed once
otherwise: POU not active
A POU already started is processed.
CHANNEL BYTE CAN interface (1...n) depending on the device
NODEID BYTE Node ID = ID of the node (0...127)
Controller as CANopen master:
Value = 0:
Only the status information of the controller itself is returned at the
outputs. The outputs with information on the nodes are invalid.
Value 0:
node ID of a node in the network. For this one as well as for the
controller the states are returned at the outputs.
Controller as CANopen slave (CAN device):
Value = 0 (preset):
The status information of the slave device is returned at the outputs.
Value 0:
no action