Customizing Communication Commands [Communication Command Macro]; Customizing Communication Commands [Communication Com- Mand Macro] - Omron FH Series User Manual

Vision sensor
Hide thumbs Also See for FH Series:
Table of Contents

Advertisement

10 Advanced Usage
10-7 Customizing Communication Com-
mands [Communication Command
Macro]
This function can not be used with the FHV series.
You can define your own communication commands for the Sensor Controller.
You use this to create functionality that is not available in the standard communication commands, or
to perform more than one process with a single communication command.
Example: To tell the Controller to change scenes and then execute a measurement from an external
device.
Without using communication command macro
You must send two standard communication com-
mands: the Switch Scene command (scene) and the
Measurement command (measure).
User-defined communication commands are registered as a character string of the command name for
the non-procedure communications protocol, or as a command number from 0 to 255. These com-
mands are stored in the main memory of the Sensor Controller.
The maximum number of characters that can be used for the Communication Command Macro is
1024 characters.
If you send a registered communications command from the external device to the Sensor Controller,
the Sensor Controller recognizes it and performs the specified processing.
Refer to Components of the Setting Screen of the Communication Command Macro Tool and How to
Configure Settings in the Vision System FH Series Macro Customize Functions Programming Manual
(Cat. No. Z367).
10 - 50
Using communication command macro
Create a measurement command (mymeasure) that is
set to execute scene switching followed by measure-
ment processing.
One execution of the mymeasure command actually
executes two commands, the scene command and
measure command, which simplifies the control logic
from the PLC or other external device.
FH/FHV Series Vision System User's Manual (Z365-E1)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fhv seriesFh-2 seriesFh-3 seriesFh-5 seriesFh-l seriesFhv7 series ... Show all

Table of Contents