background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

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

Copyright ©2012–2021

Chengdu Ebyte Electronic Technology Co.,Ltd.

26

6.2 Software function introduction

6.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.

Содержание MA01-A C 4020 Series

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

Страница 2: ...oduct 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 engineering value 14 4 1 5 Analog input AI calibration 15 4 2 Switch input DI 15 4 2 1 Switch input DI description 15 4 2 2 Switch input DI description 15 4 3 Switch output DO 16 4 3 1 Switch output DO descr...

Страница 3: ...controls 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 settings interface 30 6 3 Device status query 31 6 4 Equipment status control 33 7 Modbus use 35 7 1 Register list 35 7 2 AI related register list 37 7 3 Instruction format partial 37 7 3 1 Read DO outp...

Страница 4: ...s 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 reliabilit...

Страница 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 power supply 2 way switch input DI dry node 2 analog inputs AI 0 20mA 4 20mA 4 channel switch output DO relay The switch input DI supports counting function The switch input DI supports rising edge fal...

Страница 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 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 wiring 2 2 1 Power...

Страница 7: ...m 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 shown in the figure 3 Analog input AI wiring connect the signal generator to the analog input AI port as shown in the figure 4 Switch output DO wiring connect the load to the switch output DO port as...

Страница 8: ...012 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 number the baud rate defaults to 9600 and click open serial port Figure 2 3 2 open the serial port ...

Страница 9: ...arch 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 and click the connection is successful Figure 2 3 3 get connected to the device 2 3 2 Equipment test Figure 2 3 4 testing Figure 2 3 5 Actual test results ...

Страница 10: ...I 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 2 way 2 way MA01 AXCX4040 4DI 4DO 4 way 4 way MA02 AXCX4040 4 way 4 way MA01 XACX0440 4AI 4DO 4 way 4 way MA02 XACX0440 4 way 4 way MA01 AACX2240 2DI 2AI 4DO 2 way 2 way 4 way MA02 AACX2240 2 way 2 w...

Страница 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 input resistance 100Ω DI input Number of DI channels 2 channels Interface type Dry node Trigger mode Rising edge falling edge level default rising edge trigger Filter parameter 1 16 default 6 Acquisitio...

Страница 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 Signal ground 6 COM Input channel common Recommend RVV 2 0 5 wire 7 DI1 Switch input channel 1 8 DI2 Switch input channel 2 9 AI1 Analog input channel 1 10 AI2 Analog input channel 2 11 DO1 Switch o...

Страница 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 installation or rail installation Figure 3 5 1 Installation method ...

Страница 14: ...us 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 by all channels When the AI channel sampling range is configured for 4 20mA sampling if the current signal is lower than 4mA the engineering value of the channel is converted ...

Страница 15: ...tion 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 value for calibration For example if the AIx channel corresponding to the calibration device has an actual input current of 20mA then read the AI original value of the AIx channel and write the original ...

Страница 16: ...ollow 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 indicator red LED indication to indicate whether the output port is on or off When the LED indicator is on it means the relay is closed normally open on normally closed off when the LED indicator is off ...

Страница 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 set to follow multiple DI input terminals 4 4 Device address 4 4 1 Device address Device address composition hardware address software offset address Figure 4 4 1 Device address The default device ad...

Страница 18: ...dware 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 adjusted from 0 to 31 Hardware address dialing setting instructions Example 1 Set hardware address 0 default binary code Figure 4 4 3 Hardware address 0 Example 2 Set the hardware address to 8 binary cod...

Страница 19: ...n 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 4 3 Software address offset address Software address The user can make different settings according to the scene The software address setting range is 1 224 de...

Страница 20: ...ser 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 Three wire sensor wiring Figure 5 1 2 Three wire sensor wiring diagram ...

Страница 21: ...ual 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 wiring Figure 5 2 1Two wire switch wiring diagram 5 2 2 Three wire switch wiring ...

Страница 22: ...012 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 wiring 5 3 1 The output terminal directly controls the load small power equipment within 1kW ...

Страница 23: ...5 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 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 ...

Страница 24: ...lectronic 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 figure takes the contactor coil voltage AC 220V as an example The coil voltage of different contactors may be different ...

Страница 25: ...ngdu 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 Figure 6 1 1 Software installation file Figure 6 1 2 Successful software installation opens the interface ...

Страница 26: ...6 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 ...

Страница 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 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 outpu...

Страница 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 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 int...

Страница 29: ...ng 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 function Set filter parameters 1 16 trigger mode rising edge falling edge level and clearing method automatic manual This function is limited to devices that support DI Figure 6 2 10 DI related interfa...

Страница 30: ...an 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 Related interface 6 2 3 Advanced settings interface Figure 6 2 12 Advanced setting interface 1 Equipment settings The advanced setting interface supports device name setting offset address software addres...

Страница 31: ...face 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 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...

Страница 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 query basic setting interface 3 Advanced setting interface ...

Страница 33: ...status 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 Example To control the device open the DO 1 output port Method 1 Software graphical operation click the menu button to control Figure 6 4 1 Software graphical operation ...

Страница 34: ...240 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 check bit Return 01 05 00 00 FF 00 8C 3A including CRC check bit ...

Страница 35: ...riting 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 0x0000 0xFFFF writing means the initial value of the set count reading means reading the already counted value 0x03 0x06 0x10 41400 0x0578 4 DO working mode RW 0x0000 0x0002 0x0000 level mode default m...

Страница 36: ...number 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 default parameters RW Write 5BB5 and the set parameters will be restored to the default parameters 0x03 0x06 0x10 42026 0x07EA 1 Device restart RW Write 5BB5 the device will restart immediately 0x03 0x06 ...

Страница 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 DO output coil status Use 01 function code to read the output coil status for example read the status of two output coils 20 01 00 00 00 02 XX XX Device ModBus address Function code Register start ad...

Страница 38: ...rned 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 mode of DO1 to pulse mode 20 06 05 78 00 01 XX XX Device ModBus address Function code Register address Data written CRC check code After sending the above command to the device via RS232 the device wil...

Страница 39: ...x0578 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 DO1 to pulse mode 20 05 00 00 FF 00 XX XX Device ModBus address Function code Register address Data written Coil action conduction CRC check code After sending the above command to the device via RS232...

Страница 40: ...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 0...

Страница 41: ...Co 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 www ebyte com Thank you for using Ebyte products Please contact us with any questions or suggestions info cdebyte com Phone 86 028 61399028 Web www ebyte com Address B5 Mould Park 199 Xiqu Ave High t...

Отзывы: