Usage
Backup variables are declared. See below for specifications.
An example of a variable definition is shown below.
' OPC UA output variables
Global Preserve UShort OPCUA_ItemCode
Global Preserve UInt32 OPCUA_ElectricPower
Global Preserve UInt32 OPCUA_NumOfProduced
Global Preserve UInt32 OPCUA_NumOfDefective
Global Preserve UShort OPCUA_CycleTime
Global Preserve UInt32 OPCUA_ConsumedStatus
Global Preserve UShort OPCUA_OperatingStatus
Global Preserve UInt32 OPCUA_ErrorCode
SPEL variable nodes appear in the address space positions below.
Objects>DeviceSet>MotionDeviceSystemIdentifier>Controllers>Components>SpelProject>BackupVariables
CAUTION
- SPEL variables whose values are to be read by OPC UA must be prefixed with “OPCUA_”.
- To apply variable definitions (including type and variable name changes, and variable additions and deletions), restart the OPC UA Server after building the project.