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
Summary of Contents for FZ4 Series
Page 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Page 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Page 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Page 566: ......
Page 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Page 654: ...652 FZ4 User s Manual...
Page 655: ......