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

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

Advertisement

2 Instruction Descriptions
When the operating system (Windows) is running, the value of Done is TRUE and the value of Busy is
FALSE.
If the operating system (Windows) does not change to a running state within the monitoring time speci-
fied with TimeOut, a timeout error will occur.
Additional Information
If you execute this instruction in the Simulator, the value of Done changes to TRUE when the
value of Execute changes to TRUE, but the operating system (Windows) does not restart.
Related System-defined Variables
Name
Meaning
_OSRunning
OS Running Flag
_OSHalted
OS Halted Flag
_OSErrorState
OS Error State Flag BOOL
Precautions for Correct Use
• An error will occur in the following cases.
• The monitoring time is outside the valid range.
• The operating system does not restart within the time specified with TimeOut.
• The restart instruction is executed when the operating system is not running or halted.
Sample Programming
This sample restarts the operating system (Windows) if the value of Reboot_SW changes to TRUE
when the operating system (Windows) is running or halted.
The operating system (Windows) is judged to have restarted when the value of IPC_RebootOS_in-
stance.Done changes to TRUE.
LD
Internal-
Vari-
Variable
ables
Reboot_SW
Out
isHalted
isRunning
IPC_Reboo-
tOS_instance
2 - 1360
Valid
Data type
range
FALSE,
This flag is TRUE if the Controller judges that the oper-
BOOL
TRUE
ating system is in a running state.
FALSE,
This flag is TRUE if the Controller judges that the oper-
BOOL
TRUE
ating system is in a halted state.
FALSE,
This flag is TRUE if the Controller judges that the oper-
TRUE
ating system is in an error state.
Data type
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
IPC_RebootOS
Description
Initial value
Restart OS
OS halted flag
OS running flag

NY-series Instructions Reference Manual (W560)

Comment

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents