50
3 DETAILS OF FUNCTION
3.1 C Intelligent Function Module Dedicated Functions
CITL_SetSyncTimeStatus
This function sets the operating status of time synchronization of a C intelligent function module.
■ Format
short CITL_SetSyncTimeStatus (unsigned short usSyncTimeStatus)
■ Argument
The specification method of the time synchronization operating status (usSyncTimeStatus) is as follows:
Either a definition name or a value can be specified as the time synchronization operating status.
■ Description
• This function sets the operating status of time synchronization of a C intelligent function module. (The initial status is
automatic synchronization.)
• When specifying automatic synchronization to the time synchronization operating status (usSyncTimeStatus), the time is
synchronized with that of a control CPU module every 500 ms.
• When specifying stop to the time synchronization operating status (usSyncTimeStatus), synchronization with the time of a
control CPU module every 500 ms is stopped.
• The operating status of time synchronization can be acquired with the CITL_GetUnitStatus function.
■ Return value
■ Relevant function
Page 43 CITL_GetUnitStatus
Page 56 CITL_SyncTime
Argument Name Description IN/OUT
usSyncTimeStatus Time synchronization operating
status
Specify the operating status of time synchronization. IN
Operating status Definition name Value
Automatic
synchronization
SYNCTIME_AUTO 0
Stop SYNCTIME_STOP 1
Return value Description
0 (0000H) Normal
Other than 0 (0000H) Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST