User manual
IEC61131 User and Reference Manual
April 22, 2008
374
txstring
Transmit a Message String
Description
This function transmits a message string on the specified communications port of a
controller.
txstring
done
enab
comX
strin
Arguments
Inputs
Type
Description
enable
Boolean
Set to TRUE to transmit the string. Enable must then
be set to FALSE and back to TRUE to send the string
again.
comX
Integer
Communications Port.
Allowed values are 1-4
string
Message
The message string to be transmitted
Outputs
Type
Description
done
Boolean
Set to TRUE if the string was successfully transmitted.
Set to FALSE if the string was not transmitted. This
will occur if comX represents an invalid
communications port.
Notes
The protocol should be set to „None‟ for any communication ports that use this function.