Data Transfer Instructions 6 - 107 6.4.1 16-Bit And 32-Bit Data Transfers (Mov(P),Dmov(P)); Data Conversion Instructions; Data Transfer Instructions - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

6.2.3
BIN 16-bit multiplication and division operations (*(P),/(P))........................................ 6 - 30
6.2.4
BIN 32-bit multiplication and division operations (D*(P),D/(P)) .................................. 6 - 32
6.2.5
BCD 4-digit addition and subtraction operations (B+(P),B-(P)) .................................. 6 - 34
6.2.6
BCD 8-digit addition and subtraction operations (DB+(P),DB-(P)) ............................. 6 - 38
6.2.7
BCD 4-digit multiplication and division operations (B*(P),B/(P)) ................................ 6 - 42
6.2.8
BCD 8-digit multiplication and division operations (DB*(P),DB/(P)) ........................... 6 - 44
6.2.9
Addition and subtraction of floating decimal point data
(Single precision) (E+(P),E-(P)).................................................................................. 6 - 46
6.2.10 Addition and subtraction of floating decimal point data
(Double precision) (ED+(P),ED-(P)) ........................................................................... 6 - 50
6.2.11 Multiplication and division of floating decimal point data
(Single precision) (E*(P),E/(P))................................................................................... 6 - 54
6.2.12 Multiplication and division of floating decimal point data
(Double precision) (ED*(P),ED/(P)) ............................................................................ 6 - 56
6.2.13 Block addition and subtraction (BK+(P),BK-(P))......................................................... 6 - 59
6.2.14
BIN 32-bit data block addition and subtraction operations (DBK+(P),DBK-(P)) ........ 6 - 62
6.2.15 Linking character strings ($+(P)) ................................................................................ 6 - 66
6.2.16 Incrementing and decrementing 16-bit BIN data (INC(P),DEC(P)) ............................ 6 - 70
6.2.17 Incrementing and decrementing 32-bit BIN data (DINC(P),DDEC(P)) ....................... 6 - 72
6.3

Data conversion instructions

6.3.1
Conversion from BIN data to 4-digit and 8-digit BCD (BCD(P),DBCD(P)) ................. 6 - 74
6.3.2
Conversion from BCD 4-digit and 8-digit data to BIN data (BIN(P),DBIN(P)) ............ 6 - 76
6.3.3
Conversion from BIN 16 and 32-bit data to floating decimal point (Single precision)
(FLT(P),DFLT(P)) ....................................................................................................... 6 - 79
6.3.4
Conversion from BIN 16 and 32-bit data to floating decimal point (Double precision)
(FLTD(P),DFLTD(P)) .................................................................................................. 6 - 82
6.3.5
Conversion from floating decimal point data to BIN16- and 32-bit data (Single precision)
(INT(P),DINT(P)) ........................................................................................................ 6 - 84
6.3.6
Conversion from floating decimal point data to BIN16- and 32-bit data (Double precision)
(INTD(P),DINTD(P)) ................................................................................................... 6 - 87
6.3.7
Conversion from BIN 16-bit to BIN 32-bit data (DBL(P)) ............................................ 6 - 89
6.3.8
Conversion from BIN 32-bit to BIN 16-bit data (WORD(P))........................................ 6 - 90
6.3.9
Conversion from BIN 16 and 32-bit data to Gray code (GRY(P),DGRY(P)) .............. 6 - 91
6.3.10 Conversion of Gray code to BIN 16 and 32-bit data (GBIN(P),DGBIN(P))................. 6 - 93
6.3.11 Complement of 2 of BIN 16- and 32-bit data (sign reversal) (NEG(P),DNEG(P)) ...... 6 - 95
6.3.12 Floating-point sign invertion (Single precision) (ENEG(P)) ........................................ 6 - 97
6.3.13 Floating-point sign invertion (Double precision) (EDNEG(P)) .................................... 6 - 98
6.3.14 Conversion from block BIN 16-bit data to BCD 4-digit data (BKBCD(P))................... 6 - 99
6.3.15 Conversion from block BCD 4-digit data to block BIN 16-bit data (BKBIN(P)) ......... 6 - 101
6.3.16 Single precision to Double precision conversion (ECON(P)) ................................... 6 - 103
6.3.17 Double precision to Single precision conversion (EDCON(P))................................. 6 - 105
6.4

Data Transfer Instructions

6.4.1
16-bit and 32-bit data transfers (MOV(P),DMOV(P))................................................ 6 - 107
6.4.2
Floating-point data transfer (Single precision) (EMOV(P)) ....................................... 6 - 109
6.4.3
Floating-point data transfer (Double precision) (EDMOV(P)) ................................... 6 - 111
6.4.4
Character string transfers ($MOV(P))....................................................................... 6 - 113
6.4.5
16-bit and 32-bit negation transfers (CML(P),DCML(P)) .......................................... 6 - 115
6.4.6
Block 16-bit data transfers (BMOV(P)) ..................................................................... 6 - 118
6.4.7
Identical 16-bit data block transfers (FMOV(P)) ....................................................... 6 - 122
6 - 74
6 - 107
A-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents