GE VersaMax PLC User Manual page 10

Table of Contents

Advertisement

8.4 The Instruction Set................................................................................................................................107
8.4.1 Contacts .......................................................................................................................................107
8.4.2 Coils............................................................................................................................................107
8.4.3 Timers and Counters.......................................................................................................................108
8.4.4 Math Functions .............................................................................................................................108
8.4.5 Relational Functions .......................................................................................................................109
8.4.6 Bit Operation Functions ..................................................................................................................109
8.4.7 Data Move Functions......................................................................................................................109
8.4.8 Table Functions .............................................................................................................................110
8.4.9 Conversion Functions .....................................................................................................................110
8.4.10 Control Functions ..........................................................................................................................111
9 Program Data................................................................................................................................. 113
9.1 Data Memory References .......................................................................................................................114
9.1.1 Word Memory References ...............................................................................................................114
9.1.2 Bit Memory References...................................................................................................................115
9.1.3 Transition Bits and Override Bits ......................................................................................................115
9.2 Retentiveness of Data ............................................................................................................................116
9.3 System Status References .......................................................................................................................117
9.3.1 Using the System Status References ..................................................................................................117
9.3.2 %S References ..............................................................................................................................117
9.3.3 %SA, %SB, and %SC References .....................................................................................................118
9.4 How Program Functions Handle Numerical Data ........................................................................................120
9.4.1 Real Numbers ...............................................................................................................................121
9.4.2 Errors in Real Numbers and Operations..............................................................................................121
9.5 Time-tick Contacts................................................................................................................................122
10 Instruction Set Reference ........................................................................................................123
10.1 Bit Operation Functions .........................................................................................................................124
10.1.1 Data Lengths for the Bit Operation Functions ......................................................................................124
10.1.2 Bit Operation Functions Logical AND, Logical OR ..............................................................................124
10.1.3 Bit Operation Functions Exclusive OR ...............................................................................................126
10.1.4 Bit Operation Functions Exclusive OR ...............................................................................................127
10.1.5 Bit Operation Functions Logical Invert (NOT).....................................................................................127
10.1.6 Bit Operation Functions Shift Bits Right, Shift Bits Left ........................................................................128
10.1.7 Bit Operation Functions Rotate Bits Right, Rotate Bits Left ...................................................................129
10.1.8 Bit Operation Functions Bit Test .......................................................................................................130
10.1.9 Bit Operation Functions Bit Set and Bit Clear......................................................................................131
10.1.10Bit Operation Functions Masked Compare..........................................................................................132
10.1.11Bit Operation Functions Bit Position..................................................................................................134
10.1.12Bit Operation Functions Bit Sequencer...............................................................................................135
10.2 Control Functions .................................................................................................................................138
10.2.1 Control Functions Do I/O ................................................................................................................138
10.2.2 Control Functions Call ....................................................................................................................140
10.2.3 Control Functions End of Logic ........................................................................................................141
10.2.4 Control Functions Master Control Relay (MCR) / End MCR ..................................................................142
10.2.5 Control Functions Jump, Label .........................................................................................................143
10.2.6 Control Functions Comment ............................................................................................................144
10
GFK-1503E
For public disclosure
VersaMax PLC User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents