background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

【4AI+4DO】MA02-XACX0440

User Manual

Copyright ©2012–2021

Chengdu Ebyte Electronic Technology Co.,Ltd.

33

0000

current level signal of DI.

(41204)0x

04B4

4

DI count value

RW

0x0001-0x0008,

writing

means the initial value of

the set count, reading

means reading the already

counted value.

0x03

0x06

0x10

(41400)0x

0578

4

DO

working

mode

RW

0x0000-0x0002, 0x0000

level mode (default mode),

0x0001

pulse

mode,

0x0002 follow mode.

0x03

0x06

0x10

(41500)0x

05DC

4

DO pulse width

RW

0x32-0xFFF (50-65535),

the duration of the pulse,

in ms.

0x03

0x06

0x10

(41318)0x

0526

4

DI

counting

method

RW

0x0000-0x0002, 0x0000

means rising edge count,

0x0001 means falling edge

count, 0x0002 means level

count.

0x03

0x06

0x10

(41304)0x

0518

4

DI count value

clearing method

RW

0x0000-0x0001,0x0000

automatic clearing mode,

0x0001 manual clearing.

0x03

0x06

0x10

(41311)0x

051F

4

Set the clearing

method

RW

0x0001-0x00FF

0x03

0x06

0x10

(41600)0x

0640

4

Set DO follow

channel

RW

0x0001-0x0008, 0x0001

represents the first input.

0x03

0x06

0x10

(42000)0x

07D0

7

Module model

R

See model definition table. 0x03

(42012)0x

07DC

2

Firmware version

R

Firmware version number. 0x03

(42014)0x

07DE

10

Module name

RW

The name can be up to 20

bytes long, including "\0".

0x03

0x06

0x10

(42027)0X

07E8

1

Module software

address

RW

0x01-0xE0

0x03

0x06

0x10

(42025)0X

07E9

1

Restore

default

parameters

RW

Write 5BB5, and the set

parameters will be restored

to the default parameters.

0x03

0x06

0x10

(42026)0x

07EA

1

Device restart

RW

Write 5BB5, the device

will restart immediately

0x03

0x06

0x10

(42100)0x

0834

1

Baud rate code

RW

The default value is

0x0003, which is 9600.

0x0000, which is 1200;

0x03

0x06

0x10

Summary of Contents for MA02-XACX0440

Page 1: ... 4AI 4DO MA02 XACX0440 ...

Page 2: ... settings 9 2 3 1 Device connection 9 2 3 2 Equipment test 10 3 Product description 11 3 1 Model Specification 11 3 2 Technical Parameter 11 3 3 Port Description 13 3 4 Dimensions 14 3 5 Installation method 14 4 Product Features 15 4 1 Analog Input AI 15 4 1 1 Analog input AI description 15 4 1 2 Analog input AI filter parameters 15 4 1 3 Analog input AI sampling range 15 4 1 4 Analog input AI raw...

Page 3: ...contactor contactor controls high power 22 220V equipment 22 5 2 3 Output terminal control contactor contactor controls high power 380V equipment 23 6 Software use 24 6 1Software Installation 24 6 2Software function introduction 25 6 2 1 IO demo interface 25 6 2 2 Basic setting interface 27 6 2 3 Advanced settings interface 29 6 3Device status query 30 6 4Equipment status control 31 7 Modbus use 3...

Page 4: ...Chengdu Ebyte Electronic Technology Co Ltd 4AI 4DO MA02 XACX0440 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 3 Revision history 38 About us 38 ...

Page 5: ...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 provided as is and EBYTE assumes no liability for the use of the information No warranty either express or implied is given including but not limited with respect to the accuracy correctness reliability ...

Page 6: ...ealizes the remote acquisition and control function by issuing commands through the serial port to control 4 relay switch outputs DO 1 2 Features Support Modbus RTU protocol Support various configuration software PLC touch screen RS232 acquisition and control IO DC 8 28V power supply 4 analog inputs AI 0 20mA 4 20mA 4 switch output DO relay Switch output DO supports level mode and pulse mode Input...

Page 7: ...ereinafter referred to as IO device you need to prepare a computer converter power supply screwdriver and other related auxiliary materials details as follows Table 2 1 1 Preparation list Serial Number Device Quantity 1 IO device 1 2 USB to serial converter 1 3 Configuration tool software 1 4 Computer 1 5 Power adapter 12V 1A 1 6 Screwdriver Slot SL 2 1 7 Signal generator or sensor 1 2 2 Equipment...

Page 8: ... 2 2 Communication RS232 wiring diagram 2 2 3 Overall wiring diagram 1 After the equipment is powered on the power indicator POWER is always on and the equipment power supply is normal 2 Analog input AI wiring connect the signal generator to the analog input AI port as shown in the figure 3 Switch output DO wiring connect the load to the switch output DO port as shown in the figure ...

