![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222188.webp)
4
Using
Tool
186
Using Custom Command
FZ4 User's Manual
Dim X&(3),Y&(3)
X&(0)=50
Y&(0)=50
X&(1)=100
Y&(1)=100
X&(2)=150
Y&(2)=50
ApproximationCircle 3, x&(), y&(), centerX#, centerY#, radius#
Get the value of the character code for the specified character.
Asc (<Character String>)
Parameters
<Character String>
The character string (character type) that requests the character code.
Return Value
Returns the value of the integer.
The content of the value is the character code of the specified character. Character code is ASCII.
Description
The character code of the head character of the of the character string specified by <Character String>
is returned in decimal.
There is chr$ as the reverse function of Asc. The chr$ function returns the character that corresponds to
the specified character code.
Example
Get the character code for 'A'.
CHARA$="A"
CODE&=Asc(CHARA$)
The result is as follows:
CODE&=65
Register a processing unit.
AssignUnit <unitNo>, <itemIdent>
Parameters
<unitNo>
Unit number indicating the registration position (integer type)
<itemIdent>
Identifier of the processing item to register (character type)
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: ......