Programmers User Manual

14
Note 4 : The details of the communication timing are referring to 3.3 Communication Timing
Diagram.
7.2 Format of Cascade Global Notification Data
Before the time to terminate the execution, the data format from VC-C50i to the computer is
configured as shown below.
Header Device Num Notification Code End mark
Header : 1 byte F8h
Device Num : 2 byte 3031h~3039h (Last device number connected in cascade.)
Notification Code : 4 byte Present information of VC-C50i connected.
End mark : 1 byte EFh
7.3 Notification Code
The error information of VC-C50i connected in cascade indicates in hexadecimal, returns its
ASCII code. If the error does not exists, all bits of notification flags will be cleared and become
zero.
• Bit Assignment of Error Flags.
b15(MSB) b14 b13 b12 b11 b10 b9 b8
System Resv.(0) System Resv.(0) System Resv.(0) System Resv.(0) System Resv.(0) System Resv.(0) System Resv.(0) Cascade 9
th
b7 b6 b5 b4 b3 b2 b1 b0(LSB)
Cascade 8
th
Cascade 7
th
Cascade 6
th
Cascade 5
th
Cascade 4
th
Cascade 3
rd
Cascade 2
nd
Cascade 1
st
Example: 6 units are connected in cascade, and the errors occur in 1
st
unit and 5
th
unit.
1st byte
2nd byte
b15 = 0, b14 = 0, b13 = 0, b12 = 0 b11 = 0, b10 = 0, b9 = 0, b8 = 0
0h 30h 0h 30h
(Hexadecimal indication ASCII code conversion)
3
rd
byte 4
th
byte
b7 = 0, b6 = 0, b5 = 0, b4 = 1 b3 = 0, b2 = 0, b1 = 0, b0 = 1
1h 31h 1h 31h
(Hexadecimal indication ASCII code conversion)
Example of Notification data
d0 d1 d2 d3 d4 d5 d6 d7
Header Device Num Notification Code End mark
F8h 30h 36h 30h 30h 31h 31h EFh