
4
Using
Tool
156
Using Custom Command
FZ4 User's Manual
Standard IO commands
When the same command name / command id of standard IO commands are used for customize IO
commands,
customize IO command has the priority and the standard IO commands are not executed.
If you execute the standard IO commands after execution of customize IO commands, please add the
line as below.
CommandExecute&=False
In this case, standard IO commands is executed just after executing customize IO command.
Calling the procedure defined on the other commands
It is possible to call the procedure defined on the other commands during the command execution.
Each command has "Function name", and it is used to call the procedure.
Example) When command is defined as the table below and we intend to call procedure of CMD0 from
CMD1,
Command No.
Command name
Busy
Function name
0
CMD0
False
FUNC0
1
CMD1
True
FUNC1
the codes for CMD1 should be like this:
Gosub *FUNC0
This case, the behavior of the command like BUSY depends on the caller (CMD1), and BUSY stays ON
until the end of the procedure.
Important
●
Please be careful not to make the commands calling each other (In the case above, CMD0 also calls FUNC1),
because it makes infinite loop.
Define the different procedure according to I/O module
The variable IoIdent$ stores the IO module identification name, which received the current I/O
command.
When you define the different procedure for each I/O modules, please make branch by the value of
IoIdent$.
Example) The command which receives "Serial" for serial command, and "Ethernet" for UDP normal
If IoIdent$ = "SerialNormal" Then
Response$ = "Serial"
Elseif IoIdent$ = "UdpNormal" Then
Response$ = "Ethernet"
Endif
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: ......