Vai al contenuto

Action callFunction

This action allows to let the PLC execute system functions. The action takes place also if the pages have been executed by a remote session.The available functions are:PrintScreen The active page is sent to the active printer, configured on target.By setting the parameter with “remote_send,user,password” it’s possible to send the screenshot to a remote system connected. Please see chapter “Remote pages – Remote pages print management”.PrintScreenJpg It creates a screenshot for the active page and saves it inside the folder /ata0a/export, with automatic name and prefix “SCRSHOT_” and extension “jpg”. It can have an optional parameter “functionparam”, which specifies a custom name for the file. The custom name is added to the prefix “SCRSHOT_”. If the automatic numbering is still needed, it can be used by adding the string“%d”. Examples of correct parameters: MYNAME MyName myname_%d The custom name can also be changed at runtime by calling the PLC GFB_SYS 715. The GFB_SYS always overrides the page parameter. By setting the parameter with “remote_send,user,password” it’s possible to send the screenshot to a remote system connected. Please see chapter “Remote pages – Remote pages screenshots management”.AlarmAckAll Executes acknowledge of all displayed alarmsAlarmHistoryDelete It deletes all the alarms inside the History.AlarmExportCSV This function exports the alarms historical in CSV format and saves it in the export folder with the name ALARMS_LogHistory.csv The file consists of 9 columns and a heading line that describes the meaning of the columns. The heading line is in English and cannot be translated. Every subsequent line is an alarm. The following format is used for date and time: day/month/year hours:minutes:seconds For example: 2020/9/10 9:18:50 The nine columns are:Description: alarm message taken from active language at time of exportDate-Time Alarm ON: two columns indicating alarm ON date and time, respectivelyDate-Time Acknowledged: two columns indicating alarm date and acknowledge time (ack), respectivelyDate-Time Snooze: two columns indicating alarm snooze date and time, respectively. These values are exactly the same as those of alarm ON, because all alarms are auto snooze in project. The columns remain for retro compatibility.Date-Time Alarm OFF: two columns indicating alarm OFF date and time, respectivelyResetRecipesMemory Clears the history of recipes read and written (file name list)DiagnosticPagesRecall It closes the pages application and stats the system diagnostics. The PLC program will continue to run.