IFM Electronic CR0403 Programming Manual page 98

Hide thumbs Also See for CR0403:
Table of Contents

Advertisement

ifm
Programming Manual
ecomatmobile
ifm function elements
>
Parameters of the outputs
Parameter
MASTERSTATE
PLCNODEID
PLCBAUDRATE
PLCVERSION
CANSTATE
NODESTATE
LASTNODESTATE
RESULT
Possible results for RESULT:
Value
Description
dec | hex
0
00
FB is inactive
1
01
FB execution completed without error – data is valid
8
08
FB is active – not yet processed
242
F2
Error: setting is not possible
BasicController (CR0403) Runtime System V03.02
Data type
BYTE
BYTE
DWORD
DWORD
BYTE
BYTE
BYTE
BYTE
98
ifm function elements for the device CR0403
Description
Master state = internal state of the master:
0 = 0x00 = master starts up
4 = 0x04 = node configuration running
5 = 0x05 = normal operating state of the master
255 = 0xFF = PLC running as slave
PLC node ID = node ID of the PLC the program is running on
Value = 0...127 = 0x00...0x7F
Baudrate of the PLC
PLC version
Status of the CANopen network
Device operated as master:
Node ID = 0 (device as such):
0 = 0x00 = OK
128 = 0x80 = BUSOFF
Node ID ≠ 0 (node):
0 = 0x00 = OK
1 = 0x01 = guard or heartbeat error on node
128 = 0x80 = BUSOFF
Device operated as slave:
0 = 0x00 = OK
1 = 0x01 = guard or heartbeat error
128 = 0x80 = BUSOFF
Node state = internal node state of a slave seen from the master's
perspective. The input NODEID identifies the node.
-1 = 0xFF = reset after ResetNode
1 = 0x01 = waiting for BOOTUP
2 = 0x02 = after receipt of the BOOTUP message
3 = 0x03 = not yet configured: STOPPED
4 = 0x04 = after configuration with SDOs: PRE-OPERATIONAL
5 = 0x05 = after starting the node: OPERATIONAL
97 = 0x61 = optional node
98 = 0x62 = other device type configured than in 0x1000
99 = 0x63 = node guarding
Last Node State
Node state according to CANopen (with these values the status is also
coded in the corresponding messages with regard to the node).
0
0x00
BOOTUP
4
0x04
STOPPED
5
0x05
OPERATIONAL
127
0x7F
PRE-OPERATIONAL
feedback of the function block
(possible messages → following table)
2015-04-01
7869

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents