10: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
10-22
S
MART
AXIS P
RO
/ L
ITE
U
SER
'
S
M
ANUAL
FT9Y-B1378
User Communication Error
When a user communication error occurs, an error code is stored in the data register designated as a transmit status in the TXD
instruction or as a receive status in the RXD instruction. When multiple errors occur, the final error code overwrites all preceding
errors and is stored in the status data register.
The status data register also contains transmit/receive status code. To extract a user communication error code from the status
data register, divide the value by 16. The remainder is the user communication error code. See Chapter 25 "User Communication
Instructions" in the SmartAXIS Ladder Programming Manual.
To correct the error, correct the user program by referring to the error causes described below:
User Communication Error Code
User
Communication
Error Code
Error Cause
Transmit/Receive Completion Output
1
Start inputs to more than 5 TXD instructions are on
simultaneously.
Transmit completion outputs of the first 5 TXD instructions
from the top of the ladder diagram are turned on.
2
Transmission destination busy timeout
The transmit completion output goes on.
3
Start inputs to more than 5 RXD instructions with a start
delimiter are on simultaneously.
Among the first 5 RXD instructions from the top of the
ladder diagram, receive completion outputs of RXD
instructions go on if the start delimiter matches the first
byte of the received data.
4
While a RXD instruction without a start delimiter is
executed, another RXD instruction with or without a start
delimiter is executed.
The receive completion output of the RXD instruction at a
smaller address goes on.
5
While a RXD instruction with a start delimiter is executed,
another RXD instruction with the same start delimiter is
executed.
No effect on the receive completion output.
7
The first bytes of received data do not match the specified
start delimiter.
No effect on the receive completion output.
If incoming data with a matching start delimiter is received
subsequently, the receive completion output goes on.
8
When ASCII to binary or ASCII to BCD conversion is
specified in the receive format, any code other than 0 to 9
and A to F is received. (These codes are regarded as 0
during conversion.)
The receive completion output goes on.
9
BCC calculated from the RXD instruction does not match
the BCC appended to the received data.
The receive completion output goes on.
10
Constants including the end delimiter code specified in the
RXD instruction do not match the received constants.
The receive completion output goes on.
11
Receive timeout between characters
(After receiving one byte of data, the next byte is not
received in the period specified for the receive timeout
value.)
The receive completion output goes on.
12
Overrun error
(Before the receive processing is completed, the next data
is received.)
The receive completion output goes off.
13
Framing error
(Detection error of start bit or stop bit)
No effect on the completion output.
14
Parity check error
(Error is found in the parity check.)
No effect on the completion output.
15
A user communication instruction was used even though
the port settings or the connection settings were not set to
user communication mode.
No effect on the completion output.
Содержание SmartAXIS FT9Z-1A01
Страница 1: ...FT9Y B1378 7...
Страница 10: ...TABLE OF CONTENTS Preface 9 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378...
Страница 212: ...7 DEVICE ADDRESSES 7 16 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378...
Страница 230: ...8 INSTRUCTIONS FUNCTION BLOCKS REFERENCE 8 18 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378...
Страница 344: ...13 SCRIPTS 13 36 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378...
Страница 385: ...SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 Appendix 15 APPENDIX European Font ISO 8859 1 Cyrillic Font ANSI 1251...
Страница 386: ...APPENDIX Appendix 16 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 Japanese Font JIS X0201...
Страница 393: ......