Siemens SIMATIC S5 Manual page 225

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

Advertisement

Sample Applications and Programming Aids
STL in the CPU user program:
OB 21/22
Segment 1
0000
:L
0001
:T
0002
:
.
.
.
ABCD
:BE
OB 1
Segment 1
0000
:JU
0001 NAME
:CONTROL
0002
:
.
.
.
ABCD
:BE
FB 1
Segment 1
Name :CONTROL
000A
:A
000B
:AN
000C
:JC
000D NAME
:IP-PARAM
000E
:BE
FB 2
Segment 1
Name :IP-PARAM
0007
:
0008
:L
0009
:T
0008
:L
0009
:T
0007
:
.
.
.
ABCD
:BE
13-12
0000
KH 0200
QW 80
0000
FB 1
0000
IP 265 in slot 2
I
80.1
I
80.2
FB 2
0000
IP 265 in slot 2
IW 82
FW 10
IB 84
FY 12
Set IP 265's RUN bit in the
CPU restart routine
Normal CPU user program:
No processing of IP 265 input
or output data
Call FB 1:
Define control word and evaluate
status word
Normal CPU user program:
No processing of IP 265 input
or output data
IP 265 in RUN mode and
IP 265 not under COM 265 control:
--> Initialize and process
IP 265 parameters
Load output parameters and store
in flag word 10
Load output parameter and store
in flag byte 12
Processing of output parameters
by the CPU user program.
IP 265
EWA 4NEB 812 6130-02a

Advertisement

Table of Contents
loading

Table of Contents