17: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
17-27
User Communication Error
When a user communication error occurs, a user communication 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 pages 17-11 and
17-23.
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
Star t 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
Goes on after busy timeout.
3
Star t inputs to more than 5 RXD instructions with
a star t delimiter are on simultaneously.
Among the first 5 RXD instructions from the top
of the ladder diagram, receive completion out-
puts of RXD instructions go on if the star t delim-
iter matches the first byte of the received data.
4
While a RXD instruction without a star t delimiter
is executed, another RXD instruction with or with-
out a star t delimiter is executed.
The receive completion output of the RXD instruc-
tion at a smaller address goes on.
5
— Reser ved —
—
6
— Reser ved —
—
7
The first byte of received data does not match
the specified star t delimiter.
No effect on the receive completion output.
If incoming data with a matching star t delimiter
is received subsequently, the receive completion
output goes on.
8
When ASCII to binar y 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
The end delimiter code specified in the RXD
instruction does not match the received end
delimiter code.
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 star t 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
TXD1/RXD1 (or TXD2/RXD2) instruction is exe-
cuted while user protocol is not selected for por t
1 (or por t 2) in the Function Area Settings.
No effect on the completion output.
Summary of Contents for FC4A-C10R2
Page 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Page 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Page 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Page 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Page 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Page 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Page 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Page 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Page 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Page 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Page 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Page 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Page 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...