A2: Various NC/PLC interface signals and functions
2.3 Functions
Program code
Funct
S7Var :=P#M 104.0 WORD1,
IVAR1
IVAR2
Error
ErrCode :=MW12);
. . .
)
Reading in part program
Program code
. . .
PLCDATA = $A_DBW[4];
. . .
Behavior during POWER ON, block search
The DPR communications buffer is initialized during "POWER ON".
During a "block search", the PLC variable outputs are collected and transferred to the DPR
communications buffer with the approach block (analogous to writing of analog and digital
outputs).
Other status transitions have no effect in this respect.
References
A detailed description of the data exchange by the PLC with FC 21 can be found in:
SINUMERIK 840D sl: Section "FC21: transfer PLC NCK data exchange (Page 1037)"
2.3.5
Access protection via password and keyswitch
Access authorization
Access to functions, programs and data is useroriented and controlled via 8 hierarchical
protection levels. These are subdivided into:
● Password levels for Siemens, machine manufacturer and end user
● Keyswitch positions for end user
60
:=B#16#4,
:=04,
:=-1,
:=M10.1,
Comment
Comment
; Read a word
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions