Omron SYSMAC FH Series User Manual page 250

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

Advertisement

Problem
The communication command
macro settings cannot be saved.
A standard communication
command does not execute
Troubleshooting when checking the operation of the unit macro
Problem
An error message appears in the
system status console window
Data reception during
processing sometimes fails
Unit figure data cannot be set,
and registered figures are also
cleared.
A figure drawn with a macro
function of screen display
window control such as
DrawLine is drawn at a position
different from the actual
coordinates
A measurement result image
such as the labeling binary
image using the display process
subroutine cannot be displayed.
248
Basic Knowledge For Macro Customize Functions
Cause
You may be attempting to save
the settings with [Save to file].
The name of a command
created with the communication
command macro may be the
same as the name of the
standard communication
command.
Cause
An error occurred when the
program was executed.
The communication process
may not have been stopped with
the SetPollingState function.
There may not be a
measurement image when the
figure is set.
The processing unit that corrects
position such as Position
Correction may be registered in
the measurement flow.
You may be attempting to
display the measurement result
image of a processing unit that
does not have image data.
WWW.NNC.IR
Action
The communication command macro settings are not
saved in the backup data (.bkd). Consider one of the
following methods:
• Execute [Data save].
• Execute [Export] in the setting screen of the
communication command macro tool.
If the name of a command created with the
communication command macro function is the same
as the name of a standard communication command,
the command created with the communication
command macro is given priority.
Change the command name to a name that is different
from the standard communication command.
Action
Check the error message and correct the error.
Reference:
Error List (p.320)
If it is difficult to identify the error, use Debug to
determine the cause and correct the error.
Reference:
How to Use the Debug Function (p.235)
Before acquiring data with the ReceiveData or other
function, use the SetPollingState function to stop the
communication process.
Reference:
SetPollingState in Macro Function
Reference (p.711)
When there is no measurement image because the
processing unit is in the unmeasured state or
otherwise, the figure setting will fail and previous
settings will be cleared.
Execute measurement before setting a figure, or use
the ImageUpdate function to ready an image.
Reference:
ImageUpdate Function (p.568)
If the processing unit that corrects position is registered
in the measurement flow, the coordinate values that
can be acquired with the UnitData function are the
values before correction. In the parameter of the
DrawLine function, specify the processing unit number
of the unit macro processing unit for which the program
is written.
The main measurement processing items such as
labeling do not have image data. The measurement
result image of a processing item that does not have
image data cannot be acquired in the program. To
acquire and display a measurement result image, use a
processing item that has image data such as Advanced
Filter.
For image numbers and image content that can be
referenced in each processing item, refer to the image
number list.
Reference:
Image Number List (p.371)
Vision System FH/FZ5 Series
User's Manual (Z340)

Advertisement

Table of Contents
loading

Table of Contents