P3: Basic PLC Program for SINUMERIK 840D sl
13.8 Structure and functions of the basic program
Basic Functions
882
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
• Control of spindle (FC 18),
• Read/write variables (FB 2, FB 3).
Concurrent axes
The distinguishing features of concurrent axes are as follows:
• They must be defined as such via the NC machine data.
• They can be traversed either from the PLC or from the NC by means of the JOG keys,
• Starting from the PLC is possible in the NC operating modes MDI and AUTOMATIK via FC,
• The start is independent of NC block boundaries.
Function calls are available for positioning axes, indexing axes and spindles (FC 18).
Figure 13-13
FC 18 input/output parameters
Note
The following note will later help you to check and diagnose a function call (FCs, FBs of
basic program). These are FCs and FBs, which are controlled by a trigger signal (e.g. via
parameter Req, Start, etc.), and which supply an execution acknowledgment as an output
parameter (e.g. via parameter Done, NDR, Error, etc.). A variable compiled of other
signals, which produce the trigger for the function call should be set. Start conditions may
be reset only as a function of the states of parameters Done, NDR and Error.
This control mechanism may be positioned in front of or behind the function call. If the
mechanism is placed after the call, the output variables can be defined as local variables
(advantage: Reduction of global variables, flags, data variables and timerelated
advantages over data variables).
The trigger parameter must be a global variable (e.g. flag, data variable).
In OB 100, jobs still activated by the user program (Parameter Req,
Start, etc.:= TRUE) must be set to zero at the named parameters. A POWER OFF/ON
could result in a state in which jobs are still active.
,QSXW
SDUDPHWHUV
6WDUWLQJ
SDUDPHWHUV
)&
6WDUW
6WRS
)XQFW
,Q3RV
(UURU
6WDWH
6SLQ&WUO
3RV
$[LV1R
0RGH
)5DWH
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...