Summary of application of initial configuration technology for data collector
Post date:2018-09-28 10:11:48    View: times    

Currently, AD (4-20ma to rs232/485) or DA (rs232/485 to rs232/485) data acquisition products on the market are generally software compiled by the manufacturer or industry standards, which generally support Modbus RTU bus communication protocol.However, for some users who need to reconfigure the data collection products according to the field use situation, they often need to rewire and issue commands to modify the configuration step by step, which may sometimes encounter some technical problems.When the customer is unable to solve the problem, our after-sales technical service engineer can provide remote assistance through the network, but the premise is that the field wiring should be correct and the power supply should match the normal operation of the product.Give examples of solutions to problems frequently encountered in customer feedback and matters needing attention on site.

 

1. Power supply selection: please select dc stabilized power supply. When the product is normally supplied, the power indicator will be on.

This is a necessary prerequisite for the next step. If the power indicator is off, the product will not work.Please check whether the power supply is dc stabilized or whether the voltage is within the rating range.

Case: the customer reported that the product did not reply. After looking at the picture, it was found that the power indicator of the product was not on.

 

2. Selection of communication interface: RS232 or RS485 communication interface, in which the user can only choose the communication interface access module of one way standard.

For the selection of RS232 communication interface, three line pairs should be connected to TXD, RXD and GND.For the selection of RS485 communication interface, the converter of RS232 to RS485 should be prepared, and the two lines of RS485 should correspond to 485+ and 485-. When wiring, it is necessary to pay attention to the one-to-one correspondence between the port and the external connection, and the connection cannot be wrong.

Case: the customer reports that the product has no signal output. After looking at the picture, it is found that the connection of RS232 is connected to the terminal of RS485. This problem often occurs.

 

3. Enter the operation of configuration mode.

After the CONFIG terminal is short-circuited to the ground wire (GND terminal), the power is switched on, at which time the module enters the configuration state.In this state, the module is configured as follows:

The address code is 00H

Baud rate is 9,600 BPS

Check sum forbidden

ASCII character communication protocol

At this time, the parameters such as baud rate, verification and state of the module can be modified by the configuration command, or the communication protocol can be selected by setting the communication protocol command of the module.When you are not sure about the specific configuration of a module, you can also install the configuration jumper at the CONFIG connector and reconfigure the module when it enters the configuration state.

 

4. Choice of communication protocol.

A communication protocol can be likened to a language. To communicate, you have to have the same language.There are two communication protocols available for shunyuan technology products, namely character protocol and RTU protocol.To configure which protocol, you must select the corresponding communication protocol.

Case: the customer reported that the data could not be saved when the product was configured.After checking, the client chose to set the communication as RTU after the character protocol was configured, but did not reply when the serial software was tested.This is the phenomenon that some users often feedback that the protocol is configured to check later but do not reply.

 

Shunyuan data acquisition product software configuration reference technical data

The ISO 4021 series/ISO DA series/ISO AD series/SY AD series/PIM series data collector, data converter and data acquisition variable meter products manufactured by shunyuan technology can not only set the communication protocol through the software, but also allow users to reconfigure the module's address, baud rate, verification status and data format.

 

When the module's communication protocol, baud rate, address and other parameters need to be set, the CONFIG foot must be connected with the ground to enable the module to enter the configuration state, and then the corresponding setting can be made.After the initialization is completed, when the module normally communicates with the host, please remove the short connection between CONFIG pin and the earthing terminal.

 

Data collector communication protocol setting method (ASCII/MODBUS RTU)

SunYuan 4-20ma analog conversion RJ45/RS232/RS485 AD conversion multipath data collector, and RS232/RS485 conversion 4-20ma analog signal DA series data collector products, fully support ASCII characters or MODBUS RTU communication protocol, users can be programmed to calibrate module accuracy, programming set module address and baud rate.The software can be configured to collect various types of sensor signals to PLC, DCS or computer to monitor the use environment or control remote devices.

 

Products are widely applied to Ethernet iot RJ45 interface amount of analog and digital data collection, RS232 / RS485 interface, field bus, industrial automation control system, various sensors analog signal measurement, monitoring and control, small signal measurement accuracy (is higher than 0.05%) and industrial field signal transmission with long term without distortion, the anti interference isolation remote monitoring, etc.

 

Users can set the product to ASCII characters or MODBUS RTU communication protocol according to the needs of external communication devices.Take the ISO 4021 series data collector products as an example, and describe how to set up ASCII characters or MODBUS RTU communication protocol through field wiring diagrams.Setting of other (SY AD series/ISO AD series) data acquisition products is similar to ISO 4021 series products. Please refer to the setting method of ISO 4021.

 

Setup steps:

1. Connect the power supply and communication line of ISO 4021 product (take RS485 as an example), and short-connect 7 and 8 pins (as shown in the figure) 

 


In the figure, the 5-pin and 6-pin external power supply of ISO4021 is 8-50v. When the communication interface is selected as RS485, the positive and negative signals of RS485 are respectively connected to the DATA+ and data-interface of the product, and RS232 and RS485 cannot work simultaneously.The 8th pin is to configure port CONFIG. When setting the communication protocol, please connect CONFIG pin with 7 pin.

 

2. Software Settings (users can set it as ASCII character protocol or MODBUS RTU protocol, which are described below)

1.Set ISO 4021 product to ASCII character protocol

As shown in the figure below, open the software "SunYuan Test", software download address: http://www.sun-yuan.com/download/soft.asp

Select the communication serial port (selected according to the actual serial port of the user's computer) and the baud rate of 9600, enter the command "$00P0", and click send command, if the received data window replies "!00 "has been successfully set to ASCII character protocol.

Then turn off the power and remove the short connection between 7 and 8 pins (if no reply, please check carefully whether the connection and communication port are connected correctly).

 


In the figure, "serial port selection /COM" is selected based on the actual serial port of the user's computer, not necessarily COM6.

"Baud rate choice/Baud" can choose one of 1200/4800/62500/9600/19200, the faster the Baud rate, the greater the communication.

 

2.Set the ISO 4021 product to MODBUS RTU protocol

As shown in the figure below, open the software "SunYuan Test", software download address: http://www.sun-yuan.com/download/soft.asp

Select the communication serial port (selected according to the actual serial port of the user's computer) and the baud rate of 9600, enter the command "$00P1", and click send command, if the received data window replies "!"Then MODBUS RTU protocol has been successfully set.

Then turn off the power and remove the short wiring between the 7 and 8 legs.(if no reply, please carefully check whether the connection and communication port are correctly connected).

In the figure, "serial port selection /COM" is selected based on the actual serial port of the user's computer, not necessarily COM6.

"Baud rate choice/Baud" can choose one of 1200/4800/62500/9600/19200, the faster the Baud rate, the greater the communication.

 

 

Bus and Ethernet data acquisition shunyuan technology patent products reference technical data

1. ISO 4021 series: 4-20ma / 0-5v to RS485/RS232, analog quantity (AD conversion) data collector.http://www.sun-yuan.com/download/html/DownDetail_55.html (DIN35 guide installation)

 

2. ISO DA series: RS485/RS232 to 4-20ma / 0-10v, digital quantity (DA conversion) data collector.http://www.sun-yuan.com/download/html/DownDetail_35.html (DIN35 guide installation)

 

3. ISO AD02/04/08/16 series: 4-20ma to RS232, multi-channel isolation analog data collector.http://www.sun-yuan.com/download/html/DownDetail_12.html (DIN35 guide installation)

 

4, ISO AD08 series: 100 ~ 1800 ℃ RS485 / RS232, multiscale high precision thermocouple signal data collector.http://www.sun-yuan.com/download/html/DownDetail_27.html (DIN35 guide installation)

 

5. SY AD 08-rj45 series: 4-20ma to RJ45, Internet of things, Ethernet analog and digital data collector.http://www.sun-yuan.com/download/html/DownDetail_66.html (DIN35 guide installation)

http://www.sun-yuan.com/download/html/DownDetail_81.html

 

6. ISO 4021/ISO DA (LED1) series: analog signal and bus isolation conversion, intelligent display control data collector.http://www.sun-yuan.com/products/html/PDetail_127.html (DIN35 guide installation)

http://www.sun-yuan.com/products/html/PDetail_128.html

 

7, PIM LED7 series: analog signal with the bus and Ethernet isolation transformation shows that multifunctional data acquisition smart transmitting table embedded installation (panel) http://www.sun-yuan.com/products/html/PDetail_141.html


Latest Technical News
Copyright ©2002-2018 Sunyuan Corporation. All rights reserved. SHENZHEN SUNYUAN TECHNOLOGY CO., LTD. Address: 2nd Floor, Building#6, Dongyi Industrial Park, Zhonghuan Road, Minzhi St. Longhua New District, Shenzhen, 518109, China. Tel: +86-755-83100080 83100110 Fax : +86-755-83116652 Email: sy@sun-yuan.com