Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

Related System-defined Variables
Name
Meaning
_OSRunning
OS Running Flag
_OSHalted
OS Halted Flag
_OSErrorState
OS Error State Flag BOOL
Sample Programming
This sample uses the IPC_GetOSStatus instruction to read the status of the operating system (Win-
dows). If the value of the Running output variable changes to TRUE, the IPC_RebootOS (Restart OS)
instruction is executed to restart the operating system (Windows).
LD
Internal-
Vari-
Variable
ables
GetStat
Out
isRunning
IPC_Reboo-
tOS_instance
GetStat
isRunning

NY-series Instructions Reference Manual (W560)

Data type
BOOL
BOOL
Data type
BOOL
BOOL
BOOL
IPC_RebootOS
IPC_GetOSStatus
EN
ENO
Halted
Running
ErrorState
IPC_RebootOS_instance
IPC_RebootOS
Execute
Done
Force
Busy
TimeOut
Error
ErrorID
Valid
range
FALSE,
This flag is TRUE if the Controller judges that the oper-
TRUE
ating system (Windows) is in a running state.
FALSE,
This flag is TRUE if the Controller judges that the oper-
TRUE
ating system (Windows) is in a halted state.
FALSE,
This flag is TRUE if the Controller judges that the oper-
TRUE
ating system (Windows) is in an error state.
Initial value
FALSE
FALSE
FALSE
Out
isRunning
2 Instruction Descriptions
Description
Comment
Read OS Status
OS running flag
2 - 1357
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents