Commissioning
48
Operating Manual XCA 1100 / XCA 1200
●
Version 12/17
Figure33:
"PLC/MC/CNC shared
RAM" dialog window
Important!
The selected shard RAM version must correspond to the
controller operating system version (see "Information on the
Selection of the Shared RAM Version", page 49.)
The PLC project must be recompiled and transferred to the controller
after inserting the shared RAM data types and variables.
6.5.1
Access the Shared RAM
The PLC program has access to the entire shared RAM via the global
variable
plcMem
(for PLC controllers) or
cncMem
(for CNC
controllers). The individual components of the shared RAM can be
accessed with the use of full stops. For example, the PLC program
can read the version number of the controller operating software as
follows:
cncMem.plcSect.lOSVersion
.
Visualisation systems have access to the shared RAM via the OPC
interface. For example, the version number of the operating system
can be read from the OPC variables
cmpS_lOSVersion
.