EasyManua.ls Logo

Hitachi EH-150 Series - Send Data

Hitachi EH-150 Series
194 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter6 Communication Mode
6 - 21
Free Protocol
6.2.6 Send data
There are three types of data transmission: Sending only, Receive after sending, Send after receiving. The data
sending type is specified by TRNS 9 command.
Data sending
Upon execution of TRNS 9 command, the specified data are transmitted from EH-SIO. When data are transmitted
from EH-SIO, TRNS 9 command will be completed.
TRNS 9 command s parameter at time of data transmission
Data sending command from EH-SIO to external device is H0020
In addition, although the receiving data area, specified by s+B and s+D, is not used in this command. Please set
dummy parameters in s+B to s+D.
Figure 6.18 s parameter format (Free protocol / Data sending)
Data to transmit
Store the sending data before execution of the TRNS 9 command. Set the number of send data [bytes] into the
top of the sending data area. Data should become after the next word.
Figure 6.19 Sending data area format (Free protocol / Data sending)
Execute data sending
Please turn on command execution flag (t+0) after storing the parameter required for s parameter and send data
for the sending data area.
Return code
H0020 (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
Dummy parameter
Number of send data (bytes)
1st byte
2nd byte
3rd byte
4th byte
(n-1)th byte
nth byte
Number of send data (bytes)
1st byte
[1] [2]
2nd byte
[3] [4]
Binary ASCII conversion
3rd byte
[5] [6]
4th byte
[7] [8]
(m-1)th byte
[m-3] [m-2]
mth byte
[m-1] [m]
Transmits in order of 1, 2, 3, 4,
n-1, n.
Transmits in order of [1], [2], [3], [4],
[m-1], [m]
Data conversion: through type
and binary through type
1word
1 word

Table of Contents

Related product manuals