System Tags

The system TAGs are predefined tags that contain information relating to the functionality of the project in progress.
They can be inserted in the Tag database simply by selecting System in the Address Type field.
 
 
Once inserted in the Tag database it is possible to use them as any Tag present in the database.
 

Tag list

Tag Name
Description
Note
SYS_AlarmEventExist
 
TRUE: at least one alarm is on
FALSE: no alarm is on
SYS_AlarmExist
Indicates whether at least one ISA type alarm (WITH ACKNOWLEDGE) is active
TRUE: at least one alarm is on
FALSE: no alarm is on
SYS_AlarmFull
Indicates whether the active alarm buffer is full
TRUE: the active alarm buffer is full
FALSE:the active alarm buffer is not full
SYS_AlarmIsaExist
Indicates whether at least one ISA alarm is active
TRUE: at least one alarm is on
FALSE: no alarm is on
SYS_AlarmMainId
Selected alarm Id
 
SYS_AlarmMainKey
Key of the selected alarm
 
SYS_AlarmMainMessage
Message of the selected alarm
 
SYS_AlarmMainName
Name of the selected alarm
 
SYS_AlarmMainPriority
Priority of the selected alarm
 
SYS_AlarmNotAck
Total number of not acknolwedged ISA alarm
 
SYS_AlarmNotOff
Number of active or active alarms recognized in the system
 
SYS_AlarmNum
Number of active alarms
 
SYS_AlarmsNum
Number of alarms defined in the project
 
SYS_AlarmPath
Path to the folder where the alarm history is saved
 
SYS_AnyClientDebugState
Returns if at least one client failed to start debug mode.
TRUE: At least one client did not complete the process to enter debug mode.
FALSE: All clients entered debug mode without errors.
SYS_ClientDebugState
Array containing the state of each client when they go into debug mode.
Each element of the array has a value of TRUE or FALSE depending on whether the switch to debug mode was successful or not.
SYS_DatalogNum
Number of datalogs defined in the project
 
SYS_DataLogsPath
Path to the folder where the DataLogs are saved
 
SYS_DateAndTime
System date and time
It must be displayed with an edit box in Date and Time format
SYS_DeviceIpAddress
Displays the IP address of the selected device
All devices defined in the project have an incremental Id that identifies them
SYS_DeviceName
Device name defined in the project
The line is identified by the parameter
SYS_DeviceNumErrors
Number of errors occurred in communication with the device
The parameter identifies the communication driver from 1 to n.
Driver number 1 is the first one appearing on the first communication port of the device.
The other indices follow.
SYS_DeviceNumRx
Number of packets received
The parameter identifies the communication driver from 1 to n.
Driver number 1 is the first one appearing on the first communication port of the device.
The other indices follow.
SYS_DeviceNumTx
Number of packets transmitted
The parameter identifies the communication driver from 1 to n.
Driver number 1 is the first one appearing on the first communication port of the device.
The other indices follow.
SYS_DeviceTimeAvg
Average communication time (in microseconds)
The parameter identifies the communication driver from 1 to n.
Driver number 1 is the first one appearing on the first communication port of the device.
The other indices follow.
SYS_DeviceTimeBuffer
Buffer that records the last 128 communication times
The parameter identifies the communication driver from 1 to n.
Driver number 1 is the first one appearing on the first communication port of the device.
The other indices follow.
SYS_DeviceTimeHead
Index of the next slot in the buffer that records communication times
The parameter identifies the communication driver from 1 to n.
Driver number 1 is the first one appearing on the first communication port of the device.
The other indices follow.
SYS_DeviceTimeLast
Time in microseconds of the last data exchange with the device
The parameter identifies the communication driver from 1 to n.
Driver number 1 is the first one appearing on the first communication port of the device.
The other indices follow.
SYS_DeviceTimeMax
Maximum communication time in microseconds
The parameter identifies the communication driver from 1 to n.
Driver number 1 is the first one appearing on the first communication port of the device.
The other indices follow.
SYS_DeviceTimeMin
Minimum communication time value in microseconds
The parameter identifies the communication driver from 1 to n.
Driver number 1 is the first one appearing on the first communication port of the device.
The other indices follow.
SYS_DLogAverage
Average value of samples related to a specific tag inserted in a datalog
Name of the Datalog and name of the Tag that belongs to the selected Datalog
SYS_DLogMax
Maximum value of samples related to a specific tag inserted in a datalog
Name of the Datalog and name of the Tag that belongs to the selected Datalog
SYS_DLogMin
Minimum value of samples related to a specific tag inserted in a datalog
Name of the Datalog and name of the Tag that belongs to the selected Datalog
SYS_DLogSum
Sum of all values ​​related to a specific tag inserted in a datalog
Name of the Datalog and name of the Tag that belongs to the selected Datalog
SYS_DriverAddress
Address of the selected driver
 
