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 #502 background imageLoading...
Page #502 background image
WWW.NNC.IR
Macro Reference
500
Vision System FH/FZ5 Series
User’s Manual (Z340)
DrawText
Draw a character string on the text window.
Format
DrawText <string>, <color>, <newLine>
Parameter
Return value
None.
Description
Use the color specified in the <color> parameter and with the line break method specified in the <newLine>
parameter to draw the character string specified in the <string> parameter in the text window.
The gotten color value by the RGB function can be set for the <color> parameter. (Reference: XRGB (p.662))
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
Even if a value that does not exist is specified for a parameter, an error will not occur.
If a value outside the range -2147483648 to 2147483647 is specified as an integer parameter, an "Overflow"
error will occur.
If a character string longer than 255 characters is specified for a character string parameter, a "String too
long" 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
This macro function can only be used in the *MEASUREDISPT subroutine. If used in another subroutine,
an "Illegal function call" error will occur.
Parameter
name
Data type Description
<string>
Character
string type
Character string to display
<color> Integer type
Color value of character string color to be drawn
JUDGE_NC: Unmeasured color (Grey)
JUDGE_OK: OK judgement color (Green)
JUDGE_NG: NG judgement color (Red)
RGB Function: Any color
<newLine> Integer type
Line break after display
0: Do not break a line
1: Break a line

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