You are on page 1of 8

MESA Systems Co.

MESA M-PIM-0212

MESA Process Interface Module, Model: M-PIM-0212

Image of: M-PIM-0212 Electronics

Image of: M-PIM-0212 NEMA 12 Housing

The Mesa Systems Co. M-PIM-0212 (PIM) is designed to interface TRIME-GW moisture and temperature sensors to a process control system. Up to 16 TRIME-GW Moisture Transmitters and/or M-SM-TEMP-RTD temperature sensor modules can be connected using the 2-wire, IMPbus parallel wiring configuration (this is a total of 32 measurement points). The TRIME-GW percent moisture and temperature sensor data is transmitted to the process control system via one of two methods: push or pull. The "push" method is used with PLC systems; the PIM writes the sensor data directly to the PLC data table via a client protocol (such as Allen-Bradley DF1, Ethernet or Modicon Modbus, etc.). The "pull" method is used with SCADA systems (such as Wonderware, etc.); the PIM emulates a Modicon PLC at its Ethernet and/or serial port and the external process polls the PIM for the data it wants. The PIM has two separate operator interface systems: a video screen interface for diagnostics and troubleshooting and a Web-based interface for configuration. The PIM control software runs on an internal IBM-compatible Single Board Computer (SBC). The SBC has all the functions of a full-sized PC, except that it has no rotating

MESA Systems Co., 57 Green Lane, Sherborn, MA 01770 USA support@mesasystemsco.com, www.mesasystemsco.com -1-

MESA Systems Co.


MESA M-PIM-0212
media it uses an 8 Mb MSystems DiskOnChip instead of a hard drive. The PIM SBC has 2 serial ports, an Ethernet port, a mouse port and a VGA video port. The PIM control software runs under the PharLap/VentureCom ETS Real-Time Operating System (RTOS) and is based on the MM Controls, Inc. "MMTools Library".

IMPbus Communication The IMPbus is a special 2-wire serial data bus designed for high reliability communication over long distances, a requirement when operating multiple TRIME-GW moisture measurement transmitters and temperature modules. The PIM interface module can interface to16 nodes available on the TRIME IMPbus. Each connected TRIME-GW device is continually polled, in a round-robin fashion. During each polling cycle the "measurement" values are then read along with the TDR level and a possible error code. The "measurement statistics" and the "error table" are then read and the error table scanned for a possible error code. When the PIM first establishes a link with the sensor, before any process data is read the PIM reads the sensors "parameter" and "user data blocks".

MESA Systems Co., 57 Green Lane, Sherborn, MA 01770 USA -2-

MESA Systems Co.


MESA M-PIM-0212
If any of the configured sensors are not responding, once per poll cycle the IMPbus is reset. Since IMPbus modules boot with an unknown baud rate, all modules are told to use 9600 baud. This command is sent out once each at 300, 600, 1200, 2400 and 4800 baud.

