Actual Addresses Of The Input And Output Parameters (Cpu Viewpoint); Actual Addresses Of The Input And Output Parameters; (Cpu Viewpoint) - Siemens SIMATIC S5 Manual

Ip 265 high speed sub control
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

Addressing
5.2.2

Actual Addresses of the Input and Output Parameters

(CPU Viewpoint)

Note
The addresses of the input and output parameters of the IP 265 are slot- dependent in
the CPU user program. For address allocation, you must add the starting address of the
slot into which you have plugged the module (module address) to the relevant byte
number in the address area (byte 2 to 7).
The addresses (direct addressing) are used to address the parameter area of a maximum of 6 bytes
for input parameters and 6 bytes for output parameters.
Table 5-5. Addresses of the Input Parameters
in the CPU User Program
Possible
Input Parameter
Count, time value
Bit input parameter
*
M.addr=Module address ( Table 5-4)
Table 5-6. Addresses of the Output Parameters
in the CPU User Program
Possible Output
Parameters
Count
Bit output parameter
*
M.addr=Module address ( Table 5-4)
Section 5.3 includes an allocation of the parameter addresses in the CPU user program to the
parameter addresses in the IP 265 user program.
5-6
Direct Addressing in the
Data
CPU User Program
Type
(Slot-Dependent)
10 bit
QW z ;
count,
10 bit
time
value
Bit
Q z.y ;
Direct Addressing in
Data
CPU User Program
Type
(Slot-Dependent)
10 bit
IW z ;
count
Bit
I z.y
;
z (M.addr
+2,
*
M.addr+4,
M.addr+6)
z (M.addr*+2 to
M.addr+7)
y (0 to 7)
z (M.addr
+2,
*
M.addr+4,
M.addr+6)
z (M.addr*+2 to
M.addr+7)
y (0 to 7)
IP 265
EWA 4NEB 812 6130-02a

Advertisement

Table of Contents
loading

Table of Contents