FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
25-1
25:U
SER
C
OMMUNICATION
I
NSTRUCTIONS
Introduction
User communication instructions convert data to the specified data type and transmit and receive that data.
The user communication instructions can be used on expansion communication ports or Ethernet port. To perform user
communication with external devices connected on the expansion communication ports, use the TXD (user communication
transmit) instruction and RXD (user communication receive) instruction. To perform user communication with external devices
connected over the Ethernet, use the ETXD (User communication transmit over Ethernet) instruction and ERXD (User
communication receive over Ethernet) instruction.
TXD (Transmit)
Applicable CPU Modules
Valid Devices
For the valid device address range, see pages 6-1 and 6-2.
Internal relays M0 through M1277 can be designated as D1. Special internal relays cannot be designated as D1.
Transmit data designated by device S1 can be a maximum of 200 bytes.
When transmission is complete, an output or internal relay, designated by device D1, is turned on.
Destination 2 occupies two consecutive data registers starting with the device designated by D2. The transmit status data register, D0-D1998, stores
the status of transmission and error code. The next data register stores the byte count of transmitted data. The same data registers cannot be used
as transmit status registers for TXD2 through TXD3 instructions and receive status registers for RXD2 through RXD3 instructions.
The TXD instructions cannot be used in an interrupt program. If used, a user program execution error will result, turning on special internal relay
M8004 and the ERR LED on the CPU module.
Precautions for Programming TXD Instruction
The SmartAxis has five formatting areas each for executing TXD2 through TXD3 instructions, so five instructions each of TXD2 through TXD3 can be
processed at the same time. If inputs to more than five of the same TXD instruction are turned on at the same time, an error code is set to the transmit
status data register, designated by device 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 instruction 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.
When input is on, data designated by S1 is converted into a specified format and
transmitted from port 2 through port 3 to a remote terminal with an RS232C/RS485
port.
TXD
*
S1
*****
D1
*****
D2
*****
FT1A-12
FT1A-24
FT1A-40
FT1A-48
FT1A-Touch
—
TXD2
TXD2-TXD3
TXD2-TXD3
—
Device
Function
I
Q
M
R
T
C
D
Constant
Repeat
S1 (Source 1)
Transmit data
—
—
—
—
—
—
X
X
—
D1 (Destination 1)
Transmit completion output
—
X
—
—
—
—
—
—
D2 (Destination 2)
Transmit status register
—
—
—
—
—
—
X
—
—
Содержание microsmart pentra
Страница 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Страница 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...