WWW.NNC.IR
Basic Knowledge For Macro Customize Functions
248
Vision System FH/FZ5 Series
User’s Manual (Z340)
Troubleshooting when checking the operation of the unit macro
The communication command
macro settings cannot be saved.
You may be attempting to save
the settings with [Save to file].
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.
A standard communication
command does not execute
The name of a command
created with the communication
command macro may be the
same as the name of the
standard communication
command.
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.
Problem
Cause
Action
An error message appears in the
system status console window
An error occurred when the
program was executed.
Check the error message and correct the error.
Reference:
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)
Data reception during
processing sometimes fails
The communication process
may not have been stopped with
the SetPollingState function.
Before acquiring data with the ReceiveData or other
function, use the SetPollingState function to stop the
communication process.
Reference:
X
SetPollingState in Macro Function
Reference (p.711)
Unit figure data cannot be set,
and registered figures are also
cleared.
There may not be a
measurement image when the
figure is set.
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:
X
ImageUpdate Function (p.568)
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
The processing unit that corrects
position such as Position
Correction may be registered in
the measurement flow.
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.
A measurement result image
such as the labeling binary
image using the display process
subroutine cannot be displayed.
You may be attempting to
display the measurement result
image of a processing unit that
does not have image data.
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:
Problem
Cause
Action
Summary of Contents for fh-1 series
Page 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Page 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 881: ...WWW NNC IR...