OMRON
MessagePresent
MaxLength
Typical Example:
bState = InputCOMPort(1, Msg, bTransmission)
OutputCOMPort
Description
Sends an ASCII text message out through the designated serial communications port.
Syntax
ReturnState = OutputCOMPort(PortNumber, Message)
Remarks
Argument
ReturnState
PortNumber
message
Typical Example:
bState = OutputCOMPort(1, Msg)
CloseCOMPort
Description
Closes the designated serial communications port on the PC. The port must have been configured
and opened before it can be closed.
Syntax
ReturnState = CloseCOMPort(PortNumber)
Revision 2.0
port.
Bool
Boolean point indicating that a message has been received.
Integer
Optional. Maximum length of transmission before input is
terminated. Used where fixed length packets are received
without termination characters.
Type
Bool
True if successful else false.
Integer
The number of the port previously configured using the function
SetupCOMPort and opened with OpenCOMPort.
Text
Text point holding the ASCII text message to send
through the port.
CHAPTER 6 – Functions and Methods
Description
Page 125
Need help?
Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?