Set Up a Variable to Monitor Safety Data

This example creates a variable used to monitor data from a safety device. The project for this example has a BBH SCU and an AKD2G.

  1. Connect the SCU and driveClosed In electrical engineering, a drive is an electronic device to provide power to a motor or servo. Control device for regulating the speed, torque and position of a motor. A unit controlling a motor using the current and timing in its coils. PDOs.
    See FSoE / PDO Connections tab.

    While this step is optional, it is quite useful and will save you time and effort.

  2. Right-click (or double-click) an Input (Tx) PDOs object that will be monitored and select Map.

    It is recommended that you use Tx PDOs as the source for a variable as they update every cycle, where Rx PDOs may not be current.

  3. Read-Only variables are the only ones that will be shown in the PLCClosed Programmable Logic Controller - A digital computer used for automation of industrial processes, such as control of machinery on factory assembly lines. Used to synchronize the flow of inputs from (physical) sensors and events with the flow of outputs to actuators and events. Variable Selector.
    Click Create PLC Variable.
    In this case we are creating the variable inside of Main.

  4. Define a variable by giving it a name, type, and optionally an initial value and click OK.

  5. The PLC Variable Selector now displays variable.
    Click OK.

The variable is now assigned and available to monitor any object in the same IndexClosed Zero pulse (zero signal) of a hardware pin such as digital input or feedback pin.:Subindex.

  1. OPTIONAL: The variable may be further defined, such as giving it a description.
    Looking at it, we can see that it was created as Read Only.
    It is recommended that the variable is not changed to Read/Write.
    If it is changed an error will be generated when the project is compiled.