10 12.97 Motion-Synchronous Action10.1 Structure, basic information 10840 DNCU 571840DNCU 572NCU 573FM-NC 810DCCU2840Di Siemens AG 2000. All rights reservedSINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition 10-343Example:IDS=1 EVERY $A_IN[1]==1 DO POS[X]=100Application:• AC loops in JOG mode• Logic operations for Safety Integrated• Monitoring functions, responses to machine states inall modesSequence of executionSynchronized actions that apply modally or staticallyare executed in the order of their ID(S) numbers (inthe interpolation cycle).Non-modal synchronized actions (without IDnumber) are executed in the programmed sequenceafter execution of the modal synchronized actions.10.1.3 Vocabulary wordFunctionThe vocabulary word determines how many times thefollowing condition is to be scanned and the associatedaction executed.• No vocabulary word:If no vocabulary word is programmed, thecondition is considered to be always fulfilled. Thesynchronous commands are executed cyclically.Example:DO $A_OUTA[1]=$AA_IN[X];Output of actual value on analogoutput• WHENThe condition is scanned in each interpolationcycle until it is fulfilled once, whereupon theaction is executed once.• WHENEVERThe condition is scanned in each interpolationcycle. The action is executed in eachinterpolation cycle while the condition is fulfilled.