Using The Programming IDE / Resources / Variables


Create Variable

Clicking the Variables item from the Resources list opens the Variables Dialog. From here you can define 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. The number of times each variable is used within the program is shown as well, and clicking on the number will show you each instance of its use. If the list is blank, click the Create New button



Item Name Description
Name User defined name. Text must follow proper naming convention and is limited in length.
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
Array Allows you to enter array information, import and export CSVs and Update the size and index values of the array.
Value Allows you to enter an initial value for the variable. The default is 0.