Chapter 5 Control of EH-SIO
5 - 3
5.1.2
TRNS 9 Command format
TRNS 9 command consists of three parameters, d, s, and t.
TRNS 9 command needs the data table area (called send data area, receiving data area) in addition to d, s, t
parameters. Data table address to send and receive are configured in "s" parameter.
TRNS 9 ( d , s , t )
Slot position and port number ( 4 or 5)
I/O No. address of
"
t
"
parameter
I/O No. address of
"
s
"
parameter
Figure 5.6 TRNS 9 Command format
d parameter
The slot position and port number are designated by this parameter
WY u
s
4: Port 1
5: Port 2
Slot No.
Unit No.
Ex.) In case of the port 2 of a basic unit (unit 0) and slot 3.
WY035
s parameter
The s parameter is used for 14 words in total. The configuration of s parameter is shown below.
Figure 5.7 Configuration of s parameter (TRNS 9 command)
[0] Return code
When TRNS 9 command is executed, an execution result is stored in high byte, and the executed command is
stored in low byte. The execution result code is set to H00 when TRNS 9 command is executed properly. About
the code area at the time of abnormalities, please refer to the return code in " Chapter 6 Communication Mode".
Ex.) In case of command H21
Normal completion : H0021
[1] Command
Set command according to operation.
Please refer to "Chapter 6 Communication Mode."
[4] Top I/O address of
receiving data area
[5] Size of receiving data area
[0] Return code
[1] Command
[2] Command timeout time
[3] Top I/O address of
sending data area
s
s+7
s+8
s+9
s+B
s+D
This area set by user
System area (6 words)
Area used by system
* please do not use this area.
The execution result of TRNS 9 command is
stored. (Code set by system.)
Summary of Contents for EH-150 Series
Page 2: ......
Page 10: ...M E M O ...
Page 30: ...Chapter 4 Installation 4 10 M E M O ...
Page 156: ...Chapter 7 System setup 7 12 M E M O ...
Page 164: ...Chapter 8 Daily and Periodic Inspection 8 8 M E M O ...