Outputting Data and Controlling Operation through PROFINET
150
FQ2-S/CH User’s Manual
for Communications Settings
● Expression Setting Example
This example registers an expression to output the following inspection results for data 0.
Inspection item: 0 Search
Parameters to output: Position X, Position Y, Reference SX, and Reference SY
Multi-point output setting: Multi-point output Check Box selected, Count = 4
Output Results
The expression that is registered for data 0 assigns the data for 16 items (64 bytes) in the Input Area (output
area) as shown below.
Math. Either of the following two functions can be inserted.
• LPR function (order of the measurement data)
The measurement data is output in order.
Format: LPR(start_number,number_of_data,data_1, data_2,...data_5)
You can omit data 2 to data 5.
• LPC function (order of the detection points)
Data is output for each detected measurement point.
Format: LPC(start_number,number_of_data,data_1, data_2,...data_5)
You can omit data 2 to data 5.
To register something to data 1 and higher, repeat this process.
The settings will be enabled after you restart the Sensor.
Output area data Assigned data
Output data 0 (4 bytes) I0.X[0] (Position X 1st point)
Output data 1 (4 bytes) I0.Y[0] (Position Y 1st point)
Output data 2 (4 bytes) I0.SX[0] (Reference SX 1st point)
Output data 3 (4 bytes) I0.SY[0] (Reference SY 1st point)
Output data 4 (4 bytes) I0.X[1] (Position X 2nd point)
Output data 5 (4 bytes) I0.Y[1] (Position Y 2nd point)
Output data 6 (4 bytes) I0.SX[1] (Reference SX 2nd point)
Output data 7 (4 bytes) I0.SY[1] (Reference SY 2nd point)
Output data 8 (4 bytes) I0.X[2] (Position X 3rd point)
Output data 9 (4 bytes) I0.Y[2] (Position Y 3rd point)
Output data 10 (4 bytes) I0.SX[2] (Reference SX 3rd point)
Output data 11 (4 bytes) I0.SY[2] (Reference SY 3rd point)
Output data 12 (4 bytes) I0.X[3] (Position X 4th point)
Output data 13 (4 bytes) I0.Y[3] (Position Y 4th point)
Output data 14 (4 bytes) I0.SX[3] (Reference SX 4th point)
Output data 15 (4 bytes) I0.SY[3] (Reference SY 4th point)
Item Description
LPR(0,I0.C
,
I0.X,I0.Y,I0.SX,I0.SY)
Start_number
Number_of_data
(Detection count)
data_A, data_B...data_dFunction
FQ2-S_CH_comm.book 150 ページ 2014年6月26日 木曜日 午前11時47分