![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686653.webp)
WWW.NNC.IR
Macro Reference
651
8
App
end
ice
s
Vision System FH/FZ5 Series
User’s Manual (Z340)
ReceiveData
Receives data.
Format
ReceiveData <ioIdent>, <inputData()>, <inputMaxSize>, <inputSize>[, <parameter()>,
<parameterSize>]
Parameter
Return value
None.
Description
Receive data up to the size specified in the <inputMaxSize> parameter by using the communication module
specified in the <ioIdent> parameter.
In the <inputData()> parameter, specify the 1D integer array variable that will hold the data to be received,
without adding element numbers but adding () to the variables. In the <inputSize> parameter, specify the
integer variable that will hold the size of the received data.
Values that can be set in the <parameter()> parameter and <parameterSize> parameter depend on the
communication module specified in the <ioIdent> parameter. The <parameter()> parameter and
<parameterSize> parameter can be omitted.
With this macro function, data that has arrived at the sensor controller from an external device is received
when the macro function is executed. If no data has arrived, 0 is stored in the <inputSize> parameter. If the
desired data is not received the first time the macro function is executed, execute repeatedly until all data has
been received.
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 reception 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
• Execute this macro function when the target communication module is stopped. (Reference:
Parameter
name
Data type
Description
<ioIdent>
Character
string type
Identification name of the communication module to be used (Reference:
<inutData()>
Integer array
Received data
<inputMaxSize> Integer type
Maximum size of data to be received
<inputSize>
Integer type
Received data size
<parameter()> Integer array
The parameter data specified in the option
<parameterSize> Integer type
Size of parameter data specified optionally.
Содержание fh-1 series
Страница 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Страница 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 132: ...WWW NNC IR Useful Functions for Operation 130 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 172: ...WWW NNC IR Saving Scene Groups in External Memory 170 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 254: ...WWW NNC IR Basic Knowledge For Macro Customize Functions 252 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 650: ...WWW NNC IR Macro Reference 648 Vision System FH FZ5 Series User s Manual Z340 Related Items None...
Страница 881: ...WWW NNC IR...