Welcome Customer !

Membership

Help

Beijing Juying Soaring Electronics Co., Ltd
Custom manufacturer

Main Products:

pharmamach>Products

Beijing Juying Soaring Electronics Co., Ltd

  • E-mail

  • Phone

  • Address

    Room 401, Science and Trade Building, Shangdi Nankou, Haidian District, Beijing

Contact Now

2-channel data acquisition controller DAM0222-TA

NegotiableUpdate on 03/26
Model
Nature of the Manufacturer
Producers
Product Category
Place of Origin

Overview

1、 Product features: DC5V/7-30V power supply is optional; Relay output contact isolation; The communication interface supports isolated RS485; Communication baud rate: 2400480096001920038400 (can be modified through software, default)

Product Details

1Product Features

lDC5V/7-30VPower supply optional;

lRelay output contact isolation;

lCommunication interface supportquarantineRS485;

lCommunication baud rate:2400,4800,9600,19200,38400(Can be modified through software, default)9600);

lCommunication protocol: Supports standardsmodbus RTUagreement;

lCan be set1-255A device address,5The address dip switch can be set1-31Address code, greater than31It can be set up through software;

lEquipped with flashing and breaking functions, it can include parameters in the command and operate the relay to automatically turn off after a period of time;

lEquipped with strobe function, it can control the periodic switching of relays.

IIPRODUCT FUNCTION

lTwo way relay control;

ltwoRoad switch input;

lTwo channel analog input;

lSupport manual control through computer software.

IIIProduct Selection


4Parameters

5Interface Description

6、 Communication wiring instructions

7、 Input/outputwire connection

1、Schematic diagram of switch wiring

Passive input wiring diagram

Active input wiring diagram

2、Relay wiring instructions

3、Analog wiring diagram

①Collected by devicesThe relationship between AI data and actual input values:

actual value=Return value * 0.001

8Test software description

1、Software Download

Software download link address:http://www.juyingele.com.cn/software/software/Juying SoarsDAMdebuggingSoftware usage tutorial.rar

2、Interface


Software functions:

lRelay status inquiry

lRelay independent control

lAnalog reading

lSwitch status query

lDebugging information query

lChange of working mode

lSetting of offset address

lRelay overall control

3、Communication testing

①Select the current serial port number of the device and open the serial port;

②Select the corresponding product model;

③Change the device address to254Click on "Read Address", and the software will prompt "Read Successful" at the bottom. The device address read is“0”If the sending and command in the lower right corner of the software are correct, it indicates that the device has successfully communicated with the computer.


4Explanation of Analog Data

DAMThe query speed of the debugging software is3sAfter connecting the input signal, you can immediately view the input status and data by clicking on the read optocoupler or read analog quantity.

In softwareAIThe relationship between data and actual input values:

actual value=return value*0.001

9Working mode functions and settings

1、Device Address

1.1、Introduction to device address

DAMThe default address for the series of devices is1Using the broadcast address as254Communicate.

The device address is set through a dip switch.

1.2Address of dip switch

1All five dialing codes have been dialed“ON”When it comes to location, it is the address“32”;

2All five dialing codes have been dialed“OFF”When it comes to location, it is the address“1”;

3far left1It is the lowest binary bit.

4Address Table:

1.3、Reading and Setting of Baud Rate

Click on the baud rate setting bar belowRead "and" Set "can respectively read and set the baud rate and address. After the operation, the device needs to be restarted and the computer serial port settings need to be modified.

2、Flash on/off function and settings

2.1、Introduction to the Flashing and Breaking Function

Manual mode: For each operation of the relay, the relay will flip once (open when closed, close when open);

Flashing mode: The relay closes every time it is operated1Second (actual time in seconds)=Set numbers*0.1)Then disconnect it on its own;

Flashing mode: The relay will disconnect every time it is operated1.Close automatically after seconds (adjustable time);

2.2、Flashing and disconnecting settings

open“Juying SoarsDAMdebuggingsoftware”Click the dropdown arrow after the relay mode to select the mode. (The later time can be set by yourself, the actual time=Fill in numbers*0.1(Unit: seconds)

Note: The flashing and disconnecting mode cannot be written into the device chip. After selecting the flashing and disconnecting mode in the software, all channels are in flashing and disconnecting mode. Single channel control can be achieved by sending a flashing and disconnecting command for a single channel, without affecting the normal control of other channels.

10、 Development documentation description

1、communicationProtocol Specification

This product supports standardsmodbusInstructions, for detailed instruction generation and parsing methods, please refer to the register table in this article for reference《MODBUSChinese version of the agreement(Provided in product related downloads)Just enough.

This product supportsmodbus RTUFormat.

2、ModbusRegister Description

This control card is mainly a coil register, which mainly supports the following instruction codes:1、5、15

Coil register address table:


remarks:

①:ModbusThe device instructions support the followingModbusAddress:

00001to09999It is a discrete output(coil)

10001to19999It's a discrete input(contact)

30001to39999It's an input register(Usually an analog input) 40001to49999It's to keep the register(Usually storing device configuration information)

use5Bit code format, the first character determines the register type, and the rest4A character represents the address. address1follow0At the beginning, as00001corresponding0000.

② Table of baud rate values correspondence

3、Instruction generation instructions

Application example and explanation: In addition to offset address, the local address also has default settings254For the broadcast address. When there is only one device on the bus, there is no need to worry about the dip switch address, and it can be used directly254The address is sufficient. When there are multiple devices on the bus, different addresses can be selected through the dip switch, and control instructions can be sent through address differentiation.

be careful:RS232The bus is1answer1Bus, which means there can only be two devices on the bus, such as a computer and a relay board485Only a bus can mount multiple devices.

Instructions can be obtained throughJu Ying SoarsDAMDebugging software ", to obtain debugging information.

Instruction generation instructions: For instructions not listed in the table below, users can generate them themselves according to the instructions providedmodbusProtocol generation, for the reading and writing of relay coils, is actually aboutmodbusThe reading and writing of the coil register in the register. The address of the relay register has been explained in the previous text, and users only need to generate read and write instructions for the register operation. For example, reading or writing relays1The state is actually related to the relay1Corresponding coil register00001Read and write operations.

4、instruction list

5、Instruction Explanation

5.1、Relay

control1Road relay(Taking the first channel as an example, refer to this example for other channels)

Send code:FE 05 00 00 FF 00 98 35

Relay card return information:

Return code:FE 05 00 00 FF 00 98 35

5.2、relay status

query2-channel relay

Send code:FE 01 00 00 00 02A9 C4

Relay card return information:

Return code:FE 01 01 00 61 9C

5.3、Optocoupler input

Query optocoupler(2Road optical coupling

Send command code:FE 02 00 00 00 04 6D C6

Optocoupler return information:

Return code:FE 02 01 00 91 9C

5.4、Analog quantity query

Query analog data(2-channel 4-20mA)

The relationship between the obtained analog data and the actual input value is: actual value=return value*0.001

Send command code:FE 0400 00 00 02 65C4

Return information:

Return code:FE 04 04 00 00 00 00 F4 8B

5.5、Flash open/close command

Analysis of Flash Open and Flash Close Instructions

Flash development code:FE 10 00 0300 02 04 00 04 00 0A41 6B

Flashing sending code:FE 10 00 03 00 02 04 00 02 000A A1 6A

Return code:FE 10 00 03 00 02 A5 C7

5.6、Fully open and fully close command

Fully open and fully closedInstruction parsing

completeDevelopment code submission:FE 0F 00 00 00 02 01 FF D1 D3

Completely cut offSend code:FE 0F 00 00 00 02 01 00 91 93

Completely cut offopenreturnCode:FE 0F 00 00 00 02 C0 05

11Common problems and solutions

1Relays can only be turned on, not off

Check if the read address is the actual device address, whether there is a return command in the debugging information column, and whether the return command is correct. If the read address fails, there is no return command, or the return command is abnormal, check the communication line and communication converter

2485 busWhen multiple devices are attached, each device address cannot be the same, and broadcast addresses cannot be used254 is used for communication.

The broadcast address can be used when there is only one device on the bus, greater than1Please use dip switches to distinguish addresses when controlling individual devices, otherwise instructions may not be executed correctly due to asynchronous judgment of communication data by the module.

tentwoTechnical support contact information

contact number:010-82899827/1-803

contactQQ:2984784459 3323725294