LINKS
LINKS
Interleaved 2 of 5
작가: Danica 시간: 31st Jul 2021
와 공유:
もっと
조회수2156 회 댓글 0개

Interleaved 2 of 5

Interleaved 2 of 5 parameters in Register 0X006C

 

1.     Read 0X006C value

Command sent: 0x7e 0x00 0x07 0x01 0x00 0x6c 0x01 0x4f 0x06

Message received: 0x02 0x00 0x00 0x01 0x01 0x23 0x10

0x006C value: 0000 0001

Bit2 means whether Enable Check Digit or not:

  Enable Interleaved 2 of 5 Check Digit: 0000 0101(0x05)

  Disable Interleaved 2 of 5 Check Digit: 0000 0001(0x01)

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

  Transmit Interleaved 2 of 5 Check Digit: 0000 1101(0x0d)

  Do not Transmit Interleaved 2 of 5 Check Digit: 0000 0101(0x05)

 

 

2.     Transmit Interleaved 2 of 5 Check Digit

Command sent: 0x7e 0x00 0x08 0x01 0x00 0x6c 0x0d 0xeb 0x73

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

 

Do not Transmit Interleaved 2 of 5 Check Digit

Command sent: 0x7e 0x00 0x08 0x01 0x00 0x6c 0x05 0x6a 0x7b

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)
인기 태그