The name of the Cascade DataHub point to write to.
The value to assign to this point.
Domain name for the datahub to write the point to.
Write the point as a floating point number.
Write the point as a short integer.
Write the point as a long integer.
Same as -f.
Write the point as a character string.
Set the security level for writing.
The writept utility will write or create a value in any accessible Cascade DataHub. Alternate domains can be written to without having to use the -d option by passing point names with the domain:pointname syntax.
Strings containing spaces and special characters must be escaped from the shell appropriately. The point type will be guessed if not specified. The order of guessing is: long, float, string (the default). The guess is considered correct if the entire argument is converted. Long can be specified in standard C style, for example 0x5f for hex, O647 for octal, etc.
[sh]$ writept LIC02_sp 55
Writes to the point LIC02_sp the value of 55 in the datahub default.
[sh]$ writept -d control m38onoff 1
Writes to the point m38onoff the value 1 in the datahub control.