R 02/92
Programming Instructions
9.5.4 Turn–On, Start-Up Behavior
The program is completely loaded from the floppy disk to the user memory of the programmable
controller.
For the start-up the digital position decoder is supplied with the respective
setpoints
for the indi-
vidual tracks and with the zero shift. This is done with function block FB 156. The
setpoints
are
contained in the user data block; in our example it is data block
DB
156 which is already full and
available on the floppy disk.
If the programmable controller is turned on when all simulator inputs are in switch position “O”, no
output may be set after the start-up of the programmable controller. If the output Q 4.0/
Q 8.0 is set, a parameterization error occurred during start-up (parameter PAFE).
The exact error cause can then be read at flag byte
FY
18. This flag byte is assigned in accordance
with the error byte
FY
255 of the standard function block FB 156 (see programming instructions).
At the output Q 4.1/Q 8.1 the SPFE parameter (SP bit error) in function block FB 156 is shown.
All enabled track
setpoints
in user data block
DB
156 are transferred to the module; in the example
these are the
setpoints
for tracks O to 5.
1P
241 Equipment Manual
@SiemensA(21989,
Order
No.:
6ES5
gg&I)KD21
9 – 49
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com