background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

【2DI + 2AI + 4DO】MA02-AACX2240 User Manual

Copyright ©2012–2021

Chengdu Ebyte Electronic Technology Co.,Ltd.

40

address

code

address

bytes of data

data

(bit operation)

code

After sending the above command to the device via RS232, the device will return the following values:

20

0F

00 00

OO O4

XX XX

Device ModBus

address

Function

code

Register address

Number of coils

CRC check

code

The coils of DO2 and DO3 are turned on.

7.3.7 Read input register

Take the example of collecting the original values of 4 AI channels, use the 04 function code to read the original values
of the 4 AI channels.

20

04

00 00

00 04

XX XX

Device Modbus

address

Function

code

Initial

address

The number of AI channels is 4

CRC check code

After sending the above command to the device via RS232, the device will return the following values:

20

04

08

00 00 00 00 00 00 00 00

XX XX

Device Modbus

address

Function

code

Number of

data bytes

Raw value data of 4 AI

channels,Every 2 bytes of data

represents an AI channel data, where

the original value of each channel is

0,0,0,0 respectively

CRC check code

Содержание MA02-AAC 2240 Series

Страница 1: ...1 2DI 2AI 4DO MA02 AACX2240...

Страница 2: ...duct Features 14 4 1 Analog input AI 14 4 1 1 Analog input AI description 14 4 1 2 Analog input AI filter parameters 14 4 1 3 Analog input AI sampling range 14 4 1 4 Analog input AI raw value engineer...

Страница 3: ...ontrols high power 380V equipment 24 6 Software use 25 6 1 Software Installation 25 6 2 Software function introduction 25 6 2 1 IO Demo interface 26 6 2 2 Basic setting interface 29 6 2 3 Advanced set...

Страница 4: ...Reproduction use modification or disclosure to third parties of this document or any part thereof without the express permission of EBYTE is strictly prohibited The information contained herein is pr...

Страница 5: ...serial port to control 4 relay switch outputs DO 1 1 Brief Introduction Support Modbus RTU protocol Support various configuration software PLC touch screen RS232 acquisition and control IO DC 8 28V po...

Страница 6: ...networking device hereinafter referred to as IO device you need to prepare a computer converter power supply screwdriver and other related auxiliary materials details as follows Order Device Number 1...

Страница 7: ...1 After the equipment is powered on the power indicator POWER is always on and the equipment power supply is normal 2 Switch input DI wiring connect the control button to the switch input DI port as...

Страница 8: ...12 2021 Chengdu Ebyte Electronic Technology Co Ltd 8 2 3 Software settings 2 3 1 Device connection Figure 2 3 1 Software interface Steps 1 Open the serial port find the corresponding device port numbe...

Страница 9: ...rch Device and the log window on the right will start to refresh the search information After the connected device is displayed in the device column of the device window click the Stop Searching menu...

Страница 10: ...DO RS485 RS232 MA01 AXCX4020 4DI 2DO 4 way 2 way MA02 AXCX4020 4 way 2 way MA01 XACX0420 4AI 2DO 4 way 2 way MA02 XACX0420 4 way 2 way MA01 AACX2220 2DI 2AI 2DO 2 way 2 way 2 way MA02 AACX2220 2 way...

Страница 11: ...software 1 hardware 31 AI input AI channels 2way Acquisition range 0 20mA 4 20mA Resolution 12 bits Acquisition accuracy 3 Acquisition frequency 10 Hz Acquisition characteristics Single ended input in...

Страница 12: ...diagram Table3 3 1 Port Function Table number pin definition note 1 Power Suggest RVV 2 0 75 wire 2 Ground 3 B RX RS232 corresponds to RX Recommend RVSP 3 0 5 wire 4 A TX RS232 corresponds to TX 5 GND...

Страница 13: ...MA02 AACX2240 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 13 Figure 3 4 1 Dimensional drawing 3 5 Installation method The equipment supports positioning hole installatio...

Страница 14: ...will not return Wrong instruction 4 1 3 Analog input AI sampling range Set the sampling range of all AI channels valid values are 1 and 0 default 0 0 Represents 0 20mA 1 Represents 4 20mA 1 The AI sa...

Страница 15: ...ion register is 0x0258 0x025C The register type is holding register and the function code is 0x06 0x10 The calibration method can input an accurate current signal for the AI channel and write the valu...

Страница 16: ...llow DI Using C type relay output normally open normally closed the single channel output supports a maximum load contact capacity of 30V 10A or 250V 10A Each DO output is designed with an output indi...

Страница 17: ...The switch output DO terminal is consistent with the DI input terminal Note Multiple switch output DO terminals can be set to follow one DI input terminal and one switch output DO terminal can not be...

Страница 18: ...ware addresses and the binary system represents the 5 digit DIP switch The 5 direction indicates the low position and the 1 direction indicates the high position The hardware address range can be adju...

