Software Tools

Problem

A Host system is looking to connect via Ethernet to flow computers on 4203 that are without an Ethernet port.

Solution

A SCADAPack with Ethernet can act as a gateway and forward messages from the Host to go out serially to the 4203 transmitters. This can be accomplished using the Store and Forward feature of the SCADAPacks (SP32, SP33x, SP35x). This article looks at configuring a controller with ISaGRAF firmware using Workbench software.

StoreandForward_Lan2Com1RS485Project.zip

A typical application might appear as shown below: 

Configuring the SCADAPack COM port for RS485
  • For SCADAPack 33x: COM1 jumper J8 needs to be set for RS485; COM2 jumper J10 needs to be set for RS485. See image for pin-out.
  • For SCADAPack 35x: COM1 is already RS485; COM2 jumper J13 needs to be set for RS485. See image for pin-out.
  • For SCADAPack 32: COM1 jumper J9 needs to be set for RS485; See image for pin-out.

This walk through specifically covers how to configure a SCADAPack 32 but it will be similar for SP33x and SP35x.

Configuring the SCADAPack 32 using SCADAPack Configurator
  • Select the proper Device type or Controller type.
  • Set proper PC communication settings: using Modbus RTU COM 1 to write the configuration.
  • Go to Project>IP> Modbus folder set Modbus station: 100 then Enable Store and Forward
  • Go to Project>IP> LAN and Enter Controller IP address.
    • For example set IP Address: 192.168.0.10; Subnet Mask: 255.255.255.0
  • Go to Project>Serial under COM1
    • Set COM1 Port properties:
  • Write all configurations settings to the Scadapack 32.
Configuring the SCADAPack 32 using SCADAPack Workbench
  • Open sample program StoreandForward_Lan2Com1RS485Project using SCADAPack Workbench 6.
  • Configure the communication settings in Scadapack Workbench:
        
  • Clean, Build solution and then download the program to the Scadapack32.
  • Now Monitor the logic below:
    • Toggling the ResetApp On and Off will clear the Store and forward Table.
    • Toggling the SwitchApp On and Off, will configure the Store and Forward table as desired.

      In this example, if a message arrives for 192.168.0.10 with Modbus address 1, it will be forwarded out COM port 1, for Modbus address 1. Similarly, a message for 192.168.0.10 with Modbus address 2, it will be forwarded out COM port 1, for Modbus address 2.
Using SCADAPack Configurator Software to verify Store and Forward configuration
  • While connected to the LAN port of the SCADAPack 32, in the Modbus/TCP settings, select the Modbus station address of the desired 4203 (1 or 2 in this case)
  • Change controller Type to 4203DS
  • Click on Controller [Scadapack 4203 DS] and select Firmware Loader

    The controller ID and firmware details for the 4203 should be returned, indicating communications are being forwarded through the SCADAPack properly.