I am reaching out regarding my project, which involves utilizing an aXinje XD3-24RT PLC. I am currently facing a specific challenge and would greatly appreciate your assistance. Project Objective: The goal of my project is to display the weight on an indicator when a load is applied to the load cell. This will be achieved by programming a ladder logic program to function as a weight scaler. Project Challenge: The project entails connecting a load cell to an indicator (Mypin LM8-RR4D) using the RS485 communication protocol. I am utilizing the XD-Pro software for programming, but I am experiencing difficulties in establishing communication between the PC and the indicator through the XD3-24RT PLC. I have experimented with various methods in my ladder program, but have not achieved success. I would greatly appreciate your guidance on the following: 1. How to establish communication within the ladder program. 2. How to retrieve the weight within the ladder program. Thank you for your time and assistance. I am looking forward to your response. Additionally, I have included the Mypin LM series manual for your reference.
To troubleshoot this issue effectively, I suggest breaking it down and testing each component individually using a PC, Modbus simulator software, and a USB to RS-485 adapter. Below are some recommended Modbus master and slave simulator tools for testing and debugging Modbus systems: - WinTECH ModScan and ModSimWinTECH Software - Simply Modbus RTU/ASCII Master and Slave Emulator from Data Communication Solutions - Witte Software Modbus Poll and Modbus Slave - Modbus tools for test, simulation, and programming from www.modbustools.com Begin by testing the weighing controller to ensure successful communication and understand the data format provided. Based on the documentation provided, the default communication settings are 9600 baud, no parity, one stop bit, and Modbus slave address 1. The weight value consists of two Holding Registers located at addresses 62H (98 decimal) and 63H (99 decimal). Keep in mind that these are 0-based register addresses, so adjustments may be needed for certain simulators (e.g., in ModScan input 99 in the Address field and 2 in the Length field). Utilize the formula [REGISTER 62H VALUE] + [REGISTER 63H VALUE]/65536 to decode the weight value effectively.
Your project sounds interesting and I admire your dedication. It sounds like the main issue is with establishing communication between your PC and the Mypin LM8-RR4D indicator through the XD3-24RT PLC. If your PLC and the indicator are supposed to communicate via RS485, you may need to double-check whether your COM port parameters (baud rate, data bits, parity, stop bits) are configured correctly on both ends. Additionally, ensure that your PLC's transmitter (TX) is connected to the indicator's receiver (RX), and vice versa. Regarding retrieving the weight, you'll likely want to find a specific register in the device memory of your indicator where the weight data is stored. Once you know that, you can use a Read command in your ladder logic to retrieve the data from that register. I hope these suggestions can steer you in the right direction. Good luck!
Hi there! First off, commendations for taking on such a challenging project. Now onto your questions. Establishing communication in a ladder program typically involves setting up communication parameters such as baud rate, device ID, start bits, stop bits, parity, etc. Make sure these parameters match between the PLC and the indicator. The manufacturer's manual you provided is indeed useful here. As for retrieving the weight, a common method is using a function block to read input from the RS485 port after setting up communication. The value you read from the port would be the weight. Remember, this can often involve converting data types depending on how the weight value is sent over RS485. Experiment with this and let us know how it goes. If you're still stuck, could you share a bit of your ladder diagram code so that we can advise you more specifically? Good luck!
It sounds like you're on the right track, trying various methods within your ladder program. The key thing here is to ensure proper MODBUS RTU settings for your RS485 connection. In your ladder program, you might want to incorporate READ/WRITE commands for communication with the Mypin LM8-RR4D. Remember, each device in your network should have a unique address, and baud rate should match on all devices. To retrieve the weight, you'd need to read the specific register(s) where your indicator stores weight information. Check your Mypin LM series manual for the specific register addresses. Also, consider regularly monitoring the COM port for successful data transfer. Stay persistent, PLC programming can be tricky but rewarding!
✅ Work Order Management
✅ Asset Tracking
✅ Preventive Maintenance
✅ Inspection Report
We have received your information. We will share Schedule Demo details on your Mail Id.
Answer: 1. How can I establish communication between the Xinje XD3-24RT PLC and the Mypin LM8-RR4D indicator using the RS485 protocol? - Answer: To establish communication, you need to ensure that the RS485 settings on both devices match, including baud rate, parity, data bits, and stop bits. Additionally, verify the cable connections and ensure proper configuration in the XD-Pro software.
Answer: - Answer: You can program the ladder logic to read the weight data from the load cell through the PLC's input modules, scale it accordingly using mathematical operations, and then send the scaled data to the indicator via RS485 communication for display.
Answer: - Answer: Some troubleshooting steps include checking the RS485 cable connections, verifying the communication settings, confirming the ladder logic program for any errors, and ensuring proper configuration of the PLC and indicator. You can also refer to the Mypin LM series manual for additional guidance.
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.