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-IDE 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 PDO 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.
-
-
- Safety PDOs are highlighted in yellow with a border.
- Any variable assigned to a FSoE PDO must be Read Only.
See About Safety, PDOs, and Variables for more information. - See Set Up a Variable to Monitor Safety Data for step-by-step instructions.
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 position 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.
-
- When the selected variable is an array, the “Start bit” is disabled Removal of the ENABLE signal. Disables power stage.. An offset is not allowed when mapping to an array.