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 #544 background imageLoading...
Page #544 background image
WWW.NNC.IR
Macro Reference
542
Vision System FH/FZ5 Series
User’s Manual (Z340)
GetPort
Gets the input state of the specified input terminal.
Format
GetPort(<ioIdent>, <portNo>)
Parameter
Return value
Returns the input state of the input terminal as an integer value.
0: Input OFF state
1: Input ON state
Description
Gets the state of the input terminal of the terminal number specified in the <portNo> parameter of the
communication module specified in the <ioIdent> parameter.
Normally "ParallelIo" should be specified in the <ioIdent> parameter.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a value is assigned to the return value variable or the variable is not used in an expression, a "Syntax error"
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
<ioIdent>
Character
string type
Identification name of the communication module to be used (always "ParallelIo")
(Reference: XList of I/O Modules (p.341))
<portNo> Integer type
Terminal number of input terminal whose input state is to be gotten.
Parallel I/O
•FH
DI0 to DI7: 0 to 7
DSA N: 100 + N x 8 (N: Line number (0 to 7))
STEP N: 101+N x 8
DILINE0 to DILINE2: 200 to 202
•FZ5
DI0 to DI7: 0 to 7
DSA0: 100
STEP0: 101
DSA1: 102
STEP1: 103

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