Time Stamp Object (TIME)

Usually the Time-Stamp object represents an absolute time in milliseconds after midnight and the number of days since January 1, 1984. This is a bit sequence of length 48 (6 bytes).


class canopen.timestamp.TimeProducer(network)[source]

Produces timestamp objects.

cob_id = 256

COB-ID of the SYNC message


Send out the TIME message once.


timestamp (float) – Optional Unix timestamp to use, otherwise the current time is used.