Siemens SIMATIC S5 Manual page 66

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

Advertisement

Control of the IP 265 by the CPU User Program
Summary
The transfer times for the data exchange between the CPU and the IP 265 (t
determined by the program scan time (t
characteristic of the S5-100 system family).
Data Transfer
IP 265 user program
CPU user program
CPU user program
IP 265 user program
t
=Program cycle time, t
PCyc
6.3
CPU Program Section for Control of the IP 265
A program section is listed in STL on the following page which gives an example of the control of
the IP 265 by the CPU user program. In Figure 6-1, this program section represents the conversion
of the function model "Control of the IP 265 by the CPU user program".
The CPU program includes
switching the IP 265 to the RUN state,
exclusion of COM 265 control of the IP 265 and
parameter entry/deletion in the parameter area (6 bytes).
Error evaluations are not dealt with in the following CPU program section.
The CPU user program controls the IP 265 for the most part via individual bits which change the
operating state or which indicate the status of the module. The parameters are exchanged by means
of load and transfer operations via flag areas.
Note
Before you copy-type the following programming blocks, check
whether the slot of your module matches the slot in the example;
if not, change to another module slot or adapt the addresses in the blocks to the
address area of your IP 265;
whether you want to exchange parameters between the IP 265 and the CPU;
if not, you need not retype FB1 "CONTROL", FB2 "IPPARAM";
whether you want to enter/delete only output parameters or only input parameters;
if yes, you only need to retype the relevant program half of the FB2 "IPPARAM".
6-4
PCyc
Table 6-1. Transfer Times Between IP 265 and CPU
=data cycle time
DCyc
) and the data transfer time (t
Transfer Time
t
2
Tr
t
Tr
) are basically
Tr
) of the CPU (system
DCyc
.
.
t
+2
t
PCyc
DCyc
t
+t
PCyc
DCyc
EWA 4NEB 812 6130-02a
IP 265

Advertisement

Table of Contents
loading

Table of Contents