Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Channels are created and configured to handle specific communication protocols and drivers. Each channel is defined by a specific protocol driver and connection type, such as RS-232 or TCP/IP. Channels allow the module to access multiple devices (such as PLCs) using the defined protocol and interface. The software platform establishes Channels to manage communication using protocols. A DeviceChannel object encapsulates a selected Protocol and its configuration settings. The Channel is the next step of the Device Module configuration, mapping the stations of PLCs or devices in a field network, and allowing the selection of the protocol settings that will be used with each device.

On this page:

Table of Contents
maxLevel3
stylenone


Configuring Device Channels

Device channels Channels are the pathways for communication between the HMI and the devices in the system. To create and configure channelsThe sections below describe how to create and edit Device Channels on the platform in more detail.

Creating and Editing a Device Channel

To create a new channel, follow these steps:

  1. Access Devices → Channels.
  2. Click on the plus icon.
  3. Fill Choose a Protocol and fill in the fields and set theChannel settings. The following section on this page Channel Name and Description fields. The table at the end of this section describes each option available.
  4. Click
New item.
  1. OK.
.
  • The Create New Channel window displays.

  • Enter or select information, as needed.

  • Click OK. The channel is added as a new row in the table

  • Image Removed

    Device Channel Creation Settings

    Field/Column

    Description

    Channel Name

    Enter a name for the channel.

    Protocol

    Select the protocol this channel uses.

    Description

    Enter a description for this channel.

    We need to standarize the way tables are presented. Follow the approach used in Historian Tags

    Info

    For more information about the configuration for common protocols and interfaces, click Help at the top of the tab inside FrameworX.

    To edit device channels:

    Breake it into secttion with headers.

    Image Added

    To configure or edit an existing channel, follow these steps

    1. Access Devices → Channels.
    2. Double-click the property you wish to edit
  • Go to Devices → Channels.

  • To add or remove a column (visualization only), right-click the column heading area and select or deselect columns.

  • Edit the fields
    1. on the row corresponding to the channel you want to modify.
    2. Edit the property fields.

    Image Added


    Device Channel

    Configuration Properties

    Properties

    The following table describes each available property you can configure when editing a channel:

    Field/Column

    Description

    ProtocolOptionsProtocol Options

    Configure Defines the options for this protocol. Protocol The options depend on the selected protocol. Check each protocol documentation to guide you.

    Interface

    Select Defines the interface type for this channel.

    Serial

    -

    : Use this option to configure the serial parameters for RS232/485 networks.

     

    MultiSerial -

    Multi Serial: Use this for configurations with multiple RS-232 ports.

     

    TCPIP

    -

    : Use for Ethernet or wireless networks. 

    SettingsConfigure

    Defines the settings for this channel. The available values will depend on the interface the channel is using.

    For a serial interface, typically keep the defaults.

    For a

    MultiSerial

    Multi Serial interface, enter the number of RS-232 ports to use in the Ports field.

    AcceptUnsolicited - Accept

    Node Connection: The number of parallel requests sent to each node (asynchronous communication).  

    Accept Unsolicited: Allow to accept unsolicited input from the slave.

     ListeningPort -

    Listening Port: The TCP port where the slave device is connected (default is 502). 

    NodeConnection - Number

    Node Connection: The number of parallel requests sent to each node (asynchronous communication). 

    MaxSimultaneousConnections - Maximum

    Max Simultaneous Connections: The maximum number of concurrent connections. 

    ShareNodeSameIP -

    Share Node Same IP: Several slaves are connected to a single IP address. For example, RS485/Ethernet Converters. 

    UseSingleThread -

    Use Single Thread: Use a single thread for the same IP nodes. 

    UsePingToCheckConnection -

    Use Ping To Check Connection: Check for connection before sending a packet.

     

      

    Info

    The settings here must match the settings on the slave device.


    Timeout

    Configure Defines the timeout options for this channel. Typically, keep the default value.

    InitialState

    Select

    Defines the initial state for this channel

    .

    , the states can be as follows:

    Enabled:

    the

    The channel is loaded and execution starts when the project starts.

    Disabled:

    the

    The channel is loaded, but does not starts execution going the disabled state.

    Remote:

    the

    The channel is local in a remote Computer defined that the Remote Settings.

    See more information at

     See Remote Channels page.

    Reserved:

    the

    The channel is not loaded, it acts as the channel was temporarily deleted from the project.

    Remote SettingsRemoteSettings

    Set Defines the primary IP and backup IP to configure the remote computer where this channel will run.

    Driver VersionDriverVersion

    The Defines the version of the current driver being used.



    Working with Channel

    Stop and Start Commands

    After creating a solution, you may face issues that compromise the communication with the field device. In such moments, instead of restarting the entire system, you may solve the problem by restarting the channel. You can perform such tasks using scripts, avoiding shutting

    Restarting the channels:

    Use tittles

    It is possible to restart the Channel of the device module via script. That way, you don't have to shut down the entire system.
    In Scripts > Classes, create a class using the follow code:DeviceTo do so, follow these steps:

    1. Access Scripts → Classes
    2. Create a new class using the C# code below, where "XXXX" refers to the name of the channel.

      Code Block
      languagec#
      @Device.Channel.XXXX.Stop()

    Device
    1. 
      @Device.Channel.
    XXX
    1. XXXX.Start()

    Note: The "XXXX" refers to the name of the Channel being used.

    Image Removed


    You can create a Task or Expression to call this class when needed , you can also and do it in other ways that don't use the class. You can configure a button to perform this task in a screen, as example.

    See the Remote Channels page for more information.

    Code Block
    languagec#
    public void Stop()
    {
    	@Device.Channel.ControlLogix.Stop(10);
    }
    Info
    You can also learn how to configure Remote Channels here.



    In this section:

    Page Tree
    root@parent
    spacesV10

    ...