EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC QCPU

Mitsubishi MELSEC QCPU User Manual

Mitsubishi MELSEC QCPU
285 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #7 background imageLoading...
Page #7 background image
A - 5 A - 5
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. BASIC INSTRUCTIONS 6 - 1 to 6 - 133
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.4 Character string data comparisons ($=, $< >, $>, $<=, $<, $>=)................................................... 6 - 8
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.6 BCD 8-digit addition and subtraction operations (DB+, DB+P, DB-, DB-P)...................................6 - 32
6.2.7 BCD 4-digit multiplication and division operations (B
, B P, B/, B/P)..........................................6 - 36
6.2.8 BCD 8-digit multiplication and division operations (DB
, DB P, DB/, DB/P)...............................6 - 38
6.2.9 Addition and subtraction of floating decimal point data (E+, E+P, E-, E-P).................................... 6 - 40
6.2.10 Multiplication and division of floating decimal point data (E
, E P, E/, E/P)..............................6 - 44
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.2.13 Incrementing and decrementing 16-bit BIN data (INC, INCP, DEC, DECP) ...............................6 - 53
6.2.14 Incrementing and decrementing 32-bit BIN data (DINC, DINCP, DDEC, DDECP).....................6 - 55
6.3 Data Conversion Instructions.................................................................................................................6 - 57
6.3.1 Conversion from BIN data to 4-digit and 8-digit BCD (BCD, BCDP, DBCD, DBCDP) .................. 6 - 57
6.3.2 Conversion from BCD 4-digit and 8-digit data to BIN data (BIN, BINP, DBIN, DBINP)................. 6 - 59
6.3.3 Conversion from BIN 16 and 32-bit data to floating decimal point (FLT, FLTP, DFLT, DFLTP)... 6 - 61
6.3.4 Conversion from floating decimal point data to BIN 16- and 32-bit data
(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
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC QCPU and is the answer not in the manual?

Mitsubishi MELSEC QCPU Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC QCPU
CategoryController
LanguageEnglish

Related product manuals