25: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
25-20
FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
Receive Status
Designate a data register, D0-D1998, as a device to store the receive status information including a receive status code and a user
communication error code.
Receive Status Code
If the receive status code is other than shown above, an error of receive instruction is suspected. See User Communication Error
Code on page 26-32.
Receive Data Byte Count
The data register next to the device designated for receive status stores the byte count of data received by the RXD instruction.
When a start delimiter, end delimiter, and BCC are included in the received data, the byte counts for these codes are also included
in the receive data byte count.
Example:
Data register D200 is designated as a device for receive status.
User Communication Receive Instruction Cancel Flag
Special internal relays for user communication receive instruction cancel flag are used to cancel all RXD instructions for each port.
While the SmartAxis has completed receive format and is ready for receiving incoming data, turning on the user communication
receive instruction cancel flag cancels all RXD instructions for each port. This function is useful to cancel receive instructions only,
without stopping the SmartAxis.
To make the cancelled RXD instructions active, turn off the flag and turn on the input to the RXD instruction again.
Receive
Status Code
Status
Description
16
Preparing data receive
From turning on the start input for a RXD instruction to read the receive format, until
the RXD instruction is enabled by an END processing
32
Receiving data
From enabling the RXD instruction by an END processing, until incoming data is
received
48
Data receive complete
From receiving incoming data, until the received data is converted and stored in data
registers according to the receive format
64
Receive instruction complete
All data receive operation is completed and the next data receive is made possible
128
User communication receive
instruction cancel flag active
RXD instructions are cancelled by special internal relay for user communication
receive instruction cancel flag, such as M8022 or M8023
D200
Receive status
D201
Receive data byte count
Device Address
Description
CPU Stopped
Power OFF
R/W
M8022
User Communication Receive Instruction Cancel Flag (Port 2)
Cleared
Cleared
W
M8023
User Communication Receive Instruction Cancel Flag (Port 3)
Cleared
Cleared
W
Содержание 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 ...