Chapter 8. Communication Functions
8-31
4) Flag related with operating status
(1) Sending/receiving error count for each station (total 32 stations)
- Flag name: _MRS_ERR_CNT[n] (n = 0 ~ 31)
- Data type: array byte
- Description: each station can renew number of errors.
Namely, the number of s/r errors of the station no. 1 is renewed at _MRS_ERR_CNT [0], and the number of the station no.
31, at _MRS_ERR_CNT [31].
(2) Sending/receiving error description of each station (total 32 stations)
- Flag name: _MRS_ERR[n] (n = 0 ~ 31)
- Data type: array byte
- Description:
Error code 1: time overrun error for the responding time of sending/receiving
Error code 2: NAK time error
(3) Slave PLC mode and error description of each station (total 32 stations)
- Flag name: _SRS_STATE[n] (n = 0 ~ 31)
- Data type: array byte
- Description: 0 Bit: error status of the slave PLC (1: error, 0: normal)
1-3 Bit: Reserved
4-7 Bit: operating mode of the slave PLC
4 Bit: STOP
5 Bit: RUN
6 Bit: PAUSE
7 Bit: DEBUG
(4) Status flag of the master PLC
- Flag name: _MRS_STATE [n] (n=0-31)
- Data type: array byte
- Contents:
-2 Bit: overextending M area when setting communication parameter
(5) Max/min/current sending/receiving cycle of set parameter
- Flag name:
- (Time Type) _MRS_SCAN_MAX
- (Time Type) _MRS_SCAN_MIN
- (Time Type) _MRS_SCAN_CUR
- Contents: the interval between after sending and before receiving