LINKS
LINKS
How to set EM3080-W work in continuous mode after powered on
작가: Stephen 시간: 30th Jul 2021
와 공유:
조회수1622 회 댓글 0개

How to set EM3080-W work in continuous mode after powered on

As a workaround to realize EM3080-W work in continuous mode after power on, you can send programming command to switch it to trigger mode and then another command to switch it to continuous mode. Below is an example for your reference:
After EM3080-W powered on, 
Step 1
to read the content of register 0x0000. D4 for instance.
Serial command sent: 0x7E 0x00 0x07 0x01 0x00 0x00 0x01 0x01 0x41
Reply received : 0x02 0x00 0x00 0x01 0xD4 0xB8 0xC8
Step 2
Write the value into the register (to switch it to trigger mode first)
Serial command sent: 0x7E 0x00 0x08 0x01 0x00 0x00 0xD4 0xFF 0x60
Reply received : 0x02 0x00 0x00 0x01 0x00 0x33 0x31
Step 3
Calculate the value written to the register
Datas= (0xD4&(!0x03))+0x02=0xD6
Step 4
Write the value into the register (to switch it to continuous mode)
Serial command sent: 0x7E 0x00 0x08 0x01 0x00 0x00 0xD6 0xDF 0x22
Reply received : 0x02 0x00 0x00 0x01 0x00 0x33 0x31

 

모든 댓글 (0)
인기 태그