OMRON
CHAPTER 6 – Functions and Methods
Revision 2.0
Page 125
port.
MessagePresent
Bool
Boolean point indicating that a message has been received.
MaxLength
Integer
Optional. Maximum length of transmission before input is
terminated. Used where fixed length packets are received
without termination characters.
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
Type
Description
ReturnState
Bool
True if successful else false.
PortNumber
Integer
The number of the port previously configured using the function
SetupCOMPort and opened with OpenCOMPort.
message
Text
Text point holding the ASCII text message to send
through the port.
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)
Содержание CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Страница 2: ...CX Supervisor Script Language Software Revision 2 0...
Страница 3: ......
Страница 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Страница 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Страница 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Страница 13: ......
Страница 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Страница 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Страница 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Страница 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...