
Chapter 7 Communication function
7-108
4)
Operation status related flag
A) TX/RX error count per station No. (Total 32stations)
Flag name : _MRS_ERR_CNT[n] (n = 0 ~ 31)
Data type : Array byte
Contents : Number of errors is renewed per station No.
In other words, the number of TX/RX errors to station 0 is renewed in _MRS_ERR_CNT[0]
and the number of TX/RX errors to station 31 is renewed in _MRS_ERR_CNT[31].
B) (Total 32 stations) Contents of TX/RX error
Flag name : _MRS_ERR[n] (n = 0 ~ 31)
Data type : Array byte
Contents : Error code 1 : Exceeded response time error to TX/RX.
Error code 2 : Error for NAK
C) (Total 32 stations) Mode and error contents of slave PLC
Flag name : _SRS_STATE[n] (n = 0 ~ 31)
Data type : Array byte
Contents: 0 Bit : Error status of PLC set to slave (error: 1, normal: 0)
1-3 Bits : Reserved
4-7 Bits : Operation mode of PLC set to slave
4 Bits: STOP
5 Bits: RUN
6 Bits : PAUSE
7 Bits : DEBUG
D) Status flag of master PLC side
Flag name : _MRS_STATE25
Data type : Array byte
Contents: 2 Bits : M area exceeded in communication parameter setting
E) Max.& Min. & Current cycles of TX/RX of parameter setting
Flag name : (Time Type) _MRS_SCAN_MAX
(Time Type) _MRS_SCAN_MIN
(Time Type) _MRS_SCAN_CUR
Contents: Time elapsed from prior transmission of the first set parameters until the next transmission.