sos: System Object Storage

Top  Previous  Next

The System Object Storage(SOS) is used to store custom objects.

It supports five different object types: Booleans, integers, floating-point numbers, strings and binary objects.

The SOS should not be used for values that often change, but is suited for configuration settings and resources.

The custom objects can also be modified using the SOS Viewer.

 

 

 


sosObjectDelete

Deletes a SOS object.


sosBoolCreate

Creates a new boolean object.


sosBoolSet

Updates the value of a boolean object.


sosBoolGet

Retrieves the value for a boolean object.


sosIntegerCreate

Creates a new integer object.


sosIntegerSet

Updates the value of an integer object.


sosIntegerGetDint

Retrieves the value for an integer object as a DINT.


sosIntegerGetInt

Retrieves the value for an integer object as an INT.


sosIntegerGetSint

Retrieves the value for an integer object as a SINT.


sosFloatCreate

Creates a new floating-point object.


sosFloatSet

Updates the value of a floating-point object.


sosFloatGet

Retrieves the value for a floating-point object.


sosStringCreate

Creates a new string object.


sosStringSet

Updates the value of a string object.


sosStringGet

Retrieves the value of a string object.


sosDataCreate

Creates a new binary object.


sosDataSet

Updates the value of a binary object.


sosDataGet

Retrieves the value of a binary object.

 

Please note that when using the sosFloat functions, math.inc must be explicitly included by the application.