Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 199

Sysmac cs series; sysmac cj series. serial communications boards and serial communications units
Table of Contents

Advertisement

Auxiliary Area and CIO Area Allocations
Protocol Status
Words
Boards
(CS Series Only)
(CS/CJ Series)
Port 1
Port 2
Port 1
CIO
CIO
n + 9
1909
1919
CIO
CIO
n + 10
1910
1920
170
Error Data In Data Agreeing with Expected Receive Message
When RECV is executed, an expected receive message is searched for in the
reception buffer. If the data that has been received agrees with an expected
receive message, it is processed as receive data. If error details are included
in the receive data, the corresponding error flags will turn ON.
The following example shows when 100 bytes of data is received that agrees
with an expected receive message.
100 bytes
Data Not Agreeing with Expected Receive Message
If error details are included in data that do not agree with an expected receive
message, the data will simply be discarded and the error flag status will
remain unchanged. For trace information, all error details in the reception
buffer will be stored within capacity for the trace data.
The following example shows when a parity error occurs for data that does not
agree with an expected receive message.
The information shown in the following table is input from the Board or Unit to
the Protocol Status Words in the CPU Unit.
Bit
Unit
Port 2
n + 19
15
Port
Operat-
14
ing
13
Status
12
11
10
09
08
04 to 07
03 to 00
n + 20
15 to 12
Reserved
11 to 00
Communications Sequence No.
(P)
Error Flag ON
(P)
P: Parity error
(P)
Data discarded
(P)
<h>
Error flags remain
unchanged
<t>
n = CIO 1500 + 25 × unit number
Setting contents
Protocol Macro Executing Flag
Step Error Processing Flag
Abort Flag
Tracing Flag
Sequence End Completion Flag
Sequence Abort Completion Flag
Sequence Wait Flag
Serial Gateway Prohibited Flag (protocol macros)
1: Prohibited; 0: Not prohibited
Reserved
Error codes
000 to 999 (000 to 3E7 hex)
Section 5-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents