System bus (CAN) with Servo PLC & Drive PLC
System blocks
6.2 CAN1_IO (Drive PLC)
6-7
L
PLC-Systembus EN 1.1
VariableName DataType SignalType Address DIS DIS format Note
CAN1_nIn W0_a Integer analog %IW31.0 C0136/2 dec [%]
CAN1_bInB 0 _b %IX31.0. 0
... Bool binary ... C0863/1 hex
CAN1_bInB 15 _b %IX31.0. 15
CAN1_nInW1_a Integer analog %IW31.1 C0866/1 dec [%]
CAN1_bInB 16 _b %IX31.1. 0
... Bool binary ... C0863/2 hex
CAN1_bInB 31 _b %IX31.1. 15
CAN1_nInW2_a Integer analog %IW31.2 C0866/2 dec [%]
CAN1_bInB 32 _b %IX31.2. 0
... Bool binary ...
CAN1_bInB 47 _b %IX31.2. 15
CAN1_nInW3_a Integer analog %IW31.3 C0866/3 dec [%]
CAN1_bInB 48 _b %IX31.3. 0
... Bool binary ...
CAN1_bInB 63 _b %IX31.3. 15
CAN1_dnInD1_p Double integer position %ID31.1 C0867/1 dec [inc]
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.
(^ 2-2)
User data
The received 8 bytes of user data are assigned to several variables of a different data type at the same
time and can therefore - as required - be evaluated as
• binary information (1-bit)
• quasi-analog value (16-bit)
• phase-angle information (32-bit)
in the PLC program:
Byte Variable (1-bit) Variable (16 -bit) Variable (32 -bit)
1, 2 CAN1_bInB 0 _b
...
CAN1_bInB 15 _b
CAN1_nIn W0_a
3, 4 CAN1_bInB 16 _b
...
CAN1_bInB 31 _b
CAN1_nIn W1_a
5, 6 CAN1_bInB 32 _b
...
CAN1_bInB 47 _b
CAN1_nIn W2_a
7, 8 CAN1_bInB 48 _b
...
CAN1_bInB 63 _b
CAN1_nIn W3_a
C
N1_dnInD1
p