
3-19
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
The following options are available for inserting Ladder elements:
S Enter a normally open contact, normally closed contact, or coil using the
function keys
F2, F3, or F4.
S Click on the button for a normally open contact, normally closed contact,
or coil from the toolbar.
S Select an element from the Insert
"
LAD Element... menu.
S Select elements from the list box in the Program Elements dialog (see
Figure 3-12). To display this dialog box, use the menu command Insert
"
Program Element..., the button in the toolbar, or the function key F11.
SE
#g car
FB6-<Offline> - LAD/STL/FBD Programming S7 Blocks
Press F1 for help. Insert
FB6-<Offline>
File Edit Insert PLC Debug View Options Window Help
&
=
>
1
Network 1 : Red request for road traffic
Network 2 : Green for cars
#starter
#condition
#condition
#condition
#t_next_red_car #t_dur_r_car
Network 2 : Start permanent amber for road traffic
#condition
FB6 : Traffic light
Program Elements
Compare
Convert
S_CD
S_CU
S_CUD
DB Call
Real Number Fct.
Counters
Floating Point Number
<
Bit logic
Object
Block Tem
plate
Da
ta Type
D
eclaration Row
Netw
ork
Program Elements
LAD Element
Figure 3-12 Inserting a Ladder Element Using the Program Elements Dialog Box
Ladder elements are always inserted behind the currently selected element.
Entering Ladder
Logic Elements
Creating Logic Blocks
Komentarze do niniejszej Instrukcji