Export/Import Of The Safety Project - Beckhoff TwinSAFE EL6910 Operation Manual

Logic terminal
Hide thumbs Also See for TwinSAFE EL6910:
Table of Contents

Advertisement

Operation
      RestoreResult: STRING(200);
      RestoreErr: BOOL;
END_VAR
// Backup of the TwinSAFE logic program
fb_save(
      bExecute:=           StartBackup,
      au8EcatNetId:=       EL6910AmsNetID,
      u16EcatPort:=        EL6910port,
      u32BufferAddress:=   ADR(internalBuffer),
      u32BufferSize:=      SIZEOF(internalBuffer),
      sFileName:=          FileString,
      sNetIDWriteFile:=    LocalAmsNetID,
      Done=>               SaveDone,
      sResult=>            SaveResult,
      bErr=>               SaveErr);
// Restore of the TwinSAFE logic program
fb_restore(
      bExecute:=           StartRestore,
      au8EcatNetId:=       EL6910AmsNetID,
      u16EcatPort:=        EL6910port,
      u32BufferAddress:=   ADR(internalbuffer2),
      u32BufferSize:=      SIZEOF(internalBuffer2),
      sFileName:=          FileString,
      sNetIDReadFile:=     LocalAmsNetID,
      Done=>               RestoreDone,
      sResult=>            RestoreResult,
      bErr=>               RestoreErr);
4.9

Export/import of the safety project

The safety project can be archived via the context menu of the safety project. The data type of this archive is
*.tfzip.
Fig. 134: Archiving the safety project
The safety project can be exported to XML format one level below the safety project node. This XML format
can be used for exchange between TwinCAT 3 and TwinCAT 2.
The menu item Export project (as bin file) can be used to save the safety project in a binary format, so that it
can be used by the TwinSAFE loader, for sample.
100
Version: 1.8.0
EL6910

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents