Posted on Leave a comment

Communication Application of Mitsubishi FX2NPLC and Mitsubishi VFD ModbusRTU Protocol

Modbus is a serial communication protocol invented by Modicon for the communication between its PLC and the host. Its physical layer adopts asynchronous serial standards such as RS232 and 485. Due to its openness, it is widely adopted by PLC and RTU manufacturers. The Modbus communication method adopts a master-slave query corresponding mechanism. Only when the master station sends a query, the slave station can provide a response, and the slave station cannot actively send data. The master station can send queries to a certain slave station or broadcast information to all slave stations. The slave station only responds to queries sent to it separately, and does not respond to broadcast messages. There are two transmission methods for MODBUS communication protocol: RTU mode and ASCII mode. The Mitsubishi 700 series frequency converter can use the ModbusRTU communication protocol from the RS-485 terminal for communication operation and parameter settings.

Object:

  1. Mitsubishi PLC: FX2N+FX2N-485-BD
  2. Mitsubishi frequency converter: F700 series, A700 series.
    The two are connected through Ethernet cables, as shown in the following figure.

Connection diagram between FX2N-485-BD and n VFDs

1、 Setting up Mitsubishi frequency converters
When communicating between PLC and frequency converter, the communication specifications must be set in the frequency converter. After each parameter initialization setting, the frequency converter needs to be reset or the power supply of the frequency converter needs to be turned on and off.
Parameter Number Name Setting Value Description
Pr331 communication station number 1 sets the frequency converter station number to 1
Pr332 communication speed 96, set communication speed to 9600bps
Pr334 parity check stop bit length 2 even check, stop bit length 1 bit
Pr539 communication verification time 9999 does not perform communication verification
Pr549 protocol selection 1 ModbusRTU protocol
Pr551 PU mode operation right selection 2 PU operation mode operation right as PU interface
When communicating with ModbusRTU protocol, Pr551 must be set to 2, Pr340 is set to a value other than 0, Set Pr79 to 0, 2, or 6. When using the RS-485 terminal for ModbusRTU protocol communication, it must be running in NET network mode.

2、 Settings of Mitsubishi PLC
Set communication format D8120
The setting value of D8120 is 0C87, which means the data length is 8 bits, the parity stop bit is 1 bit, the baud rate is 9600pbs, and there is no header or terminator.
After modifying the D8120 settings, ensure that the PLC power is turned on and off once.

3、 Communication program
The partial PLC program that uses ModbusRTU protocol to communicate with the frequency converter is as follows:

Posted on Leave a comment

Converting 0-10VDC to 4-20mA for Robust Signal Transmission in Water Supply Systems

In variable frequency water supply control systems, remote pressure gauges play a crucial role in monitoring and maintaining consistent pressure levels. These gauges often exhibit resistance values ranging from 100 to 500 ohms, which correspond to a continuous pressure range, such as 0-10 MPa. Traditionally, this variable resistance can be utilized by series connecting a larger resistor and applying a 0-10V signal. This setup produces a continuously varying voltage that is suitable for frequency converters, PLCs, and other control devices. However, in practical engineering applications, 4-20mA signals are preferred over 0-10V due to their enhanced resistance to interference. Consequently, converting resistance or voltage signals into 4-20mA signals becomes essential for reliable transmission and control.

To address this need, several frequency converter manufacturers have developed specialized water supply signal acquisition boards. These boards are not limited to constant pressure water supply systems and can be applied across various industrial scenarios. Below, we explore three conversion circuits that serve as valuable learning resources and references.

One notable solution is a water supply substrate R/I conversion circuit board designed by a leading frequency converter manufacturer. This board effectively transforms the resistance changes from a remote pressure gauge into a 4-20mA current signal, which is then fed into the control terminal. By comparing this signal with a预设 pressure value, the frequency converter automatically adjusts its output frequency to ensure constant pressure in the water supply network.

The 4-20mA signal source circuit essentially functions as a constant current source with high internal resistance. The output current remains consistent, regardless of the external load resistance. Within this circuit, T2 and T3 form two constant current source circuits: T2 acts as a “fixed” constant current source, while T3 operates as a “variable” one.

The circuit is powered by a 12V DC voltage from the CPU motherboard, which undergoes isolation and filtering through D1 and C4 before reaching the Vcc1 water supply substrate. Further processing by R1 and TL431 converts Vcc1 into a 2.5V reference voltage. This voltage is then used in conjunction with the TL431, operational amplifier circuit (comprising R2, Z2, and the internal resistance of the remote pressure gauge), and the T2 circuit to create a constant current circuit of approximately 4.9 mA.

The resistance changes in the remote pressure gauge are translated into voltage variations across the Z2 resistor. This pressure signal is subsequently input into the second-stage operational amplifier circuit (pins 5 and 6) via R3. The T3 circuit forms the “variable” constant current source, where changes in the gauge’s internal resistance are converted into signal voltage inputs for the operational amplifier. This stage, with deep negative feedback (an amplification factor of 1), maintains a constant current source circuit. The output current is directly dependent on the gauge’s internal resistance.

For enhanced protection, Z1 and Z3 are voltage-embedded protection diodes at the signal input and output terminals. Typically, the internal resistance of the frequency converter’s current input terminals is 250 ohms.

Alternatively, dedicated signal conversion chips, such as the AD694, simplify the conversion process. These chips require only a current-limiting resistor and a transistor to accurately convert 0-10V signals to 4-20mA. With the control terminal of the frequency converter powered by a 24V supply, these chips offer excellent anti-interference performance.

A third option involves constructing a 0-10V/4-20mA signal conversion circuit using an operational amplifier circuit and discrete components. However, this approach necessitates two power supplies and initial output current adjustments, making it less practical and less commonly used.

In conclusion, converting 0-10VDC to 4-20mA signals is crucial for ensuring robust and interference-resistant transmission in water supply control systems. The described circuits and solutions provide effective means of achieving this conversion, catering to various industrial applications and requirements.

Posted on Leave a comment

Looking to Sell Used Industrial Control Products? Get High-Price Cash Recovery with Longi Electromechanical!

Do you have surplus or second-hand industrial control products lying around, such as VFDs, PLCs, touch screens, servo systems, CNC systems, robots, instruments, sensors, or control panels? Longi Electromechanical is here to help you monetize your inventory quickly and efficiently, regardless of its condition or age.

With over 20 years of experience in the industry, Longi Electromechanical has built a reputation for integrity, fair dealing, and conscientious management. We take every transaction seriously and strive to offer the best possible prices to our partners.

Our procurement process is designed to be fast, convenient, and secure. We follow strict principles of confidentiality and security, ensuring that your transactions are handled with the utmost care. We offer cash payments and can even estimate a reasonable acquisition price online through pictures or videos provided by you.

Whether you prefer logistics collection, online payment, or face-to-face transactions, we’re here to accommodate your needs. So why wait? Contact Longi Electromechanical today and start accelerating your capital recovery with our high-price cash recovery services for used industrial control products!

Longi Electromechanical: Your Trusted Partner for Industrial Control Product Recycling.