LINKS
LINKS
Code 39
작가: Danica 시간: 31st Jul 2021
와 공유:
もっと
조회수2136 회 댓글 0개

Code 39

Code39 parameters in Register 0X0074

 

1.     Read 0X0074 value

Command sent: 0x7e 0x00 0x07 0x01 0x00 0x74 0x01 0xc5 0xdc

Message received: 0x02 0x00 0x00 0x01 0x21 0x07 0x72

0X0074 value: 0010 0001

Bit3 means whether Enable Check Digit or not:

  Enable Code39 Check Digit:00101001(0x29)

  Disable Code39 Check Digit:00100001(0x21)

Bit4 means whether Transmit Check Digit or not(Bit3 must be 1):

  Transmit Code39 Check Digit:0011 1001(0x39)

  Do not Transmit Code39 Check Digit:0010 1001(0x29)

 

 

2.     Transmit Code39 Check Digit

Command sent: 0x7e 0x00 0x08 0x010 x00 0x74 0x39 0x17 0x7e

Message received: 0x02 0x00 0x00 0x01 0x00 0x33 0x31(success)

 

Do not Transmit Code39 Check Digit

Command sent: 0x7e 0x00 0x08 0x01 0x00 0x74 0x29 0x05 0x4f

Message received: 0x02 0x00 0x00 0x01 0x00 0x33 0x31(success)

 

3.     Save Settings Information

Command sent: 0x7e 0x00 0x09 0x01 0x00 0x00 0x0e 0xc8

Message received: 0x02 0x00 0x00 0x01 0x00 0x33 0x31(success)

 

모든 댓글 (0)
인기 태그