You are on page 1of 7

HOW TO SET UP A SYSTEM WHICH CONSISTS OF A LOOKOUT APPLICATION, A ZETRON M1700 CONTROLLER AND A M1716 RTU.

The purpose of this document is to give a brief overview on how to set up a system consisting of an application running in National Instruments Lookout, a Zetron 1700 Controller (Modbus Option) and a Zetron 1716 RTU. The Zetron 1700 Controller will be connected to the PC using the Serial Port and both Zetron devices will be hardwired for communications, instead of using a Radio Transmitter. Also, attached to this document you will find a Lookout Example Program that controls and monitors some of the digital I/O at both the M1700 controller and the M1716 RTU. This document is divided in four main sections: 1) 2) 3) 4) Power and Communications. Configuring the M1700 Controller and the M1716 RTU using Hyperterminal. Configuring Modbus Object in Lookout to communicate with M1700/M1716. Lookout Example Program description.

Power and Communications. The M1700 Controller and the M1716 RTU require 12VDC. Connect the positive terminal of the power supply to terminal 1 of the P3 connector on both Zetron devices. Connect the negative terminal of the power supply to terminal 2 of the P3 connector on both Zetron devices. Avoid having different grounds for the Zetron devices. For our system, we need to connect the Receive Audio to the Transmit Audio terminals between the M1700 Controller and the M1716 RTU. Terminal 9 of the P3 connector on both Zetron devices is the Transmit Audio (Tx Aud) terminal. Terminal 10 of the P3 connector on both Zetron devices is the Receive Audio (Rx Aud) terminal. Connect terminal 9 of the P3 connector on the M1700 to the terminal 10 of the P3 connector on the M1716. Connect terminal 10 of the P3 connector on the M1700 to the terminal 9 of the P3 connector on the M1716.

After connecting the Transmit and Receive terminals between the two Zetron devices, we can proceed to check the communications between them. Follow the steps below to check the communications between the M1700 and the M1716 devices. Make sure that both devices are powered up. At the M1700 Controller: 1) Locate the JP5 Test A jumper and the JP6 Test B Jumper. 2) Put the jumper in place in JP5 or JP6 (only one is required). 3) Check the voltage between the Transmit Audio terminal and ground using an Oscilloscope. Adjust the Tx Aud Potentiometer (R24) until you read 1 Volts peak to peak at the Transmit Audio terminal (terminal 9 at P3). At the M1716 RTU 1) Locate Terminal TP1 2) Check the Voltage between TP1 and ground using an Oscilloscope. Adjust the Rx Aud Potentiometer (R25) until you read 1 Volts peak to peak at TP1. Now, remove jumper from JP5 or JP6 and repeat the procedure shown above, but this time work with the Transmit Audio terminal at the M1716 RTU and work with the TP1 terminal at the M1700 until you read 1 Volts peak to peak between the Transmit Audio Terminal and ground at the M1716 and between TP1 and ground at the M1700. Do not forget to remove Jumper from JP5 or JP6 after you finish with this procedure. In order to communicate to the Zetron controller through the serial port (RS-232) in your computer, you will require a 9 pin male-female cable with the following pin-out. Computer Pin 2 Pin 3 Pin 5 Controller Pin 3 Pin 4 Pin 5

Configuring M1700 Controller and M1716 RTU using Hyperterminal. Now that we have the Zetron devices connected, we can go ahead and configure our Zetron devices from our PC using Hyperterminal (go to Start/Programs/Accessories/Communications/Hyperterminal). M1700 Controller Configuration Set the Address of the M1700 Controller to be 1. This is done by setting the dip switches (SW1) at the controller: Dip Swtich 1 2 3 4 5 6 Position ON OFF OFF OFF OFF OFF

IMPORTANT: You need to set the Dip Switches 7 and 8 at SW1 on the M1700 Controller to the OFF position in order to be able to access the configuration menu at the M1700 Controller from the PC through Hyperterminal..

Follow the steps below in order to configure your M1700 Controller for our application: 1) Connect the M1700 Controller with your computer using the serial communication port. 2) Go to Hyperterminal and create a new connection with the following properties: Bits per Second: 4800 Data Bits: 8 Parity: None Stop Bits 1 Flow Control None

3) Hit the Space Bar 3 times or hit the Enter Key in order to see the M1700 Controller Configuration Menu. 4) Select Factory Defaults from the M1700 Controller Configuration Menu.

IMPORTANT: Set the Dip Switches 7 and 8 at SW1 on the M1700 controller to the ON position so that Lookout will be able to communicate with the controller. M1716 RTU Configuration Disconnect from the M1700 Controller and connect to the M1716 the same Hyperterminal Connection that you already have and your serial port and set up the Dip Switches (SW1) at the M1716 RTU to give the RTU Address 2: Dip Switch 1 2 3 4 5 6 7 8 Position OFF ON OFF OFF OFF OFF OFF OFF

Follow the steps below in order to configure you M1716 RTU for our application: 1) Hit Space Bar three times or hit the Enter Key to see the M1716 RTU Configuration Menu. 2) Select Factory Defaults from the M1716 RTU Configuration Menu. 3) Go to the Controller Address menu and select the right address for the controller. In our case, the controller address is 1. 4) Go to the Fail Safe Setup Menu and select Enable Exception Reports.

If you want to do a more detailed test in communications between the Zetron devices, just type

<ctrl><T> when connected to the M1700 Controller. This will let you test the I/O at the M1716 RTU. Configuring Modbus Object in Lookout to communicate with M1700/M1716. Once you have configured your Zetron devices and that you have checked the communications between them, you can go to Lookout and develop an application that uses a Modbus Objects to communicate with the Zetron Devices. For our system (one M1700 and one M1716), Zetron has recommended the following parameters for our Modbus Object: Baud Rate Parity Data Bits Stop Bits Poll Rate Rec. Timeout 4800 None 8 2 5 Seconds 8000 msec

Keep the default advanced Modbus Options.

Lookout Example Program Description. Attached to this document you will find an example program developed in Lookout version 4.5.1 build 18 that communicates with both the Zetron M1700 controller and the M1716 RTU. The example simulates a simple process consisting of a Tank, a Pump, a Low Level Sensor, a Light that comes on if the System is in Auto, and a Light that comes on if there is an Active Alarm.

The Digital I/O used for this example are (only digital I/O was used for simplicity): 1) M1700 Digital Output 1. This Output is ON when the System is in Automatic. A 12 VDC light can be connected to this output. 2) M1716 Digital Output 9. This Output is ON if there is an Active Alarm on the System. A 12 VDC light can be connected to this output. 3) M1716 Digital Output 11. This Output simulates a Pump used to fill the tank on the Lookout process. You can also connect a 12 VDC light to this output. 4) M1716 Digital Input 1. This input simulates the Low Level Sensor at the tank. This input can be connected to a Switch that will toggle the status on this input. You will see at the Lookout Process that the system can be run in Automatic Mode (Auto) or in Manual Mode. If the system is running in Manual, you can toggle the physical outputs on the system. If the system is running in Automatic, the Pump (simulated by output 11) is turned on when the Low Level Sensor (Input 1) indicates that the tank has too little material in it. Now the pump will start simulating that that tank is being filled. Once the Low Level Sensor signal goes away (as it would happen in a real process, once the tank starts to be filled), the Pump will stop after 10 Seconds, simulating a filling system that is time controlled. Check out the application to for more information and details on it.

You might also like