Chapter6 Communication Mode
6 - 23
F
ree
P
ro
to
col
Receiving after sending
When TRNS 9 command is executed, EH-SIO sends data and receives a reply data. When CPU module receives
the data from EH-SIO, TRNS 9 command is completed.
s parameter
Command for receiving after sending is H0021
Figure 6.20 s parameter format (Free protocol / Receiving after sending)
« Note »
When this command is executed, EH-SIO will clear the receiving buffer, even if previous data remained.
Data to transmit
Please refer to command H0020 (sending only).
Execution of command
Please turn on command execution flag (t+0) after storing the parameter required for s parameter and send data
for the send data area.
The end of receiving after data transmission
When EH-SIO sends data properly, completion flag (t+1) will be ON, and H0021 will be set to return code area.
If the transmission of data is failed, error flag (t+2) turns on, and error code is stored in the upper byte of return
code area.
Return code
H0021 (Command)
s
s+7
s+8
s+9
s+B
s+D
System area ( 6 words )
Set by user
Size of receiving data area
Top I/O address of
receiving data area
Command timeout time
Top I/O address of
sending data area
Содержание 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 ...