Vai al contenuto

Utilities using usbkey and SD card

Sometimes is useful to send to Gefran some information about target functionality.It’s possible to use an usbkey to request a complete or a logs (diagnostic messages) backup from the running PLC.To do this users has to prepare an usbkey containing one of the following filessystem_backup for complete backupsyslog_copy for logs backupAfter insertion of the usbkey in one of the PLC usb ports, users will see on HMI screen a popup window describing the operation in progressUsing a SD card is possible to request a feature similar to syslog_copy: if during the power-on the PLC found an already inserted SD (volume name “/sdcard”) including the file/sdcard/syslog_copy_toSDthe PLC exec a single logs backup in foldersdcard/bkup_to_SD/bkup_at_bootupIf the file is containingperiod=30the PLC will start also a periodic logs backup (every N seconds, valid range 30..600) that runs until the PLC will be powered-off, in folderssdcard/bkup_to_SD/1sdcard/bkup_to_SD/2sdcard/bkup_to_SD/3…sdcard/bkup_to_SD/10This periodic backup runs using subfolders “/1” to “/10” as a circular buffer.