![IDEC OpenNet series User Manual Download Page 231](http://html.mh-extra.com/html/idec/opennet-series/opennet-series_user-manual_617384231.webp)
17: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
17-4
O
PEN
N
ET
C
ONTROLLER
U
SER
’
S
M
ANUAL
TXD1 (Transmit 1)
TXD2 (Transmit 2)
Valid Operands
For the valid operand number range, see page 6-2.
▲
Internal relays M0 through M2557 can be designated as D1. Special internal relays cannot be designated as D1.
Transmit data designated by operand S1 can be a maximum of 200 bytes.
When transmission is complete, an output or internal relay, designated by operand D1, is turned on.
Destination 2 occupies two consecutive data registers starting with the operand designated by D2. The transmit status data
register, D0 through D7998, stores the status of transmission and error code. The next data register stores the byte count of
transmitted data. The same data registers should not be used as transmit status registers for TXD1/TXD2 instructions and
receive status registers for RXD1/RXD2 instructions.
Precautions for Programming TXD Instruction
•
The
OpenNet Controller
has five formatting areas each for executing TXD1 and TXD2 instructions, so five TXD1 and
five TXD2 instructions can be processed at the same time. If inputs to more than five TXD1 or TXD2 instructions are
turned on at the same time, an error code is set to the transmit status data register, designated by operand D2, in the
excessive TXD instructions that cannot be executed.
•
If the input for a TXD instruction is turned on while another TXD instruction is executed, the subsequent TXD instruc-
tion is executed 2 scan times after the preceding TXD instruction is completed.
•
Since TXD instructions are executed in each scan while input is on, a pulse input from a SOTU or SOTD instruction
should be used as required.
User Communication Transmit Instruction Dialog Box in WindLDR
Operand
Function
I
Q
M
R
T
C
D
L
Constant
Repeat
S1 (Source 1)
Transmit data
—
—
—
—
—
—
X
—
X
—
D1 (Destination 1)
Transmit completion output
—
X
▲
—
—
—
—
—
—
—
D2 (Destination 2)
Transmit status register
—
—
—
—
—
—
X
—
—
—
When input is on, data designated by S1 is converted into a specified
format and transmitted through the RS232C port 1 to a remote terminal
with an RS232C port.
TXD
1
S1
*****
D1
*****
D2
*****
When input is on, data designated by S1 is converted into a specified
format and transmitted through the RS232C port 2 to a remote terminal
with an RS232C port.
TXD
2
S1
*****
D1
*****
D2
*****
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]