![background image](http://html.mh-extra.com/html/omron/v400-r2-series/v400-r2-series_connection-manual_741434068.webp)
9. Program
65
9.8.2. Protocol Macro Error Codes
The protocol macro error codes generated when a protocol macro related error occurs are
given below.
These codes are set in
Output_PmrStaErrCode
.
●
Output_PmrStaErrCode
The contents of the lower 4-bit of
J01_P2_PmrSta
are set.
Code
Description
16#0000
There are no errors
16#0002
Sequence No. error
16#0003 Symbol
specification area exceeded error
16#0004
Protocol macro syntax error
Additional Information
For details on the protocol macro error codes (PmrStaErrCode), refer to
4-2-6 Protocol Status
of the
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit
(Cat.
No. W494).
9.8.3. Transmission error status
The error flags used when a transmission error occurs are shown below.
They are set in
Output_TransErrCode
.
●
Output_TransErrCode
The content of
J01_P2_TransErrSta
is set.
Bit
Description
15 1:Transmission
error
0:No transmission error
14
1:Send Finished Monitoring Time Exceeded
0:Normal
13
1:Receive Finished Monitoring Time Exceeded
0:Normal
12
1:Receive Wait Monitoring Time Exceeded
0:Normal
8 to 11
Retry count
7
1:FCS Check Error
0:Normal
6 1:Command
Error
0:Normal
5 1:Timeout
0:Normal
4 1:Overrun
error
0:Normal
3 1:Framing
error
0:Normal
2 1:Parity
error
0:Normal
0 and 1
(Not used)
Additional Information
For details on the transmission error status (TransErrCode), refer to
4-2-5 Device Variables
for CJ-series Unit for Status
of the
CJ-series Serial Communications Units Operation Manual
for NJ-series CPU Unit
(Cat.No. W494).