EasyManua.ls Logo

Siemens CPU 414-2 - Examples of Addressing

Siemens CPU 414-2
160 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...
Examples of Addressing
15
S7-400 Instruction List
A5E00267845-01
Examples of Addressing
Addressing Examples Description
Immediate Addressing
L +27 Load 16-bit integer constant “27” into ACCU1
L L#-1 Load 32-bit integer constant “-1” into ACCU1
L 2#1010101010101010 Load binary constant into ACCU1
L DW#16#A0F0BCFD Load hexadecimal constant into ACCU1
L ’ENDE’ Load ASCII character into ACCU1
L T#500 ms Load time value into ACCU1
L C#100 Load count value into ACCU1
L B#(100,12) Load 2-byte constant
L B#(100,12,50,8) Load 4-byte constant
L P#10.0 Load area-internal pointer into ACCU1
L P#E20.6 Load area-crossing pointer into ACCU1
L -2.5 Load real number into ACCU1
L D# 1995-01-20 Load date
L TOD 13:20:33.125 Load time of day

Table of Contents

Related product manuals