7

Program Instruction Set for GMR

The CPUs used for GMR support the all of the following Series 90-70 ladder logic instructions:

Contacts

Coils

AnyContact

AnyCoil

± ±

±( )±

±/±

±(/)±

± ↑±

±( ↑)±

± ↓±

±( ↓)±

±[F AULT]±

±(S)±

±NOFLT]±

±(r)±

±[HIALR]±

±(SM)±

±[LO ALR]±

±(RM)±

<+>±±±

±(M)±

 

±(/M)±

 

±±±<+>

 

 

Timers

Counters

ONDTR

UPCTR

OFDT

DNCTR

TMR

 

 

 

BitOperation

AND

OR

XOR

NOT

SHL

SHR

ROL

ROR

BTST

BSET

BLCR

BPOS

MCMP

Links

Horizontal

Vertical

Conversion

to BCD±4 to BCD±8 to UINT to INT to DINT BCD±4 to

UINT

BCD±4 to INT BCD±8 to

DINT

Relational

EQ

NE

GT

GE

LT

LE

CMP

Control

CALL

DOIO

SUSIO

MCR ENDMCR JUMP LABEL COMMENT SVCREQ PIDISA PIDIND FOR END_FOR EXIT

Math

ADD

SUB

MUL

DIV

MOD

SQRT

ABS

DataTable

TBLRD

TBLWR

LIFORD

LIFOWRT

FIFORD

FIFOWRT SORT ARRAY_MOVE SRCH_EQ SRCH_NE SRCH_GT SRCH_GE SRCH_LT SRCH_LE

DataMove

MOVE BLKMOV BLKCLR SHFR BITSEQ SWAP COMMREQ VMERD VMEWRT VMERMW VMETST VME_CFG_RD VME_CFG_WRT DATA_INIT DATA_INIT_COMM DATA_INIT_ASCII

Use of Do I/O and Suspend I/O

The Do I/O and Suspend I/O program functions can interfere with the output autotest. They should not be used in any GMR application program.

Programming Restrictions for TÜV Applications

Some of the program instructions listed above can not be used for a GMR system that will be applied in an Emergency Shut Down (ESD) application for which for a TÜV site application approval will be sought. See Appendix A for details.

Estimating Memory Usage

The GMR system software version 2.06 uses approximately 318,688 bytes of the CPU's memory. To determine how much of the 512 Kbyte memory (IC697MEM735) used on the CPU788 and CPU789 remains for the ladder logic application program, use this equation:

Max. User Ladder Logic Application Program Size = 524,288 bytes ± 318,688 bytes ± User Reference Tables

The size of the User Reference Tables depends on your configuration and actual application program. See the LM90±70 Programming Software User's Manual (GFK±0263) for more information.

Estimating Bus Scan Time

 

If you want to estimate the bus scan time, see page 4-6 for instructions.

 

GFK-0787B

Chapter 7 Programming Information

7-3

Page 146
Image 146
GE GFK-0787B user manual Program Instruction Set for GMR, Estimating Memory Usage, Estimating Bus Scan Time