Siemens CPU 412-1 Instruction Manual page 18

S7-400; cpu 412 series; cpu 414 series; cpu 416 series; cpu 417 series;
Hide thumbs Also See for CPU 412-1:
Table of Contents

Advertisement

Addressing Examples
Direct Addressing
A I 0.0
L IB 1
L IW 0
L ID 0
Indirect Addressing of Timers/Counters
SP T [LW 8]
CU C [LW 10]
Area-Internal Memory-Indirect Addressing
A I [LD 12]
Example: L P#22.2
T LD 12
A I [LD 12]
A I [DBD 1]
A I [DID 12]
A I [MD 12]
S7-400 Instruction List
A5E00267845-01
ANDing of input bit 0.0
Load input byte 1 into ACCU1
Load input word 0 into ACCU1
Load input double word 0 into ACCU1
Start timer; the timer number is in local data word 8
Count upwards; the counter number is in local data word 10
AND operation: The address of the input is in local data double word 12 as pointer
AND operation: The address of the input is in data double word 1 of the open DB as pointer
AND operation: The address of the output is in data double word 12 of the open instance DB as pointer
AND operation: The address of the output is in memory double word 12 as pointer
Description
Examples of Addressing
16

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents