Name
|
Data type
|
R/W
|
Description
|
Drv[<driver>][<host>].state
|
WORD
|
R
|
Displays the state of a PLC
0 = Undefined
1 = Run
2 = Stop
3 = Fault
|
Drv[<driver>][<host>].LastError
|
DINT
|
R
|
This variable is <> 0 if the connection ist disturbed
|
Alarm-specific system variables
|
|
|
|
Alarm[<name>].Active
|
BOOL
|
R
|
TRUE if an alarm is active.
FALSE if no alarm is active.
|
Alarm[<name>].ActiveCount
|
WORD
|
R
|
Number of active alarms.
|
AlarmList[<name>].Nr
|
DWORD
|
R
|
AlarmNo of the selected alarm
|
AlarmList[<name>].Info
|
WSTRING
|
R
|
Action1 of the selected alarm
|
AlarmList[<name>].Text
|
WSTRING
|
R
|
AlarmText of the last selected alarm.
|
AlarmList[<name>].Tin_Dt
|
DT
|
R
|
Time stamp AlarmOn of the selected alarm
|
AlarmList[<name>].Tin
|
WSTRING
|
R
|
Time stamp AlarmOn of the selected alarm
Format: As AlarmOn column
|
AlarmList[<name>].Tout_Dt
|
DT
|
R
|
Time stamp AlarmOff of the selected alarm
|
AlarmList[<name>].Tout
|
WSTRING
|
R
|
Time stamp AlarmOff of the selected alarm
Format: As AlarmOn column
|
AlarmList[<name>].Tquit_Dt
|
DT
|
R
|
Time stamp AlarmQuit of the selected alarm
|
AlarmList[<name>].Tquit
|
WSTRING
|
R
|
Time stamp AlarmQuit of the selected alarm
Format: as column AlarmQuit
|
AlarmList[<name>].TxtInfo
|
WSTRING
|
R
|
Helptext of the last selected alarm. (can for example be the name of a text file when used with #Textlist.
|
Authent:User
|
WSTRING
|
RW
|
Login name
|
Authent:Pwd
|
WSTRING
|
W
|
Password for logging in (login) or changing the password (changePwd)
|
Authent:CurrentUser
|
WSTRING
|
R
|
Contains the user ID of the logged in user
|
Authent:CurrentRoleName
|
WSTRING
|
R
|
Contains the role name of the logged in user
|
Authent:LastError
|
INT
|
R/W
|
If errors occur during the Authent actions, an appropriate error number is contained in this variable.
The #Message object enables the error text to be displayed.
|
DateTime
|
DT
|
R
|
System time
|
Edit_val
|
WSTRING
|
R
|
Value of #Variable before editing (input focus).
|
Ethernet[0].MacAdr
|
STRING
|
R
|
Mac address of the Ethernet adapter 0
|
Ethernet[0].IpAdr
|
STRING
|
RW
|
IP address (V4) of Ethernet adapter 0
|
Ethernet[0].GatewayIpAdr
|
STRING
|
RW
|
IP address (V4) of gateway for Ethernet adapter 0
|
Ethernet[0].SubnetMask
|
STRING
|
RW
|
Subnet mask (V4) of the Ethernet adapter 0
|
Ethernet[0].Dns1IpAdr
|
STRING
|
RW
|
IP address (V4) of DNS1 for Ethernet adapter 0
|
Ethernet[0].Dns2IpAdr
|
STRING
|
RW
|
IP address (V4) of DNS2 for Ethernet adapter 0
|
Ethernet[0].DhcpMode
|
INT
|
RW
|
DHCP mode of Ethernet adapter 0
0 = DHCP disabled, static address
1 = DHCP enabled
|
Ethernet[1].MacAdr
|
STRING
|
RW
|
Mac address of the Ethernet adapter 1
|
Ethernet[1].IpAdr
|
STRING
|
RW
|
IP address (V4) of Ethernet adapter 1
|
Ethernet[1].GatewayIpAdr
|
STRING
|
RW
|
IP address (V4) of gateway for Ethernet adapter 1
|
Ethernet[1].SubnetMask
|
STRING
|
RW
|
Subnet mask (V4) of the Ethernet adapter 1
|
Ethernet[1].Dns1IpAdr
|
STRING
|
RW
|
IP address (V4) of DNS1 for Ethernet adapter 1
|
Ethernet[1].Dns2IpAdr
|
STRING
|
RW
|
IP address (V4) of DNS2 for Ethernet adapter 0
|
Ethernet[1].DhcpMode
|
INT
|
RW
|
DHCP mode of Ethernet adapter 1
0 = DHCP disabled, static address
1 = DHCP enabled
|
HelpText
|
WORD
|
R
|
Contains the value of the HelpText=<n> of the #Variable object that contains the input focus.
|
IrTouch
|
WORD
|
R
|
0 = No IR touch device present
1 = IR touch present
|
Limit1
|
WSTRING
|
R
|
Lower limit of #Variable with the input focus
|
Limit2
|
WSTRING
|
R
|
Upper limit of #Variable with the input focus
|
NewPage
|
WSTRING
|
W
|
Setting the variable to "#page=<name>" causes the relevant page to be opened or the highest page to be closed via "close". This enables page changes to be triggered in the PLC with #Sys2PLC.
|
PageName
|
WSTRING
|
R
|
Name of the highest page (page stack).
|
PageId
|
WORD
|
R
|
Index ( Page option Id=<index>) of the highest page (page stack). 0, if the option Id=<idx>is not set.
|
PageIdLast
|
WORD
|
R
|
Index ( Page option Id=<index>) of the highest page (page stack). Index stays unchanged even if the option is not set.
|
ProjectName
|
WSTRING
|
R
|
Name of the project, is transferred in EPAM.INI with the project.
|
ProjectProgrammer
|
WSTRING
|
R
|
Name of the programmer, is transferred in EPAM.INI with the project.
|
ProjectTarget
|
WSTRING
|
R
|
Target of the project, is transferred in EPAM.INI with the project.
|
ProjectVersion
|
WSTRING
|
R
|
Version of the project, is transferred in EPAM.INI with the project.
|
Pwl
|
WORD
|
RW
|
Current password level. Setting this variable causes the internal password level to be controlled. This enables the password level to be controlled directly from the PLC in conjunction with #Sys2Plc.
|
PwlRequired
|
WORD
|
R
|
If an attempt is made to operate an object (touch/mouse) although this is blocked by the current password level and the PWL=<level> option, <level> is written to the variable.
|
RC_Password
|
WSTRING
|
RW
|
Input of the password for #Remotecontrol
|
RCInput_enabled
|
WORD
|
R
|
Shows the current status:
1=Input enabled
0=Input disabled
|
RecipeList:SelectedFile
|
WSTRING
|
R
|
Filename of the recipe selected in #RecipeList
|
RecipeList:SelectedName
|
WSTRING
|
R
|
Recipename of the recipe selected in #RecipeList
|
RemoteClient.connected
|
INT
|
R
|
0 = No RemoteControl client connected.
1 = A RemoteControl client is connected.
If a RemoteControl client connects to the target, the screen saver is closed.
|
RtsVersion
|
STRING
|
R
|
Version# of the runtime system. Eg: '1.1.0.9437'
|
Trend[<name>].t
|
DT
|
R
|
Time stamp of the latest value in the trend <name>, or at the cursor position.
|
Trend[<name>].c[<index>]
|
as per DataLog
|
R
|
Latest value of curve <index> (1...), or at the cursor position.
|
Trend[<name>].c[<index>].s
|
WSTRING
|
R
|
Latest value of curve <index> (1...), or at the cursor position, as WString (default format)
|
Tm_Day
|
WORD
|
RW
|
Day of the month 1 - 31
|
Tm_wDay
|
WORD
|
R
|
Weekday 0-6 (0 = Sunday)
|
Tm_yDay
|
WORD
|
R
|
Day of the year 0 - 365
|
Tm_Mon
|
WORD
|
RW
|
Month 1 - 12
|
Tm_Year
|
WORD
|
RW
|
Year (including thousand unit, e.g. 2011)
|
Tm_Hour
|
WORD
|
RW
|
Hour 0 -23
|
Tm_Min
|
WORD
|
RW
|
Minute 0 - 59
|
Tm_Sec
|
WORD
|
R
|
Second 0 - 59
|
Tm_nSec
|
WORD
|
RW
|
Nominal second 0- 59, for input
|
Tm_HourMax
|
WORD
|
R
|
Set according to /S/APP/Tm_UseAmPm 0->23¦1->12. Use as Limit2 for entering the time via /S/SYS/Tm_hour.
See also: AM/PM time system
|
Tm_IsPM
|
BOOL
|
RW
|
Determines whether the hours time is AM or PM.
See also: AM/PM time system
|
TouchError
|
WORD
|
R
|
0 = Touch is OK
1 = Error detected on touch.
|
User
|
WSTRING
|
R
|
Current user. See also User_<level>
|
VariableVerify
|
WORD
|
R
|
Indicates with the value 1 that the 2nd Verify entry is active. This variable is used in conjunction with #Variable and the option Verify.
The meaning of the values:
0 = 1st Value entry
1 = 2nd Repeat value entry
2 = 2nd Value input was incorrect, repeat .
|