Today is...
Saturday, August 17, 2019
Welcome to Control.com, the global online
community of automation professionals.
Featured Video...
Featured Video
Watch an animation of a conveyor stacking operation demonstrating the use of a move on a gear command.
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Visit our Post Archive
Serial Communication with Gardner Denver ES+ Controller
Having trouble trying to communicate to Gardner Denver ES+ Controller via RS232 serial connection. Trying to send ASCII requests to controller but I don't get anything back.

Hey guys,

So I have a Gardner Denver Air Compressor (Electra Saver II) that has an AutoSentry ES+ Controller Version 2.12. I'm trying to communicate with it so that I can extract Maintenance and Operating Data and send it to our remote monitoring system.

Here is the communication protocol for the ES+ Controller from the Manufacturer.

-The ES+ Controller has an RS-232 port DB9 Female connector.
-The Port is DCE mode.
-Pin 5 is common
-RD data output is on pin 2
-TX data input is on pin 3
-CTS output is on pin 8
-All other pins are no connection
-Baud is 9600, data bits is 7, stop bit is 1, no parity, half duplex.

All data communications are initiated externally by requests for data. All requests are four character, of the form "<stx>xx<etx>".
-<stx> is ascii 2
-xx are identical text characters ("BB" is for maintenance data, "mm" is for operating mode, and "oo" is for operating data).
-<etx> is ascii 3

The final plan is to connect a serial cable to an Allen Bradley PLC and collect the data serially and then send it out through Ethernet IP protocol to our DCS system. But for now, I'm just trying to test the connection and receive the information from the ES+ controller to see how the string of characters look like so that I can write my ladder logic accordingly.

I am using Windows Hyperterminal to send my requests for data but so far I haven't had any success receiving anything back from the controller.

I am using a Straight through cable since I'm connecting a DTE device to a DCE device. My parameters on Hyperterminal are the same as the controller: Baud 9600, data bits: 7, Stop Bit: 1, no parity, and Flow Control: None.

I have tried sending different forms of ASCII characters, such as
- 2BB3
- 02424203
- 02BB03
- Etc,.....

I'm thinking I have to jumper pins 7 and 8, and also jumper pins 4 and 6 on my connectors but I'm not sure. Has anyone successfully done this before?

Please Help.
Thanks.

You cannot send a STX (2) or ETX (3) character by typing them into HyperTerminal. When you type the character 2 into Hyperterminal you send a character that is hex 30 (or decimal 48).

Please try this puzzle: http://ControlPascal.com/tutorial.htm#puzzle

I'm not good at web stuff:
http://ControlPascal.com/tutorial.htm#Puzzle

How to execute ETX command in hyperTerminal?

https://www.experts-exchange.com/questions/25058033/How-to-execute-ETX-command-in-hyperTerminal.html

I've tried Cntrl+B to enter STX and Cntrl+C to enter ETX, but the controller doesn't respond with anything. Hyperterminal shows a "happyface" picture for Cntrl+B and a "heart" picture for Cntrl+C. Is this right? Am I doing something wrong? I'm new to this ASCII stuff.