PLC Variable Selector

Create PLC Variable Button

This button allows the creation of a new variable to be mapped to the selected item(s).

Field Description
Scope Defines where the variable is created
Name See Name a Variable
Type Defines the Type of the variable, and its Dimension if the variable is an array
Dimension The dimension of the variable (read-only). The dimension is set automatically based on the necessary size and the selected variable type.
Init Value See Variable Initial Value

Based on the variable Type we select, the KAS-IDEClosed Kollmorgen Automation Suite - Integrated Development Environment will automatically set the Dimension (the size of the array) and assign the bits across the objects.

In this video we will learn how to map a variable to several PDOClosed Process Data Opjects - A type of protocol frame used in some fieldbuses. A PDO contains one or more object dictionary entries, which define the application data transferred between devices. objects.

See also Create Variables

Advanced Button

For integer variables with types stored on several bits, the Advanced button gives access to the Start bit definition. This allows you to link a set of channels to a specific range of bits within an integer variable.

For example, when you select three channels ranging from 1 to 3 and map them to a DINT variable (stored on 32 bits ranging from 0 to 31), the first channel can be linked to positionClosed Position means a point in space which is described by different coordinates. Depending on the used system and transformation it can consist of a maximum of six dimensions (coordinates).This means three Cartesian coordinates in space and coordinates for the orientation. In ACS there can be even more than six coordinates. If the same position is described in different coordinate systems the values of the coordinates are different. ranging from 0 to 29. The three channels are mapped to the last three bits ranging from 29 to 31.

Concept Link IconSee Also