
WWW.NNC.IR
Macro Reference
643
8
App
end
ice
s
Vision System FH/FZ5 Series
User’s Manual (Z340)
PutAll
Sets the output state of all output terminals.
Format
PutAll <ioIdent>, <state>
Parameter
Return value
None.
Description
Sets the output state of all output terminals of the communication module specified in the <ioIdent>
parameter to the state specified in the <state> parameter.
Normally "ParallelIo" should be specified in the <ioIdent> parameter.
The output state of each output terminal is expressed as an integer value (OFF (0) or ON (1)) in each digit of
a character string in binary notation.
In parallel I/O, integer values are returned expressing DO0 to DO15 in the 1st digit to the 16th digit.
Example: When DO0 to DO5 are ON and DO6 to DO15 are OFF
• Binary notation: 0000 0000 0011 1111
• Value of output states that are set: 63
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 for a parameter,
an "Illegal function call" error will 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
• When the operation mode is multi-line random trigger and there are three or more lines, the output states of
the DO signal cannot be set. Even if this macro function is used when there are three or more lines, an
"Illegal function call" error will not occur.
Example
In the communication command macro, sets all DO output states of parallel I/O to ON.
Parameter
name
Data type
Description
<ioIdent>
Character
string type
Identification name of the communication module to be used (always "ParallelIo")
(Reference:
<state>
Integer type
Output state of terminal
IOMODULE$ = "ParallelIo"
Rem Set the output state.
PutAll IOMODULE$, 65535
Summary of Contents for fh-1 series
Page 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Page 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 881: ...WWW NNC IR...