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

Signal conversion circuit from 0-10VDC to 4-20mA

Remote pressure gauges are often used in variable frequency water supply control systems, with resistance values ranging from 100 ohms to 500 ohms, corresponding to continuously changing pressure range values, such as 0-10mpa. This continuously changing resistor can be directly applied by serializing a larger resistor and applying a 0-10V signal to obtain the continuously changing voltage for use by the frequency converter, PLC, and other controllers. In practical engineering applications, 4-20mA has stronger anti-interference ability than 0-10VD, so it is often necessary to use 4-20mA signals for transmission control. At this time, resistance signals or voltage signals need to be converted into 4-20mA signals. Some frequency converter manufacturers have developed such water supply signal acquisition boards, and there are also related signal conversion boards on the market. These boards can be applied in various situations, not just constant pressure water supply control systems. The following are three conversion circuits for learning and reference.

A certain frequency converter manufacturer has developed a water supply substrate R/I conversion circuit board for this purpose, which converts the resistance change of the remote pressure gauge into a 4-20mA current signal and inputs it to the control terminal. This signal is compared with the given pressure signal (parameter setting value), automatically adjusting the output frequency of the frequency converter to maintain a constant pressure in the water supply network. A 4-20mA signal source circuit is actually a constant current source circuit with a large internal resistance, and the output current depends on the internal resistance, regardless of the external load resistance. In a closed circuit, even if the load resistance value is 0, the original output current value can still be maintained unchanged. T2 and T3 form two constant current source circuits, the former being a “constant” constant current source circuit and the latter being a “variable” constant current source electrical appliance. The 12V DC voltage from the CPU motherboard is transmitted through D1 C4 isolation and filtering become the power supply for the Vcc1 water supply substrate. R1 and TL431 further process Vcc1 into a reference voltage of 2.5V, which is then processed by TL431, operational amplifier circuit R2、Z2、 Internal resistance of remote pressure gauge T2 circuit, forming 2.5V/510 Ω=4 A constant current circuit of 9 mA. Due to Z1 The Z2 and T2 circuits have a constant current circuit of 4.9 mA, and the resistance change of the remote transmission pressure gauge is converted to the voltage change on the Z2 resistor. This pipeline pressure signal is input to pins 5 and 6 of the second stage operational amplifier circuit through R3. Second stage operational amplifier circuit T3 forms a “variable” constant current source circuit, where the change in resistance inside the remote pressure gauge is converted into signal voltage input to the two input terminals of the operational amplifier. This stage amplifier forms a constant current source circuit with deep negative feedback (amplification factor of 1), and the output current depends on the size of the resistance inside the remote pressure gauge. Z1 and Z3 are voltage embedded protection diodes for signal input and output terminals. The internal resistance of the current input terminals of the frequency converter is generally 250 Ω.
The bottom left image shows a dedicated signal conversion chip for 0-10V/4-20mA, with the chip model of AD694. The control terminal of the frequency converter itself has a 24V power supply, and the chip only needs to connect a current limiting resistor and a transistor to accurately convert the signal. The anti-interference performance of the chip is also relatively good; The bottom right image is a 0-10V/4-20mA signal conversion circuit composed of an operational amplifier circuit and discrete components. The circuit requires two power supplies and adjustment of the initial output current, which is relatively cumbersome and not widely used.

Posted on Leave a comment

High price cash recovery: used automation /engineering surplus materials

Cash high price recycling of various industrial control products. If you have inventory, second-hand, or engineering surplus industrial control products, such as VFDs, PLCs, touch screens, servo systems, CNC systems, robots, instruments, sensors, control panels, etc., regardless of quality or old, you can resell them to us, allowing them to be monetized in a timely manner and accelerating your capital recovery.

Since its opening, Longi Electromechanical has a development history of more than 20 years. The company adheres to the principle of “integrity-based, fair dealing between children and the elderly, and fair and conscientious management”, and takes every transaction seriously.

The procurement process follows the principles of “offering the best price”, “not letting partners suffer losses”, “confidentiality and security”, “fast and convenient”, “cash payment”, etc., to ensure that partners can trade with confidence.

With rich industry experience, we can quickly estimate a reasonable acquisition price online through the pictures or videos provided by our partners. After negotiating the price, transactions can be made through logistics collection, online payment, or face-to-face transactions.