EasyManua.ls Logo

YASKAWA VIPA SPEED7 - Data Type Conversion Instructions

YASKAWA VIPA SPEED7
1007 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
Loading...
The status word is not affected.
Com-
mand
Operand Parameter Function Length
in words
CAW - Reverse the order of the bytes in ACCU1-L
LL, LH becomes LH, LL
1
CAD - Reverse the order of the bytes in ACCU1
LL, LH, HL, HH becomes HH, HL, LH, LL
1
TAK - Swap the contents of ACCU1 and ACCU2 1
ENT - The contents of ACCU2 and ACCU3 are transferred to
ACCU3 and ACCU4
LEAVE - The contents of ACCU3 and ACCU4 are transferred to
ACCU2 and ACCU3
PUSH - The contents of ACCU1, ACCU2 and ACCU3 are trans-
ferred to ACCU2, ACCU3 and ACCU4
1
POP - The contents of ACCU2, ACCU3 and ACCU4 are trans-
ferred to ACCU1, ACCU2 and ACCU3
1
INC 0 ... 255 Increment ACCU1-LL 1
DEC 0 ... 255 Decrement ACCU1-LL 1
3.16 Data type conversion instructions
The results of the conversion are in ACCU1. When converting real numbers, the execu-
tion time depends on the value.
Com-
mand
Operand Parameter Function Length
in words
BTI - Convert contents of ACCU1 from BCD to integer (16bit)
(BCD to Int.)
1
BTD - Convert contents of ACCU1 from BCD to integer (32bit)
(BCD to Doubleint.)
1
DTR - Convert cont. of ACCU1 from integer (32bit) to Real
number (32bit)
(Doubleint. to Real)
1
ITD - Convert contents of ACCU1 from integer (16bit) to
integer (32bit)
(Int. to Doubleint)
1
Status word BR CC1 CC0 OV OS OR STA RLO /FC
Instruction depends on - - - - - - - - -
Instruction influences - - - - - - - - -
ACCU transfer instruc-
tions, increment, decre-
ment
Data type conversion
instructions
VIPA SPEED7
IL operations
Data type conversion instructions
HB00 | OPL_SP7 | Operation list | en | 18-30 51

Table of Contents

Related product manuals