ID : 380
DeadManState
Function
To return the status of deadman switch.
Syntax
DeadManState
Return value
Return the status of deadman switch by integer type data.
Status of deadman switch | Return value |
---|---|
On | 1 |
Off | 0 |
Description
The status of deadman switch is returned by integer type data.
Related Terms
Attention
The deadman switch is never turned On with the simulation function.
Example
'!TITLE "Acquiring the Status of Deadman Switch"
' Assign the status of deadman switch to aaa
Sub Sample_DeadManState
Dim aaa As Integer
' Acquire and assign the status of deadman switch to aaa
aaa = DeadManState
' Display the status of deadman switch on the message output window
PrintDbg aaa
End Sub
ID : 380