Mitsubishi MELSEC QCPU Programming Manual page 7

Programmable logic controller
Table of Contents

Advertisement

5.3.5 Setting devices (except for annunciators) (SET) ............................................................................ 5 - 28
5.3.6 Resetting devices (except for annunciators) (RST)........................................................................ 5 - 30
5.3.7 Setting and resetting the annunciators (SET F, RST F) ................................................................. 5 - 32
5.3.8 Leading edge and trailing edge output (PLS, PLF)......................................................................... 5 - 34
5.3.9 Bit device output reverse (FF) ......................................................................................................... 5 - 36
5.3.10 Pulse conversion of direct output (DELTA, DELTAP) .................................................................. 5 - 38
5.4 Shift Instruction....................................................................................................................................... 5 - 40
5.4.1 Bit device shift (SFT, SFTP)............................................................................................................ 5 - 40
5.5 Master Control Instructions .................................................................................................................... 5 - 42
5.5.1 Setting and resetting the master control (MC, MCR)...................................................................... 5 - 42
5.6 Termination Instructions......................................................................................................................... 5 - 46
5.6.1 End main routine program (FEND) ................................................................................................. 5 - 46
5.6.2 End sequence program (END)........................................................................................................ 5 - 48
5.7 Other Instructions ................................................................................................................................... 5 - 50
5.7.1 Sequence program stop (STOP) .................................................................................................... 5 - 50
5.7.2 No operation (NOP, NOPLF, PAGE n) ........................................................................................... 5 - 52
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.1.3 Floating decimal point data comparisons (E=, E< >, E>, E<=, E<, E>=) ....................................... 6 - 6
6.1.5 BIN block data comparisons (BKCMP, BKCMPP) ......................................................................... 6 - 12
6.2 Arithmetic Operation Instructions........................................................................................................... 6 - 16
6.2.1 BIN 16-bit addition and subtraction operations (+, +P, -, -P) .......................................................... 6 - 16
6.2.2 BIN 32-bit addition and subtraction operations (D+, D+P, D-, D-P) ............................................... 6 - 20
6.2.3 BIN 16-bit multiplication and division operations ( , P, /, /P) ....................................................... 6 - 24
6.2.4 BIN 32-bit multiplication and division operations (D , D P, D/, D/P) ........................................... 6 - 26
6.2.5 BCD 4-digit addition and subtraction operations (B+, B+P, B-, B-P).............................................. 6 - 28
6.2.11 Block addition and subtraction (BK+, BK+P, BK-, BK-P).............................................................. 6 - 46
6.2.12 Linking character strings ($+, $+P) ............................................................................................... 6 - 49
6.3 Data Conversion Instructions ................................................................................................................. 6 - 57
(INT, INTP, DINT, DINTP) .............................................................................................................. 6 - 63
6.3.5 Conversion from BIN 16-bit to BIN 32-bit data (DBL, DBLP) ......................................................... 6 - 65
6.3.6 Conversion from BIN 32-bit to BIN 16-bit data (WORD, WORDP)................................................ 6 - 66
A - 5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
6 - 1 to 6 - 133
A - 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents