WWW.NNC.IR
Macro Reference
364
Vision System FH/FZ5 Series
User’s Manual (Z340)
Figure Data List
To set or acquire a model figure or region figure held in a processing unit, use an array to specify the figure data
to be set or acquired
Figure Data Structure List
The structure of figure data is indicated below.
List of Figure Data Array Elements
The array elements of each figure and corresponding settings are shown below. The information shown in the
table is for a figure count of 1.
Array element Description Description
figure(0)
Figure data header
information
This is figure data header information. Includes the number of figures and
figure data size information.
Upper 16 bits: Number of figures
Lower 16 bits: Number of bytes of figure data size (figure array length x 4)
Figure data header information = Number of bytes of figure data size +
Number of figure data x 65536
figure(1) Figure 0 type information
Type information of figure 0 data. Includes drawing mode and figure type
information.
Upper 16 bits: Drawing mode
Lower 16 bits: Figure type
Figure type information = Figure type + Drawing mode x 65536
figure(2) Figure 0 data Figure data of figure 0. The size and content depends on the figure type.
figure(M) Figure 1 type information Type information of figure 1 data.
figure(M+1) Figure 1 data Figure data of figure 1. The size and content depends on the figure type.
... ... ...
figure(N*M) Figure N type information Type information of figure N data.
figure(N*M+1) Figure N data Figure data of figure N. The size and content depends on the figure type.
Figure
Figure
kind
Array
element
Description
Point 1
figure(0) Figure data header information
figure(1) Figure type information
figure(2) X-coordinate
figure(3) Y-coordinate
Line 2
figure(0) Figure data header information
figure(1) Figure type information
figure(2) First point X
figure(3) First point Y
figure(4) Second point X
figure(5) Second point Y