OMRON
CHAPTER 6 – Functions and Methods
Revision 2.0
Page 127
returnstate
Bool
True if successful else false.
portnumber
Integer
The number of the serial port to be configured.
ConfigurationString
Text
A string indicating the desired Baud rate, Parity, number of data
bits and stop bits.
HandShaking
Integer
The required handshaking protocol. Valid values are
0 – None 1 - XonXoff
2 – RTS 3 - RTS & XonXoff
TerminationChar
Integer
A character indicating the end of the message.
ControlCharFlag
Bool
A flag indicating that control characters contained in a received
message should be Ignored.
TermMode
Integer
Optional. Flags to indicate how to use the termination character
@ONINPUT (or value 1) - Function InputComPort expects
Termination Character. This is the default value if omitted.
@ONOUTPUT (or value 2) - Function OutputComPort appends
Termination Character.
@ONINPUT | @ONOUTPUT (or value 3) – both of the above.
Typical Example:
bState = SetupCOMPort(2, "9600,N,8,1", 0, 0x0D, TRUE)
ActiveX Functions
GetProperty
Description
Gets the value of a property of an OLE object and stores it in a point.
Syntax
propertyvalue = GetProperty(object, property, ...)
Remarks
Argument
Type
Description
propertyvalue
n/a
The value of the property. Type is dependant on the type of the
property.
object
Text
The name of the OLE object to get the property of.
property
Text
The name of the property to get.
. . .
n/a
Any number of parameters for the property.
Summary of Contents for CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Page 2: ...CX Supervisor Script Language Software Revision 2 0...
Page 3: ......
Page 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Page 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Page 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Page 13: ......
Page 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Page 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Page 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Page 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...