Using The Programming IDE / Resources / Variables


Clicking the Variables item from the Resources list opens the Variables Dialog. From here you can create user defined variables for use in your program as well as edit or remove individual variables you have created. You can also sort your list by Name, API, Type, and Value as well as enter Search criteria. In this example, the list is blank, so you click the Create New button to begin

Create Variable



Item Name Description
Name User defined name. Text must follow proper naming convention and is limited in length. In this example we entered “My_DINT” as the name
API Access Allows you to define whether the variable can be accessed by non-InoDrive device on the network that is using the InoWorx API software. The options in the drop down are None, Read, Write, and Read / Write.
Data Type Allows you to select the data type for the variable. Selections include: BOOL, BYTE, BYTE (unsigned), INT, INT (unsigned), DINT, DINT (unsigned), and FLOAT.
Display Allows you to select the numeric display format for the variable. Selections include DEC, HEX, and BIN
Value Allows you to enter an initial value for the variable. The default is 0.
Array Allows you to enter array information, import and export CSVs and Update the size and index values of the array.