10
12.97 Motion-Synchronous Action
10.1 Structure
basic information
10
840 D
NCU 571
840D
NCU 572
NCU 573
FM-NC
810D
CCU2
840Di
ï›™
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
10-343
Example:
IDS=1 EVERY $A_IN[1]==1 DO POS[X]=100
Application:
•
AC loops in JOG mode
•
Logic operations for Safety Integrated
•
Monitoring functions, responses to machine states in
all modes
Sequence of execution
Synchronized actions that apply modally or statically
are executed in the order of their ID(S) numbers (in
the interpolation cycle).
Non-modal synchronized actions (without ID
number) are executed in the programmed sequence
after execution of the modal synchronized actions.
10.1.3 Vocabulary word
Function
The vocabulary word determines how many times the
following condition is to be scanned and the associated
action executed.
•
No vocabulary word:
If no vocabulary word is programmed, the
condition is considered to be always fulfilled. The
synchronous commands are executed cyclically.
Example:
DO $A_OUTA[1]=$AA_IN[X]
;
Output of actual value on analog
output
•
WHEN
The condition is scanned in each interpolation
cycle until it is fulfilled once, whereupon the
action is executed once.
•
WHENEVER
The condition is scanned in each interpolation
cycle. The action is executed in each
interpolation cycle while the condition is fulfilled.