
Publication 1760-UM003A-EN-P - September 2005
6-2 Application Examples for Pico
The master transmits a control command to initiate data exchange
between the communication partners. The slave always returns an
answer to this request, which indicates whether data has been
exchanged or not. An error code will be returned if data exchange has
failed. This code is defined in the ODVA specifications. (see
Related
Documentation on page P-2)
Read/Write Date and Time
IMPORTANT
The operating mode of the basic unit must
correspond with the status indicated at the LEDs
when the various parameters are being set.
Table 6.1 Telegram Structure
Byte Description Value (Hex), Sent by
Master Slave Master Slave
Attribute ID
Read
93 -
Attribute ID
Write
B3 -
0 Read
Successful
- C2
Write
Successful
- C1
Command
Rejected
- C0
0 1 Len 05 05
1 2 Index
0 to 2
(1)
(1) 0 = Time/date , 1 = Summer time, 2 = Winter time
0 to 2
(1)
2 to 6 3 to 7 Data 1 t o5 Depending on
index
Depending on
index
Table 6.2 Index 0 - Date and Time of Real-Time Clock
Byte Content Operand Value (Hex)
Master Slave
2 3 Data 1 Hour 0 to 23 0x00 to 0x17h
3 4 Data 2 Minute 0 to 59 0x00 to 0x3Bh
Comentarios a estos manuales