Chapter 5 Control of EH-SIO
5 - 7
Sending data area
The configuration of sending data area is shown below.
Data 1
Data 2
Data 3
Data 4
Data n-1
Data n
The number of sending data bytes
Please set the number of
data in byte unit.
The I/O Address designated by s+9, A
…
1 word
Execution of TRNS 9 command send the data of the designated number of bytes (Top address of sending data area)
to EH-SIO. As for a data part, the purposes differ according to an execution command. Please refer to "Chapter 6
Communication Mode" for details.
Receiving data area
The configuration of receiving data area is shown below.
Data 4
Data n
…
The number of receiving data bytes
Data 1
Data 2
Data 3
Data n-1
Si
ze
o
f re
ce
iv
in
g
d
ata
a
re
a
1 word
The number of receiving data
is stored in byte unit.
The I/O Address designated by s+B, C
If data is received from EH-SIO by TRNS 9 command, the receive data is stored in receiving data area. The number
of bytes of the received data is stored in the top of receiving data area. The contents of received data depends on
executed command. Please refer to "Chapter 6 Communication Mode" for details.
« Note »
When the received data is odd bytes, low byte of the last word is H00.
When the received data exceeds receiving data area size, data within the size is stored, but the data beyond is
omitted.
Reference : The internal output used by TRNS 9
TRNS 9 seems to use only two internal output area, t and s, on a command format. However, there are sending data
area and receiving data area designated with s parameter. Therefore, a total of four internal output area is required.
It is necessary to create a program so that each area is not overlapped.
[3] Sending data area
[4] Receiving data area
[1] s parameter
[2] t parameter
Designate
Designate
Содержание 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 ...