omron — SyncAlarmStatus

Appendix: Built-in Scripting Language String with the end date. If this parameter is not specified, then the function uses the same as the start date. Returned value Notes This function is executed asynchronously, so it doesn't return the result of the synchronization. To get that information, use the SyncAlarmStatus function. Examples SyncAlarmStatus Returns the status of a previously called SyncAlarm function. Syntax SyncAlarmStatus() This function takes no parameters. Returned value Examples InduSoft Web Studio Page 635 Value Description 1 Fail to start synchronization; the database is probably being synchronized. 0 Success -1 Invalid group number -2 The format is not set to "Database".

-4 Start date specified is invalid. -5 End date specified is invalid. -6 Start date is greater than the end date. Tag Name Expression Tag SyncAlarm() // Synchronizes the database using the current date Tag SyncAlarm("10/20/2004") // Synchronizes the database only for the day 10/20/2004 Tag SyncAlarm("10/20/2004", "10/28/2004") // Synchronizes the database from 10/20/2004 to 10/28/2004 Function Group Execution Windows Embedded Thin Client SyncAlarmStat usDatabase/ERP Synchronous Supported Supported Executed on Server Value Description 3 Synchronization has finished. 2 Fail synchronizing 1 Still synchronizing 0 No synchronization is being executed. -1 The format is not set to "Database".

Tag Name Expression Tag SyncAlarmStatus()