background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

8DO

MA02-XXCX0080 User Manual

Copyright ©2012–2021

,Chengdu Ebyte Electronic Technology Co.,Ltd.

30

0x0003,is 9600

0x0004,is 19200

0x0005,is 38400

0x0006,is 57600

0x0007,is 115200

(42102)0x0836

1

verify mode

RW

The default value is0x0000,no
checksum.
0x0000,no verificatio

0x0001,Parity

0x0002,even check

0x03

0x06

0x10

7.2 Directive Format (Part)

7.2.1 Read the DO output coil status

Read the output coil status using the 01 function code,For example: Read the two output coil states

20

01

00 00

00 02

XX XX

Device

Modbus

address

FC

Register start address

Number of output

coils read

CRC checkcode

After sending the above command to the device via RS232, the device returns the following values

20

01

01

02

XX XX

Device

Modbus

address

FC

Number of bytes of

the data

The state data that

was returned

CRC checkcode

The state data 02 returned above indicates the output DO2 pass on.

7.2.2 Read to keep the register

One or more register values were read using the 03 functional code,For example: Read the DO1

working mode.

20

03

05 78

00 01

XX XX

Device

Modbus

address

FC

Register start address

Number of output

coils read

CRC checkcode

Summary of Contents for MA02-XXCX0080

Page 1: ...Chengdu Ebyte Electronic Technology Co Ltd 8DO MA02 XXCX0080 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 第 1 页 8DO MA02 XXCX0080 ...

Page 2: ... 4 1 2 Switch output DO mode settings 14 4 2 Unit address 15 4 2 1 unit address 15 4 2 2 Hardware address code dial switch 15 4 2 3 Software address offset address 17 5 Port connection 17 5 1 Switch output DO port wiring 17 5 1 1 The output terminal has direct control load small power equipment within 1kW 17 5 2 2 Output Control Contactor Contactor Control high power 220V equipment 18 5 2 3 Output...

Page 3: ...al Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 第 3 页 7 2 3 Write a single hold register 31 7 2 4 Write about multiple hold registers 31 7 2 5 Write a single DO coil state 32 7 2 6 Write about the multiple DO coil states 32 Revisionhistory 33 Aboutus 33 ...

Page 4: ...l port I O networking module for implementing remote control function long range IO Features special Modbus RTU protocol Support all kinds of configuration software PLC touchscreen RS232 control IO DC 8 28V for power supply 8 Road switch output DO relay Switch output DO supports level mode pulse mode Communication Potter rate 1200 115200 Default 9600 Support for custom settings Supports 1 247 From...

Page 5: ...ter referred to as IO devices before use Computer converter power supply screwdriver and other related auxiliary materials should be prepared The details are as follows Table 2 1 1 Preparation list Serial number Serial number Serial number Devices Devices Devices Number Number Number 1 1 1 IO device IO device IO device 1 1 1 2 2 2 USB turn serial port converter USB turn serial port converter USB t...

Page 6: ...2 2 Communication wiringRS232 Fig 2 2 2 Communication RS232 wiring diagram 2 2 3 Overall wiring schematic diagram 1 After electric on equipment Power light POWER Often bright Equipment power supply is normal 2 Analog input AI wiring As showConnect the signal generator to the analog input AI port 3 Switch Output the DO wiring As show connect the load to the switch to output DO port ...

Page 7: ...Chengdu Ebyte Electronic Technology Co Ltd 8DO MA02 XXCX0080 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 第 7 页 Fig 2 2 3 Overall wiring schematic diagram ...

Page 8: ...ating steps 1 Open the serial port Find the corresponding device port number The Potter rate is default9600 Click Open serial ial Fig 2 3 2 Open the serial port 2 In the device window Click Search Device The right log window begins to refresh the search information After the equipment column in the equipment window displays the connected device Click on the Stop Search menu Click the device again ...

Page 9: ...Technology Co Ltd 8DO MA02 XXCX0080 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 第 9 页 Fig 2 3 3 Connect the device 2 3 2 Equipment testing Fig 2 3 4 Equipment testing Fig 2 3 5 Actual test effect ...

