Home Installing WebPort WebPort User Interface Technical Reference Glossary Search

Contents

Adding Devices

You may connect up to ten devices to a WebPort. You may connect up to ten devices to a WebPort. You may simultaneously read and write tag data to each of the connected devices. You may read and write tag data to each of the connected devices, also simultaneously. When you add a device, you also configure its associated tags. Each device name must be unique. Tag names on each device must be unique.

To add a device:

  1. From the Configuration Work Area, select the following icon: This is a picture of the dialog. The Devices dialog appears: This is a picture of the dialog.
  2. In the Devices section, click the following icon: This is a picture of the dialog.

    The Device Properties dialog appears. (Default dialog does not show name or address):

    This is a picture of the dialog.
  3. View or specify the following Devices options:
    • Device Name. Enter the device name. Example: PCCC-1
    • Connection. Select the port connection that WebPort will use to communicate with the new device:
      • Serial n. If selected, allows you to set up serial communications with the PLC through the serial ports 1 through 4 on the WebPort Communications Gateway. Supported protocols for this selection are Modbus RTU, Modbus ASCII, DF1-CIP, DF1-PCCC, and PPI. Options are two or four serial ports, depending on your configuration.

        NOTE

        When using a serial port to communicate with a PLC, be sure to set the hardware specifics of the port (Baud rate, data bits, and other parameters) through the Configure:Serial Ports dialog.

      • Ethernet. Supported protocols for this selection are Modbus TCP, EtherNet/IP, and EtherNet/IP-PCCC.
    • Protocol. Select communication protocol WebPort will use to communicate with the new device. Available protocols are EtherNet/IP and Modbus TCP, Modbus ASCII, and DF1. The Device Properties dialog changes according to the protocol selected:
      • If you choose Serial, options are:
        • DF1-CIP. DF1-CIP is an asynchronous RS-232 serial protocol used to communicate with ControlLogix and CompactLogix Allen Bradley RS-232 interface modules. (You normally use RSLogix 5000 to work with these types of PLC.)
          • Slot Number. Station number of your PLC on the network. It is usually 1 if you are not connecting the WebPort Communications Gateway serial port to an RS-485 network.
          • Checksum. Rockwell PLC DF1 protocol supports CRC and BCC checksum methods. Please check your PLC setting to find out the checksum method PLC uses. By default, the protocol setting is CRC.
          • ACK Timeout milliseconds. After the Gateway sends out a request to the target device, it waits for ACK Timeout value in milliseconds to pass before the Gateway considers that there is no response from target device.
          • NAK Retries. Send command for number of retries if there is a response from the PLC but response is a negative acknowledgement.
          • ENQ Retries. Send command for number of retries if there is a response from PLC but the response is that the PLC is busy.
        • DF1-PCCC. DF1-PCCC is an asynchronous RS-232 serial protocol used to communicate with non-Logix Allen Bradley RS-232 interface modules such as PLC5 or MicroLogix. (You normally use RSLogix 500 to work with these types of PLC.)
          • Checksum. Rockwell PLC DF1 protocol supports CRC and BCC checksum methods. Please check your PLC setting to find out the checksum method PLC uses.
          • ACK Timeout milliseconds. After the Gateway sends out a request to the target device, it waits for ACK Timeout value in milliseconds to pass before the Gateway considers that there is no response from target device.
          • NAK Retries. Send command for number of retries if there is a response from the PLC but response is a negative acknowledgement.
          • ENQ Retries. Send command for number of retries if there is a response from PLC but the response is that the PLC is busy.
        • ModbusRTU. Modbus is a serial communications protocol that allows a personal computer or other device to communicate with up to two-hundred and forty programmable logic controllers that measure conditions such as temperature and humidity: This is a picture of the dialog.
          • Slave ID. Station number of your PLC on the network. It is usually 1 if you are not connecting the WebPort Communications Gateway serial port to an RS-485 network.
          • Reverse Word Order. Allows individual words of all tags with 32-bit data type on a device to be swapped. This changes how the data values are sent to a controller, not how data are stored on the WebPort Communications Gateway. WebPort Communications Gateway data values are always stored in human-readable form. You may set up two different Modbus devices on a WebPort Communications Gateway, and you may use different word swap settings for each device. The word swap takes place at the protocol level so that all incoming 32-bit words are swapped before they are stored. All outbound 32-bit words are swapped before they are sent to the device. The swap applies to signed and unsigned 32-bit tags. This is a picture of the dialog.
          • Response Timeout. Defines how long the Modbus device waits for a reply to be received after a Modbus command is sent.
          • Retry Count. Tells the Modbus device how many times to retry sending a Modbus command when no reply is received to the sent command.
          • End of Message Delay n characters. The Gateway starts a timer after the first byte of a response is received. When the timer detects the delay interval specified by this option, and there is also no signal on the serial communication channel, the message is considered ended.
          • Min Command Delay n milliseconds. Defines the delay time between characters of commands sent to the Modbus device.
        • ModbusASCII. Modbus serial communications protocol as above, but uses ASCII characters instead of binary. This is a picture of the dialog.
          • Slave ID. Station number of your PLC on the network. It is usually 1 if you are not connecting the WebPort Communications Gateway serial port to an RS-485 network:
          • Reverse Word Order. Allows individual words of all tags with 32-bit data type on a device to be swapped. This changes how the data values are sent to a controller, not how data is stored on the WebPort Communications Gateway. WebPort Communications Gateway data values are always stored in human-readable form. You may set up two different Modbus devices on a WebPort Communications Gateway, and you may use different word swap settings for each device. The word swap takes place at the protocol level so that all incoming 32-bit words are swapped before they are stored. All outbound 32-bit words are swapped before they are sent to the device. The swap applies to signed and unsigned 32-bit tags. This is a picture of the dialog.
          • Response Timeout. Defines how long the Modbus device waits for a reply to be received after a Modbus command is sent.
          • Retry Count. Tells the Modbus device how many times to retry sending a Modbus command when no reply is received to the sent command.
          • End of Message Delay n characters. The Gateway starts a timer after the first byte of a response is received. When the timer detects the delay interval specified by this option, and there is also no signal on the serial communication channel, the message is considered ended.
          • Min Command Delay n milliseconds. Defines the delay time between characters of commands sent to the Modbus device.
        • PPI. Siemens S2-200 protocol. For information only. Only accessible when RS-485 is selected under serial port protocol. If you choose this option when adding devices, the software informs you that you must first select RS-232 for the serial port.Only applicable to RS-485, which must be selected for the serial port protocol.
          • Node Addr. Node address of your PLC on the network. Because the PPI protocol uses RS-485 to communicate, Node Address for the protocol is automatically set to 2.
          For additional information about serial port setup, see Configuring Serial Communications Setup
    • If you choose Ethernet, options are:
      • ModbusTCP. Modbus TCP is an Ethernet communications protocol that uses Modbus functions but does not use the unit:
        • Slave ID. For Modbus TCP, the range of possible values is 1 to 255, depending on the device.
        • TCP Port. For ModbusTCP, the default port setting is 502. If needed by your system, you can change this port number
        • Reverse Word Order. Allows individual words of all tags with 32-bit data type on a device to be swapped. This changes how the data values are sent to a controller, not how data is stored on the WebPort. WebPort data values are always stored in human-readable form. You may set up two different Modbus devices on a WebPort, and you may use different word swap settings for each device. The word swap takes place at the protocol level so that all incoming 32-bit words are swapped before they are stored. All outbound 32-bit words are swapped before they are sent to the device. The swap applies to signed and unsigned 32-bit tags. This is a picture of the dialog.
      • EtherNet/IP. EtherNet/IP is an Ethernet communications protocol developed by Rockwell Automation. It may be used to communicate with programmable logic controllers.
        • TCP Port. For EtherNet/IP, the default port setting is 44818. If needed by your system, you can change this port number
        • Address. Specifies PLC IP address.
        • Slot Number. When the port selected is Ethernet, and the protocol selected is EtherNet/IP, you must specify an associated slot number between 0 and 16.
      • EtherNet/IP-PCCC. EtherNet/IP-PCCC is an Ethernet communications protocol developed by Rockwell Automation that converts a DF1 message to the EtherNet/IP specification. It may be used to communicate with programmable logic controllers:
        • TCP Port. For EtherNet/IP-PCCC, the default port setting is 44818. If needed by your system, you can change this port number.
        • Address. Specifies PLC IP address.
      • ISOTCP. ISOTCP is a protocol that communicates with Siemens PLCs with an Ethernet module. The protocol is based on the Siemens PPI protocol that communicates with the PLC's serial port. When using this protocol, only one connection at a time is possible between the WebPort Communications Gateway and the PLC.
        • PLC Type. Lists PLCs supported by this protocol.
        • Keep Alive. Specifies how long the PLC keeps the connection with WebPort alive during intervals when there is no activity between the PLC and the WebPort. Default value is 30 seconds. Keep in mind that you should use the same interval here as you use on the PLC's Ethernet communication setting.
        • TSAP. When the PLC type selected is S7200, and the protocol selected is ISOTCP, you must specify a unique TSAP setting: This is a picture of the dialog. For the S7200, the unique setting is 4D.57. However, if the Siemens PC program, STEP7-Micro/WIN, is connected to the same PLC, the Gateway cannot simultaneously talk to the PLC alongside the program. Therefore you need to define a new server connection using the Ethernet Wizard in the STEP 7 software. Use a TSAP Remote Properties Client setting for the Gateway of 10.00 or 11.00, and the default setting of 4D.57 for the STEP 7 software so that the Gateway and STEP 7 software are able to talk to the PLC at the same time. This is a picture of the dialog.
      • TCP Port. For ISOTCP, the default port setting is 102. If needed by your system, you can change this port number.
      • Address. Specifies PLC IP address.
    • Address. Enter IP address of new device. Example: 192.168.2.151
    • Test Device Connection. See Testing Device Connections
    • Submit. Saves changes on WebPort and exits.
    • Cancel. Exits without saving changes on WebPort.

Contents Previous Next