EasyManua.ls Logo

Omron SYSMAC FH Series User Manual

Omron SYSMAC FH Series
882 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #528 background imageLoading...
Page #528 background image
WWW.NNC.IR
Macro Reference
526
Vision System FH/FZ5 Series
User’s Manual (Z340)
For To Step Next
Repeats the statements between the For and Next statements.
Format
For <variable> = <startValue> To <endValue>[ Step <increment>]
<statement>
Next[ <variable>]
Parameter
Return value
None.
Description
Repeats the specified For block statement in the <statement> parameter until the loop counter variable
specified in the <variable> parameter reaches the <endValue> parameter value. The loop counter value
starts from the <startValue> parameter value. Every repeating process increments the loop counter value by
the <increment> parameter value.
If the <increment> parameter is omitted, the every repeating process increments the loop counter variable
value by one.
If the Exit For statement is used in the For block statement, the statement force stops the repeating operation
immediately.
If the program process is jumped into or out of the For block statement using the Goto or Gosub function, the
resulting operation may be unpredictable.
If neither the For statement nor the Next statement is used, either the "NEXT without FOR", "FOR without
NEXT", or "EXIT without FOR" error will occur depending on the statement that is used.
If the Next statement is not followed by the For statement, the "NEXT without FOR" error will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
None.
Parameter
name
Data type Description
<variable> Integer type Loop counter variable of repetition process
<startValue>
Integer type Initial value of loop counter variable
<endValue>
Integer type Loop counter variable value that end up repetition process
<increment>
Integer type Increment of the loop counter variable
<statement>
Integer type Statement to be executed repeatedly

Table of Contents

Other manuals for Omron SYSMAC FH Series

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC FH Series and is the answer not in the manual?

Omron SYSMAC FH Series Specifications

General IconGeneral
ManufacturerOmron
CategoryIndustrial Equipment
Power Supply24 VDC
Operating Temperature0 to 50 °C
Storage Temperature-20 to 60 °C
Protection RatingIP20
TypeVision System
SeriesFH Series
FunctionsImage processing, measurement, inspection
Communication InterfaceUSB

Summary

1. Before Operation

Checking the System Configuration

Describes how to check the system configuration and connections.

2. Setting Scenes (Measurement Flows)

Creating a Scene

Explains how to add processing units to a scene.

Editing Processing Units in Scenes

Describes how to arrange and delete processing units within a scene.

Editing Scenes

Describes procedures for copying, deleting, and renaming scenes.

3. Performing Test Measurement/Starting Operation

Executing Test Measurements

Explains how to test measurements and adjust settings.

4. Using Tools

5. Optimizing Scenes (Measurement Flows) (Macro Customize Functions)

7. Changing the System Environment

Setting the Camera Conditions

Covers checking camera connections and setting trigger delays.

Setting the Operation Mode

Describes setting operation modes like Single-line High-speed for optimal performance.

Related product manuals