Home

Concept - Guillevin Industrial Automation Group

image

Contents

1. 43 MUX_DINTARR_125 Multiplexer for arrays of the data type DintArr125 Brief description Function Use this function to address and select a single element in an array description The parameters EN and ENO can additionally be projected Representation Symbol Block representation MUX_DINTARR_ 125 DintARR125 DINTARR DINT INT NO Parameter Description of the MUX_DINTARR_125 block parameter deseniption Parameters Data type Meaning DINTARR DintArr125 Array an element is to be selected from NO INT Position in the array where the element to be selected is placed range 0 124 OUT DINT selected element Description of the DintArr125 block parameter Element Data type Meaning varname 1 DINT 1 element of the array varname 125 DINT 125 element of the array Runtime error Error message There will be an error message when the authorized value range for the parameter NO is violated The error number is also entered at the output of the EFB 44 840 USE 494 00 September 2001 MVB_IN Data exchange between CPU and MVB 258A 8 Overview Introduction This chapter describes the MVB_IN block What s in this This Chapter contains the following Maps 9 Chapter Topic Page Brief description 46 Representation 47 Detailed description 48 840 USE 494 00 September 2001 45 MVB_IN Data
2. 9 Chapter Topic Page Brief description 62 Representation 62 840 USE 494 00 September 2001 61 SIMTSX TSX Simulation Brief description Function description Note This function is only for internal use The SIMTSX is a function used in conjunction with the SIMTSX software product to test and validate PLC programs The parameters EN and ENO can additionally be projected Representation Symbol Block representation SIMTSX SIMAC_PARAM j PARAM BOOL UINT TYPE_INP Parameter Description of the block parameters description Parameters Data type Meaning PARAM SIMAC_PARAM 3 4x registers TYPE_INP UINT 1 1x 3 3x STATUS BOOL 1 execution OK 62 840 USE 494 00 September 2001 ULEXSTAT Expert Status Signals 13 Overview Introduction This chapter describes the ULEXSTAT block What s in this This Chapter contains the following Maps 9 Chapter Topic Page Brief description 64 Representation 64 840 USE 494 00 September 2001 63 ULEXSTAT Expert Status Signals Brief description Function description Representation The function block can be applied to the expert modules e 140 NOA 611 00 140 NOA 611 10 140 ERT 854 00 and 140 ESI 062 00 It provides detailed information covering e hardware faults recognized by the loadable ULEX e software errors oc
3. Further if available a type definition of the internal REAL REAL stands for the data type real The input appears as Real literal or as Real literal with exponent The length of the data element is 32 bit The value range for variables of this data type reaches from 8 43E 37 to 3 36E 38 Note Depending on the mathematic processor type of the CPU various areas within this valid value range cannot be represented This is valid for values nearing ZERO and for values nearing INFINITY In these cases a number value is not shown in animation instead NAN Not A Number oder INF INFinite 82 840 USE 494 00 September 2001 Glossary Real literal Real literal with exponent Reference Register in the extended memory 6x reference RIO Remote I O RP PROFIBUS Real literals function as the input of real values in the decimal system Real literals are denoted by the input of the decimal point The values may be preceded by the signs Single underline signs _ between figures are not significant Example 12 0 0 0 0 456 3 14159 26 Real literals with exponent function as the input of real values in the decimal system Real literals with exponent are denoted by the input of the decimal point The exponent sets the key potency by which the preceding number is multiplied to get to the value to be displayed The basis may be preceded by a negative sign The exponent may be preceded by
4. The time appears as a DPM_Time structure beginning at word 4 of the IN register block of the ERT The following diagram shows the program elements involved in selection Startup During the I O addressing the IN references 30001 30007 were assigned to an information ERT_854 10 The IN transfer status TS_IN in the third word of the register block is sent to an OR_WORD block A DPM_Time structure is defined in the variable editor as Variable Mux_IN in the fourth word of the IN register block and has address 30004 30007 This variable is given as an input to the MOVE block The MOVE block output is a DPM_Time structure defined by the variable editor as variable ERT_Time Typical recording mechanism for ERT time data R_TRIG CLK Qi ND Time BOOL OR_WORD EQ_WORD MOVE 3 0003 EN ENO 16 FF1F 16 FFBF Mux_IN ERT_Time DPM Time DPM_Time Struktur Struktur Note The ERT_854_10 EFB must be active and error free 840 USE 494 00 September 2001 27 ERT_854_10 Data transfer EFB Explanation Example 1 Using time values for display or with SET_TOD EFB The MOVE block transfers the time data which is cyclically stored in the MUX range of the IN register block to the DPM_Time structure ERT_Time of the user as soon as the OR_WORD and the EQ_WORD block signal for a time data transfer R_TRIG provides a signal in ND_Time for one cycl
5. This change is done every complete hour by the 140 ESI 062 01 but can also be triggered by a suitable telecontrol command The precision of the ESI and ERT synchronized time can be influenced by delay caused by the PLC cycle time as well as by the cumulative components which reflect the differences of the ERT software clock lt 360 milliseconds second 26 840 USE 494 00 September 2001 ERT_854_ 10 Data transfer EFB Without power If the clock parameter of the ERT was configured as an internal clock in free reserve running mode with a power reserve of zero the internal clock starts with a default setting at hour 0 on 1 1 1990 In this case the time can also be provided by using the DPM_Time data structure of the 140 ESI 062 01 module as described above As there is no power reserve to run out the time will never be invalid and the bit Time not synchronized is always set in the status output word Bit 4 TA which is returned by the EFB Using the ERT gt EFB time data flow Application This section shows an internal function which is made available by the ERT for Examples diagnostics and development It covers the cyclic transfer of the ERT internal time to the corresponding EFB in greater intervals This time can be used for display or setting the PLC clock and so on irrespective of whether it comes from the free running internal clock or was synchronized through an external reference clock signal
6. ANY_BIT covers the data types BOOL BYTE and WORD ANY_ELEM In the existing version ANY_ELEM covers the elementary data types BOOL BYTE DINT INT REAL UDINT UINT TIME and WORD ANY_INT In the existing version ANY_INT covers the data types DINT INT UDINT and UINT ANY_NUM In the existing version ANY_NUM covers the data types DINT INT REAL UDINT and UINT ANY_REAL In the existing version ANY_REAL covers the data type REAL Application The window which contains the working area the menu bar and the tool bar for the window application The name of the application appears in the heading An application window can contain several document windows In Concept the application window corresponds to a Project Argument Synonymous with Actual parameters ASCII mode American Standard Code for Information Interchange The ASCII mode is used for communication with various host devices ASCII works with 7 data bits Atrium The PC based controller is located on a standard AT board and can be operated within a host computer in an ISA bus slot The module occupies a motherboard requires SA85 driver with two slots for PC104 daughter boards From this a PC104 daughter board is used as a CPU and the others for INTERBUS control B Back up data file Concept EFB The back up file is a copy of the last Source files The name of this back up file is backup c it is accepted that there are no more than 100 copies of the source fi
7. DO D4 DOW Weekday Mon Sun 1 7 D5 D7 DOM Day of the month 1 31 The code corresponds to CET and thus deviates from the standard used in the US Sun 1 840 USE 494 00 September 2001 21 ERT_854_10 Data transfer EFB Note 1 Note 2 Note 3 Rough Time Output Status Inputs Assignments of the Error Bits Interpretation for Byte 2 D7 D6 Type of the event D5 D0 No of the first input of the event message group 0 1 1 pin message 1 32 Input pin number 1 0 2 pin message 1323555 31 First input of the group 1 1 8 pin message 1 9 17 25 First input of the group The value for the milliseconds is a maximum of 61100 ms with the second of transition 61000 plus a tolerance of 100 milliseconds For time stamps containing an invalid time TI 1 the time in milliseconds is set to FFFF HEX Minutes hours and DOW DOM values are invalid i e undefined If the rough time declaration has been activated during the ERT configuration the transfer of the complete time with month year is executed under the following conditions when the month changes after the module restarts during every start or stop of the PLC user program when the event FIFO buffer is deleted when the clock is started or set The transfer of this complete time output without the data input values is triggered basically takes place through a correct time stamped event If t
8. Editor Concept DFB EFB types are programmed in C and mounted via Libraries in precompiled form If the value of EN is 0 when the FFB is called up the algorithms defined by the FFB are not executed and all outputs contain the previous value The value of ENO is automatically set to 0 in this case If the value of EN is 1 when the FFB is called up the algorithms defined by the FFB are executed After the error free execution of the algorithms the ENO value is automatically set to 1 If an error occurs during the execution of the algorithm ENO is automatically set to 0 The output behavior of the FFB depends whether the FFBs are called up without EN ENO or with EN 1 If the EN ENO display is enabled the EN input must be active Otherwise the FFB is not executed The projection of EN and ENO is enabled disabled in the block properties dialog box The dialog box is called up via the menu commands Objects Properties or via a double click on the FFB Error When processing a FFB or a Step an error is detected e g unauthorized input value or a time error an error message appears which can be viewed with the menu command Online Event display With FFBs the ENO output is set to 0 Evaluation The process by which a value for a Function or for the outputs of a Function block during the Program execution is transmitted Expression Expressions consist of operators and operands F FFB functions function blocks F
9. RAM This occurs directly upon execution of the EFB Write access to the destination area must have been enabled by the EXFR EFB before the transfer The CPU automatically determines register addresses from the configuration data present in the I O component list and experts dual port ram The parameters EN and ENO can additionally be projected Representation Symbol Block representation EXRB INT SLOT INT INT FTYPE Parameter Description of the block parameters description Parameters Data type Meaning SLOT INT Module slot number FTYPE INT Field type to be read 1 Feedback data field 5 status field 1 2 6 7 reserved for future applications Currently not to be used OUT INT Access execution status 0 field was read without errors not equal to 0 error during reading of field see Runtime error p 39 38 840 USE 494 00 September 2001 EXRB Accepting feedback values from the expert Runtime error Error message Error messages and their Significance Error number Meaning Corrective Action 2940 Invalid parameter Examine the EFB parameter assignments 2941 Internal error Contact the hotline 2942 Another task s I O operation is still active Contact the hotline 2943 Mode end transfer active Start the EFB again later 2945 Destination area access not enabled Enable destination
10. a positive or negative sign Single underline signs _ between figures are not significant Only between numbers not before or after the decimal poiont and not before or after E E or E Example 1 34E 12 or 1 34e 12 1 0E 6 or 1 0e 6 1 234E6 or 1 234e6 Each direct address is a reference which starts with an ID specifying whether it concerns an input or an output and whether it concerns a bit or a word References which start with the code 6 display the register in the extended memory of the state RAM 0x area Discrete outputs 1x area Input bits 3x area Input words 4x area Output bits Marker words 6x area Register in the extended memory Note The x which comes after the first figure of each reference type represents a five figure storage location in the application data store i e if the reference 400201 signifies a 16 bit output or marker word in the address 201 of the State RAM 6x references are marker words in the extended memory of the PLC Only LL984 user programs and CPU 213 04 or CPU 424 02 can be used Remote I O provides a physical location of the I O coordinate setting device in relation to the processor to be controlled Remote inputs outputs are connected to the consumer control via a wired communication cable RP Remote Peripheral 840 USE 494 00 September 2001 83 Glossary RTU mode Rum time error Remote Terminal Unit The RTU mode is used for communic
11. directly or via a bus amplifier Local Macros are only available in a single Concept project and are contained in the DFB directory under the project directory The local node is the one which is projected evenly Located variables are assigned a state RAM address reference addresses 0x 1x 3x 4x The value of these variables is saved in the state RAM and can be altered online with the reference data editor These variables can be addressed by symbolic names or the reference addresses Collective PLC inputs and outputs are connected to the state RAM The program access to the peripheral signals which are connected to the PLC appears only via located variables PLC access from external sides via Modbus or Modbus plus interfaces i e from visualizing systems are likewise possible via located variables 840 USE 494 00 September 2001 79 Glossary Macro Multi element Macros are created with help from the software Concept DFB Macros function to duplicate frequently used sections and networks including the logic variables and variable declaration Distinctions are made between local and global macros Macros have the following properties e Macros can only be created in the programming languages FBD and LD Macros only contain one single section Macros can contain any complex section From a program technical point of view there is no differentiation between an instanced macro i e a macro inserted into a sec
12. exchange between CPU and MVB 258A Brief description Function This function block realizes data exchange between MVB258A and CPU The data description block length in this case is subject to number and type of the variables A data block with a maximum of 1024 words can be distributed onto 300 ports Use the DATASNK data structure to copy the data block into the CPU Restrictions e Authorized word length of sink ports 1024 e Up to 300 source and 300 sink ports can be addressed e f not addressing any source ports up to 500 sink ports can be configured e The function block cannot be used with Concept simulators The parameters EN and ENO can additionally be projected 46 840 USE 494 00 September 2001 MVB_IN Data exchange between CPU and MVB 258A Representation Symbol Block representation UINT SLOT MVB_IN ERROR DAT_SNK UINT OFF_SNK STATUS INT ANY MVB_STATUS Parameter Description of the block parameters ription descriptio Parameter Data type Meaning SLOT UINT Enter the AS BMVB 258A slot in the primary backplane here Since the first two slots are occupied by the CPU the communications module can only be installed on slots 3 4 or 5 OFF_SNK UINT An offset can be set using these parameters This value is entered in bytes ERROR INT The ERROR output has four different signal states 0 0 no errors 1 invalid slot add
13. or a Program This term can refer to either a Type or an Item Hardware and software which supports programming configuring testing implementing and error searching in PLC applications as well as in remote system applications to enable source documentation and archiving The programming device could also be used for process visualization A redundancy system consists of two identically configured PLC devices which communicate with each other via redundancy processors In the case of the primary PLC failing the secondary PLC takes over the control checks Under normal conditions the secondary PLC does not take over any controlling functions but instead checks the status information to detect mistakes General identification of the uppermost level of a software tree structure which specifies the parent project name of a PLC application After specifying the project name the system configuration and control program can be saved under this name All data which results during the creation of the configuration and the program belongs to this parent project for this special automation General identification for the complete set of programming and configuring information in the Project data bank which displays the source code that describes the automation of a system The data bank in the Programming device which contains the projection information for a Project The prototype data file contains all prototypes of the assigned functions
14. status 0 the redundant port is passively actuated if it is 1 itis actively actuated STATE INT The status or an error code is provided through the STATE parameter The individual messages mean the following e Status messages e 0 Redundancy is not configured 1 Switchover from passive to active 2 Redundant ports are active 3 Switchover from active to passive e 4 Redundant ports are passive e Error messages e 1 An incorrect slot address has been entered e 2 No communications module is installed on the parametered slot 840 USE 494 00 September 2001 59 MVB_RED Switching redundant source ports Detailed description Runtime Optimization Word count adjustment In order to achieve optimum performance with regard to runtime routine of the MVB function blocks the number of words to be transferred must be adjusted according to the respective user program If there is no array optimization all 1024 words in every program cycle of the user program are edited Word count configuration Step Action 1 Open the EXPERTS DTY file from c Concept Lib 2 Adjust the ARRAY ranges as required 3 Save the changes using File Save and close the file 60 840 USE 494 00 September 2001 SIMTSX TSX Simulation 12 Overview Introduction This chapter describes the SIMTSX block What s in this This Chapter contains the following Maps
15. the Hour value AND_BYTE ERT_Time Hour 4 t Ert_Hours 16 1F BYTE_TO_BIT ERT_Time Hour 4 IN BitO Bitl B Bit3 Bit4 BitS Bit6 Bit7 Day_light_saving_time The BYTE value Day contains week and calendar day values The weekday Monday is displayed as 1 in the DPM_Time structure The weekday parameter in SET_TOD uses the value 1 for Sunday Using the calendar day and weekday based on Monday AND_BYTE ERT_Time Day Ert_Cal_Day 16 1F BYTE_TO_BIT BIT_TO_BYTE ERT_Time Day 4 IN Bit0 Bit0 DOW_Monday Bitl Bitl i z H P Bit2 Bit2 SSN Bit3 Bit3 Bit4 Bit4 Bit5 Bit5 Bit6 Bit6 Bit7 Bit7 Further steps must be taken to convert the weekday based on the value of 1 for Monday into the value of 1 for Sunday Calculating the remainder values Mod and addition for converting the weekday values BYTE_TO_INT MOD_INT DOW_Monday ADD_INT INT_TO_BYTE 1 DOW_Sunday 840 USE 494 00 September 2001 29 ERT_854_10 Data transfer EFB Example 2 Setting the PLC clock with the SET_TOD EFB while using ERT All the parameter values required for the SET_TOD EFB were created in example 1 The ND_ Time signal required for transferring the time into the DPM_Time structure with the MOVE block is combined with a user enab
16. the EFB parameters which will actually be used need to be configured This saves on the amount of configuration effort particularly when the counter inputs and event inputs are not mixed together Unfortunately memory cannot be reserved for this because Concept has occupied the outputs with invisible dummy variables Basic structure of the ERT_854_10 input register block with seven 3x registers for transfer from the ERT to the PLC Basic structure ERT_854_10 input register block Of ne register Contents Function block Digital inputs 1 16 Digitally processed input data which is cyclically updated the module s input address corresponds to that of the digital standard input modules i e inputs 1 16 correspond to bits 15 0 Digital inputs 17 32 Transfer status IN transfer status TS_IN MUX 1 Multiplex data block for block transfer such as MUX 2 1 event with 5 byte time stamp or MUX 3 2 counter values of possible configured maximum 32 or MUX 4 1 status word Simplified structure of the ERT_854 10 output register block with five 4x registers for the transfer of the SPS to the ERT ERT_854_10 output register block Contents Function Transfer status OUT transfer status TS_OUT MUX 1 Time data block for the ERT for the clock synchronization MUX 2 MUX 3 MUX 4 Note User interface is normally for the inputs and outputs of the ERT_ 854 10 EFB not the 3x
17. this block here The data structure comprises 32 elements which the slot numbers of your ERT modules must be assigned to according to row The numbers correspond to those in the I O map The remaining fields must be 0 Up to 14 ERT modules can be entered any additional entries will be ignored ERR_DINT DINT The 32 bits are error bits for the ERT module indicated in SLOTSTR Each bit corresponds to one element of SLOTSTR The transfer has been free of errors if all bits 0 Meaning of the bits BitO 1 Error during transfer to 1st ERT 854 Bit1 1 Error during transfer to 2nd ERT 854 Bit3 1 Note The bits are counted from right to left 840 USE 494 00 September 2001 33 ERT_TIME Time transfer to the ERT854 34 840 USE 494 00 September 2001 EXFR Feedback data enable for Experts 4 Overview Introduction This chapter describes the EXFR block What s in this This Chapter contains the following Maps 9 Chapter Topic Page Brief description 36 Representation 36 840 USE 494 00 September 2001 35 EXFR Feedback data enable for Experts Brief description Function description Representation The function can be applied to the expert modules 140 ERT 854 00 and 140 ESI 062 00 It will write a 0 to a byte in the 3x reference range of the expert transfer status in order to facilitate data transfer from an expert into St
18. 24 Connections between outputs and inputs of FFBs of data type BOOL A data element which is made up from one or more bits BOOL stands for the data type Boolean The length of the data elements is 1 bit in the memory contained in 1 byte The range of values for variables of this type is 0 FALSE and 1 TRUE A bridge serves to connect networks It enables communication between nodes on the two networks Each network has its own token rotation sequence the token is not deployed via bridges BYTE stands for the data type Bit sequence 8 The input appears as Base 2 literal Base 8 literal or Base 1 16 literal The length of the data element is 8 bit A numerical range of values cannot be assigned to this data type 840 USE 494 00 September 2001 69 Glossary Cache Call up Coil Compact format 4 1 Connection Constants Contact The cache is a temporary memory for cut or copied objects These objects can be inserted into sections The old content in the cache is overwritten for each new Cut or Copy The operation by which the execution of an operation is initiated A coil is a LD element which transfers without alteration the status of the horizontal link on the left side to the horizontal link on the right side In this way the status is saved in the associated Variable direct address The first figure the Reference is separated from the following address with a colon where the lea
19. 33001610 01 Concept IEC Block Library Part EXPERTS 840 USE 494 00 eng Version 2 5 Table of Contents Part Chapter 1 Part Il Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 About the book En gai ete Wea sine aa cc 5 General information on the EXPERTS block library 7 OVGIVIEW ken e e e dds une eee Be Ea degree E gece ee ee geen 7 Parameterizing functions and function blocks 9 Parameterizing functions and function blocks 10 EFB descriptions 13 OVEIVIOW ee eke e a tase Lise ated ed PE ES RE een 13 ERT_854 10 Data transfer EFB 15 ERT_TIME Time transfer to the ERT854 31 EXFR Feedback data enable for Experts 35 EXRB Accepting feedback values from the expert 37 EXWB Transferring set points to the expert 41 MUX_DINTARR_125 Multiplexer for arrays of the data type DINtAM 25 fare te ana eae date ee ee 43 MVB_IN Data exchange between CPU and MVB 258A 45 MVB_INFO Requesting bus data via MVB 49 MVB_OUT Data exchange between AS BMVB 258A and CPU 53 MVB_RED Switching redundant source ports 57 Chapter 12 SIMTSX TSX Simulation Chapter 13 ULEXSTAT Expert Status Signals Glossary Index Ab
20. 40 USE 494 00 September 2001
21. Concept configurator This I O station type is assigned fixed to the INTERBUS connection module 180 CRP 660 01 The 180 CRP 660 01 differs from the 180 CRP 660 00 only by a clearly larger I O area in the state RAM of the controller Item name An Identifier which belongs to a certain Function block item The item name serves as a unique identifier for the function block in a program organization unit The item name is automatically generated but can be edited The item name must be unique throughout the Program organization unit and no distinction is made between upper lower case If the given name already exists a warning is given and another name must be selected The item name must conform to the IEC name conventions otherwise an error message appears The automatically generated instance name always has the structure FBI_n_m FBI Function block item n Section number number running m Number of the FFB object in the section number running 840 USE 494 00 September 2001 77 Glossary J Jump Element of the SFC language Jumps are used to jump over areas of the chain K Key words Key words are unique combinations of figures which are used as special syntactic elements as is defined in appendix B of the IEC 1131 3 All key words which are used in the IEC 1131 3 and in Concept are listed in appendix C of the IEC 1131 3 These listed keywords cannot be used for any other purpose i e not as variable names section n
22. FFB is only processed if EN 1 e EN not displayed unconditional calls FFB is always processed Note If the EN input is not parameterized it must be disabled Any input pin that is not parameterized is automatically assigned a 0 value Therefore the FFB should never be processed Information on calling functions and function blocks in IL Instruction List and ST Structured Text can be found in the relevant chapters of the user manual 840 USE 494 00 September 2001 11 Parameterization 12 840 USE 494 00 September 2001 EFB descriptions Overview Introduction These EFB descriptions are listed in alphabetical order Note The number of inputs of some EFBs can be increased to a maximum of 32 by changing the size of the FFB symbol vertically Please refer to the description of the individual EFBs to see which EFBs are involved What s in this This Part contains the following Chapters part Chapter Chaptername Page 2 ERT_854_10 Data transfer EFB 15 3 ERT_TIME Time transfer to the ERT854 31 4 EXFR Feedback data enable for Experts 35 5 EXRB Accepting feedback values from the expert 37 6 EXWB Transferring set points to the expert 41 7 MUX_DINTARR_125 MUX_DINTARR_125 Multiplexer for 43 arrays of the data type DintArr125 8 MVB_IN Data exchange between CPU and MVB 258A 45 MVB_INFO Requesting bus data via MVB 49 10 MVB_OUT Data exchange b
23. LC views the remote PLC as a remote I O station The D908 and the remote PLC communicate via the system bus which results in high performance with minimum effect on the cycle time The data exchange between the D908 and the parent PLC takes place at 1 5 Megabits per second via the remote I O bus A parent PLC can support up to 31 Address 2 32 D908 processors The DDE interface enables a dynamic data exchange between two programs under Windows The DDE interface can be used in the extended monitor to call up its own display applications With this interface the user i e the DDE client can not only read data from the extended monitor DDE server but also write data onto the PLC via the server Data can therefore be altered directly in the PLC while it monitors and analyzes the results When using this interface the user is able to make their own Graphic Tool Face Plate or Tuning Tool and integrate this into the system The tools can be written in any DDE supporting language e g Visual Basic and Visual C The tools are called up when the one of the buttons in the dialog box extended monitor uses Concept Graphic Tool Signals of a projection can be displayed as timing diagrams via the DDE connection between Concept and Concept Graphic Tool A remote programming in Modbus Plus network enables maximum data transfer performance and no specific requests on the links The programming of a remote net is easy To set up the net no additi
24. Maps 9 Chapter Topic Page Brief description 54 Representation 54 Detailed description 55 840 USE 494 00 September 2001 53 MVB_OUT Data exchange between AS BMVB 258A and CPU Brief description Function description Representation This function block realizes data exchange between MVB258A and CPU The data block length in this case is subject to number and type of the variables A data block with a maximum of 1024 words can be distributed onto 300 ports The data packets are copied into the communications module using the DATA_SRC parameter Restrictions e The maximum word length of all source ports incl redundancy ports if configured 1024 words e Up to 300 source and 300 sink ports can be addressed e f not addressing any sink ports up to 750 source ports can be configured e The function block cannot be used with Concept simulators The parameters EN and ENO can additionally be projected Symbol Block representation MVB_OUT UINT SLOT ERROR INT UINT OFF_SRC ANY DATA_SRC 54 840 USE 494 00 September 2001 MVB_ OUT Data exchange between AS BMVB 258A and CPU Parameter description Description of the block parameters Parameters Data type Meaning SLOT UINT Enter the AS BMVB 258A slot in the primary backplane here Since the first two slots are occupied by the CPU the communications module can only be installed on
25. OR parameter The parameter displays three different states 0 Error free function e 1 An incorrect slot address has been entered e 2 Nocommunications module is installed on the parameterized slot AL BOOL The AL parameter informs about the active line AL 1 means Line_A is active AL 1 means Line_2 is active CNF BOOL The CNF parameter provides the configuration status A 0 value means there is no configuration error and the MVB I O task is active A 1 value means there is a configuration error Detailed description Runtime Optimization Word count adjustment In order to achieve optimum performance with regard to runtime routine of the MVB function blocks the number of words to be transferred must be adjusted according to the respective user program If there is no array optimization all 1024 words in every program cycle of the user program are edited Word count configuration Step Action 1 Open the file EXPERTS DTY from c Concept Lib 2 Adjust the ARRAY ranges as required 3 Save the changes using File Save and close the file 840 USE 494 00 September 2001 51 MVB_ INFO Request bus data via MVB 52 840 USE 494 00 September 2001 MVB_ OUT Data exchange between AS BMVB 258A and CPU 10 Overview Introduction This chapter describes the MVB_OUT block What s in this This Chapter contains the following
26. PM_Time structure directly using the Time_IN parameter The data structure can also be filled by the user program and the corresponding bits can be set In this manner the time can also be set for example by the CPU As soon as the clock parameter of the ERT is configured to internal clock with a power reserve not equal to zero i e not free running the EFB must use the time provided by the ESI for synchronizing the internal ERT clock Until the first synchronization has taken place the ERT sends back status output word with the bit invalid time set Bit 3 TU The conditions of the first synchronization of the internal ERT using above the DPM_Time structure are The EFB Parameter T_EN must change from 0 to 1 to enable the time setting The time in TIME_IN provided by ESI must be represented as follows e valid i e the bit for the message time invalid in Min value must not be set e and the values in Ms must change continually If at a later point in time the time data is invalid or no longer set the TU changes to 1 after the configured power reserve has run out The synchronization setting of the internal ERT clock takes place using the DPM Time structure if e EFB Parameter T_EN is set to 1 to enable the time setting e The time data in Time_IN provided by ESI are valid i e the Time invalid Bit in the Min value must not be set e The status of the DPM_Time element Sync changes from 0 to 1
27. al error 2704 User error 5 ERT communication timeout e g EFB disabled too long 24 840 USE 494 00 September 2001 ERT_854_ 10 Data transfer EFB Simple example Structure Principle structure diagram QUANTUM FBI XXX User data structure ERT_854_10 SLOTI D S BoolArr32 SLOT2 SLOT Input ARRAY for 32 SLOT3 1 ACK ND TTL Digital inputs IN3 CL_TT TT_Data Mina Any CL_ Count ND Count ERT_10_T Tag 1 IT EN Cnt_Data STRUCTURE Time_IN ND _Stati saves an event Status Status word with time stamp DPM_Time UDIntArr32 STRUCTURE with ARRAY for 32 cyclically actualized Counter inputs Time of ESI module Other functions Input markers Setting the input marker CL_TT causes the FIFO buffer event of the ERT to be cleared Setting the markers for one cycle is sufficient Setting the input marker CL_Count causes the ERT counter to be cleared by the ERT Setting the markers for one cycle is sufficient 840 USE 494 00 September 2001 25 ERT_854_10 Data transfer EFB Use of the DPM_ Time Structure for the synchronization of the internal ERT clock Time synchronization With power reserve If the time can not be synchronized through a standard time receiver the time information can alternatively be transferred from the 140 ESI 062 01 communication module The ESI makes the updated time available ina D
28. al ports COM the information is transferred bit by bit The source code data file is a usual C source file After execution of the menu command Library Generate data files this file contains an EFB code framework in which a specific code must be entered for the selected EFB To do this click on the menu command Objects Source The five figure address is located directly after the first figure the reference If the data type for the literal is to be automatically determined use the following construction Data type name Literal value 84 840 USE 494 00 September 2001 Glossary State RAM Statement ST Status bits Step Step name Structured text ST Structured variables Example INT 15 Data type Integer value 15 BYTE 00001111 data type Byte value 00001111 REAL 23 0 Data type Real value 23 0 For the assignment of REAL data types there is also the possibility to enter the value in the following way 23 0 Entering a comma will automatically assign the data type REAL The state RAM is the storage for all sizes which are addressed in the user program via References Direct display For example input bits discretes input words and discrete words are located in the state RAM Instructions are commands of the ST programming language Instructions must be terminated with semicolons Several instructions separated by semi colons can occupy the same line There is a
29. ame conventions identifier The I O and expert assemblies of the various CPUs are configured in the I O component list International norm Programmable controllers part 3 Programming languages In the place of the address stands an IEC identifier followed by a five figure address e 0x12345 Q12345 e 1x12345 112345 e 3x12345 LIW12345 e 4x12345 QW12345 An identifier is a sequence of letters figures and underscores which must start with a letter or underscores e g name of a function block type of an item or section Letters from national sets of characters e g 6 0 6 can be used taken from project and DFB names 840 USE 494 00 September 2001 75 Glossary IIR filter Initial step starting step Initial value Input bits 1x references Input parameters Input Input words 3x references Instantiation Instruction IL Underscores are significant in identifiers e g A BCD and AB CD are interpreted as different identifiers Several leading and multiple underscores are not authorized consecutively Identifiers are not permitted to contain space characters Upper and or lower case is not significant e g ABCD and abcd are interpreted as the same identifier Identifiers are not permitted to be Key words Infinite Impulse Response Filter The first step in a chain In each chain an initial step must be defined The chain is started with the initial step when fi
30. ames item names etc L Ladder Diagram LD Ladder Logic 984 LL Landscape format Ladder Diagram is a graphic programming language according to IEC1131 which optically orientates itself to the rung of a relay ladder diagram In the terms Ladder Logic and Ladder Diagram the word Ladder refers to execution In contrast to a diagram a ladder logic is used by engineers to draw up a circuit with assistance from electrical symbols which should chart the cycle of events and not the existing wires which connect the parts together A usual user interface for controlling the action by automated devices permits ladder logic interfaces so that when implementing a control system engineers do not have to learn any new programming languages with which they are not conversant The structure of the actual ladder logic enables electrical elements to be linked in a way that generates a control output which is dependant upon a configured flow of power through the electrical objects used which displays the previously demanded condition of a physical electric appliance In simple form the user interface is one of the video displays used by the PLC programming application which establishes a vertical and horizontal grid in which the programming objects are arranged The logic is powered from the left side of the grid and by connecting activated objects the electricity flows from left to right Landscape format means that the page is wider tha
31. and 4x registers 840 USE 494 00 September 2001 19 ERT_854_10 Data transfer EFB EFB configuration EFB connection Data Flow Digital Inputs Counter Inputs Event Inputs The EFB connection to the input and output references 3x and 4x registers is accomplished through a graphic connection to the ERT slot number in the same way as with analog modules The currently available QUANTUM and DROP EFBs from the ANA_IO library are used as follows QUANTUM for local and DROP for remote backplanes These EFBs transfer an integer index to every specified slot which points to an internal data structure with the configured values The module parameters and the ID are stored there in addition to the addresses and lengths of the assigned input and output references 3x and 4x registers A significant improvement in the runtime can be achieved by deactivating the QUANTUM or the DROP EFB after the first execution The average runtime of the ERT_854_10 EFB in a CPU x13 0x is approximately 0 6 ms minimum 0 4 ms maximum 1 6 ms Every Quantum or DROP EFB runs on average at approximately 1 ms min approx 0 9 ms max approx 1 3 ms No flag for new data is provided for this input type The digital inputs in the first two input register words are updated every second cycle directly by the ERT The EFB makes the processed values available as Bool if the BoolArr32 output field has been configured accordingly Cyclic
32. area access with EXFR 2946 Expert not mounted or in wrong slot Examine the EFB parameter assignments and or the I O component list entry 2947 Expert not connected or recognized Check the hardware configuration perform a hardware reset 2948 Field is not configured Examine the EFB parameter assignments 2949 Internal error Contact the hotline 2950 No wrong expert mounted check the hardware configuration 2951 Wrong firmware or expert mode check the hardware configuration 2952 Synchronization error Perform a hardware reset 2953 Elementary data transfer error Perform a hardware reset 2954 Loadable ULEX not present or ULEX misbehavior Load ULEX or contact the hotline 2955 Source buffer not in use Start the EFB again later 840 USE 494 00 September 2001 39 EXRB Accepting feedback values from the expert 40 840 USE 494 00 September 2001 EXWB Transferring set points to the expert 6 Overview Introduction This chapter describes the EXWB block What s in this This Chapter contains the following Maps 9 Chapter Topic Page Brief description 42 Representation 42 Runtime error 42 840 USE 494 00 September 2001 41 EXWB Transferring set points to the expert Brief description Function The function can be applied to the expert m
33. ate RAM of the PLC The write enable is revoked automatically after transfer completion leaving the data write protected EFB must be reinvoked before the next data transfer Note Use this function only once in text languages IL and ST otherwise a faulty code will be generated The parameters EN and ENO can additionally be projected Symbol Block representation EXFR BYTE STATUS Parameter Description of the block parameters ription descriptio Parameters Data type Meaning STATUS BYTE Only the tstat structure element of the expert data structure should be referenced here Example xxx in tstat with xxx as the name of the variable for the derived data type ESI_In or ERT_In assigned in the Variable editor 36 840 USE 494 00 September 2001 EXRB Accepting feedback values from the expert 5 Overview Introduction This chapter describes the EXRB block What s in this This Chapter contains the following Maps 9 Chapter Topic Page Brief description 38 Representation 38 Runtime error 39 840 USE 494 00 September 2001 37 EXRB Accepting feedback values from the expert Brief description Function The function can be applied to the expert modules 140 ERT 000 00 and 140 ESI 062 description 00 It copies expert feedback values and status data from the expert s dual port ram into the 3x registers of the state
34. ation between the PLC and an IBM compatible personal computer RTU works with 8 data bits Error which occurs during program processing on the PLC with SFC objects i e steps or FFBs These are for example over runs of value ranges with figures or time errors with steps SA85 module Section Separator format 4 00001 Sequence language SFC Serial ports Source code data file Concept EFB Standard format 400001 Standardized literals The SA85 module is a Modbus Plus adapter for an IBM AT or compatible computer A section can be used for example to describe the functioning method of a technological unit such as a motor A Program or DFB consist of one or more sections Sections can be programmed with the IEC programming languages FBD and SFC Only one of the named programming languages can be used within a section Each section has its own Document window in Concept For reasons of clarity it is recommended to subdivide a very large section into several small ones The scroll bar serves to assist scrolling in a section The first figure the Reference is separated from the ensuing five figure address by a colon The SFC Language elements enable the subdivision of a PLC program organiza tional unit in a number of Steps and Transitions which are connected horizontally by aligned Connections A number of actions belong to each step and a transition condition is linked to a transition With seri
35. curring during the loadable ULEX execution Should fault messages appear from several experts the EFB always returns the status signals of the expert with the lowest slot number The parameters EN and ENO can additionally be projected Symbol Block representation ULEXSTAT SEMODNUM WORD SELIMNUM WORD SEERRCOD WORD HERCKNUM WORD HESLTNUM WORD HEMODSTS WORD HECHLSTS WORD 64 840 USE 494 00 September 2001 ULEXSTAT Expert Status Signals Parameter Description of the block parameters description Parameters Data type Meaning SEMODNUM WORD 0 no software errors have occurred not equal to 0 Software errors The number displayed is an aid to error localization Please report when requested by the hotline SELIMNUM WORD See above SEERRCOD WORD See above HERCKNUM WORD 0 Hardware faults were not noted 1 Hardware fault recognized HESLTNUM WORD 0 no hardware faults noted 1 16 Slot number for which the hardware fault was recognized HEMODSTS WORD Module status Identical with the USERSTATUS structure element in the EXPSTATUS data structure HECHLSTS WORD Module fault code Identical with the ERRNO structure element in the EXPSTATUS data structure 840 USE 494 00 September 2001 65 ULEXSTAT Expert Status Signals 66 840 USE 494 00 September 2001 Glossary A active win
36. ding zero are not entered in the address A check or flow of data connection between graphic objects e g steps in the SFC editor Function blocks in the FBD editor within a section is graphically shown as a line Constants are Unlocated variables which are assigned a value that cannot be altered from the program logic write protected A contact is a LD element which transfers a horizontal connection status onto the right side This status is from the Boolean AND operation of the horizontal connection status on the left side with the status of the associated Variables direct Address A contact does not alter the value of the associated variables direct address Data transfer settings Settings which determine how information from the programming device is transferred to the PLC 70 840 USE 494 00 September 2001 Glossary Data types DCP I O station DDE Dynamic Data Exchange Decentral Network DIO Declaration The overview shows the hierarchy of data types as they are used with inputs and outputs of Functions and Function blocks Generic data types are denoted by the prefix ANY e ANY_ELEM e ANY NUM ANY_REAL REAL ANY_INT DINT INT UDINT UINT e ANY_BIT BOOL BYTE WORD e TIME e System data types IEC extensions e Derived from ANY data types With a Distributed Control Processor D908 a remote network can be set up with a parent PLC When using a D908 with remote PLC the parent P
37. dow Actual parameter Addresses ANL_IN ANL_OUT ANY The window which is currently selected Only one window can be active at any one given time When a window is active the heading changes color in order to distinguish it from other windows Unselected windows are inactive Currently connected Input Output parameters Direct addresses are memory areas on the PLC These are found in the State RAM and can be assigned input output modules The display input of direct addresses is possible in the following formats e Standard format 400001 Separator format 4 00001 Compact format 4 1 IEC format QW1 ANL_IN stands for the data type Analog Input and is used for processing analog values The 3x References of the configured analog input module which is specified in the I O component list is automatically assigned the data type and should therefore only be occupied by Unlocated variables ANL_OUT stands for the data type Analog Output and is used for processing analog values The 4x References of the configured analog output module which is specified in the I O component list is automatically assigned the data type and should therefore only be occupied by Unlocated variables In the existing version ANY covers the elementary data types BOOL BYTE DINT INT REAL UDINT UINT TIME and WORD and therefore derived data types 840 USE 494 00 September 2001 67 Glossary ANY BIT In the existing version
38. e current version Distinctions are made between local and global DFBs DINT stands for the data type double integer The input appears as Integer literal Base 2 literal Base 8 literal or Base 16 literal The length of the data element is 32 bit The range of values for variables of this data type is from 2 exp 31 to 2 exp 31 1 A method of displaying variables in the PLC program from which the assignment of configured memory can be directly and indirectly derived from the physical memory Document A window within an Application window Several document windows can be opened window at the same time in an application window However only one document window can be active Document windows in Concept are for example sections the message window the reference data editor and the PLC configuration Dummy An empty data file which consists of a text header with general file information i e author date of creation EFB identifier etc The user must complete this dummy file with additional entries DX Zoom This property enables connection to a programming object to observe and if necessary change its data value 72 840 USE 494 00 September 2001 Glossary Elementary functions function blocks EFB EN ENO Enable Error display Identifier for Functions or Function blocks whose type definitions are not formulated in one of the IEC languages i e whose bodies for example cannot be modified with the DFB
39. e to allow further processing of the time data The BOOL Sync element value of the ERT_Time should begin to tick during each new transfer from the ERT There is a new transfer after a maximum of each 200 PLC cycles A number of simple logical operations is needed to obtain a meaningful display of the time information of the DPM_Time structure The same commands can also be used for the ERT_10_T Tag structure As example 2 deals with setting the PLC clock while using the SET_TOD EFB individual values are directly converted into the required formats Note The reference data editor RDE can provide the ms value directly in the Uns Dec WORD format and the Min value in the Dec BYTE format SET_TOD requires that the WORD millisecond value ms is converted into a BYTE second value The BYTE minute value Min contains the error bit which must be removed values greater than 127 are invalid Conversion of the WORD millisecond value into a seconds BYTE WORD_TO_UINT DIV_UINT UINT_TO_BYTE ERT_Time Ms 1000 Ert_Seca AND_BYTE ERT_Time Min Ert_Mina 16 3F The BYTE value Day contains week and calendar day values The weekday Monday is displayed as 1 in the DPM_Time structure The weekday parameter in SET_TOD uses the value 1 for Sunday 28 840 USE 494 00 September 2001 ERT_854_ 10 Data transfer EFB Removing restoring the bit for the summer time of
40. erence data editor These variables are only addressed by symbolic names Signals requiring no peripheral access e g intermediate results system tags etc should primarily be declared as unlocated variables V Variables Variables function as a data exchange within sections between several sections and Vertical format between the Program and the PLC Variables consist of at least a variable name and a Data type Should a variable be assigned a direct Address Reference it is referred to as a Located variable Should a variable not be assigned a direct address it is referred to as an unlocated variable If the variable is assigned a Derived data type it is referred to as a Multi element variable Otherwise there are Constants and Literals Vertical format means that the page is higher than it is wide when looking at the printed text 840 USE 494 00 September 2001 87 Glossary WwW Warning WORD When processing a FFB or a Step a critical status is detected e g critical input value or a time out a warning appears which can be viewed with the menu command Online Event display With FFBs the ENO output remains at 1 WORD stands for the data type Bit sequence 16 The input appears as Base 2 literal Base 8 literal or Base 1 16 literal The length of the data element is 16 bit A numerical range of values cannot be assigned to this data type 88 840 USE 494 00 September 2001 mo Ind
41. etween AS BMVB 258A and 53 CPU 11 MVB_RED Switching redundant source ports 57 12 SIMTSX TSX Simulation 61 13 ULEXSTAT Expert Status Signals 63 840 USE 494 00 September 2001 EFB descriptions 14 840 USE 494 00 September 2001 ERT_854 10 Data transfer EFB Overview Introduction This chapter describes the ERT 854 10 block What s in this This Chapter contains the following Maps Chapter Topic Page Brief description 16 Representation 16 Mode of Functioning 18 EFB configuration 20 Data Flow 20 Simple example 25 Other functions 25 Use of the DPM_Time Structure for the synchronization of the internal ERT 26 clock Using the ERT gt EFB time data flow 27 840 USE 494 00 September 2001 ERT_854_10 Data transfer EFB Brief description Function description Representation The ERT_854_10 EFB provides the programmer with a software interface to the ERT 854 10 module It allows easy access to functions like counters time stamp status or time synchronization Using the input and output registers the ERT_854 10 EFB can coordinate the flow of Multiplex data from the ERT to the PLC It also ensures that the intermediate counter values are stored in an internal memory area until the data is complete so a consistent set of all counter values is made available to the statement list A flag New data is always set for every data type if
42. evices Concept closes the mounting on the I O population SY MAX I O modules for RIO control via the Quantum PLC with on The SY MAX remote subrack has a remote I O adapter in slot 1 which communicates via a Modicon S908 R I O system The SY MAX I O modules are performed when highlighting and including in the I O population of the Concept configuration Graphic display of various objects in Windows e g drives user programs and Document windows Template data file Concept EFB TIME Time span literals Token Traffic Cop Transition The template data file is an ASCII data file with a layout information for the Concept FBD editor and the parameters for code generation TIME stands for the data type Time span The input appears as Time span literal The length of the data element is 32 bit The value range for variables of this type stretches from 0 to 2exp 32 1 The unit for the data type TIME is 1 ms Permitted units for time spans TIME are days D hours H minutes M seconds S and milliseconds MS or a combination thereof The time span must be denoted by the prefix t T time or TIME An overrun of the highest ranking unit is permitted i e the input T 25H15M is permitted Example t 14MS T 14 7S time 18M TIME 19 9H t 20 4D T 25H15M time 5D14H12M18S3 5MS The network Token controls the temporary property of the transfer rights via a single node The token runs through the node in a circulat
43. ex C Experts ERT_854 10 15 Counter Inputs ERT_TIME 31 ERT 854 10 20 EXFR 35 EXRB 37 D EXWB 41 MUX_DINTARR_125 43 Data exchange between AS BMVB 258A MVB_IN 45 and CPU 53 MVB_INFO 49 Data exchange between CPU and MVB MVB_OUT 53 258A 45 MVB_RED 57 Data Flow SIMTSX 61 ERT 854 10 20 ULEXSTAT 63 Digital Inputs EXRB 37 ERT 854 10 20 Accepting feedback values from the expert 37 E EXWB 41 EFB Error Bits ERT 854 10 23 F Error Bits ERT 854 10 22 ERT 854 10 Data transfer EFB 15 ERT Error Bits ERT 854 10 23 ERT 854 10 15 ERT_TIME 31 ERT_TIME Time transfer to the ERT854 31 Event Inputs ERT 854 10 20 EXFR 35 Expert status signals 63 Feedback data enable for Experts 35 Function Parameterization 9 10 Function block Parameterization 9 10 840 USE 494 00 September 2001 89 Index T IO Control Transferring set points to the expert 41 EXFR 35 TSX Simulation 61 MUX_DINTARR_125 43 MVB_OUT 53 MVB_RED 57 U ULEX Status ULEXSTAT 63 M ULEXSTAT 63 Multiplexer for Arrays of the DintArr125 data type 43 MUX_DINTARR_125 43 MVB MVB_IN 45 MVB_INFO 49 MVB_IN 45 MVB_INFO 49 MVB_OUT 53 MVB_RED 57 O On Demand IO EXRB 37 EXWB 41 P Parameterization 9 10 R Requesting bus data via MVB 49 Rough Time Output 22 RTU ERT_854_10 15 ERT_TIME 31 S SIMTSX 61 SIMTSX 61 Status Inputs ERT 854 10 22 Switching redundant source ports 57 90 8
44. f the week Day in the month Mon BYTE Month Year BYTE Year Event structure of the ERT_10_TTag with 5 Byte time stamp further information can be found in Data Flow p 20 Element Element type Meaning User BYTE Complete time user number module number Input BYTE Event set type No of the first input In BYTE Event data 1 2 or 8 managed positions Ms WORD Time in milliseconds Min BYTE Time invalid minutes Hour BYTE Summer time hours Day BYTE Day of the week Day of the month Mode of Functioning ERT data transfer The number of I O words available on the local and remote subracks is limited to 64 inputs and 64 outputs For this reason the number of ERT modules which can be used per local remote backplane is limited to 9 with the currently selected minimum requirements of 7 input words and 5 output words per module The size of the required ERT data transfer is considerably larger e 32 counters 64 words e an event with a 5 byte time stamp 4 words e 32 digital values and the ERT status 3 words These inconsistent size requirements necessitate the use of a special transfer EFB called ERT_854 10 to execute the required operations on the PLC and to adjust the ERT representation of the data in Multiplex form An EFB is required for every ERT module 840 USE 494 00 September 2001 ERT_854_ 10 Data transfer EFB To simplify matters only
45. fect is however that the ND_TT only stays set for one cycle In this special mode it is still the job of the user program to finish event processing before ND_TT signals the transfer of other new events to the ERT_10_TT structure because handshake protection by ACK is not available in this case ERT_10 TTag ERT_10_TTag event structure with 5 byte time stamps Byte Bits Function 1 DO D6 Module No Rough time CT 1 indicates that this time stamp contains 0 127 the whole time value including month and year in bytes 2 D7 CT 8 The Module no can be set in any way in the parameter screen 2 DO D5 input no No of the first input of the event group 1 32 D6 P1 Type of the event message P2 P1 1 59 see Note 1 D7 P2 p 22 Month value if CT 1 3 DO D7 data from the 1 2 or 8 managed positions event group D7 D0 Month value if CT 1 with right alignment 4 Time in milliseconds 0 least significant byte 59999 milliseconds max 61100 see Note 2 p 22 5 Time in milliseconds 0 most significant byte 59999 milliseconds max 61100 see Note 2 p 22 and Note 3 p 22 6 DO D5 minutes Minutes 0 59 D6 R Time invalid TI 1 means invalid time reserved 0 see D7 TI Note 3 p 22 7 DO D4 hours Hours 0 23 D5 R Summer time DS 1 indicates that summer time is set D6 R With switchover from ST gt WT hour 2A has ST and hour D7 DS 2B has WT 8
46. his does not happen the values remain stuck in the ERT until an event occurs Within the time stamp of a rough time output the CT bit is always set so that byte 2 contains the information about the month byte 3 the information about the year and bytes 4 to 8 show the same time stamp values of the triggering event which is immediately followed by the event message for rough time output The flag for new status data ND_ Stat is set for one cycle The status inputs can be overwritten after 2 query cycles The status word contains EFB and ERT error bits Internal structure of the EFB ERT status word EFB error bits ERT error bits D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 DO 22 840 USE 494 00 September 2001 ERT_854_ 10 Data transfer EFB ERT Error Bits D8 DO ERT error bits Bit Abbreviation Meaning DO FW Firmware errors self test errors within EPROM RAM or DPM severe module errors D1 FP Parameter errors severe internal errors D2 TE External time reference error time basis signal disrupted or not available D3 TU Time became invalid D4 TA Time is not synchronized Free running mode permanent running without time error message see also Without power reserve p 27 D5 PF FIFO buffer overflow loss of the most recent event data D6 PH FIFO buffer half full D7 DC Dechattering active so
47. iables when it is called up as a certain item All output values and internal variables of a certain function block item remain as a call up of the function block until the next Multiple call up of the same function block item with the same arguments Input parameter values supply generally supply the same output value s Each function block item is displayed graphically by a rectangular block symbol The name of the function block type is located on the top center within the rectangle The name of the function block item is located also at the top but on the outside of the rectangle An instance is automatically generated when creating which can however be altered manually if required Inputs are displayed on the left side and outputs on the right of the block The names of the formal input output parameters are displayed within the rectangle in the corresponding places The above description of the graphic presentation is principally applicable to Function call ups and to DFB call ups Differences are described in the corresponding definitions One or more sections which contain graphically displayed networks from Functions Function blocks and Connections A language element consisting of 1 the definition of a data structure subdivided into input output and internal variables 2 A set of operations which is used with the elements of the data structure when a function block type instance is called up This set of operations can be for
48. ield variables FIR filter Collective term for EFB elementary functions function blocks and DFB derived function blocks Variables one of which is assigned with the assistance of the key word ARRAY field a defined Derived data type A field is a collection of data elements of the same Data type Finite Impulse Response Filter 840 USE 494 00 September 2001 73 Glossary Formal parameters Function FUNC Function block item FB Function block dialog FBD Function block type Function counter Input Output parameters which are used within the logic of a FFB and led out of the FFB as inputs outputs A Program organization unit which exactly supplies a data element when executing A function has no internal status information Multiple call ups of the same function with the same input parameter values always supply the same output values Details of the graphic form of function call up can be found in the definition Function block Item In contrast to the call up of function blocks the function call ups only have one unnamed output whose name is the name of the function itself In FBD each call up is denoted by a unique number over the graphic block this number is automatically generated and cannot be altered A function block is a Program organization unit which correspondingly calculates the functionality values defined in the function block type description for the output and internal var
49. ing rising address sequence All nodes track the Token run through and can contain all possible data sent with it The Traffic Cop is a component list which is compiled from the user component list The Traffic Cop is managed in the PLC and in addition contains the user component list e g Status information of the I O stations and modules The condition with which the control of one or more Previous steps transfers to one or more ensuing steps along a directional Link 86 840 USE 494 00 September 2001 Glossary U UDEFB User defined elementary functions function blocks Functions or Function blocks which were created in the programming language C and are available in Concept Libraries UDINT UDINT stands for the data type unsigned double integer The input appears as Integer literal Base 2 literal Base 8 literal or Base 16 literal The length of the data element is 32 bit The value range for variables of this type stretches from 0 to 2exp 32 1 UINT UINT stands for the data type unsigned integer The input appears as Integer literal Base 2 literal Base 8 literal or Base 16 literal The length of the data element is 16 bit The value range for variables of this type stretches from 0 to 2exp16 1 Unlocated Unlocated variables are not assigned any state RAM addresses They therefore do variable not occupy any state RAM addresses The value of these variables is saved in the system and can be altered with the ref
50. last element in the line 76 840 USE 494 00 September 2001 Glossary Instruction When programming electric controllers the task of implementing operational coded LL984 instructions in the form of picture objects which are divided into recognizable contact forms must be executed The designed program objects are on the user level converted to computer useable OP codes during the loading process The OP codes are deciphered in the CPU and processed by the controller s firmware functions so that the desired controller is implemented Instruction list IL is a text language according to IEC 1131 in which operations e g conditional IL unconditional call up of Function blocks and Functions conditional unconditional jumps etc are displayed through instructions INT INT stands for the data type whole number The input appears as Integer literal Base 2 literal Base 8 literal or Base 16 literal The length of the data element is 16 bit The range of values for variables of this data type is from 2 exp 15 to 2 exp 15 1 Integer literals Integer literals function as the input of whole number values in the decimal system The values may be preceded by the signs Single underline signs _ between figures are not significant Example 12 0 123_456 986 INTERBUS PCP To use the INTERBUS PCP channel and the INTERBUS process data preprocessing PDP the new I O station type INTERBUS PCP is led into the
51. le here e g only once per hour to set the PLC clock only when new error free time data have been transferred by the ERT The ERT error bits are never set when the internal clock is time data in free run mode The SET_TOD EFB is in the HSBY group of the SYSTEM block library If it is used the clock must be activated by storing the TIME OF DAY register in the SPECIALS range of the configuration with 4x addresses Note The status parameter value is not exactly synchronized with the time data flow and for this reason can only tend to reflect the correct value User enabled setting system for the PLC clock while using the SET_TOD EFB WORD_TO_BIT ERT_854_10 IN BitO AND_BOOL Status Bitl ND_Time Bit2 c Bit3 Bit4 User_Enable Bits Bitl5 SET_TOD S_PULSE TOD_CNFF DOW_Sunday 4 D_WEEK ERT_Time Mon MONTH Ert_Cal_Day DAY ERT_Time Year j YEAR Ert_Hours HOUR Ert_Mins MINUTE Ert_Secs SECOND 30 840 USE 494 00 September 2001 ERT_ TIME Time transfer to the ERT854 3 Overview Introduction This chapter describes the ERT_TIME block What s in this This Chapter contains the following Maps 9 Chapter Topic Page Brief description 32 Representation 33 840 USE 494 00 September 2001 31 ERT_TIME Time transfer to the ERT854 Brief description Function description The func
52. les The first back up file is called backup00 c If changes have been made on the Definition file which do not create any changes to the interface in the EFB there is no need to create a back up file by editing the source files Objects Source If a back up file can be assigned the name of the source file can be given 68 840 USE 494 00 September 2001 Glossary Base 16 literals Base 8 literal Basis 2 literals Binary connections Bit sequence BOOL Bridge BYTE Base 16 literals function as the input of whole number values in the hexadecimal system The base must be denoted by the prefix 16 The values may not be preceded by signs Single underline signs _ between figures are not significant Example 16 F_F or 16 FF decimal 255 16 E_0 or 16 E0 decimal 224 Base 8 literals function as the input of whole number values in the octal system The base must be denoted by the prefix 3 63kg The values may not be preceded by signs Single underline signs _ between figures are not significant Example 8 3_1111 or 8 377 decimal 255 8 34 1111 or 84340 decimal 224 Base 2 literals function as the input of whole number values in the dual system The base must be denoted by the prefix 0 91kg The values may not be preceded by signs Single underline signs _ between figures are not significant Example 2 1111_1111 or 2411111111 decimal 255 2 1110 1111 or 2 11100000 decimal 2
53. llowing Maps 9 Chapter Topic Page Brief description 58 Representation 59 Detailed description 60 840 USE 494 00 September 2001 57 MVB_RED Switching redundant source ports Brief description Function MVB_RED is a function block for redundant source port switching If there are description defined redundant source ports they can be actuated actively or passively using the EFBs Note The function block cannot be used with Concept simulators The parameters EN and ENO can additionally be projected 58 840 USE 494 00 September 2001 MVB_RED Switching redundant source ports Representation Symbol Block representation MVB_RED BOOL 4 CLK DONE BOOL UINT SLOT STATE INT BOOL SET Parameter Description of the block parameters description Parameters Data type Meaning CLK BOOL The SET parameter acceptance is achieved through transition control But the SET parameter is only analyzed if a positive transition is applied at the CLK parameter SLOT UINT Enter the MVB 258A slot in the primary backplane here Since the first two slots are occupied by the CPU the communications module can only be installed on slots 3 4or5 SET BOOL Use this parameter bit to actuate the ports actively 1 or passively 0 DONT BOOL This parameter response bit uses status 0 or 1 to inform about the redundant port status This means if the
54. me event data lost D8 CE ERT communication error procedure errors or time out When configuring the Screens parameter some of these errors can be assigned to grouped error messages with the F light as well as the module s error byte within the status table All other errors are then defined as warnings D11 D9 reserved EFB Error Bits D15 D12 EFB error bits Bin Hex Meaning 1000 8 HEX EFB communication time out 0101 5 HEX Wrong slot 0110 6 HEX Health status bit is not set ERT appears not to be available other internal error values 840 USE 494 00 September 2001 23 ERT_854_10 Data transfer EFB Online error The following ERT ERB error messages are displayed in the Online event display viewer Concept window with an error number and explanation EFB error messages Message Error Meaning 2710 User error 11 EFB communication time out 2711 User error 12 EFB internal error 2712 User error 13 EFB internal error 2713 User error 14 EFB internal error 2714 User error 15 EFB internal error 2715 User error 16 Wrong slot 2716 User error 17 Health status bit is not set ERT appears not to be available 2717 User error 18 EFB internal error ERT error messages Message Error Meaning 2700 User error 1 ERT internal error 2707 User error 8 ERT intern
55. mulated either in one of the IEC languages DFB type or in C EFB type A function block type can be instanced called up several times The function counter serves as a unique identifier for the function in a Program or DFB The function counter cannot be edited and is automatically assigned The function counter always has the structure n m n Section number number running m Number of the FFB object in the section number running 74 840 USE 494 00 September 2001 Glossary G Generic data type Generic literal Global derived data types Global DFBs Global macros Groups EFBs A Data type which stands in for several other data types If the Data type of a literal is not relevant simply enter the value for the literal In this case Concept automatically assigns the literal to a suitable data type Global Derived data types are available in every Concept project and are contained in the DFB directory directly under the Concept directory Global DFBs are available in every Concept project and are contained in the DFB directory directly under the Concept directory Global Macros are available in every Concept project and are contained in the DFB directory directly under the Concept directory Some EFB libraries e g the IEC library are subdivided into groups This facilitates the search for FFBs especially in extensive libraries 1 0 component list IEC 61131 3 IEC format QW1 IEC n
56. n it is long when looking at the printed text 78 840 USE 494 00 September 2001 Glossary Language element Library Literals Local derived data types Local DFBs Local link Local macros Local network nodes Located variable Each basic element in one of the IEC programming languages e g a Step in SFC a Function block item in FBD or the Start value of a variable Collection of software objects which are provided for reuse when programming new projects or even when building new libraries Examples are the Elementary function block types libraries EFB libraries can be subdivided into Groups Literals serve to directly supply values to inputs of FFBs transition conditions etc These values cannot be overwritten by the program logic write protected In this way generic and standardized literals are differentiated Furthermore literals serve to assign a Constant a value or a Variable an Initial value The input appears as Base 2 literal Base 8 literal Base 16 literal Integer literal Real literal or Real literal with exponent Local derived data types are only available in a single Concept project and its local DFBs and are contained in the DFB directory under the project directory Local DFBs are only available in a single Concept project and are contained in the DFB directory under the project directory The local network link is the network which links the local nodes with other nodes either
57. odules 140 ERT 000 00 and 140 ESI 062 description 00 It copies expert command data from 4x Reference area of the PLC state memory into the expert s dual port ram This occurs directly upon execution of the EFB The CPU automatically determines register addresses from the configuration data present in the I O component list and experts dual port ram The parameters EN and ENO can additionally be projected Representation Symbol Block representation EXWB INT SLOT INT INT FTYPE Parameter Description of the block parameters description Parameters Data type Meaning SLOT INT Module slot number FTYPE INT Field type to be written 2 command data field 1 5 6 7 reserved for future applications Currently not to be used OUT INT 0 field was written without errors not equal to 0 error occurred while field was being written see Runtime errors of the EXRB block See Runtime error p 39 Runtime error Runtime error Runtime error see EXRB See Runtime error p 39 42 840 USE 494 00 September 2001 MUX_DINTARR_125 Multiplexer for arrays of the data type F DintArr125 Overview Introduction This chapter describes the MUX_DINTARR_125 block What s in this This Chapter contains the following Maps 9 Chapter Topic Page Brief description 44 Representation 44 Runtime error 44 840 USE 494 00 September 2001
58. onal ladder diagram logic is needed Via corresponding entries into the Peer Cop processor all data transfer requests are met Mechanism for determining the definition of a Language element A declaration normally covers the connection of an Identifier with a language element and the assignment of attributes such as Data types and algorithms 840 USE 494 00 September 2001 71 Glossary Definition data file Concept EFB Derived data type Derived Function Block DFB DINT Direct display The definition file contains general descriptive information about the selected FFB and its formal parameters Derived data types are types of data which are derived from the Elementary data types and or other derived data types The definition of the derived data types appears in the data type editor in Concept Distinctions are made between global data types and local data types A derived function block represents the Call up of a derived function block type Details of the graphic form of call up can be found in the definition Function block Item Contrary to calling up EFB types calling up DFB types is denoted by double vertical lines on the left and right side of the rectangular block symbol The body of a derived function block type is designed using FBD language but only in the current version of the programming system Other IEC languages cannot yet be used for defining DFB types nor can derived functions be defined in th
59. out the book At a Glance Document Scope Validity Note Related Documents User Comments This documentation will help you in configuring the functions and the function blocks This documentation applies to Concept 2 5 in Microsoft Windows 98 Microsoft Windows 2000 and Microsoft Windows NT 4 x Note Additional up to date tips can be found in the Concept README data Title of Documentation Reference Number Concept Installation instructions 840 USE 492 00 Concept Installation Instructions 840 USE 493 00 Concept EFB User Manual 840 USE 495 00 Concept LL984 Block Library 840 USE 496 00 We welcome your comments about this document You can reach us by e mail at TECHCOMM modicon com 840 USE 494 00 September 2001 5 About the book 6 840 USE 494 00 September 2001 General information on the EXPERTS block library Overview Introduction This section contains general information about the EXPERTS block library What s in this This Part contains the following Chapters 9 part Chapter Chaptername Page 1 Parameterizing functions and function blocks 9 840 USE 494 00 September 2001 General information 8 840 USE 494 00 September 2001 Parameterizing functions and function blocks 840 USE 494 00 September 2001 Parameterization Parameterizing functions and function blocks Each FFB consis
60. ress only 3 5 authorized in basic rack 2 a wrong module has been placed onto this backplane slot 4 the data block together with the offset is greater than 1024 or 0 DATA_SNK ANY This parameter contains the input data structure up to 1024 words The default of the DATA_SNK parameter is data type ANY In this case either a self defined data type or the predefined data type MVB_IN which is defined as an array of 1024 words can be used STATUS MVB_STATUS The status parameter is an array of 32 words Each bit from the array reflects the validity of a port The bits are stored in ascending order of the ports The status bits are updated for all configured ports If the bit 0 the port variable is valid Accordingly the port variable is invalid if the bit 1 All unused bits are set to 1 and therefore invalid 840 USE 494 00 September 2001 47 MVB_IN Data exchange between CPU and MVB 258A Detailed description Runtime Optimization Word count adjustment In order to achieve optimum performance with regard to runtime routine of the MVB Function blocks the number of words to be transferred must be adjusted according to the respective user program If there is no array optimization all 1024 words in every program cycle of the user program are edited Word count configuration Step Action 1 Open the EXPERTS DTY file from c Concept Lib 2 Adjus
61. rolled time synchronization in the Sync element Input BOOLArr32 Output array for all 32 digital inputs in BOOL format also provided in the form of word references as 3x registers 1 2 ND_TT BOOL Flag new data in TT_Data structure remains set until user confirmation with ACK TT_Data ERT_10_TTag Event message output structure with time stamp An event is held and NDTT is set to 1 until there is a user enable with ACK 1 ND_Count BOOL Flag new counter data in Cnt_Data structure The value 1 is set for only one cycle and is not acknowledged Cnt_Data UDIntArr32 Output array for 32 counter values is overwritten after the EFB has received a complete set of consistent counter values configured as 8 16 24 or 32 ND_Stat BOOL Flag new status data in status word The value 1 is set for only one cycle and is not acknowledged Status WORD Output word for EFB ERT status for internal details see Data Flow p 20 840 USE 494 00 September 2001 17 ERT_854_10 Data transfer EFB Internal time synchronization Event structure Structure of DPM_Time for ERT internal time synchronization e g via the ESI Element Element type Meaning Sync BOOL Clock synchronization with positive edge hourly or on command Ms WORD Time in milliseconds Min BYTE Time invalid minutes Hour BYTE Summer time hours Day BYTE Day o
62. rst called up The allocated value of one of the variables when starting the program The value assignment appears in the form of a Literal The 1 0 status of input bits is controlled via the process data which reaches the CPU from an entry device Note The x which comes after the first figure of the reference type represents a five figure storage location in the application data store i e if the reference 100201 signifies an input bit in the address 201 of the State RAM When calling up a FFB the associated Argument is transferred An input word contains information which come from an external source and are represented by a 16 bit figure A 3x register can also contain 16 sequential input bits which were read into the register in binary or BCD binary coded decimal format Note The x which comes after the first figure of the reference type represents a five figure storage location in the user data store i e if the reference 300201 signifies a 16 bit input word in the address 201 of the State RAM The generation of an Item Instructions are commands of the IL programming language Each operation begins on a new line and is succeeded by an operator with modifier if needed and if necessary for each relevant operation by one or more operands If several operands are used they are separated by commas A tag can stand before the instruction which is followed by a colon The commentary must if available be the
63. slots 3 4 or 5 OFF_SRC UINT An offset can be set using these parameters This value is entered in bytes DATA SRC ANY This parameter contains the actual output data block 1024 words max ERROR INT The ERROR parameter output has four different signal states e O no errors 1 invalid slot address only 3 5 authorized in basic rack 2 awrong module has been placed onto this backplane slot 4 the data block together with the offset is greater than 1024 or 0 Detailed description Optimizing runtime Adjustment of wordcount In order to achieve optimum performance with regard to runtime routine of the MVB Function blocks the number of words that will be transferred has to be adjusted according to the respective user program If there is no array optimization all 1024 words in every program cycle of the user program wil be edited Configuration of Wordcount Step Action 1 Open the EXPERTS DTY file from c Concept Lib 2 Adjust the ARRAY range according to your own requirements 3 Save the changes with File Save and close the file 840 USE 494 00 September 2001 55 MVB_OUT Data exchange between AS BMVB 258A and CPU 56 840 USE 494 00 September 2001 MVB_RED Switching redundant source ports 1 1 Overview Introduction This chapter describes the MVB_RED block What s in this This Chapter contains the fo
64. status bit for every node with a global input or specific input output of Peer Cop data If a defined group of data was successfully transferred within the set time out the corresponding status bit is set to 1 Alternatively this bit is set to 0 and all data belonging to this group of 0 is deleted SFC Language element Situations in which the Program behavior follows in relation to the inputs and outputs of the same operations which are defined by the associated actions of the step The step name functions as the unique flag of a step in a Program organization unit The step name is automatically generated but can be edited The step name must be unique throughout the whole program organization unit otherwise an Error message appears The automatically generated step name always has the structure S_n_m S Step n Section number number running m Number of steps in the section number running ST is a text language according to IEC 1131 in which operations e g call up of Function blocks and Functions conditional execution of instructions repetition of instructions etc are displayed through instructions Variables one of which is assigned a Derived data type defined with STRUCT structure A structure is a collection of data elements with generally differing data types Elementary data types and or derived data types 840 USE 494 00 September 2001 85 Glossary SY MAX Symbol Icon In Quantum control d
65. t data via an output unit of the control system or to define one or more outputs in the state RAM Note The x which comes after the first figure of the reference type represents a five figure storage location in the application data store i e if the reference 000201 signifies an output or marker bit in the address 201 of the State RAM Output marker An output marker word can be used to save numerical data binary or decimal in words 4x the State RAM or also to send data from the CPU to an output unit in the control references system Note The x which comes after the first figure of the reference type represents a five figure storage location in the application data store i e if the reference 400201 signifies a 16 bit output or marker word in the address 201 of the State RAM P Peer processor PLC Program Program cycle The peer processor processes the token run and the flow of data between the Modbus Plus network and the PLC application logic Programmable controller The uppermost Program organization unit A program is closed and loaded onto a single PLC A program cycle consists of reading in the inputs processing the program logic and the output of the outputs 840 USE 494 00 September 2001 81 Glossary Program organization unit Programming device Programming redundancy system Hot Standby Project Project data bank Prototype data file Concept EFB A Function a Function block
66. t the ARRAY ranges as required 3 Save the changes using File Save and close the file 48 840 USE 494 00 September 2001 MVB_INFO Requesting bus data via MVB 9 Overview Introduction This chapter describes the MVB_INFO block What s in this This Chapter contains the following Maps 9 Chapter Topic Page Brief description 50 Representation 50 Detailed description 51 840 USE 494 00 September 2001 49 MVB_ INFO Request bus data via MVB Brief description Function With the MVB_INFO function block bus data can be requested via the MVB This description provides a view of information through the line the configuration and through error messages Note The function block cannot be used with Concept simulators The parameters EN and ENO can additionally be projected Representation Symbol Block representation MVB_INFO UINT SLOT ERROR INT AL BOOL CNF BOOL ERR BOOL 50 840 USE 494 00 September 2001 MVB_ INFO Request bus data via MVB Parameter description Description of the block parameters Parameters Data type Meaning SLOT UINT Enter the ASB MVB 258A slot in the primary backplane here Since the first two slots are occupied by the CPU the communications module can only be installed on slots 3 4 or 5 ERROR INT The MVB hardware configuration is checked with the ERR
67. the input data type was copied into the corresponding EFB output structure The parameters EN and ENO can also be configured Symbol Function Block representation ERT_854_10 INT SLOT Input BoolArr32 BOOL ACK ND_TT BOOL BOOL CL_TT TT_Data ERT_10_TTag BOOL j CL_Count ND_Countt BOOL BOOL T_EN Cnt_Data UDIntArr32 DPM_Time Time_IN ND_Stat BOOL Status WORD 16 840 USE 494 00 September 2001 ERT_854_ 10 Data transfer EFB Parameter Description of the function block parameters ription descriptio Parameter Data type Meaning SLOT INT The Slot index is assigned to the ERT EFB from either the QUANTUM EFB or DROP EFB and contains the configured input and output references 3x and 4x registers ACK BOOL Event confirmation Setting ACK signals that the user is ready to receive the next result and deletes the TT_Data register If ACK remains set continuous operation is done CL_TT BOOL Delete the ERT event FIFO buffer by setting CL_TT Storage of events is blocked until the CL_TT is reset to 0 CL_Count BOOL Delete all ERT counters by setting CL_Count Counting is interrupted until CL_Count is reset to 0 T_EN BOOL Enables a time transfer e g from the ESI via Time_IN if set Time_IN DPM_Time Structure of the input time e g from the ESI for time synchronization of the ERT contains the edge cont
68. tion and a conventionally created macro Calling up DFBs in a macro Variable declaration Use of macro own data structures Automatic acceptance of the variables declared in the macro Initial value for variables Multiple instancing of a macro in the whole program with different variables The section name the variable name and the data structure name can contain up to 10 different exchange markings 0 to 9 Man Machine Interface Variables one of which is assigned a Derived data type defined with STRUCT or variables ARRAY Distinctions are made between Field variables and structured variables N Network A network is the connection of devices to a common data path which communicate Network node with each other via a common protocol A node is a device with an address 164 on the Modbus Plus network 80 840 USE 494 00 September 2001 Glossary Node address The node address serves a unique identifier for the network in the routing path The address is set directly on the node e g with a rotary switch on the back of the module O Operand Operator Output parameters Output Output discretes 0x references An operand is a Literal a Variable a Function call up or an Expression An operator is a symbol for an arithmetic or Boolean operation to be executed A parameter with which the result s of the Evaluation of a FFB are returned An output marker bit can be used to control real outpu
69. tion block reads the DCF time from the ESI 062 00 in order to enable synchronization of the internal clocks of all ERT modules in a TSX Quantum eliminating the need for the ERT modules having to be equipped with DCF receivers The synchronization process is repeated hourly After the synchronization process all ERT modules will show the same time However exact time synchronization with the ESI time cannot be achieved Time deviation to the ESI 062 00 depends on the position of the block in the user program and on program runtime There is maximum equality with program runtime if the block is located directly at program start The core of the function block are the ESI_IN and SLOTSTR parameters ESI_IN is the parameter where the ESI 062 stores its DCF time and the slots for all ERT modules that are to be synchronized with this time are determined in SLOTSTR The parameters EN and ENO can additionally be projected 32 840 USE 494 00 September 2001 ERT_TIME Time transfer to the ERT854 Representation Symbol Block representation ERT_TIME ESI_In ESL IN ERR _DINT DINT SlotStr SLOTSTR Parameter Block parameter description description Parameter Data type Meaning ESI_IN ESL In Data structure which stores the DCF time received by the ESI Enter here the exact name used with the ESI 062 00 SLOTSTR SlotStr Enter the slots of all the ERT modules whose time is to be synchronized with
70. ts of an operation the operands needed for the operation and an General instance name or function counter FFB e g ON delay Item name o ti Function counter an Operand e g FBI_2 22 18 e g TON Formal Actual parameter etes Variable element of a pa SA multi element SE variable literal direct IN PT Q ET address e g ENABLE EXP 1 TIME ERROR OUT 4 0001 FBI_2_22 18 TON y ENABLE gt EN ENO ERROR EXP 1 D gt IN Q OUT TIME T ET 4 00001 Operation The operation determines which function is to be executed with the FFB e g shift register conversion operations 840 USE 494 00 September 2001 Parameterization Operand Formal actual parameters Conditional unconditional calls Calling functions and function blocks in IL and ST The operand specifies what the operation is to be executed with With FFBs this consists of formal and actual parameters The formal parameter holds the place for an operand During parameterization an actual parameter is assigned to the formal parameter The actual parameter can be a variable a multi element variable an element of a multi element variable a literal or a direct address Unconditional or conditional calls are possible with each FFB The condition is realized by pre linking the input EN e Displayed EN conditional calls the
71. updating of the counter values takes significantly longer than for other data types Counter values are saved as a data record in Cnt_Data after a complete series configured as 8 16 24 or 32 of time consistent counter values in multiplex form has been transferred from the ERT The flag for new data ND_Count is set for one cycle As readiness to receive new events must be actively confirmed by the user the management of the registers becomes somewhat more complex a handshake mechanism is required Event data remain in the data structure ERT_10_TTag and the flag for new data ND_ TT stays set until the ACK input is set by the user and therefore requests a new event The EFB responds to this by resetting ND_TT for at least one cycle After the new event has been sent to the ERT_10_TT register structure ND_TT is reset by the EFB To prevent the new event data from being overwritten the user must take care that the ACK input is reset after the EFB has reset the ND_TT flag This state can then be kept stable to allow the user program enough time for event processing Each subsequent event which is recorded with the ERT is temporarily stored within the event FIFO buffer 20 840 USE 494 00 September 2001 ERT_854_ 10 Data transfer EFB New events are sent directly from the internal buffer of the EFB in intervals of at least 2 cycles for as long as the ACK input is set for the special continuous operating mode the ef

Download Pdf Manuals

image

Related Search

Related Contents

Andis Company ST-6 User's Manual  GR6 - B&H Photo Video Digital Cameras, Photography, Camcorders  DITES NON !  Philips 19.1" Wide WXGA+ LCD Monitor  Samsung PL55 راهنمای محصول  Manuale Utente    Dale Tiffany FTH10016 Instructions / Assembly  Mode d`emploi pour l`impression expresse à la  COMPACT - Leuze electronic  

Copyright © All rights reserved.
Failed to retrieve file