The Time Sync Object provides a CIP interface to the IEEE 1588 (IEC 61588) Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems, commonly referred to as the Precision Time Protocol (PTP). Refer to the IEEE 1588 (IEC 61588) Standard for additional details.
Any device supporting CIP Sync shall provide a single instance (Instance 1) of the Time Sync Object.
Functions | |
uint32_t | EI_API_ADP_setTimeSyncSupported (T *pAdp_p) |
Enable TimeSync Support. More... | |
uint32_t | EI_API_ADP_getPtpEnable (T *pAdp_p, bool *pPtpEnable_p) |
Get the PtpEnable attribute of the timeSync object (Instance Attribute ID: 1). More... | |
uint32_t | EI_API_ADP_setPtpEnable (T *pAdp_p, bool ptpEnable_p) |
Set the PTP feature of the timeSync object of the current adapter enable or disable. (Instance Attribute ID: 1). More... | |
uint32_t | EI_API_ADP_getPortEnable (T *pAdp_p, bool *pPortEnable_p) |
Get the PortEnable attribute state of the timeSync object (Instance Attribute ID: 13). More... | |
uint32_t | EI_API_ADP_getPortLogAnnounceInterval (T *pAdp_p, uint16_t *pPortLogAnnounceInterval_p) |
Get the PortLogAnnounceInterval attribute of the timeSync object (Instance Attribute ID: 14). More... | |
uint32_t | EI_API_ADP_setPortLogAnnounceInterval (T *pAdp_p, uint16_t portLogAnnounceInterval_p) |
Set the PortLogAnnounceInterval of the timeSync object of the adapter (Instance Attribute ID: 14). More... | |
uint32_t | EI_API_ADP_getPortLogSyncInterval (T *pAdp_p, int16_t *pPortLogSyncInterval_p) |
Get the PortLogSyncInterval attribute of the timeSync object (Instance Attribute ID: 15). More... | |
uint32_t | EI_API_ADP_setPortLogSyncInterval (T *pAdp_p, uint16_t portLogSyncInterval_p) |
Set the PortLogSyncInterval of the timeSync object of the adapter (Instance Attribute ID: 15). More... | |
uint32_t | EI_API_ADP_getDomainNumber (T *pAdp_p, uint8_t *pDomainNumber_p) |
Get the DomainNumber attribute of the timeSync object (Instance Attribute ID: 18). More... | |
uint32_t | EI_API_ADP_setDomainNumber (T *pAdp_p, uint8_t domainNumber_p) |
Set the DomainNumber of the timeSync object of the adapter (Instance Attribute ID: 18). More... | |