Reading an ASCII value into RS Logix 500 programming environment

sukesh_pn

Member
Join Date
May 2020
Location
Bangalore
Posts
1
I am trying to build an inventory management system that receives part numbers(Format, 123-45:67) from a bar code scanner and uses Allen Bradley 1100 PLC to keep a track of parts in stock . I require some help/hints on programming steps, to detect when there is a new bar code scan; write the value (part number) in Channel 0 into a string and clear buffer for next bar-code scan. I do understand that key is to use ARL instruction but I am not able to figure out how to trigger a false to true transition for the same, as there is no traditional input in this case.
 
An [XIO R6:n.EN] bit of the control on the rung feeding the ARL should cause the ARL to repeat (not sure about startup, though; it many need to be ANDed with [XIC S:1/15] i.e. first pass.


Another option would be to run a timer, fed by a [XIO R6:n.EN], which would repeat but would provide a delay between runs of the ARL.


Caveat

  • these are rough ideas; thay may not even come close to working
  • the code should also react intelligently to the .ER bit becoming 1 e.g. reset the ARL.
 

Similar Topics

Hi to everybody. I need to read the first 12 characters of the message that a barcode reader sends to the ascii card (1734-rs232 ascii) and I...
Replies
8
Views
728
I'm reading barcode info from a keyence reader. I have all the barcode info in my program, I can view it in decimal or ASCII and it is correct...
Replies
11
Views
3,518
can any body send me the ladder diagram for sending and reading e.g N7:0 TO N7:5 from serial port of plc5/30 to a visual basic programme using mscomm.
Replies
1
Views
4,412
Gurus, This is my first time working on serial motor interface through RS232. I have a 3rd party control which sends me a set of ASCII commands...
Replies
1
Views
1,981
Hello I have a s7-1200 and I would like to read the tags present in this controller with my controllogix controller. The two controllers don't use...
Replies
5
Views
145
Back
Top Bottom