SYS_DriverError
Error state of the selected driver
The parameter identifies the communication driver from 1 to n.
Driver number 1 is the first one appearing on the first communication port of the device.
The other indices follow.
SYS_DriverName
Name of the selected driver
The parameter identifies the communication driver from 1 to n.
Driver number 1 is the first one appearing on the first communication port of the device.
The other indices follow.
SYS_DriverState
State of the selected driver
The parameter identifies the communication driver from 1 to n.
Driver number 1 is the first one appearing on the first communication port of the device.
The other indices follow.
SYS_SriverVersion
Version of the selected driver
The parameter identifies the communication driver from 1 to n.
Driver number 1 is the first one appearing on the first communication port of the device.
The other indices follow.
SYS_EthNames
Names of the devices connected to the ethernet port
Array in which each element contains the name of the device
SYS_HistoryFull
Historical buffer status
TRUE when the buffer is full
SYS_HistoryNum
Number of events recorded in the historical buffer
 
SYS_HistoryWarning
Historical buffer filling status
TRUE quando i dati sono superiori al limite dichiarato come warning
SYS_IpAddresses
Ip addresses of all the ethernet ports of the product
Array in which each element contains the IP address of a port
SYS_LanguagesNum
Total number of the project languages
 
SYS_LastAlarm
Last alarm message
 
SYS_LastErrorCode
Last error code
 
SYS_LastErrorFlags
Service tag containing the last error code.
To be used with the ESA support people
SYS_LastErrorMessage
Last error message
 
SYS_LineName
Name of the communication lines
The communication port Id has to be given as parameter
SYS_LineState
If the line is used or not
TRUE if the specified line is used
SYS_MachineName
ESA device Name
 
SYS_MesureId
Current metric system Id
 
SYS_MeasuresName
Current metric system name
 
SYS_NumClients
Total number of active connections
 
SYS_NumClientsNet
edgeHMI client connected
Only in the case of a network project (not currently foreseen)
SYS_NumClientsWeb
Total number of webHMI client sonnected
 
SYS_NumClientsWs
Total number of clients sonnected via a websocket
 
SYS_NumDevices
Number of devices connected via a specific driver
The parameter is the driver Id
SYS_NumDevices
Total number of devices defined in the project
 
SYS_NumDrivers
Total number of drivers connected to the selected port
Communication port
SYS_NumDrivers
Total number of the communication drivers
 
SYS_NumIpAddresses
Total number of the active Ip addresses
 
SYS_NumLinesTotal
Total number of the communication lines
 
SYS_NumLinesUsed
Total number of the used communication lines
 
SYS_PagesNum
Total number of the project pages
 
SYS_PipelinesNum
Total number of the project pipelines
 
SYS_PlatformType
Hardware platform type
 
SYS_ProjectDateAndTime
Date/time of the last project compiling
 
SYS_ProjectName
Project Name
 
SYS_RecipeNum
Total number of recipes in the archive
Recipe structure Name
SYS_RecipePath
Folder path ehere the recipe archive is saved
 
SYS_RecipeStructsNum
Total number of the recipe structures
 
SYS_RunMode
TRUE if the PLC application is in run mode
 
SYS_Script
Running script name
 
SYS_SoftPlcStatus
SoftPLC status
 
SYS_TagsNum
Total number of project tags
 
SYS_TagsPath
Tag database path
 
SYS_TimeMode
Selected time mode
0 = local time. 1 = GMT
SYS_TimerLimit
Max value of the selected timer
Timer name
SYS_TimerProgress
Current value of the selected timer
Timer name
SYS_TimersNum
Total number of timers defined in the project
 
SYS_UIAlarmMainMessage
Message of the selected alarm
 
SYS_UIClientId
Id of the current client
 
SYS_UIClientIP
Ip address of the current client
 
SYS_UIClientName
Name of the current client
 
SYS_UIClientPageId
Id of the current page displayed (internal Id)
 
SYS_UIClientPageName
Name of the current page
 
SYS_UIClientPageNo
Number of the current page
 
SYS_UIClientTrendMoveTo
Date and time to which the trend view moves
 
SYS_UIClientTrendStartTime
Date and time from which the imported pen starts
 
SYS_UIClientXPage
X coordinate of the mouse or touch on the current page
 
SYS_UIClientXPopup
X coordinate of the mouse or touch in the current pop-up page
 
SYS_UIClientYPage
Y coordinate of the mouse or touch on the current page
 
SYS_UIClientYPopup
Y coordinate of the mouse or touch in the current pop-up page
 
SYS_UIKeysBuffer
Buffer of characters coming from the keyboard or from a device working in keyboard emulation
To be used for example when connecting a bar code reader
SYS_UILanguageId
Id of the current language
 
SYS_UILanguageName
Name of the current language
 
SYS_UILastAlarm
Message of the last alarm
 
SYS_UIMediaId
Id of the current media
 
SYS_UIMediaName
Name of the current media
 
SYS_UIMediaOrientation
Orientation of the current media
 
SYS_UITimerClientStatus
State of the time
Id of the timer to be monitored
SYS_UIUserInteraction
User interaction
Value TRUE when the user interacts with the product using the mouse or touch
SYS_UIUserLevelInteract
Current protection level
 
SYS_UIUserLevelVisualize
Protection level of the current visualization
 
SYS_UIUserName
Name of the current user
 
SYS_UIWindowScreenHeight
Height of the current window
 
SYS_UIWindowScreenWidth
Width of the current window
 
SYS_UsersNum
Numer of the users defined in the project
 
SYS_UsersPath
Path where the user logbuffer is saved