10
Motion-Synchronous Action 12.97
10.1 Structure
basic information
10
840 D
NCU 571
840D
NCU 572
NCU 573
FM-NC
810D
840Di
ï›™
Siemens AG 2000. All rights reserved
10-342
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
10.1.2 Validity range: Identification number ID
Function
The scope of validity of a synchronized action is
defined by the identification number (modal ID):
•
No
modal ID
The synchronized action is active in automatic mode
only. It applies only to the next executable block
(block with motion instructions or other machine
action), is
non-modal
.
Example:
WHEN $A_IN[3]==TRUE DO $A_OUTA[4]=10
G1 X20
;executable block
•
ID
=n; n=1...255
The synchronized action applies
modally
in the
following blocks and is deactivated by CANCEL(n) or
by programming a new synchronized action with the
same ID.
The synchronized actions that apply in the M30
block
are also still active (if necessary deactivate
with the CANCEL command).
ID synchronized actions
only
apply in
automatic mode
.
Example:
ID=2 EVERY $A_IN[1]==1 DO POS[X]=0
•
IDS
=n; n=1...255
These
static
synchronized actions apply
modally
in
all operating modes
.
They can be defined not only for starting from a
part program but also directly after power-on from
an asynchronous subprogram (ASUP) started by
the PLC. In this way, actions can be activated
that are executed regardless of the mode
selected in the NC.