Page 9: ...Chengdu Ebyte Electronic Technology Co Ltd 4AI 4DO MA02 XACX0440 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 8 Figure 2 2 2 Overall wiring diagram ...

Page 10: ...serial port find the corresponding device port number the baud rate defaults to 9600 and click open serial port Figure 2 3 2 Open the serial port 2 In the device window click Search 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 Then select the device...

Page 11: ...nology Co Ltd 4AI 4DO MA02 XACX0440 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 10 Figure 2 3 3 Connecting the device 2 3 2 Equipment test Figure 2 3 4 Equipment test Figure 2 3 5 Actual test results ...

Page 12: ...X0420 4 2 MA01 AACX2220 2DI 2AI 2D O 2 2 2 MA02 AACX2220 2 2 2 MA01 AXCX4040 4DI 4DO 4 4 MA02 AXCX4040 4 4 MA01 XACX0440 4AI 4DO 4 4 MA02 XACX0440 4 4 MA01 AACX2240 2DI 2AI 4D O 2 2 4 MA02 AACX2240 2 2 4 MA01 XXCX0080 8DO 8 MA02 XXCX0080 8 3 2 Technical Parameter Table 3 2 1 Technical parameters Category Name Parameter Power Supply Operating Voltage Direct current 8 28V Working current 50mA 12V Po...

Page 13: ...isition frequency 10 Hz Acquisition characteristics Single ended input input resistance 100Ω DO Output Number of DO 4 way DO output type Type C relay normally open normally closed DO output mode Level mode pulse mode Relay contact capacity 30V 10A 250V 10A Output indication Red LED indication Other Product Size 115 mm 90 mm 40mm Length width height product weight 160g 5g Working temperature and hu...

Page 14: ...responds to RX external connection needs to be crossed Recommend RVSP 3 0 5 wire 4 A TX RS232 corresponds to TX external connection needs to be crossed 5 GND Signal ground 6 COM Input channel common Recommend RVV 2 0 5 wire 7 AI1 Analog input channel 1 8 AI2 Analog input channel 2 9 AI3 Analog input channel 3 10 AI4 Analog input channel 4 11 DO1 Switch output channel 1 The relay has normally open ...

Page 15: ... XACX0440 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 14 3 4 Dimensions Figure 3 4 1 Dimensions 3 5 Installation method The equipment supports positioning hole installation or guide rail method Figure 3 5 1 Installation method ...

Page 16: ...s not within the range of 1 16 it will automatically take the closest value to write If the write filter parameter is 0 the device will take 1 as the filter parameter and Modbus 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 sampling range is shared ...

Page 17: ...rent is 0 25000 corresponding to 0 25mA which is Current Engineering Value 1000 4 1 5 Analog input AI calibration When reading the AI measurement current when the error is large it can be calibrated by setting the high point calibration register and low point calibration register of each channel Each channel of AI has an independent high low point calibration register The address of the high point...

Page 18: ...mode Output according to the level set by the user The switching characteristics of the level mode are similar to the function of a self locking switch 2 Pulse mode After the switch output DO is turned on the set pulse width time in ms is maintained and the switch output DO is automatically turned off The pulse width setting range is 50 65535 default 50 3 Follow mode After the user sets the follow...

Page 19: ...ffset address set by the configuration tool software the factory default is 1 For example If the hardware address is set to 5 and the software address is set to 113 the device address is 118 4 3 2 Hardware address dip switch Figure 4 3 2 Hardware address Dip switch Hardware address The DIP switch can switch different hardware addresses and the binary system represents the 5 digit DIP switch The 5 ...

Page 20: ...le bus can be connected to a maximum of 32 devices just set the hardware address If you need more than 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 restart the new address to take effect 4 3 3 Software address offset address Software address The u...

Page 21: ...02 XACX0440 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 20 Figure 4 3 7 Software address offset address 5 Port wiring 5 1Analog input AI port wiring 5 1 1 Two wire sensor wiring Figure 5 1 1 Wiring diagram of two wire sensor ...

Page 22: ...O MA02 XACX0440 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 21 5 1 2 Three wire sensor wiring Figure 5 1 2 Wiring diagram of three wire sensor 5 1 3 Four wire sensor wiring Figure 5 1 3 Wiring diagram of four wire sensor ...

Page 23: ...controls the load small power equipment within 1kW Figure 5 2 1 The output terminal directly controls the load wiring diagram 5 2 2 Output terminal control contactor contactor controls high power 220V equipment Figure 5 2 2 Wiring diagram of output terminal control contactor Remarks The above figure takes the contactor coil voltage AC 220V as an example The coil voltage of different contactors may...

Page 24: ...ctronic Technology Co Ltd 23 5 2 3 Output terminal control contactor contactor controls high power 380V equipment Figure 5 2 3 Wiring diagram of output terminal control contactor Remarks The above figure takes the contactor coil voltage AC 220V as an example The coil voltage of different contactors may be different ...

