OMRON
returnstate
portnumber
ConfigurationString
HandShaking
TerminationChar
ControlCharFlag
TermMode
Typical Example:
bState
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
propertyvalue
object
property
Revision 2.0
Bool
True if successful else false.
Integer
The number of the serial port to be configured.
Text
A string indicating the desired Baud rate, Parity, number of data
bits and stop bits.
Integer
The required handshaking protocol. Valid values are
0 – None
2 – RTS
Integer
A character indicating the end of the message.
Bool
A flag indicating that control characters contained in a received
message should be Ignored.
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.
= SetupCOMPort(2, "9600,N,8,1", 0, 0x0D, TRUE)
Type
n/a
The value of the property. Type is dependant on the type of the
property.
Text
The name of the OLE object to get the property of.
Text
The name of the property to get.
. . .
n/a
Any number of parameters for the property.
CHAPTER 6 – Functions and Methods
1 - XonXoff
3 - RTS & XonXoff
Description
Page 127
Need help?
Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?
Questions and answers