Serial Data

Tom Kazakoff

Member
Join Date
May 2004
Location
Boulder Creek, Ca.
Posts
26
I need to receive serial data from an AB FlexLogix 5433. I have a
test program on the PLC that does nothing but send Ascii data with an AWA instruction. This is a test case, since I need to write an
application running on a PC that will receive data from the PLC
serial port. I have built a cable according to the AB specs for
an Ascii device, and I am reasonalby sure the serial port on the
PLC side is configured as it needs to be. On the PC side, I am
using COM1, which uses the XP serial driver. I want to be able to
look at the characters with a terminal emulator, like hyperterminal.
I have not been able to do this. There is data comming out the PLC
verified via a scope. Does anyone know why I cannot get
the terminal emulator to display the data ? I am going to try a
serial monitor next. Does anyone know what the cable should look like ? I thought I would try a three wire cable (pins 2,3 and 7) then
try a null modem cable.
 
You didn't mention anything about you data setup. Baud rates, Bits, Parity, etc. Make sure that what the PLC is sending and what the PC is looking for match.
 
I do this sort of thing all the time, and if I have trouble is's 10% the framing (parity, data bits, stop bits, speed) and 90% of the time it's my home-made cables and connectors.

All Logix controllers have a DTE-type serial port, same as your PC does. For this reason, you need a "null modem" cable.

For ordinary ASCII, all you need is three wires:

2 - 3
3 - 2
5 - 5
 
cable

You indicate that you have used pin 7.
Pin 7 is a GND on a 25 pin DB connector. It's 5 on the DB9
connector. If you are using the PC equipped with DB9 you need to
use pin 5 not 7.
 

Similar Topics

I have 9 field devices, three METSEPM5110 power meters and six ACE949-2 rs285 interface modules. I want to read this Modbus rtu data through rs485...
Replies
8
Views
315
I am using an Allen Bradley ControlLogix PLC (Logix5561) RSLOGIX5000 version 20.04. I would like to communicate with a Paroscientific Met4A...
Replies
19
Views
11,526
I have a computer running a Factory Talk ME Runtime application that i would like to import data from a wireless gauge that emulates a COM port on...
Replies
4
Views
1,733
Hello everyone, this is my first time asking for help here, so please bear with any problem my english or lack of experience can cause. i have a...
Replies
3
Views
2,687
Hi, In one of my application with RSView32, I am sending SMS using VBA command and dongle. When I am testing/debugging code, it runs fine every...
Replies
0
Views
1,937
Back
Top Bottom