Page 25: ...du Ebyte Electronic Technology Co Ltd 24 6 Software use 6 1Software Installation The configuration tool software is driver free installation directly double click the exe file to open it and use it Figure 6 1 1 Software installation file Figure 6 1 2 Successful software installation opens the interface ...

Page 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 Figure 6 2 2 Device window interface 2 Serial port parameter window Display the serial port parameter information port baud rate data bit parity bit stop bit etc and open the serial port ...

Page 27: ...s 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 support DI Display the status of the digital input DI port Figure 6 2 4 Switch input DI interface 5 Switch output DO Display the status of the switch output DO port and graphically set the switch output DO port on and off Figure 6 2 5 Switch output DO interf...

Page 28: ...nt quantity engineering quantity graphical needle indication Figure 6 2 6 Analog input AI interface 7 Refresh settings Support manual refresh automatic refresh status The automatic refresh state can customize the refresh cycle the custom cycle is a multiple of 500ms Figure 6 2 7 Refresh setting interface 6 2 2 Basic setting interface Figure 6 2 8 Basic setting interface 1 Counting demonstration ...

Page 29: ...edge level and clearing method automatic manual This function is limited to devices that support DI Figure 6 2 10 DI related interface 3 DO related Set the DO function set the working mode level mode pulse mode follow mode set the pulse width only in pulse mode DO power on state on off follow source follow setting DIx Note Multiple switch output DO terminals can be set to follow one DI input termi...

Page 30: ...offset address software address read parameters open write protection close write protection restart the module and restore factory settings Figure 6 2 13 Device setting interface 2 Device serial port settings Support setting baud rate you can set baud rate 1200 2400 4800 9600 19200 38400 57600 115200 the default is 115200 Figure 6 2 14 Baud rate setting interface Support setting check digit can s...

Page 31: ... supports device status query After connecting the device you can query the device status through the Refresh All Data menu Example The configuration software has connected 2 devices try to query and select one of the devices and click the Refresh All Data menu to complete the device status query 1 IO demo interface Figure 6 3 1 Device status query IO demo interface 2 Basic setting interface ...

Page 32: ...ng interface 3 Advanced setting interface Figure 6 3 3 Device status query advanced setting interface 6 4Equipment status control Device status control the device supports Modbus standard command control It also supports configuration software graphical control Example To control the device open the DO 1 output port Method 1 Software graphical operation click the menu button to control ...

Page 33: ...including CRC check bit 7 Modbus use 7 1Register list Table 7 1 1 Register list Register address Numbe r The contents of the register State Data range Applicable function code 00000 0x 0000 4 DO status RW 0x00 0xFF write to change the current DO status read to get the current DO status 0x01 0x05 0x0F 00100 0x 0064 4 The state of the DO when it is powered on RW 0x00 0xFF set the power on state of t...

Page 34: ...518 4 DI count value clearing method RW 0x0000 0x0001 0x0000 automatic clearing mode 0x0001 manual clearing 0x03 0x06 0x10 41311 0x 051F 4 Set the clearing method RW 0x0001 0x00FF 0x03 0x06 0x10 41600 0x 0640 4 Set DO follow channel RW 0x0001 0x0008 0x0001 represents the first input 0x03 0x06 0x10 42000 0x 07D0 7 Module model R See model definition table 0x03 42012 0x 07DC 2 Firmware version R Fir...

Page 35: ...2 that is even parity 0x03 0x06 0x10 7 2 AI related register list Table 7 2 1 AI related register list Register address Numbe r The contents of the register Stat e Data range Applicable function code 10000 0 x0000 4 AI raw value R 0 4095 0x04 10100 0 x0064 4 AI engineering value R 0 25000 0x04 40400 0 x0190 4 AI high point calibration value RW 0 4095 0x03 0x06 0x10 40600 0 x0258 4 AI low point cal...

Page 36: ... CRC check code The status data 02 returned above indicates that the output DO2 is on 7 3 2 Read holding register Use 03 function code to read one or more register values for example read DO1 working mode 20 03 05 78 00 01 XX XX Device Modbus address function code Register start address Number of registers read CRC check code After sending the above command to the device via RS232 the device will ...

Page 37: ...ter start address Number of registers read The number of bytes of data written Data written CRC check code After sending the above command to the device via RS232 the device will return the following values 20 10 05 78 00 04 XX XX Device Modbus address function code Register start address Number of registers CRC check code If the modification is successful the values of four consecutive registers ...

Page 38: ...turn the following values 20 0F 00 00 OO O4 XX XX Device Modbus address functio n 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 cod...

Page 39: ...longs to Chengdu Ebyte Electronic Technology Co Ltd Revision history Version Date Description Issued by 1 0 2021 08 30 Initial version LC About us Sales Hotline 4000 330 990 Company Tel 028 61399028 Technical support support cdebyte com Official website www ebyte com Company Address Building B5 No 199 West District Avenue High tech West District Chengdu City Sichuan Province ...

Reviews: