How to Send ASCII Characters via 1734-232ASC Module

Question:

Hello everyone, I am a newcomer to this platform seeking assistance. My goal is to send ASCII characters to a device that performs specific tasks using a 1734-232ASC module, which is linked to a 1734-AENTR series B Point IO and then to a CompactLogix L36ERM PLC. Although I have configured the 1734-232ASC unit according to the manufacturer's specifications, I lack experience in sending these characters as strings to the device. Typical commands include "/1ZR" to home the unit and "/1A300R" to move the unit to position 300. While I have successfully sent these commands via desktop serial connection software, I am now looking to send them through the PLC. I am seeking guidance on how to properly set up the strings and transmit the accurate data. Any information you can provide would be greatly appreciated. Thank you.

Top Replies

Begin your search for quality POINT I/O ASCIIModules with models like the 1734-232ASC and 1734-485ASC available here.

Several years ago, I conducted a customized tutorial for a client on a similar topic and successfully executed it. I will share the files I utilized during the session to assist you in initiating the process. Best of luck as you embark on this project!

In previous installations, we have utilized the serial port on the Programmable Logic Controller (PLC) to effectively transmit data by loading a string and initiating a write. For a sample program from Rockwell, check out this link: https://rockwellautomation.custhelp.com/app/answers/detail/a_id/37368. Additionally, this YouTube video may provide valuable insights: https://www.youtube.com/watch?v=_6Dy_98LLxU.

Noob_MW inquired about how to use the /1ZR command to home the unit and the /1A300R command to move the unit to position 300. Additionally, they asked what software is typically utilized to send commands from a PC.

Inquiring user shawn_75 asks: What software should I use to send commands from a PC? The software provided with the unit simply sends characters and receives feedback. I've created a string in the controller tags and want to send these commands as a string to the unit. However, I'm unsure of how to configure the transmit and receive functions for the 1734-232ASC unit. More pictures can be posted if required.

Hi and welcome to the forum! It sounds like you're already making some good progress with your setup. Transmitting ASCII strings via the PLC is quite prevalent in industrial communications. If I understand correctly, you want to send ASCII commands like "/1ZR" to your device. In general, you'd need to configure your PLC program to pack the ASCII characters into an array of integers or bytes, and then publish that array to your 1734-232ASC module. Likewise, making sure you're keeping a proper track of start/stop bits and baud rates is essential for successful communication. Since you've been using serial connection software, it might also be beneficial to look for an option to log the data being sent or received. This could help debug if the PLC sends something unexpected. Good luck and don't hesitate to ask if you've further questions.

Welcome to the forum! With regards to your query, I would recommend taking a look at the STRING data type in RSLogix 5000. The idea is to construct your command (like "/1ZR") as a string and then use the COP (copy) function block to move this data to the send buffer of the 1734-232ASC module. For example, you might initialize a STRING variable with "/1ZR" and then copy this value to the 1734's send buffer. Also, make sure to set the length parameter correctly in the 1734's configuration. Most importantly, keep an eye on your module's data link indicators for an indication of successful communication. If you haven't already, check out the official user manual. This might seem a bit complex initially, but once you setup one command successfully, others will follow suit. Hope this helps!

More Replies →

Streamline Your Asset Management
See How Oxmaint Works!!

✅   Work Order Management

✅   Asset Tracking

✅   Preventive Maintenance

✅   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

You must be a registered user to add a comment. If you've already registered,
sign in. Otherwise, register and sign in.

Frequently Asked Questions (FAQ)

FAQ: 1. How can I send ASCII characters via a 1734-232ASC module to control a device?

Answer: - To send ASCII characters via a 1734-232ASC module, you need to set up the strings for the specific commands you want to send. Typical commands like "/1ZR" for homing and "/1A300R" for moving to position 300 can be sent by properly configuring the strings and transmitting the data accurately.

FAQ: 2. What is the setup process for sending ASCII characters through a CompactLogix L36ERM PLC?

Answer: - To send ASCII characters through a CompactLogix L36ERM PLC, you need to ensure that the 1734-232ASC module is properly configured according to the manufacturer's specifications. Set up the strings for the commands you want to send and ensure accurate data transmission.

FAQ: 3. Can ASCII commands be sent from a 1734-232ASC module to a device via a 1734-AENTR series B Point IO?

Answer: - Yes, ASCII commands can be sent from a 1734-232ASC module, which is linked to a 1734-AENTR series B Point IO, to control a device. By configuring the strings correctly and ensuring accurate data transmission, you can send commands such as homing and positioning to the device.

FAQ: 4. What software can be used to send ASCII commands through a desktop serial connection?

Answer: - Desktop serial connection software can be used to send ASCII commands to devices

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  â†’