WWW.NNC.IR
Macro Reference
419
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
BusyOut
Sets the output state of the processing busy signal.
Format
BusyOut <ioIdent>, <state>
Parameter
Return value
None.
Description
Set the output state specified in the <state> parameter in the processing busy signal, such as the BUSY
signal, of the communication module specified in the <ioIdent> parameter.
Normally "ParallelIo" or "EtherCAT" should be specified in the <ioIdent> parameter.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If an identification name that does not exist is specified in the <ioIdent> parameter, an "Illegal function call"
error will occur.
Even if an output status parameter value that does not exist (i.e., other than 0 and 1) is specified in the
<state> parameter, an error will not occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
• None.
Example
In the communication command macro, sets the BUSY signal of parallel I/O to ON.
Useable Modules
Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Parameter
name
Data type Description
<ioIdent>
Character
string type
Identification name of the communication module to be used ("ParallelIo" or "EtherCAT")
(Reference: XList of I/O Modules (p.341))
<state> Integer type
Output state of terminal
0: Output OFF
1: Output ON
IOMODULE$ = "ParallelIo"
Rem Set the output state.
BusyOut IOMODULE$, 1