Trns 9 Command Format - Hitachi EH-150 Series Applications Manual

Table of Contents

Advertisement

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.
 d parameter
The slot position and port number are designated by this parameter
WY u s
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.
[0] Return code
s
System area (6 words)
[1] Command
s+7
[2] Command timeout time
s+8
[3] Top I/O address of
s+9
[4] Top I/O address of
s+B
[5] Size of receiving data area
s+D
[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."
TRNS 9 ( d , s , t )
I/O No. address of
I/O No. address of
Slot position and port number ( 4 or 5)
Figure 5.6 TRNS 9 Command format
4: Port 1
5: Port 2
Slot No.
Unit No.
sending data area
receiving data area
Figure 5.7 Configuration of s parameter (TRNS 9 command)
"
"
t
parameter
"
"
s
parameter
The execution result of TRNS 9 command is
stored. (Code set by system.)
Area used by system
* please do not use this area.
This area set by user
5 - 3
Chapter 5 Control of EH-SIO

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ehv seriesHx series

Table of Contents