FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
25-7
25: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
Transmit Data Byte Count
The data register next to the device designated for transmit status stores the byte count of data transmitted by the TXD
instruction. When BCC is included in the transmit data, the byte count of the BCC is also included in the transmit data byte count.
Example:
Data register D100 is designated as a device for transmit status.
RXD (Receive)
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.
Receive format designated by device S1 can be a maximum of 200 bytes.
When data receive 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 receive status data register, D0-D1998, stores
the status of data receive and error code. The next data register stores the byte count of received data. The same data registers can not be used as
transmit status registers for TXD2 through TXD3 instructions and receive status registers for RXD2 through RXD3 instructions.
The RXD 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 the RXD Instruction
The SmartAxis can execute a maximum of five instructions each of RXD2 through RXD3 that have a start delimiter at the same time. If a start
delimiter is not programmed in RXD2 through RXD3 instructions, the SmartAxis can execute only one instruction each of RXD2 through RXD3 at
a time. If the start input for a RXD2 through RXD3 instruction is turned on while another RXD2 through RXD3 instruction without a start delimiter
is executed, a user communication error occurs.
Since RXD instructions are executed in each scan while input is on, a pulse input from a SOTU or SOTD instruction should be used as required.
Once the input to the RXD instruction is turned on, the RXD is activated and ready for receiving incoming communication even after the input is
turned off. When the RXD completes data receiving, the RXD is deactivated if the input to the RXD is off. Or, if the input is on, the RXD is made
ready for receiving another communication. Special internal relays are available to deactivate all RXD instructions waiting for incoming
communication. For user communication receive instruction cancel flags, see page 25-20.
D100
Transmit status
D101
Transmit data byte count
When input is on, data from an RS232C/RS485 remote terminal received by port 2
through port 3 is converted and stored in data registers according to the receive
format designated by S1.
S1
*****
D1
*****
D2
*****
RXD
*
FT1A-12
FT1A-24
FT1A-40
FT1A-48
FT1A-Touch
—
RXD2
RXD2-RXD3
RXD2-RXD3
—
Device
Function
I
Q
M
R
T
C
D
Constant
Repeat
S1 (Source 1)
Receive format
—
—
—
—
—
—
X
X
—
D1 (Destination 1)
Receive completion output
—
X
—
—
—
—
—
—
D2 (Destination 2)
Receive status
—
—
—
—
—
—
X
—
—
Summary of Contents for microsmart pentra
Page 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Page 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...