
A-4
3.5 Conditions for Execution of Instructions 3 - 12
3.6 Counting Step Number 3 - 13
3.7 Operation when OUT, SET/RST, or PLS/PLF Instructions Use the Same Device 3 - 14
4. HOW TO READ INSTRUCTIONS 4 - 1 to 4 - 4
5. SEQUENCE INSTRUCTIONS 5 - 1 to 5 - 46
5.1 Contact Instruction 5 - 2
5.1.1 Operation start, series connection, parallel connection
(LD, LDI, AND, ANI, OR, ORI).................................................................................................. 5 - 2
5.1.2 Pulse operation start, pulse series connection, pulse parallel connection
(LDP, LDF, ANDP, ANDF, ORP, ORF) .................................................................................... 5 - 5
5.2 Connection Instructions 5 - 7
5.2.1 Ladder block series connections and parallel connections (ANB, ORB) ....................................... 5 - 7
5.2.2 Operation results push, read, pop (MPS, MRD, MPP) .................................................................. 5 - 9
5.2.3 Operation results inversion (INV)................................................................................................. 5 - 12
5.2.4 Operation result pulse conversion (MEP, MEF) .......................................................................... 5 - 14
5.2.5 Pulse conversion of edge relay operation results (EGP, EGF).................................................... 5 - 15
5.3 Output Instruction 5 - 17
5.3.1 Out instructions (excluding timers, counters, and annunciators) (OUT) ...................................... 5 - 17
5.3.2 Timers (OUT T,OUTH T) ............................................................................................................. 5 - 19
5.3.3 Counters (OUT C)........................................................................................................................ 5 - 23
5.3.4 Annunciator output (OUT F) ........................................................................................................ 5 - 25
5.3.5 Setting devices (except for annunciators) (SET) ......................................................................... 5 - 27
5.3.6 Resetting devices (except for annunciators) (RST) ..................................................................... 5 - 29
5.3.7 Setting and resetting the annunciators (SET F, RST F) .............................................................. 5 - 31
5.3.8 Leading edge and trailing edge output (PLS, PLF)...................................................................... 5 - 33
5.3.9 Bit device output reverse (FF) ..................................................................................................... 5 - 36
5.4 Master Control Instructions 5 - 38
5.4.1 Setting and resetting the master control (MC, MCR)................................................................... 5 - 38
5.5 Termination Instruction 5 - 42
5.5.1 End sequence program (END) .................................................................................................... 5 - 42
5.6 Other Instructions 5 - 43
5.6.1 No-operation (NOP, NOPLF, PAGE n)........................................................................................ 5 - 43
6. BASIC INSTRUCTIONS 6 - 1 to 6 - 38
6.1 Comparison Operation Instruction 6 - 2
6.1.1 BIN 16-bit data comparisons (= , <> , >, <= , <, >=) ...................................................................... 6 - 2
6.1.2 BIN 32-bit data comparisons (D=, D<>, D>, D<=, D<, D>=).......................................................... 6 - 4
6.2 Arithmetic Operation Instructions 6 - 6
6.2.1 BIN 16-bit addition and subtraction operations (+(P), –(P))........................................................... 6 - 6
6.2.2 BIN 32-bit addition and subtraction operations (D+(P), D–(P)).................................................... 6 - 10
6.2.3 BIN 16-bit multiplication and division operations (*(P), /(P))........................................................ 6 - 14
6.2.4 BIN 32-bit multiplication and division operations (D*(P), D/(P))................................................... 6 - 16
6.2.5 Incrementing and decrementing 16-bit BIN data (INC(P), DEC(P)) ............................................ 6 - 18
6.2.6 Incrementing and decrementing 32-bit BIN data (DINC(P), DDEC(P)) ....................................... 6 - 20
6.3 Data Conversion Instructions 6 - 22
6.3.1 Conversion from BIN data to 4-digit and 8-digit BCD (BCD(P), DBCD(P)) ................................. 6 - 22