WWW.NNC.IR
Macro Reference
696
Vision System FH/FZ5 Series
User’s Manual (Z340)
SendData
Sends data.
Format
SendData <ioIdent>, <outputData()>, <outputSize>[, <parameter()>, <parameterSize>]
Parameter
Return value
None.
Description
Sends the amount, specified in the <outputSize> parameter, of the data specified in the <outputData()>
parameter by using the communication module specified in the <ioIdent> parameter.
In the <outputData()> parameter, specify the 1D integer array variable that stores the data to be sent, without
adding element numbers but adding () to the variables.
Values that can be set in the <parameter()> parameter and <parameterSize> parameter depend on the
communication module specified in the <ioIdent> parameter. For details, refer to (Reference: XList of I/O
Modules (p.341)) The <parameter()> parameter and <parameterSize> parameter can be omitted.
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 Handshake is on and data sending fails due to a communication timeout or other reason, an "Illegal
function call" 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.
Parameter
name
Data type Description
<ioIdent>
Character
string type
Identification name of the communication module to be used (Reference: XList of I/O
Modules (p.341))
<outputData()>
Integer array Data to send
<outputSize> Integer type Data size to send
<parameter()>
Integer array The parameter data specified in the option (Reference: XList of I/O Modules (p.341))
<parameterSize>
Integer type Size of parameter data specified optionally (Reference: XList of I/O Modules (p.341))