You are here: Advanced Topics > Motion Bus and Fieldbuses > Fieldbus Editor > Configuration

ProfinetIO RT Device configuration

The RuntimeIn computer science, runtime (or run-time) describes the operation of a computer program, the duration of its execution, from beginning to termination (compare compile time). Within KAS, runtime also refers to the virtual machine that manage the program written in a computer language while it is running manages a mapping table which contains the Profinet IO Inputs and Outputs. An appropriate configuration tool is integrated in the KAS.

To start the configuration: 

  1. Open the fieldbus configuration window.
  2. Right click on the windows and choose Insert > Insert Network. The following window opens.

  3. Select PROFINET IO device and click OK.

    The configuration is represented as a tree:

    The I/Os of the Profinet network must be connected to the variables via a Profinet IO device.

  4. Start the declaration of a Profinet device by right clicking on the PROFINET IO device network and choosing Insert Master. The following window opens:

    These parameters can be changed:

    ParameterMeaning
    Name

    A device name can consists of labels and must follow these conventions:

    • 1 or more labels, separated by [.]
    • Total length is 1 to 240
    • Label length is 1 to 63
    • Labels consist of [a...z0...9-]
    • Labels do not start with [-]
    • Labels do not end with [-]
    • The first label does not start with "port-xyz" or "port-xyz-abcde" with a,b,c,d,e, x, y, z = 0...9
    • Device names do not have the form n.n.n.n, n = 0...999
    • Labels do only start with 'xn-' if RFC 3490 is applied
    Adapter identificationMust be “tsec0
    Maximum # of ARsMaximum number of alarm retries (default 3).
    Initialize IOxSOn: Initialize IOxS with good status.
    Off: No initialization of IOxS.
    IO communication only from within cycleOn: Run IO communication from within VM-cycle
    Off: Run IO communication outside VM-cycle.
    Default station nameName of the station.
  5. Click on Configure Slots.

  6. Select the modules in the upper list. With the buttons Insert and Append the modules are copied to the lower list.

    You can not configure each module. Only modules with some sub modules respectively with a sub module with parameter data can be configured. Mark the according module in the lower list and click the Configure button.

  7. Click OK to close the Slot Configuration and click OK to close the device window.
  8. Right click on the master and select Create Variables. This will automatically populate the variables and groups.
  9. Mark the device and right click on it, then choose Insert Slave to add a group.

    These parameters can be changed:

    ParameterMeaning
    NameName of the group
    Type (icon)Icon used for the group
  10. Now you can connect the variables with the I/Os. Right click on the group and choose Insert Symbol in order to append a variable to a device.

    These parameters can be changed:

    ParameterDescription
    Variable nameVariable name following the IEC"International Electrotechnical Commission" IEC is a not-for-profit, non-governmental international standards organization that prepares and publishes International Standards for all electrical, electronic and related technologies 61131-3 syntax.
    AreaOutput, Output IOCS, Output IOPS, Input, Input IOCS, Input IOPS, device status.
    Format32 bit float, Signed 16 bit integer, Signed 32 bit integer, Signed 8 bit integer, Single bit, Unsigned 16 bit integer, Unsigned 32 bit integer, Unsigned 8 bit integer.
    SlotSlot Number
    SubslotSubslot Number
    OffsetOffset
    BitBit

    The offset of a variable is relative to a sub module. Thus also depending from a slot and subslot. The offset of the first variable of a sub module is always 0.

All settings can be changed in the grid too. The information show refers to the items below of the selected item in the configuration tree.

If KAS is connected to a target system and the system is running, the grid shows the real-time data of the variables.

The Profinet data size is limited to 500 bytes. To calculate the size, use the slot configuration view to count the number of bits per slot and convert to bytes. For example, 7 slots containing 16 outputs of 32 bits each, would be 7 * 16 * 32 = 3584 bits = 448 bytes.

 


Stay Connected with Kollmorgen

Copyright © 2015 Kollmorgen™