GE GFK-0787B Manuel D’Utilisation

Page de 209
7
 
7-11
GFK-0787B
Chapter 7  Programming Information
GMR Status and Control (%M) References
 
The GMR system software uses several %M references as status or control bits. Status
bits are used by the GMR software to provide information about GMR operations. These
references can be read as needed by the application program. The control bits can be
used by the application program to provide information to the GMR software.
%M  Status References
The following table lists the GMR system status flags.
Reference
Nickname
Name
Meaning
%M12225
PLCA
PLC Ident is A
This is PLC A (all GMR bus controllers =31). For
references %M12225, 26, and 27, only one will be
set in each PLC.
%M12226
PLCB
PLC Ident is B
This is PLC A (all GMR bus controllers =30).
%M12227
PLCC
PLC Ident is C
This is PLC A (all GMR bus controllers =29).
%M12228
PLCAOK
PLC A is online
Meaning depends on the PLC where the flag is
set. See the table on the next page.
%M12229
PLCBOK
PLC B is online
%M12230
PLCCOK
PLC C is online
%M12231
INHIBIT
Inhibit user application
Set by the GMR software at startup, to prevent
execution of the application program until data
initialization is complete.
%M12232 MISCMP#*
Init. miscompare at
startup
Initializing PLC detects miscompare between
%M (bit) init. data from two online PLCs.
%M12234
SYSFLT#*
System fault at startup
At startup, communications failure with a GMR
bus controller.
%M12235
SYSFLT
System fault
Communications failure with a GMR bus con-
troller.  This reference is cleared when PLC Fault
Reset is issued.
%M12236
OPDISC
O/P discrepancy
Output discrepancy.  This reference is cleared
when PLC Fault Reset is issued.
%M12237 COLDST*
Cold start performed
At startup, the initializing PLC detects no other
PLCs online. When the application program
detects this flag has been set, it can initialize any
%M and %R initialization data.
%M12238
IORESIP
I/O reset in progress
An I/O fault reset is in progress. Bit is On for one
scan when the internal GMR fault tables are
cleared.
%M12239
ATINPRG
Autotest in progress
An input or output autotest is in progress (not
necessarily initiated by this PLC) the state of this
bit will be the same in all running PLCs.
%M12240
LOGONFT
Block logon fault
See page 7-17.
%M12241
SIMPLEX
Simplex mode
One PLC controls the system.  
%M12242
DUPLEX
Duplex mode
Two PLCs control the system. 
%M12243
TRIPLEX
Triplex mode
Three PLCs control the system. 
%M12244
IO_SD
Any I/O Shutdown
Timer activated
At least one of the PLCs has begun timing an I/O
Shutdown.
%M12245 through %M12256, %M12233
Reserved for future GMR use.
*
Will only be set at startup if condition occurs.
D
Only one of these three will be set at a time.