System bus (CAN) with Servo PLC & Drive PLC
System blocks
7.2
FIF_CAN2_IO
7-8
L
PLC-Systembus EN 1.1
Process data telegram
The process data telegram consists of an
identifier
and 8 bytes of user data.
11-bit
8-byte user data
Identifier
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Identifier
Information about the identifier can be found in chapter 2.3.1.
User data
The first 4 of the 8 bytes of user data to be transmitted can be written by several variables of a different
data type at the same time and data can therefore - as required - be transmitted as
•
binary information (1-bit)
•
quasi-analog value (16-bit)
•
phase-angle information (32-bit)
from the PLC program:
Byte
Variable (1-bit)
Variable (16-bit)
Variable (32-bit)
1, 2
FIF_CAN2_bFDO
0
_b
...
FIF_CAN2_bFDO
15
_b
FIF_CAN2_nOutW1_a
FIF CAN2 dnOutD1 p
3, 4
FIF_CAN2_bFDO
16
_b
...
FIF_CAN2_bFDO
31
_b
FIF_CAN2_nOutW2_a
FIF_CAN2_dnOutD1_p
5, 6
FIF_CAN2_nOutW3_a
7, 8
FIF_CAN2_nOutW4_a
Tip!
Make sure that a byte to be transmitted is not at the same time written by different variable types to
ensure data consistency.
•
For writing bytes 1 and 2, either use only the variable
FIF_CAN2_dnOutD1_p
, only the variable
FIF_CAN2_nOutW1_a
or only the variables
FIF_CAN2_bFDO0_b
...
FIF_CAN2_bFDO15_b
.
Show/Hide Bookmarks