SCADA Interface
The SCADA interface provides a way for external processes to directly poll the PIM for sensor data, without using an intermediate PLC. External processes can include SCADA systems (such as RS-View and Wonderware) and distributed control systems (such as Honeywell). This interface can provide data to user programs written in Visual Basic using OLE for Process Control through a commercially available OPC server such as TOP from Software Toolbox (http://www.toolboxopc.com/). The SCADA server mimics a Modicon PLC and responds to Modbus/TCP requests on IP port 502. It optionally can serve Modbus requests out a serial port (this is configurable in the MMTools.Ini file). The Global Data Block is mapped to addresses 400010 through 400017. The Sensor Data Block for the first row in the configuration table is accessed in the PIM at Modicon address 400020 to 400039. The block for the second row is at 400040 to 400059, etc. See the table at right. Bit is the bit for the corresponding sensor in the Global Data Block. It will match the line for that sensor in the configuration table.
Bit 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Block Address 400020 400040 400060 400080 400100 400120 400140 400160 400180 400200 400220 400240 400260 400280 400300 400320

If there is a PLC interface AND a SCADA interface, then the SCADA may only read the Global and Sensor Data Blocks. If there is no PLC interface, the SCADA system may write to all block registers that are normally set by the PLC.

MESA Systems Co., 57 Green Lane, Sherborn, MA 01770 USA -3-

MESA Systems Co.


MESA M-PIM-0212

Technical Specifications for the MESA M-PIM-0212


Item General: Specifications The electronics are fixed to a removable back plate using 4 screws. All terminal blocks are labeled. User comments Caution: Remove the electronics mounting to the back plate before cutting through holes for wiring. Do not disconnect any wiring. Use only the terminal blocks and programming interface connections (see description below) for wiring and setup. Customer supplies cable . Terminals labeled: Vac, Vac, chassis ground. Internally the power supply is connected to the PCM-9340 (5 V dc) and the SM23U/Setup/run PCB (12 V dc). Housing type: IMPbus connection: NEMA 12, wall mountable TRIME IMPbus is a 2 wire floating ground serial data bus. Up to 16 TRIME-GW modules can be connected in parallel to one PIM . The PC 101 Setup/run board is used to connect the IMPbus to the PIM and to the serial interface of the PLC. Mounting hardware supplied. There are two sets of terminals marked; R/T, Com, connected in parallel. Refer to TRIME-GW technical manual for details on the transmitter bus wiring.

Input power supply:

Voltage Input: 85-264 V ac, 47-63 Hz, (AC Current: 0.65A @115 V ac, 0.4A @230 V ac)

PC 101 Setup/run board and SM23U board:

Any external IMPbus modules use the twowire IMPbus to connect to the terminals on the PC 101 board.

IMPbus is converted to RS-232 level by the SM-23U. The bypass setup/run switch is The SM-23U board used for the setup of modules on the bus. converts the IMPbus level Normally the switch is in the run position. signal to RS-232 level. The status of the communications can be noted by the 3-LED.

MESA Systems Co., 57 Green Lane, Sherborn, MA 01770 USA -4-

MESA Systems Co.


MESA M-PIM-0212 PLC RS-232 Connects to channel 0 of serial the Allen-Bradley PLC5. interface: Set channel 0 port up for DF1 full duplex, 19200, N, 8, 1, BCC Status LED: Communication status of the IMPbus, PLC and 23U. Connector Function CN10 CN7 CN6 CN4 VGA KYBMOUSE E-NET RJ45 COM1 Monitor Keyboard/Mouse, Y-cable supplied Ethernet Edit: MMtools.INI file: Direct the PLC to 3FH IRQ4 COM1. Default is 2FH IRQ3 COM3. Labeled as Rx, Tx. Gnd. DB9/M/F 10-foot cable supplied. Refer to the following file for connections to PLC5 http://www.ab.com/manuals /cn/1784232.pdf See technical manual

Programming interface connections on PCM-9340 Single Board Computer Module internal to the PIM: PIM Control Program:

Refer to the Control Program Manual

http://www.mesasystemsco.com/M-PIMhelp

MESA Systems Co., 57 Green Lane, Sherborn, MA 01770 USA -5-

MESA Systems Co.


MESA M-PIM-0212

Image of: the M-PIM-0212

MESA Systems Co., 57 Green Lane, Sherborn, MA 01770 USA -6-

MESA Systems Co.


MESA M-PIM-0212

Image of: the line power connector on the M-PIM-0212

Image of: the terminations for IMPbus (R/T and Com) wiring from the TRIME-GW transmitters and the serial connection to the Allen-Bradley PLC5 (Rx, Tx. Com)

MESA Systems Co., 57 Green Lane, Sherborn, MA 01770 USA -7-

MESA Systems Co.


MESA M-PIM-0212

Image of: the IMPbus Setup/Run switch, 9-Pin serial DIN connector and 3-Status LED

MESA Systems Co., 57 Green Lane, Sherborn, MA 01770 USA -8-