Setting (Writing) And Reading Of Real-Time Variables - Siemens SINUMERIK 840Di sl Function Manual

Synchronized actions, ncu system software
Hide thumbs Also See for SINUMERIK 840Di sl:
Table of Contents

Advertisement

2.4.2

Setting (writing) and reading of real-time variables

Write
In synchronized actions the real-time variables can be written in actions, which are marked in
the list of the system variables in the 8th row in the field "write:" with an X. The following
machine and setting data are also written in the main run:
• Machine and setting data, e.g. $$MN_..., $$MC_..., $$MA_...
Efficiency
Machine data written from synchronized actions must be coded for IMMEDIATE
effectiveness. The modified value will not otherwise be available for the remainder of the
processing run. Details about the effectiveness of new machine data values after
modification can be found in:
References:
/LIS/ Lists (Book1)
Examples:
... DO $$MN_MD_FILE_STYLE = 3;Set machine data
... DO $$SA_OSCILL_REVERSE_POS1 = 10;Set setting data
... DO $A_OUT[1]=1;Set digital output
... DO $A_OUTA[1]= 25; Output analog value
Read
In synchronized actions, the system variables can be read as main run variables in actions
that are labeled with X in the "read" field in the 7th line of the list of synchronous variables.
The following machine and setting data are also read:
• Machine data, setting data, e.g. $$SN_..., $$SC_..., $$SA_...
Note
Machine and setting data that must be addressed online in the main run must be
programmed with $$.._... . In the case of variables whose content remains unchanged during
the main run, it is sufficient to add a $ sign in front of the identifier.
Synchronized actions
Function Manual, 11/2006, 6FC5397-5BP10-2BA0
or $$SN_..., $$SC_..., $$SA_...
Note
Machine data and setting data that are to be written in the main run must be programmed
with $$.._... .
Detailed description
2.4 Actions in synchronized actions
47

Advertisement

Table of Contents
loading

Table of Contents