Entering The User Program - Siemens SIMATIC S5-95F Manual

Table of Contents

Advertisement

S5-95F
17.4

Entering the User Program

Before putting the user program onto floppy disk, you must copy the block headers of the integral
function blocks to the specified program file.
Switch on both subunits (on/off switch to "l" position).
Result: The subunits are synchronized. The STOP LEDs flicker for about 20 s, then show
steady light.
Execute an overall S5-95F reset by making the appropriate entry on the programmer (see
section 2.5).
Transfer blocks FB252 and FB255 from the S5-95F to the specified program file.
Enter the user program and store it on floppy disk.
FB252 is invoked in OB1, and executes the short-circuit test, while FB255 passivates an errored
byte upon actuation of the RESET button.
OB1 STL
0001
:JU PB
0002
:
0003
:
0004
:JU FB 252
0005 NAME :AGF:TEST
0006 AUFT :
FY 110
0007 TYP
:
FW 112
0008 NR
:
FY 115
0009 BED
:
F
116.0
000A EINZ :
F
116.1
000B PAFE :
FY 117
000C
:
000D
:JU PB
000E
:
000F
:JU FB 255
0010 NAME :AGF:DIPA
0011 AUFT :
KY 1,5
0012 DIPA :
I
0013 PAFE :
FY 104
0014
:BE
EWA 4NEB 812 6210-02
1
2
33.0
Description
Initialization of the parameters
or the short-circuit test in FB252
Call short-circuit test
Job no. 15: Short-circuit test
Irrelevant for job no. 3
for Q 33.0 and Q 33.1
Execute test without condition
Execute test in one cycle
Flag byte for test
Call user program
Depassivate signal group 5
with input 33.0
Application
17-5

Advertisement

Table of Contents
loading

Table of Contents