Page 10: ...read analogue input AI SwitchVolum e outputDO RS485 RS232 MA01 AXCX4020 4DI 2DO 4Road 2Road MA02 AXCX4020 4Road 2Road MA01 XACX0420 4AI 2DO 4Road 2Road MA02 XACX0420 4Road 2Road MA01 AACX2220 2DI 2AI 2D O 2Road 2Road 2Road MA02 AACX2220 2Road 2Road 2Road MA01 AXCX4040 4DI 4DO 4Road 4Road MA02 AXCX4040 4Road 4Road MA01 XACX0440 4AI 4DO 4Road 4Road MA02 XACX0440 4Road 4Road MA01 AACX2240 2DI 2AI 4D ...

Page 11: ...600 bps Data bit 8 Regular Check bit No calibration odd parity none by default Stop bit 1 Fixed Protocol Modbus RTU Protocol Unit Address 1 247 Default address 1 DO Output DO Way 8 Road DO Output type Type C relay often open often closed DO Output mode Level mode pulse mode Relay contact capacity 30V 10A 250V 10A Output instructions Red LED indicates Other Product size 145 mm 90 mm 40mm Long width...

Page 12: ... RVV 2 0 75 wire 2 Landing 3 B RX RS232 parallelism RX External need cross Advise RVSP 3 0 5 wire 4 A TX RS232 parallelism TX External need cross 5 GND Signal Landing 6 DO1 Switch output channel1 Relays have regular open and often closed ends 7 DO2 Switch output channel2 8 DO3 Switch output channel3 9 DO4 Switch output channel4 10 DO5 Switch output channel5 11 DO6 Switch output channel6 12 DO7 Swi...

Page 13: ...2 XXCX0080 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 第 13 页 3 4 Dimensional drawing Fig 3 4 1 Dimensional drawing 3 5 Way to install Equipment supports positioning hole installation or rail mode Fig 3 5 1 way to install ...

Page 14: ...en the LED indicator is off the relay is not engaged often off often closed on Fig 4 1 1 The Switch outputs the DO interface 4 1 2 Switch output DO mode settings 1 Level mode Output according to the level set by the user the switch characteristics is similar to the function of self locking switch 2 Pulse mode After the switch output DO is opened after keeping the set pulse width time unit ms the s...

Page 15: ...ddress Default i 32 hardware address 31 software address 1 Unit address 32 Unit address Set range 1 247 Hardware address implemented by the dial switch 5 bit dialing setting factory default is 31 Software address implemented by offset address by configuration tool software factory default is 1 Example If the hardware address is set to5 The Software address is set to113 so Unit address is 118 4 2 2...

Page 16: ...e hardware address 8 with binary encoding Fig 4 2 4 Hardware Address 8 Example 3 Set the hardware address 31 with a binary encoding Fig 4 2 5 Hardware Address 31 Hardware address can be customized according to the actual situation setting method as shown in the above example If multiple devices are required to connect to a single RS232 a single bus can be hung on up to 32 devices only through the ...

Page 17: ...ress 1 247 and the default software address is 1 After changing the address the new address requires a power restart before taking effect Changing the software address shall be implemented by using the configuration tool software as shown in Fig Fig 4 2 7 Software address offset address 5 Port connection 5 1 Switch output DO port wiring 5 1 1 The output terminal has direct control load small power...

Page 18: ...gram of the output terminal control contactor Note The above figure shows the example of the contact coil 220 voltage AC 2 V The coil voltages may vary between the contactors 5 2 3 Output controls the contactor Contactor control high power 380V equipment Fig 5 2 3 Wiring diagram of the output terminal control contactor Note In the above figure the contact coil 220 voltage V as an example The coil ...

Page 19: ...lectronic Technology Co Ltd 第 19 页 6 Software use 6 1 Software use The Configuration tool software is a drive free installation Double click directly The exe file is available immediately when it is open Fig 6 1 1 Software installation file Fig 6 1 2 The software installation successfully opened the interface ...

Page 20: ...on 6 2 1 IODemo interface Fig 6 2 1 Software IO presentation interface 1 Device window Displays the current connection device information No No number equipment model equipment address firmware version Fig 6 2 2 Device window interface 2 Serial parameter window Displays the serial port parameter information port port rate data bit check bit stop bit etc and open the serial port ...

Page 21: ...ort parameter window interface 3 Log window Displays the device configuration Use the running log information during the process Send return the data instructions Fig 6 2 4 Log window interface 4 Switch input DI This feature is limited to DI enabled devices Displays the digital input DI port status Fig 6 2 4 Switch it into the DI interface 5 switched output DO ...

