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 #210 background imageLoading...
Page #210 background image
WWW.NNC.IR
Basic Knowledge For Macro Customize Functions
208
Vision System FH/FZ5 Series
User’s Manual (Z340)
Constant
Among the values and character strings used in programming, a constant is a value that never changes and has
a unique assigned name.
Use constants for fixed numeric values and character strings that you want to use repeatedly in a program.
How to Use Constants
Constants are used as shown below.
(Example)
Constant Data Types
Constants that can be used in macro customize functions are shown below.
Integer constants can be written in several bases, including decimal. Base notations that can be used in
macro customize functions are shown below.
A& = 255
AA& = &h7f
B# = 3.14
C$ = "TEST STRING"
Constant type Description Data range Number of bytes per data item
Integer Used for signed integer values.
-2147483648 to
2147483647
4 bytes
Double precision
real number
Used for double precision type
real numbers.
-1.0E30 to 1.0E30 8 bytes
Character string Used for character strings. Up to 255 characters Max. 256 bytes
Base Notation method Example Mathematical notation
Decimal Not required 100, 3456 100, 3456
Hexadecimal &h &hff, &h7fff (ff)
16
, (7fff)
16
Octal &o &o77, &o3447 (77)
8
, (3447)
8
Binary &b &b1111, &b01100111 (1111)
2
, (01100111)
2
When a program that uses hexadecimal constants is displayed using the List function, the hexadecimal notation is
converted to decimal notation.
Example: When a program with "A& = &hff" is displayed using the List function, this is shown as "A& = 255".
Note

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