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
Start Step Number StartStepNo and End Step Number EndStepNo
You can set any steps in the program pattern as the start step and the end step for processing. Set the
number of the start step in StartStepNo and the number of the end step in EndStepNo.
For example, if you set StartStepNo to 3 and EndStepNo to 6 when you execute the instruction, pro-
cessing is performed from step 3 through step 6.
 Changing the Value of StartStepNo or EndStepNo during Instruction
Execution
You can change the values of StartStepNo and EndStepNo during execution of the instruction. The
operation that occurs if you change these values is described in the following table.
Variable
StartStepNo
EndStepNo
Waiting
Due to delays in the controlled system, the value of PV may not reach the value of ReachSP with Time-
Width for the current step. Waiting can be applied to continue processing the current step even if the
time width specified in TimeWidth is exceeded.
The following variables in ProgramPattern[] are related to waiting: wait width WaitWidth, wait time upper
limit WaitTimeLimit, and waiting Wait.
 Condition for Waiting
Waiting occurs if the difference between ReachSP and PV exceeds WaitWidth after the end time for
the current step.
 End of Waiting
If the difference between ReachSP and PV becomes equal to or less than WaitWidth before Wait-
TimeLimit is reached after the start of waiting, waiting ends at that time and processing moves to the
next step.
If the difference between ReachSP and PV does not become equal to or less than WaitWidth before
WaitTimeLimit is reached after the start of waiting, waiting ends when the time set for WaitTimeLimit
expires and processing moves to the next step. However, if the value of WaitTimeLimit is T#0, the
upper limit of the wait time is infinity. Therefore, waiting occurs without a time limit until the difference
between ReachSP and PV becomes less than or equal to WaitWidth.
 Monitoring Waiting
You can monitor waiting with the value of Wait. If processing is currently waiting, the value of Wait is
TRUE. If processing is not currently waiting, the value of Wait is FALSE.
2-778
New step number
---
Changing to a step number that is equal
to or higher than the current step number
Changing to a step number that is lower
than the current step number
Operation
Processing will start from the beginning of the
step specified by the new StartStepNo.
Progressing will end when the step specified
by the new EndStepNo is completed.
Processing ends as soon as the end step
number is changed.
The value of Done changes to TRUE.

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents