![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686700.webp)
WWW.NNC.IR
Macro Reference
698
Vision System FH/FZ5 Series
User’s Manual (Z340)
SendString
Sends the character string data.
Format
SendString <ioIdent>, <outputString>
Parameter
Return value
None.
Description
Sends the character string specified in the <outputString()> parameter by using the communication module
specified in the <ioIdent> parameter.
Some communication modules do not support this macro function. (Reference:
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
Even if a non-existent number, numerical value, or combination of data types or values is specified for the
parameter, an error will not occur.
If a character string longer than 255 characters is specified for a character string parameter, a "String too
long" 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.
Example
Sends the character string in TCP normal communication
Useable Modules
Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
Parameter
name
Data type
Description
<ioIdent>
Character
string type
Identification name of the communication module to be used (Reference:
<outputString>
Character
string type
Character string to send
Rem Make the transmit characters.
DATA$ = "Test string"
Rem Send a character string.
SendString "TcpNormal", DATA$
ReceiveData (Reference:
X
Details (p.651))
SendData (Reference:
X
Details (p.696))
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...