Micrologix 100 rs232 port

James Mcquade

Member
Join Date
Oct 2007
Location
Nashville, Tennessee area
Posts
3,680
Hi all,

the ab family of plc's is not new, but the micrologix 1100 is new to me and my new task is definately a first.

our production line is now required to weigh part of the final product before placing it in a box. we have a weigh scale that uses rs232 and we are looking at the micrologix 1100 to interface to.

we have a package consisting of a 2 part glue. we need to confirm that part a and b are in the sealed package which weighs lets say 1000 grams.

if the package has (2) of part a, we would get 850 grams or if (2)of part (b) we would get 1200 grams.

if the package weight is outside our limits we set using a panelview terminal, we are to turn on a red light signaling a fault, and the plc is to do several other operations as well.

Does anyone have any experience with the rs232 port and how to interface with it?

thanks in advance,
james
 
This sounds like a straightforward ASCII function application. The MicroLogix 1100 has a combo RS232/RS485 port but the normal 1761-CBL-PM02 cable works fine for connection to DTE-type RS232 ports (like your laptop).

Does the scale automatically send out a string with the weight value, or does it require an ASCII trigger to reply with the weight ? I've seen some scales with digital input triggers too.

When devices are sending "random" strings of ASCII input that can come at any time, I like to just periodically execute ACB instructions to return the number of characters in the buffer. When that value is equal to the number I expect, I execute an ARD ASCII Read instruction to get those characters into a String data type.

The use of the ASCII Clear Buffer, Check Buffer, Read Buffer and Read Line instructions will depend on whether your device sends the same number of characters every time, or uses a delimiter (usually Carriage Return, Line Feed, or both). Get the MicroLogix 1100 Instruction Set Reference and read up in the chapter on ASCII port and string instructions.
 

Similar Topics

Okay here we go. I am new to this and I need to know the easiest method to mate an Micrologix 1100 to and Automation Direct with RS232. I have a...
Replies
9
Views
2,813
I am an experienced software engineer but somewhat new to PLC programming, and my question is mostly related to configuration/hardware. I am...
Replies
11
Views
5,601
Does any one knows if micrologix 1100 would be a good choice to receive ascii string characters by Ethernet port and forward it using rs232 port...
Replies
1
Views
5,496
Hi, I cannot find the DLCA1764.EXE utilty software for data retrieving. Can someone share the link to download this software. Thanks!
Replies
4
Views
122
I am currently backing a Micro Logix 1100 and no-one seems to have the file for me to upload from. Is there a way for me to upload the project off...
Replies
15
Views
521
Back
Top Bottom