![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222199.webp)
4
Using
Tool
FZ4 User's Manual
Using Custom Command
197
<Straight Line 2nd
Component>
The parameter of Straight Line 2 for getting the intersection (double-precision type
array)
<X Coordinate>
X coordinate storage region for the intersection that was gotten (double-precision).
<Y Coordinate>
Y coordinate storage region for the intersection that was gotten (double-precision).
Return Value
None.
Description
Store the a, b, c parameters that meet the conditions of the straight line equation: ax+by=c in the
<Straight Line 1st Component> and <Straight Line 2nd Component>.These parameters are the same
type of array that is gotten using the Lsqumeth command to get <Line Components>.
This is mainly used to get the intersection of lines gotten by the Lsqumeth command.
Reference:
Example
Get the intersection coordinates between the 2 straight lines that were gotten. Each of the 2 straight
lines will be gotten using Units 1 to 4 and Units 5 to 8.
Dim POS1X#(3),POS1Y#(3),POS2X#(3),POS2Y#(3),PARM1#(2),PARM2#(2)
For I&=0 To 3
GetUnitData I&+1,"X",POS1X#(I&)
GetUnitData I&+1,"Y",POS1Y#(I&)
Next
Lsqumeth 4,POS1X#(),POS1Y#(),PARM1#()
For I&=0 To 3
GetUnitData I&+5,"X",POS2X#(I&)
GetUnitData I&+5,"Y",POS2Y#(I&)
Next
Lsqumeth 4,POS2X#(),POS2Y#(),PARM2#()
Crspoint PARM1#(),PARM2#(),CRSX#,CRSY#
Erase POS1X#(),POS1Y#(),POS2X#(),POS2Y#(),PARM1#(),PARM2#()
Reads in the date from the internal clock
Date$
Parameters
None.
Acesst 1.0 6251194
Содержание FZ4 Series
Страница 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Страница 12: ...1 Before Operation 10 Operation Flow FZ4 User s Manual Operation Flow Here describes the operation flow...
Страница 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Страница 112: ...3 Performing Test Measurement Starting Operation 110 Useful Functions for Operation FZ4 User s Manual...
Страница 326: ...4 Using Tool 324 Remotely Operating the Controller Remote Operation FZ4 User s Manual Enter the IP address...
Страница 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Страница 351: ...6 Changing the System Environment FZ4 User s Manual Setting the System Operation Environment 349 Communication...
Страница 566: ......
Страница 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Страница 654: ...652 FZ4 User s Manual...
Страница 655: ......