Mitsubishi Electric MELSEC iQ-R Series Manual page 52

Intelligent function module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

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
Argument
usSyncTimeStatus
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.
Operating status
Automatic
synchronization
Stop
■ 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
Return value
0 (0000H)
Other than 0 (0000H)
■ Relevant function
Page 43 CITL_GetUnitStatus
Page 56 CITL_SyncTime
3 DETAILS OF FUNCTION
50
3.1 C Intelligent Function Module Dedicated Functions
Name
Time synchronization operating
status
Definition name
SYNCTIME_AUTO
SYNCTIME_STOP
Description
Normal
Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST
Description
Specify the operating status of time synchronization.
Value
0
1
IN/OUT
IN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r c

Table of Contents