Страница 19: ...32 devices to connect to a single RS232 you need to set the software address offset address to realize a single bus to connect up to 247 devices After changing the address you need to power off and r...

Страница 20: ...er Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 20 5 Port wiring 5 1 Analog input AI port wiring 5 1 1 Two wire sensor wiring Figure 5 1 1 Two wire sensor wiring diagram 5 1 2...

Страница 21: ...al Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 21 5 1 3 Four wire sensor wiring Figure 5 1 3 Four wire sensor wiring diagram 5 2 Switch input DI port wiring 5 2 1 Two wire switch wi...

Страница 22: ...12 2021 Chengdu Ebyte Electronic Technology Co Ltd 22 Figure 5 2 2 Three wire switch wiring diagram 5 2 3 Three wire sensor wiring Figure 5 2 3 Three wire sensor wiring diagram 5 3 Switch output port...

Страница 23: ...3 1 The output terminal directly controls the load wiring diagram 5 3 2 Output terminal control contactor contactor controls high power 220V equipment Figure 5 3 2 Wiring diagram of output terminal c...

Страница 24: ...ectronic Technology Co Ltd 24 5 3 3 Output terminal control contactor contactor controls high power 380V equipment Figure 5 3 3 Wiring diagram of output terminal control contactor Remarks The above fi...

Страница 25: ...gdu Ebyte Electronic Technology Co Ltd 25 6 Software use 6 1 Software Installation The configuration tool software is driver free installation directly double click the exe file to open it and use it...

Страница 26: ...2 1 IO Demo interface Figure 6 2 1 Software IO demo interface 1 Device window Display the information of the currently connected device serial number device model device address firmware version Figu...

Страница 27: ...the running log information send and return data commands during the configuration and use of the device Figure 6 2 4 Log window interface 4 Switch input DI This function is limited to devices that su...

Страница 28: ...This function is limited to devices that support AI Display the status of the analog input AI port current amount engineering amount graphical needle indication Figure 6 2 6 Analog input AI interface...

Страница 29: ...g interface 1 Counting demonstration Display DI count information and clear settings This function is limited to devices that support DI Figure 6 2 9 Counting demo interface 2 DI related Set the DI fu...

Страница 30: ...n be set to follow one DI input terminal and one switch output DO terminal can not be set to follow multiple DI input terminals Follow mode is limited to devices that support DI Figure 6 2 11 DO Relat...

Страница 31: ...ace Support setting check digit can set check digit none odd check even check default no check Figure 6 2 16 Check Digit Setting Interface 6 3 Device status query The configuration software supports d...

Страница 32: ...MA02 AACX2240 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 32 Figure 6 3 1 Device status query IO demo interface 2 Basic setting interface Figure 6 3 2 Device status quer...

Страница 33: ...tatus query advanced setting interface 6 4 Equipment status control Device status control the device supports Modbus standard command control It also supports configuration software graphical control...

Страница 34: ...40 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 34 Method 2 Input command control Device address 1 Function open DO 1 output Sending 01 05 00 00 FF 00 8C 3A including CRC...

Страница 35: ...iting the state of the DO is the set state after the next restart 0x01 0x05 0x0F 10000 0x0000 4 DI value RW 0x00 0xFF represents the current level signal of DI 0x02 42527 0x09DF 4 DI count value RW 0x...

Страница 36: ...umber 0x03 42014 0x07DE 10 Module name RW The name can be up to 20 bytes long including 0 0x03 0x06 0x10 42027 0X07E8 1 Module software address RW 0x01 0xE0 0x03 0x06 0x10 42025 0X07E9 1 Restore defau...

Страница 37: ...all AI channels RW 1 16 0x03 0x06 0x10 41202 0x04B2 1 Sampling range of all AI channels RW 0x0000 0x0001 0x0000mea ns0 20mA 0x0001means 4 20mA 0x03 0x06 0x10 7 3 Instruction format partial 7 3 1 Read...

Страница 38: ...ned data CRC check code The above 00 00 indicates that DO1 is in level mode 7 3 3 Write a single holding register Use 06 function code to write a single holding register for example set the working mo...

Страница 39: ...0578 as the starting address are 0x0001 0x0002 0x0003 and 0x0000 respectively 7 3 5 Write the status of a single DO coil Use 05 command to write a single command for example set the working mode of DO...

Страница 40: ...n 7 3 7 Read input register Take the example of collecting the original values of 4 AI channels use the 04 function code to read the original values of the 4 AI channels 20 04 00 00 00 04 XX XX Device...

Страница 41: ...o Ltd Revise history Version Revision date Revision description Maintenance man 1 0 2021 08 30 Initial version LC About us Technical support support cdebyte com Documents and RF Setting download link...

Отзывы: