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
Precautions for Correct Use
• An error will not occur even if you specify a program that is already in an enabled state and execute
this instruction.
• If you execute this instruction more than once for the same program, the isFirstRun specification in
the instruction instance that was executed first is used.
• If the PrgStop instruction is executed after executing the PrgStart instruction for the same program
and it is executed before the program is actually executed, the program is not executed.
• If the PrgStart instruction is executed after executing the PrgStop instruction for the same program
and it is executed before the execution timing for the program, the program is not disabled.
• The operation of the programs immediately after the operating mode of the CPU Unit changes to
RUN mode is controlled by the setting of the Initial Status for each program on the Sysmac Studio. In
other words, the results of executing the PrgStart or PrgStop instruction before changing to RUN
mode are not valid.
• If this instruction is executed for a program in a different task, the execution timing of the specified
program will depend on the task execution priority of both tasks. In some cases, the Controller may
perform unexpected operation. You can execute this instruction in the first program in the task to
which the specified program is assigned to make sure that the specified program is executed in the
same task period as the instruction.
• The values of the internal variables, input variables, output variables, and in-out variables from the
previous time that the specified program was executed are retained. To initialize these variables
before you execute the program, change the value of isFirstRun to TRUE before you execute the
instruction and then perform initialization processing in the specified program when the value of
P_First_Run is TRUE.
• An error will occur in the following case. Out will be FALSE.
• The program specified by PrgName does not exist.
Version Information
A CPU Unit with unit version 1.08 or later and Sysmac Studio version 1.09 or higher are required
to use this instruction.
Sample Programming
Refer to the sample programming for the PrgStop instruction (page 2-873).
2-872

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents