Ascii interface with A&D balance

PLChristian

Member
Join Date
May 2021
Location
Wisconsin
Posts
27
Hello all. I would like to transmit a command to an A&D balance from a L24ER PLC with a 1769-ASCii card I/O. The command I want to send to the Balance is the PRT command found in the manual. Any ideas on how to set up the string with "PRT" and how to transmit it to the balance?
 
The manual indicates that PRT is the characters that need to be sent.

I would normally have three strings set up in the PLC:
- strPRT // constant with value ‘PRT’... add additional contacts for each command required
- strCRLF // constant with .data[0] =13, .data[1] =10, .Len= 2 (carriage return, line feed)
- strOut // value to be output

Rung would contain trigger bit, one shot and CONCAT joining all of the command string and the CRLF string into the strOut. Next rung would look to see if anything existed in strOut, then COP to ASCII card register OutData0. I will then wait for InData0.Data[0] to be equal to 6 (ASCII Acknowledge) then clear the strOut register. This will let you know that the command has been received and can continue.

See https://literature.rockwellautomati...ture/documents/um/1769-um012_-en-p.pdf#page45
 

Similar Topics

Hi everyone. I am trying to interface a balance and a AB compact logix L24ER with a 1769-ASCII card. I am using a rs232 connection between the...
Replies
20
Views
6,885
I am tasked with interfacing an A&D balance and a compact logix L24er with a 1769-ascii card. I would like to just display the weight displayed on...
Replies
0
Views
1,310
Hello, I have a CompactLogix 5370 controller, and I need to communicate to a Mettler Toledo IND560 via a 1769-ASCII interface module. Does...
Replies
2
Views
1,486
I have an application where I need to put a Sick CLX490 in "Sleep Mode" and put it back into "Run Mode" (Laser On) utilizing the ASCII AWT...
Replies
1
Views
2,281
Hi friends, does anyone know how to clear the buffer of this module? I uses it to interface with a scanner via RS232, but sometimes the scanner...
Replies
3
Views
3,510
Back
Top Bottom