Siemens SIMATIC S5 Manual page 322

Ip 266 positioning module
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

STEP 5 Programming
In FB 11, flag 3.0 is set in dependence on the Job Terminated bit. If this flag is not
set, FB 11 is simply exited. If it is set, and if the "Job Terminated" bit is also set in
the input byte, FB 11 invokes the function block used to invert the TOGGLE bit.
START
Program frame
Job
no
terminated?
yes
Set F 3.0
no
F 3.0
set ?
yes
(to invert TOGGLE
END
9-34
FB 11 - NAME:CONTROL
Program the input frame for mode 7,
including the mode, the override factor and
the distance:
NAME
Check to see whether a new job is allowed
and, if so, invoke FB 13:
NAME
END
Job
no
terminated?
yes
Call FB 13
bit)
JU
FB 12
LOAD
AN
I
66.7
S
F
3.0
AN
F
3.0
JC
=END
A
I
66.7
JC
FB 13
TOGGLE
BE
EWA 4NEB 812 6057-02
IP 266

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents