EasyManua.ls Logo

YASKAWA VIPA SPEED7 - Addressing Examples

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...
Bit Assignment Description
0 /FC First check bit
1 RLO Result of (previous) logic instruction
2 STA Status
3 OR Or
4 OS Stored overflow
5 OV Overflow
6 CC0 Condition code
7 CC1 Condition code
8 BR Binary result
9 ... 15 not used -
3.6 Addressing examples
Addressing example Description
Immediate addressing
L +27 Load 16bit integer constant "27" in ACCU1
L L#-1 Load 32bit integer constant "-1" in ACCU1
L 2#1010101010101010 Load binary constant in ACCU1
L DW#16#A0F0_BCFD Load hexadecimal constant in ACCU1.
L "End" Load ASCII code in ACCU1
L T#500ms Load time value in ACCU1
L C#100 Load time value in ACCU1
L B#(100,12) Load constant as 2byte
L B#(100,12,50,8) Load constant as 4byte
L P#10.0 Load area-internal pointer in ACCU1
L P#E20.6 Load area-crossing pointer in ACCU1
L -2.5 Load real number in ACCU1
L D#1995-01-20 Load date
L TOD#13:20:33.125 Load time-of-day
Direct addressing
A I 0.0 AND operation of input bit 0.0
L IB 1 Load input byte 1 in ACCU1
L IW 0 Load input word 0 in ACCU1
L ID 0 Load input double word 0 in ACCU1
Indirect addressing timer/counter
SP T [LW 8] Start timer; timer no. is in local data word 8
VIPA SPEED7
IL operations
Addressing examples
HB00 | OPL_SP7 | Operation list | en | 18-30 28

Table of Contents

Related product manuals