Prgstop - Omron NY532-5400 Reference Manual

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

Advertisement

PrgStop

The PrgStop instruction disables execution of the specified program.
Instruction
Name
Disable
PrgStop
Program
Variables
Name
Meaning
Program
PrgName
name
Normal end
Out
flag
*1 If you omit an input parameter, the default value is not applied. A building error will occur.
PrgName
Out
OK
Function
The PrgStop instruction disables execution of the program specified with PrgName. The specified pro-
gram is disabled from the next time the timing for executing the program occurs. An error does not occur
even if the specified program is already disabled.
The specified program can be in the same task as this instruction, or it can be in a different task.
You can specify the program that contains this instruction. If you specify the program that contains the
instruction, the program is executed to the end in the task period in which the instruction is executed
and then the program is disabled from the next task period.
The value of Out is TRUE if the instruction ends normally and FALSE if the instruction ends in an error.
NY-series Instructions Reference Manual (W560)
FB/FUN
FUN
I/O
Description
Input
Name of specified program
Normal end flag
Output
TRUE: Normal end
FALSE: Error end
Bit strings
Graphic expression
(@)PrgStop
EN
Out
PrgName
Valid range
128 bytes max.
(127 single-byte
alphanumeric
characters plus
the final NULL
character)
Depends on
data type.
Integers
2 Instruction Descriptions
ST expression
Out:=PrgStop(PrgName);
Unit
Default
---
*1
---
---
Times, durations,
dates, and text strings
2
OK
2-873

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents