7EN02-0423-03

Date and time (TI081 format)

The following structure is used for date-time information exchange using Modbus protocol.

The date/time are encoded in 8 bytes as follows:

b15 b14 b13 b12 b11 b10 b09 b08 b07 b06 b05 b04 b03 b02 b01 b00 Word
0 0 0 0 0 0 0 0 R4 Y Y Y Y Y Y Y Word 1
0 0 0 0 M M M M WD WD WD D D D D D Word 2
SU 0 0 H H H H H iV 0 mn mn mn mn mn mn Word 3
ms ms ms ms ms ms ms ms ms ms ms ms ms ms ms ms Wrod 4
  • R4: Reserved bit (reserved by IEC870-5-4), set to 0

  • Y - Years

    • 1 byte

    • Value from 0...127 (1/1/2000 to 31/12/2127)

  • M - Months

    • 1 byte

    • Value from 1...12

  • D - Days

    • 1 byte

    • Value from 1...31

  • H - Hours

    • 1 byte

    • Value from 0...23

  • mn - Minutes

    • 1 byte

    • Value from 0...59

  • ms - Milliseconds

    • 2 byte

    • Value from 0...59999

The following fields are in CP56Time2a standard and are considered as optional:

  • WD - Week Day

    • If not used, set to 0 (1 = Sunday, 2 = Monday...)

    • Value from 1...7

  • SU - Summertime

    • If not used, set to 0 (0 = standard time, 1 = summertime)

    • Value from 0...1

  • iV - Validity of the information contained in the structure

    • If not used, set to 0 (0 = valid, 1 = not valid or not synchronized in system)

    • Value from 0...1

This information is encoded in binary form.

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?