LG GLOFA-GM Series User Manual page 227

Programmable logic controller cnet i/f module
Hide thumbs Also See for GLOFA-GM Series:
Table of Contents

Advertisement

Chapter 7 Communication function
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.
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.
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)
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
Contents: Time elapsed from prior transmission of the first set parameters until the next transmission.
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].
Error code 2 : Error for NAK
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
(Time Type) _MRS_SCAN_MIN
(Time Type) _MRS_SCAN_CUR
7-108

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents