Common Behavior Of Customize Io Command - Omron FZ4 Series User Manual

Vision sensor
Table of Contents

Advertisement

11
Space
12
BS
13
DEL
14
Enter
6.
Tap [OK].
7.
To enable the created command, place a check in the [No] checkbox.
8.
Tap [OK], and close the communication custom command screen.
Before closing the screen, the created command is saved in the file.

Common behavior of customize IO command

Basic sequence
Normally, each of IO commands are processed in the sequence as below :
1.Check input command and parameters are valid (range or type)
2.Body of the procedure
3.Output the result or response
The way of input/output command, parameters and response depends on the type of IO modules.
For detail, please refer the pages shown below.
Reference:
Normal command (p.157)
Reference:
Parallel IO command (p.157)
Reference:
PLC link command (p.158)
Reference:
Field bus command (p.158)
Control BUSY signal
Basically the BUSY flag on Customize I/O command list window should be ON.
Important
Executing measurement (Measure command) with BUSY flag set to ON causes error.
If you need to combine measure command with the command which is necessary to set BUSY ON
(For example, switching scene and executing measurement), please set BUSY flag OFF and write the program
like this way:
MeasureStop             ' Set BUSY ON (Forbid measurement)
ChangeScene ArgmentValue#(0)   ' Execute the command which can be used with BUSY ON condition
MeasureStart             ' Set BUSY OFF (Permit measurement) before measurement
Measure               ' Execute measurement
FZ4 User's Manual
Insert blank character on current position of Macro edit window.
Delete previous character of the current position of Macro edit
window.
Delete next character of the current position of Macro edit window.
Insert new line on current position of Macro edit window.
Using Custom Command
4
155

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents