Omron SYSMAC FH Series User Manual page 698

Vision sensor vision system
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

SendData
Sends data.
Format
SendData <ioIdent>, <outputData()>, <outputSize>[, <parameter()>, <parameterSize>]
Parameter
Parameter
Data type
name
Character
<ioIdent>
string type
<outputData()> Integer array
<outputSize> Integer type
<parameter()> Integer array
<parameterSize> Integer type
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:
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.
696
Macro Reference
Identification name of the communication module to be used (Reference:
Modules (p.341))
Data to send
Data size to send
The parameter data specified in the option (Reference:
Size of parameter data specified optionally (Reference:
WWW.NNC.IR
Description
List of I/O Modules (p.341))
List of I/O Modules (p.341))
Vision System FH/FZ5 Series
User's Manual (Z340)
List of I/O
List of I/O

Advertisement

Table of Contents
loading

Table of Contents