User Communication Error - IDEC FT1A Series User Manual

Hide thumbs Also See for FT1A Series:
Table of Contents

Advertisement

10: U
C
SER
OMMUNICATION

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
Start inputs to more than 5 TXD instructions are on
1
simultaneously.
2
Transmission destination busy timeout
Start inputs to more than 5 RXD instructions with a start
3
delimiter are on simultaneously.
While a RXD instruction without a start delimiter is
4
executed, another RXD instruction with or without a start
delimiter is executed.
While a RXD instruction with a start delimiter is executed,
5
another RXD instruction with the same start delimiter is
executed.
The first bytes of received data do not match the specified
7
start delimiter.
When ASCII to binary or ASCII to BCD conversion is
specified in the receive format, any code other than 0 to 9
8
and A to F is received. (These codes are regarded as 0
during conversion.)
BCC calculated from the RXD instruction does not match
9
the BCC appended to the received data.
Constants including the end delimiter code specified in the
10
RXD instruction do not match the received constants.
Receive timeout between characters
(After receiving one byte of data, the next byte is not
11
received in the period specified for the receive timeout
value.)
Overrun error
12
(Before the receive processing is completed, the next data
is received.)
Framing error
13
(Detection error of start bit or stop bit)
Parity check error
14
(Error is found in the parity check.)
A user communication instruction was used even though
15
the port settings or the connection settings were not set to
user communication mode.
10-22
I
NSTRUCTIONS
Error Cause
S
AXIS P
/L
MART
RO
ITE
Transmit/Receive Completion Output
Transmit completion outputs of the first 5 TXD instructions
from the top of the ladder diagram are turned on.
The transmit completion output goes on.
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.
The receive completion output of the RXD instruction at a
smaller address goes on.
No effect on the receive completion output.
No effect on the receive completion output.
If incoming data with a matching start delimiter is received
subsequently, the receive completion output goes on.
The receive completion output goes on.
The receive completion output goes on.
The receive completion output goes on.
The receive completion output goes on.
The receive completion output goes off.
No effect on the completion output.
No effect on the completion output.
No effect on the completion output.
U
'
M
FT9Y-B1378
SER
S
ANUAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents