Appendix MASTER-K
A-4
A.2 Special data register (D area)
A.2.1 Flags related to communication module
The following flags shows communication modules (Fnet/Cnet) mounted on the main
base. Use can monitor those flags with the flag monitor function of KGL -WIN or use in
sequence program.
The following table shows the flag list when the communication module is mounted on
slot 0.
x : K200S/K300S = 4, K1000S = 9
Keyword Address Name Description
_CnSTNOL
_CnSTNOH
Dx500
Dx502
Communications
module station No.
Indicates the number which is set on
communications module station switch.
Fnet : Station switch No. marked on the front of
communications module.
_CnTXECNT Dx504
Communications
frame sending error
Increments by one whenever sending error of
communications frame occurs.
Connection condition of network is evaluated
by this value.
_CnRXECNT Dx505
Communications
frame receiving error
Increments by one whenever receiving error of
communications frame occurs.
Connection condition of network is evaluated
by this value.
_CnSVCFCNT Dx506
Communications
service processing
error
Increments by one whenever communications
service fails. Connection condition of network
and overall communication quantity and
program stability can be evaluated by this
value.
_CnSCANMX Dx507
Maximum
communications scan
time (unit : 1 ms)
Indicates the maximum time that is spent until
every station connected to network has the
token at least one time and sends a sending
frame.
_CnSCANAV Dx508
Average
communications scan
time (unit : 1 ms)
Indicates the average time that is spent until
every station connected to network has the
token at least one time and sends a sending
frame.
_CnSCANMN Dx509
Minimum
commu nications scan
time (unit : 1 ms)
Indicates the minimum time that is spent until
every station connected to network has the
token at least one time and sends a sending
frame.
_CnLINF Dx510
Communications
module system
information
Indicates operation state of communications
module with a word.
_CnCRDER Dx510.B
System error
(error = 1)
Indicates communications module hardware or
system O/S error.
_CnSVBSY Dx510.C
Insufficient common
RAM (Insufficient = 1)
Indicates that service cannot be offered due to
insufficient common RAM.
_CnIFERR
Dx510.D
Interface error
(error = 1)
Indicates that interface with communications
modules has been stopped.