WWW.NNC.IR
Macro Reference
645
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
PutPort
Sets the output state of the specified output terminal.
Format
PutPort <ioIdent>, <portNo>, <state>
Parameter
Return value
None.
Parameter
name
Data type Description
<ioIdent>
Character
string type
Identification name of the communication module to be used (always "ParallelIo")
(Reference: XList of I/O Modules (p.341))
<portNo> Integer type
Terminal number of output terminal whose output state is to be set.
Parallel I/O
•FH
DO0 to DO15: 0 to 15
GATE N: 100 + N x 8 (N: Line number (0 to 7))
BUSY N: 101+N x 8
OR N: 102+N x 8
ERROR N: 103+N x 8
RUN N: 104+N x 8
READY N: 105 + N x 8
ACK: 200
•FZ5
DO0 to DO15: 0 to 15
GATE0: 100
BUSY: 101
OR0: 102
ERROR: 103
RUN: 104
READY0: 105
GATE1: 108
OR1: 110
READY1: 113
<state> Integer type
Output state of output terminal
0: Output OFF
1: Output ON