WWW.NNC.IR
Macro Reference
646
Vision System FH/FZ5 Series
User’s Manual (Z340)
Description
Sets the state of the output terminal of the terminal number specified in the <portNo> parameter of the
communication module specified in the <ioIdent> parameter to the output state specified in the <state>
parameter.
Normally "ParallelIo" should be specified in the <ioIdent> parameter.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a non-existent number, numerical value, or combination of data types or values is specified in any of the
<ioIdent> and <portNo> parameters, 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 a value outside the range -2147483648 to 2147483647 is specified as an integer parameter, an "Overflow"
error will 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 output state of DO3 of parallel I/O to ON.
Useable Modules
Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
IOMODULE$ = "ParallelIo"
Rem Set the output state.
PutPort IOMODULE$, 3, 1
BusyOut (Reference: X Details (p.419)) GetAll (Reference: X Details (p.528))
GetPort (Reference: X Details (p.542)) JudgeOut (Reference: X Details (p.585))
PutAll (Reference: X Details (p.643)) RunOut (Reference: X Details (p.667))