Download Concept EFB - Schneider Electric
Transcript
Background Information for EFB Design Keywords for Input and Output PINs Input The keyword Input declares an input PIN. Input PINs can be defined as extendable. The syntax for the input or output PINs is explained in the Chapter PIN Syntax, p. 44. Output The keyword Output declares an output PIN. The syntax for the input or output PINs is explained in the Chapter PIN Syntax, p. 44. Internal state Only function blocks can use the keyword Internal State. This keyword defines a data structure which is linked to the block. The structure is invisible to the user and is passed to the EFB with a pointer in the parameter list. Use this structure to define EFB internal data, storage for internal values, storage for old values etc. The keywords Rising Edge Detector, Falling Edge Detector and Internal State add an entry to the EFB specific structure which can be accessed with a pointer. Note: The variables for the Internal State structure behave like unlocated variables of the application and are explicitly initialized with 0. 840 USE 505 00 December 2004 55