cread — creates and reads a point.
(cread name)
name
The name of the point.
The complete point definition in a message, with this syntax:
(pointnametypevalue[confsecuritylockedsecondsnanosecondsflagsquality])
where:
name
The name of the point.
type
The data type of the point, one of integer, floating point, or character string.
value
The value of the point.
conf
The confidence level of the point, 0 -
100 percent, unused by most
applications.
security
The security level of the point, 0 to
32768, where higher numbers represent higher
security.
locked
0 for locked, or 1 for
unlocked.
seconds
The operating system time in seconds when the point was read.
nanoseconds
The number of nanoseconds after seconds
when the point was read.
flags
User-defined flags.
quality
A constant representing a quality of the connection, assigned by
the DataHub instance for this point, such as Good,
Bad, Last known,
Local override, etc. The possible values are
those supported by OPC in Microsoft Windows.
This command creates a point and then reads the information it contains. See also read.