Chapter6 Communication Mode
6 - 17
F
ree
P
ro
to
col
(2) When error information is read
If an error occurs at data receiving, error code will be treated as one data packet. When CPU module reads the
packet of error information, error flag (t+2) goes on, and error information is displayed on the return code area of
s parameter. At this time, the number of read data is set to 0, and the values of last data are kept.
Figure 6.17 Receiving data area format (Free protocol)
« Note »
In case of error at data reading, previous data remain in receiving data area. Therefore, if a program which refers
to the data part of receiving data area directly is created, old data will be referred to when errors occur.
By the methods as below, users can check if receiving command is executed properly.
1) The completion flag (t+1) ON of t parameter or the error flag (t+2) is monitored.
2) Return code area is monitored.
H0000 (Number of read data)
Contains first value
S
ize
o
f
re
ce
iv
in
g
d
ata are
a
Contains first value
Содержание EH-150 Series
Страница 1: ...HITACHI PROGRAMMABLE CONTROLLER Serial Communication Module EH SIO APPLICATION MANUAL NJI 443F X ...
Страница 2: ......
Страница 10: ...M E M O ...
Страница 30: ...Chapter 4 Installation 4 10 M E M O ...
Страница 156: ...Chapter 7 System setup 7 12 M E M O ...
Страница 164: ...Chapter 8 Daily and Periodic Inspection 8 8 M E M O ...