11 - 423 11 - 423
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Reading causes of reception errors
Control table format definition
Element position
Item
Description
%(0)
Processing code
Specify the processing code.
Processing Code 64
%(1)
Error causes
Read the causes of reception errors into the
lower byte.
• It is possible to read the causes of errors (parity, overrun, or framing errors) that
have occurred in an open communication channel using this code.
• Specify 64 for the processing code.
• The reception error causes are expressed in the following manner using the
lower 8 bits of %(1).
1
2
3
0
Parity error
4
5
6
7
(Bits marked with X are ignored.)
Framing error
Overrun error
1: Error
0: No error
Lower byte
%(1)
Can be read by the instruction
RDSET(3, %(1)).
It is convenient to use the RDSET instruction to read the bits since only
the 3rd, 4th, and 5th bits of %(1) are used for the status of each signal.
Can be read by the instruction
RDSET(4, %(1)).
Can be read by the instruction
RDSET(5, %(1)).
Содержание A1SD51S
Страница 183: ...11 13 11 13 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS RUN Before swap A 0 H924 A 1 H1159 After swap A 0 H1159 A 1 H924 OK...
Страница 331: ...11 161 11 161 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CON ON OFF STOP and ZOPEN functions and Section 7 4...
Страница 557: ...11 387 11 387 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CHR SPACE and SPC functions...
Страница 629: ...11 459 11 459 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZOPEN ZSEND and ZCNTL instructions and Section 7 3 4...
Страница 645: ...11 475 11 475 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZEVENT ZSIGNAL and DEF ZEVENT instructions...