8.2 Program structure
8-3
8.2 Program structure
A STEP7 structured program consists of blocks, each of which in turn consists of networks (see
the figure below). Each network can be expressed either in LAD, FBD, or STL. Thus a block
can consist of mixed LAD and STL networks, or mixed FBD and STL networks. LAD and
FBD networks, however, cannot be mixed in a block.
While most instructions can be written in any of LAD, FBD, and STL, the LOOP, variable-
address, and some other STEP7 instructions can be written only in STL. In such a case, LAD
and STL networks need to be mixed.
I 0.0
I 0.2
I 0.1
Q 1.0
O
I
2.0
O
I
2.1
=
Q
3.0
I 4.2
M5.1
M 5.0
Network 1
Network 2
Network 3
M5.0
I 6.2
Q 5.0
Network 4
( )
( )
( )
I
I 4.0
( )
( )
Содержание CNC Series
Страница 1: ...Maintenance Manual Serviceman Handbook MANUAL No NCSIE SP02 19 Yaskawa Siemens CNC Series...
Страница 26: ...Part 1 Hardware...
Страница 38: ...System Configuration 1 2 3 Spindle motor designations 1 12...
Страница 58: ...Installing the control panels 2 3 5 Installing lightning surge absorbers 2 20...
Страница 62: ...Installing the motors 3 4...
Страница 84: ...Connection method 4 3 2 Setting the rotary switches on the inverters and servo units 4 22...
Страница 96: ...Part 2 Software...
Страница 102: ...Software configuration 6 6...
Страница 103: ...7 1 Chapter 7 Backup 7 1 How to archive 7 2 7 2 Network settings 7 7 7 2 1 YS 840DI settings 7 7 7 2 2 PC settings 7 14...
Страница 105: ...7 1 How to archive 7 3 3 Select the Workpieces folder 4 Click on Archive File which is one of the right side keys...
Страница 113: ...7 2 Network settings 7 11 8 Click on the radio button to the left of Specify an IP address...
Страница 121: ...7 2 Network settings 7 19...
Страница 122: ...Part 3 PLC...
Страница 154: ...Part 4 Setting up and maintenance...
Страница 160: ...Overview of System 10 1 2 Basic operation 10 6...
Страница 204: ...How to use Digital Operation 12 2 9 Setting the password setting for write prohibit 12 32...
Страница 327: ...Error and Troubleshooting 15 4...
Страница 328: ...15 1 Errors without Alarm Display and Troubleshooting 15 5...
Страница 329: ...Error and Troubleshooting 15 6...
Страница 343: ...Maintenance and Check 16 3 3 Setting up Initializing Absolute encoder 16 14...