Page 22: ...h outputs the DO interface 6 Simulation input AI This feature is limited to AI enabled devices Displays the status of the analog input AI port Power flow rate and work quantity Graphical table needle indication Fig 6 2 6 Analog input to the AI interface 7 Refresh the setting Support manual refresh Automatic refresh status The automatic refresh state can customize the refresh cycle the custom cycle...

Page 23: ... Setup Interface 1 Count demo Displays the DI count information Zero setting This feature is limited to DI enabled devices Fig 6 2 9 Count the demo interface 2 DI related Set up the DI functionality Set the filter parameters 1 16 Trigger mode rise line drop line level Zero clearance mode automatic manual This feature is limited to DI enabled devices Fig 6 2 10 The DI Related interface ...

Page 24: ...etting DIx Note Multiple switch output DO terminals can be set to follow one DI input terminal and one switch output DO terminal cannot be set to follow multiple DI inputs Follow up mode is limited to DI enabled devices Fig 6 2 11 DO 6 2 3 Advanced Setup Interface Fig 6 2 12 Advanced Setup Interface 1 Device Settings Advanced Setup interface which supports device name setting Offset address softwa...

Page 25: ...200 Fig 6 2 14 Poaud rate setting interface Support for setting the check bit Check bits can be set No odd check and parity check Default no checksum Fig 6 2 16 Check bit setting interface 6 3 Device status query The Configuration software supports the device status query After connecting the device You can query the device status through the Refresh All Data menu Example The equipment supports th...

Page 26: ... MA02 XXCX0080 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 第 26 页 Fig 6 3 1 Device status query IO demo interface 2 Basic Setup Interface Fig 6 3 2 Device status query Basic Setup Interface 3 Advanced Setup Interface ...

Page 27: ...Setup Interface 6 4 Device status control Device status control The equipment supports the Modbus standard instruction control Also supports configuration software graphical control Example Control the device and open the DO 1 output port Method 1 Software graphical operation click on the menu button to control Fig 6 4 1 Software graphical operation Methods 2 Enter command control ...

Page 28: ...A02 XXCX0080 User Manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 第 28 页 Equipment Address 1 Function Turn on the DO 1 output Send 01 05 00 00 FF 00 8C 3A including CRC check Return 01 05 00 00 FF 00 8C 3A including CRC checkbit ...

Page 29: ... 0x05DC 4 DO pulse width RW 0x32 0xFFF 50 65535 Duratio n of the pulse ms 0x03 0x06 0x10 41318 0x0526 4 DI count method RW 0x0000 0x0002 0x0000 Rising along the count 0x0001 Decline along the count 0x0002Level count 0x03 0x06 0x10 41304 0x0518 4 DI count value reset method RW 0x0000 0x0001 0x0000Automat ic clearing method 0x0001Manual clearance 0x03 0x06 0x10 41311 0x051F 4 Set the clearance metho...

Page 30: ...example Read the two output coil states 20 01 00 00 00 02 XX XX Device Modbus address FC Register start address Number of output coils read CRC checkcode After sending the above command to the device via RS232 the device returns the following values 20 01 01 02 XX XX Device Modbus address FC Number of bytes of the data The state data that was returned CRC checkcode The state data 02 returned above...

Page 31: ...t address Write to the value CRC checkcode After sending the above command to the device via RS232 the device returns the following values 20 06 05 78 00 01 XX XX Device Modbus address FC Register start address Write to the value CRC checkcode If the modification is successful The 0x0578 register data is 0x0001 7 2 4 Write about multiple hold registers Write multiple hold register commands using t...

Page 32: ...ommand to the device via RS232 the device returns the following values 20 05 00 00 FF 00 XX XX Device Modbus address FC Register start address Write to the value CRC checkcode DO1 coil guide on 7 2 6 Write about the multiple DO coil states Use the 0F function code to write individual commands For example set the working mode of the DO1 to the pulse mode 20 0F 00 00 00 04 01 06 XX XX Device Modbus ...

Page 33: ...owns the final interpretation Revisionhistory Version Date Description Issued by 1 0 2021 08 30 Initialversion LC Aboutus Technicalsupport support cdebyte com DocumentsandRFSettingdownloadlink www ebyte com ThankyouforusingEbyteproducts Pleasecontactuswithanyquestionsorsuggestions info cdebyte com Phone 86028 61399028 Web www ebyte com Address B5MouldPark 199 XiquAve High techDistrict Sichuan Chin...

Reviews: