Home
Function Blocks FM 458
Contents
1. DG2 Overview of which slave had signaled diagnostics data This output is bit coded Every bit is assigned to a slave with its Profibus address The bit 0 of the 32 bit word is for example assigned to the slave with Profibus address 32 For a more detailed description refer to the user manual FM 458 1 DP chapter Configuring section PROFIBUS DP coupling Default 0 DG3 Overview of which slave had signaled diagnostics data This output is bit coded Every bit is assigned to a slave with its Profibus address The bit 0 of the 32 bit word is for example assigned to the slave with Profibus address 64 For a more detailed description refer to the user manual FM 458 1 DP chapter Configuring section PROFIBUS DP coupling Default 0 DG4 Overview of which slave had signaled diagnostics data This output is bit coded Every bit is assigned to a slave with its Profibus address The bit 0 of the 32 bit word is for example assigned to the slave with Profibus address 96 For a more detailed description refer to the user manual FM 458 1 DP chapter Configuring section PROFIBUS DP coupling Default 0 DL1 Overview of with which slave data transfer took place This output is bit coded Every bit is assigned to a slave with its Profibus address For example bit 3 of the 32 bit word is assigned to the slave with Profibus address 3 For a more detailed description refer
2. the S7 CPU Symbol Input Error output Offset Enable Brief description The function blocks write the peripheral area I O of the S7 CPU can only run with one FM 458 application module The S7WR S7WR B S7WR I S7WR D blocks differ by the data type at the input which must correspond with the parameters to be written e S7WR REAL e S7WR B BOOL e S7WR_I INT e S7WR D DINT Mode of operation Using this block data can be written into the net useful data area of the SIMATIC S7 CPU assigned to the FM 458 application module periphery input This PE area is 128 bytes If the enable signal is set the input value is accepted via the input and entered in the PE area The offset determines at which position in the PE area the input value is saved Depending on the block or data type the offset is specified as follows for REAL data type in 4 byte steps data length value range of the offset 0 31 for BOOL data type in 1 byte steps data length value range of the offset O 127 for INT data type in 2 byte steps data length value range of the offset O 63 e for DINT data type in 4 byte steps data length value range of the offset 0 31 Output QF has the value 1 if an invalid offset was selected or the block is not configured on the FM 458 application module VO default 0 0 OFF Offset default 0 en Enable jean GF Error output default 0 2 26 Function Bloc
3. The DPSLDG function block provides diagnostics data from a DP slave to the user program This diagnostics data correspond with the exception of the maximum possible length to EN 50170 According to this Standard the diagnostics data can be a maximum of 244 bytes long The function block supports a maximum of 240 bytes On the EXM448 there are restrictions regarding the quantity of diagnostics data Only diagnostics data Standard diagnostics data is supplied which the function block DIAPRO supplies The consistency of the outputs is not ensured When new diagnostics data is received some of the outputs can have New information and some can still have old information The PROFIBUS DP interface is selected using connection CTS The function block only enters a communications error for errors which are detected during initialization A communications error cannot be acknowledged and the function block DPSLDG is only used for diagnostics This means that in normal operation a communications error is not entered Only the cause of the error is signaled at output YTS Function Blocks FM 458 1 DP 2 5 Edition 03 2003 Communication blocks I O CTS DP module name connector of the Profibus DP interface Initialization connection SLA Diagnostics data required from the slave with the appropriate station number 3 to 123 Initialization connection Default 3 LEN Number of the device related diagno
4. DPPEVT Process alarm information PROFIBUS DP Symbol een 2 11 DPSLDG Slave diagnostics PROFIBUS DP eee eee eee e nn nene nn 2 5 F FMLED Control FM 458 diagnostics LED 000 00 eee eee eee eee nene nn 4 1 l INT M Modulo integrator for axis cycle correct integration eee 6 1 P PAS7 Initiate process interrupt at the S7 CPU eee eee eee ent nn 3 3 PNAME Parameter names on the T400 r rrrrvrrrrrrerrrerererersrersrersrerernrerererererererernrerererernnnsnnnnnnne 2 31 PSTAT Change enable for parameters 2 2 eeee e2 eee eee een nenene nen enn 2 33 S S7RD S7RD B S7RD I S7RD D Read from the peripheral area of the S7 CPU 2 24 S7RD P Reading data from a SIMATIC CPU P Bus rrrnnrvnnronnrrvnronnrrnnnnennrrenrrnnrrenrrnnrrensrnnnnnr 2 15 S STAT S7 CPU operating States ince cccecsevaceceseucsagensescgedesssceQenessendecesseedesdenscegersvyigegs ee eSATA 2 22 S7WR S7WR B S7WR I S7WR D Write into the peripheral area of the S7 CPU 2 26 S7WR_P Sending data to a SIMATIC CPU P BUS eee eee eee ener 2 17 SAV TR Save EB for NOV RAM teoriee re e arenaer 3 1 SBM Rotary encoder block aerea EE Ear E E AARE EEEE dekan eee dekan ae kken enken 1 2 SLAV SLAVE R SIMOLINK receive block for one actual value rarararerererernnnnnnnnnnnnnnnnnnnnnnnn 5 7 SLD SIMOLINK delta evaluation rrrrrrrrrererererererereverererererererererererererersrrrsrsrsrrrsrsrsrsrsrsrsrnrnrnrnner 5 9
5. TO interrupt TO interrupt TO interrupt Processing time of the Processing time of the Processing time of the SIMOLINK blocks SIMOLINK blocks SIMOLINK blocks Cyclic task T1 TO Function Blocks FM 458 1 DP 5 3 Edition 02 2004 SIMOLINK drive coupling Cyclic automatic mode 10 The cyclic automatic mode 10 offers the advantage to place the function block configuration in cyklic tasks in opposed to mode 3 SYNC Telegram SYNC Telegram SIMOLINK cycle SIMOLINK cycle SIMOLINK cycle Processing time of the Processing time of the Processing time of the SIMOLINK blocks SIMOLINK blocks SIMOLINK blocks cyclic Task Tx NOTE It is necessary to set interrupt task sources for operating modes 0 2 3 4 and 10 in order to initiate the configured interrupt tasks The settings must be made in the HWConfig in the properties window under the Interrupt tasks tab They are dependent on the configured hardware components interrupt task settings Interrupt source to be set for the interrupt task Ix of the SIMOLINK blocks if Operating first SLB module at first SLB module at second SLB second SLB mode slot 1 slot 2 module at slot 1 module at slot 2 o LE bus interrupt 1 LE bus interrupt 3 LE bus interrupt 2 LE bus interrupt 4 LE bus interrupt 5 LE bus interrupt 6 LE bus interrupt 7 LE bus interrupt 8 LE bus interrupt 1 LE bus interrupt 3 LE bus interrupt 2 LE bus interrupt 4
6. block for 2 setpoints ee 5 13 5 7 SLSVAV SIMOLINK send and receive block for one Slave 5 15 6 Closed loop control blocks rrrrrnnnnnnnnnvnnnnnnnnnnnnnnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnvnnnnnnnnnnnnnnn 6 1 6 1 1 INT_M Modulo integrator for axis cycle correct integration 6 1 VAN lad eet sae eed ea es ease po ad cae aaa wed Se ca Se eee terse de E nei 1 1 viii Function Blocks FM 458 1 DP Edition 02 2004 1 input output blocks Assignment of the input output blocks to processor and peripheral devices T400 IT41 IT42 EA12 EB11 FM EXM EXM ITSL a ae SBM2 Module Function Blocks FM 458 1 DP 1 1 Edition 03 2003 Input output blocks 1 1 SBM Rotary encoder block Symbol hardware address encoder type alarm or normal FP rated speed Brief description Mode of operation position in increments max increments revolution baud rate normalized speed resolution group error message error detection The SBM function block is used to realize the following tasks e Initialize the rotary encoder which is connected at the SBM2 module e Determine the position and speed from the encoder data Error handling when communication errors develop between the encoder and SBM2 module During the initialization phase of the system the initialization I O are read and the appropriate mode set at the SBM2 module The following settings are made for the EQ
7. network can be taken from the properties dialog box in NetPro or HY Config Default YO1 The first 4 bytes with information about the last alarm event are available at this output The actual significance corresponds to the first byte of the local data of the appropriate S7 OB As a whole the local data comprise 20 bytes the structuring of the local data can be taken from the help for the appropriate OB Default YO2 The second 4 bytes with information about the last alarm event are available at this output Default YO3 The third 4 bytes with information about the last alarm event are available at this output Default YO4 The fourth 4 bytes with information about the last alarm event are available at this output Default Y05 The fifth 4 bytes with information about the last alarm event are available at this output Default Y06 to Y21 You can obtain additional information data about the alarm which goes beyond the local data of the S7 OBs at these outputs The information data correspond to that which you would obtain if you would have called the SFB54 RALRM within the appropriate S7 OBs The outputs are only updated if EXT 1 is set to 1 Normally these outputs are switched so that they are invisible and when required must be first made visible in the CFC under the tab I O Default OTS Block output ATS is used to display whether the block is operat
8. output SL Group error bit default 0 QF 0 no error QF 1 for error if YFz0 Configuringdata Computation time us FM 458 1 DP 39 6 Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode 5 14 Function Blocks FM 458 1 DP Edition 02 2004 SIMOLINK drive coupling 5 7 SLSVAV SIMOLINK send and receive block for one slave Symbol Hardware addresse SLB addresse of the slave Number of send channels Number of receive channels setpoint at channel 0 setpoint at channel 1 setpoint at channel 2 setpoint at channel 3 setpoint at channel 4 setpoint at channel 5 setpoint at channel 6 setpoint at channel 7 Brief description Mode of operation SLSVAV Actual value from slave 0 Actual value from slave 1 Actual value from slave 2 Actual value from slave 3 Actual value from slave 4 Actual value from slave 5 Actual value from slave 6 Actual value from slave 7 Seguence number Block error status Group error bit A maximum of 8 setpoints and e 8 actual values can be transfered to and from one slave The number of addressed channels for the setpoints and the actual values is configured at the inputs 1 Function Blocks FM 458 1 DP Edition 02 2004 The SLSVAV send and receive block executes the following steps while the system is being initialized Checks the task assignment e Initializes the task list of the SLB module corresponding to the data co
9. to the user manual FM 458 1 DP chapter Configuring section PROFIBUS DP coupling Default 0 Function Blocks FM 458 1 DP Edition 03 2003 2 3 Communication blocks DL2 Overview of with which slave data transfer took place This output is bit coded Every bit is assigned to a slave with its Profibus address For example bit 0 of the 32 bit word is assigned to the slave with Profibus address 32 For a more detailed description refer to the user manual FM 458 1 DP chapter Configuring section PROFIBUS DP coupling Default DL3 Overview of with which slave data transfer took place This output is bit coded Every bit is assigned to a slave with its Profibus address For example bit 0 of the 32 bit word is assigned to the slave with Profibus address 64 For a more detailed description refer to the user manual FM 458 1 DP chapter Configuring section PROFIBUS DP coupling Default DL4 Overview of with which slave data transfer took place This output is bit coded Every bit is assigned to a slave with its Profibus address For example bit 0 of the 32 bit word is assigned to the slave with Profibus address 96 For a more detailed description refer to the user manual FM 458 1 DP chapter Configuring section PROFIBUS DP coupling Default MST Status of the DP master Stop 0x40 Clear 0x80 or Operate OxCO Default Master identification n
10. with a SIMATIC CPU This means that the reguired byte or word swap operations are automatically made depending on the data type of the connected read write blocks The entry which is normally reguired at the SW connection of the read write block is not evaluated and is therefore not reguired Function Blocks FM 458 1 DP 2 15 Edition 03 2003 Communication blocks Associated blocks The computation time essentially depends on the amount of data transferred A base computation time of approx 10 us as well as approx 1 us byte can be assumed as nominal value The following blocks can be connected to this block pointer input DRD DRD 8 DRD 8D DRD 81 DRD BY DRD D DRD I CPY P I O Default OFF Offs in 128By PBus Buffer 0 Offset of the value to be sent within the 128 byte memory relative to the start of the buffer max offset Buffer length length of the data type LEN Number bytes to be read 0 Number of bytes which are read by the SIMATIC CPU via the P bus Max number 128 bytes EN Enable 1 For EN 1 at each call the data sent from the SIMATIC CPU max 128 bytes is read PTR PtrBuffer Transmitdata 16400000000 Pointer to the telegram data buffer to connect with the same connection type of other pointer based communication blocks The CFC connection can be changed online The connection also includes monitoring information to ensure correct configuring QF Error status block 0 0
11. 4 LE bus interrupt 1 LE bus interrupt 3 LE bus interrupt 2 LE bus interrupt 4 NOTE The first SLB module can be an EXM 448 1 or an ITSL module without optional SLB The settings for the second SLB module are only relevant for an ITSL module with optional SLB 5 4 Function Blocks FM 458 1 DP Edition 02 2004 SIMOLINK drive coupling I O Hardware address SLB name of the SLB module which can be configured in HWConfig Operating mode default 0 Sets the required operating mode ASL Node address default 0 Address of the slave 1 200 in the SIMOLINK ring this is only relevant if operating mode 0 was selected at MOD P ml Send power default 3 Send power of the SLB module if a lower send power is used the aging processing of the fiber optic cables is slowed down and errors in the medium can be more easily identified at start up Value range 1 3 small medium large ak Use PCI Copy default 0 1 Data with PCI Copy read 0 Data normal read NSL max blocksize default 15 Max blocksize for a PCI Copy block Bus enable default 1 Start stop of the SLB module for telegram data transfer EN 0 no telegrams are sent EN 1 telegrams are sent corresponding to the selected operating mode YF Error status of the block default 0 YF 0 No error YF gt 0 refer to coded error output Number of nodes default 0 Number of nodes in the SIMOLINK ring including SL master Number of cycles defau
12. 4000 Sampling time too high speed computation not possible Sampling time s 4 0 ms Configuringdata Computation time us FM 458 1 DP 13 2 Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode Special features Can only be used with an EON 1325 encoder 1 4 Function Blocks FM 458 1 DP Edition 03 2003 2 Communication blocks 2 1 Central coupling blocks NOTE 2 1 1 Brief description 2 1 2 Brief description 2 1 3 Brief description 2 1 4 Brief description Additional information on this group of function blocks e g symbol mode of operation I O and technical data are provided in the online help for the particular block CSL2F PROFIBUS FMS coupling central block e the function block initializes and monitors the PROFIBUS FMS coupling CS7 and SS5 module e the function block may only be configured in the sampling interval 32ms lt TA lt 255ms and only in the communications FP Transmit Otherwise an entry is made in the communications error field CSL2L PROFIBUS FDL central block e the function block initializes and monitors the PROFIBUS FDL coupling CS7 and SS5 module the function block may only be configured in the sampling interval 32ms lt TA lt 255ms and only configured in the communications FP transmit Otherwise an entry will be made in the communications error field CSPRO Central block PROFIBUS DP coupling e the functi
13. K ring default 1 Number of all of the channels default 1 Qv Enable cross data transfer default 0 This is used if data are to be sent to a slave in the same cycle which is located physically in front in the SIMOLINK ring e g from slave 4 to slave 1 Sequence number default 0 Number of the block in the SIMOLINK block sequence This value provides information as to whether the block was correctly initialized YF Error status of the block default 0 YF 0 no error YF gt 0 refer to coded error output SL Group error bit default 0 QF 0 no error QF 1 for error if YFz0 Configuringdata Computation time us FM 458 1 DP 14 7 Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode 5 10 Function Blocks FM 458 1 DP Edition 02 2004 SIMOLINK drive coupling 5 5 SLSV SLSV R SIMOLINK send block for one setpoint Symbol Hardware addresse SLB Address of the first slave Number of slaves Channel number for the setpoint Setpoint at slave 0 Setpoint at slave 1 Setpoint at slave 2 Setpoint at slave 3 Setpoint at slave 4 Setpoint at slave 5 Setpoint at slave 6 Setpoint at slave 7 Seguence numbedr Block error status Group error bit Brief description A maximum of 8 setpoints can be transferred to a maximum of 8 slaves using the SLSV send block Only one setpoint can be sent to each slave and for all of the slaves only the same channel number can b
14. MOLINK telegrams max 1021 net telegrams exceeded increase SIMOLINK cycle time or configure fewer SIMOLINK blocks Slave address too high Channel number too high Slave attempts to write to the incorrect address Cross data transfer is only possible in one direction per slave sending or receiving Physical data transfer along the SIMOLINK ring is faulted increase the send power at one of the partial segments or the fiber optic cable medium or connector is defective CRC error check sum error Timeout error in the SIMOLINK ring Only for MOD 0 signaled SIMOLINK cycle time in the special telegram from the SL master does not correspond to the configured equivalent sampling time Configuringdata Computation time us FM 458 1 DP 69 3 Can be configured in Cyclic task Executed in Initialization mode Normal mode 5 6 Function Blocks FM 458 1 DP Edition 02 2004 SIMOLINK drive coupling 5 2 SLAV SLAVE R SIMOLINK receive block for one actual value Symbol Actual value from slave 0 Actual value from slave 1 Actual value from slave 2 Actual value from slave 3 Actual value from slave 4 Actual value from slave 5 Actual value from slave 6 Actual value from slave 7 I Sequence number I Block error status BO Group error bit Hardware address SLB Address of the first slave Number of slaves Channel number for the actual value Enable cross data transfer Brief des
15. N1325 encoder e The encoder power supply is set to 5 V e Number of revolutions to 4096 e Signal periods per revolution 8192 After the mode has been set the zero position is determined and the starting values for the position and the speed output at the connections In the standard mode the block can assume four different statuses e NRM The values read out from the SBM2 module position and speed are displayed at the block connections If an error is detected the block goes into the ERR error condition e ERR The following errors can occur in operation e Encoder is defective or is not connected Encoder was disconnected Data transfer error for serial communications between the encoder and SBM2 module SBM2 module not available In the first three cases the block goes into the INI initialization status and in the latter case into the OFF status Function Blocks FM 458 1 DP Edition 03 2003 Input output blocks e INI as for the initialization phase mode e OFF Output OF is set and processing terminated Hardware address of the SBM2 initialization input Encoder type initialization input TYP 0 not available default 1 TYP 1 EQN1325 TYP gt 1 incorrect encoder type Baud rate initialization input BDR 0100 kHz default 0 BDR 1500 kHz BDR 21 MHz BDR 32 MHz BDR gt 3incorrect baud rate I O EXP Resolution in bits default 23 Value range 16 s EXP lt 32 Co
16. OB40 for a SIMATIC S7 The significance is as follows B 16 54 54 hexadecimal gt Input module B 16 55 55 hexadecimal gt Output module The present possible information is available in a conditioned form at outputs IN and OUT Default IN 1 gt Input module has initiated an alarm IN 0 gt The alarm was not initiated from an input module Default OUT OUT 1 gt Output module had initiated an alarm OUT 0 gt The alarm was not initiated from an output module Default MDL This value outputs the logical basis address of the module The value corresponds to the local data variables OB40 MDL ADDR of the OB40 for a SIMATIC S7 Default PAD This value supplies additional information about the cause of the process alarm The value corresponds to the local data variables OB40 POINT ADDR of the OB40 for a SIMATIC S7 Additional information about this is provided in the SIMATIC documentation Default Year specifies in which year the alarm was initiated Default YMO Month specifies in which month the alarm was initiated Default YDA Day specifies on which day the alarm was initiated Default YHR Hour specifies at which hour the alarm was initiated Default YMI Minute specifies at which minute the alarm was initiated Default YSE Second specifies at which second the alarm was initiated Default OTS Bloc
17. P process event provides more detailed information about the Profibus DP process alarm OB40 alarm Contrary to the DPEVT only selected information data is available but then in a conditioned form When an alarm event is output all of the values at the outputs are updated For a communications error the cause is additionally output at YTS and the OTS output is set to 0 Function Blocks FM 458 1 DP 2 11 Edition 03 2003 Communication blocks I O STA Station address of the slave which had initiated the alarm Values of between 1 to 126 are valid values for this address Default SLO Slot of the module which initiated the alarm Values of between 1 and 244 are valid values for the slot data Default SUB Sub module of the module which initiated the alarm Values of between 1 and 31 are valid values for the sub module data A value of 0 means no sub module Default SBN Sub network to which the module which initiated the alarm is connected Values of between 1 and 255 are valid values for the sub network data The number for the sub network can be taken from the properties dialog box in NetPro or HW Config Default EVC This output corresponds to the local data variables OB40 EV CLASS of the OB40 for a SIMATIC S7 A value of B 16 11 11 hexadecimal means that the alarm is active Default IOF This output corresponds to the local data variables OB40 IO FLAG of the
18. QF 1 There is an error for details refer to YF YF StatusInfo Block 16 0000 as for the DRD block Configuring data Computation time us FM 458 1 DP 10 0 1 for each byte Can be inserted online Yes Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode Special features The block must be configured in the same sampling time as the blocks connected via the pointer interface CFC connection via connections PTR This can only be used for the FM 458 1 DP Several S7RD P blocks can be configured Although this is not a typical application it can make sense if for example the 128 byte area should be read in several blocks or if data is required in different sampling times 2 16 Function Blocks FM 458 1 DP Edition 03 2003 Communication blocks 2 3 3 S7WR P Sending data to a SIMATIC CPU P Bus Symbol Offs in 128By PBus Buffer Number bytes to be write Number bytes to be write Brief description Mode of operation Associated blocks I O This block can only be used for the SIMATIC application module FM 458 1DP An FM 458 1 DP can send up to 128 bytes to the SIMATIC CPU via the P Bus The block S7WR P sends data which were previously loaded with write blocks via the pointer interface This block operates similar to the telegram block CTV P A maximum of 128 bytes can be transferred via this pointer interface and via the P bus to the SIMATIC CP
19. S7STAT S7 CPU operating State isrann E ARSA a 2 22 2 3 6 S7RD S7RD_B S7RD I S7RD D Read from the peripheral area of the S7 CPU hin gn fetid eerie ea A pe a ee God ea do A eed 2 24 2 3 7 S7WR S7WR B S7WR I S7WR D Write into the peripheral area of the S7 CPU zada ek ae laa ee eee eda Oe 2 26 2 4 Parameterizing SIMADYN Dee eee een eee 2 28 2 4 1 FMPAR Parameter processing on FM 458 1 DP modules aeneeeeeeeee 2 28 2 4 2 PNAME Parameter names on the T400 eee 2 31 2 4 3 PSTAT Change enable for parameters eee 2 33 3 LOGIC blocks Lusuk ean 3 1 3 1 SAV TR Save FB for NOV RAM eee een eee ethen 3 1 3 2 PAS7 Initiate process interrupt at the S7 CPU een 3 3 4 Service diagnostic blocks srrrunnnnvvvrrnnnnvennnnnnvnnnnnnnvnnnnnnnnvnnnnnnnvnnnnnnnvnnnnnnnnnnnnnnnenennnnnnnennnnnne 4 1 Function Blocks FM 458 1 DP vii Edition 02 2004 Contents 4 1 FMLED Control FM 458 1 DP diagnostics LED eee 4 1 5 SIMOLINK drive coupling isseire iann nnes nene one een E KARAS EKK KEKS ERA K EE ERA KES ERA KEKS EKK E 5 1 5 1 SL SIMOLINK central block eee eee eee eee eee nenene nenene t nt 5 1 5 2 SLAV SLAVE R SIMOLINK receive block for one actual value 5 7 53 SLD SIMOLINK delta evaluation eee eee eee eee ee 00000 ee een nen n nn 5 9 5 4 SLDIS SIMOLINK dispatcher eee cece eee eee eee een e een nenene 5 10 5 5 SLSV SLSV R SIMOLINK send block for one Setpoint ee 5 11 5 6 SLSV2 SLSV2 R SIMOLINK send
20. SIEMENS FM 458 1 DP Function Blocks Manual Edition 02 2004 i ontents Foreword nput output blocks Communication blocks o o 2 5 a Z o 8 X 3 T o o o o gt A in o o o Q W Logic blocks Service diagnostic blocks Index Safety guidelines DANGER N WARNING AN CAUTION CAUTION NOTICE Correct usage Trademarks This Manual contains notices which you should observe to ensure your own personal safety as well as to protect the product and connected eguipment These notices are highlighted in the Manual by a warning triangle and are marked as follows according to the level of danger indicates an imminently hazardous situation which if not avoided will result in death or serious injury indicates a potentially hazardous situation which if not avoided could result in death or serious injury used with the safety alert symbol indicates a potentially hazardous situation which if not avoided may result in minor or moderate injury used without safety alert symbol indicates a potentially hazardous situation which if not avoided may result in property damage used without the safety alert symbol indicates a potential situation which if not avoided may result in an undesireable result or state Note the following This device and its components may only be used for the applications described in the catalog or the technical description and only in co
21. SLDIS SIMOLINK dispatcher eee cece eee eee nene 000 RKK KK KKK nn nn nnnnnennernnnnnnnnnnnnnn 5 10 SLSV SLSV R SIMOLINK send block for one SEtpoiNf eee eee eee 5 11 Function Blocks FM 458 1 DP 1 Edition 02 2004 Index SLSV2 SLSV2 R SIMOLINK send block for 2 setpoints eee eee 5 13 SLSVAV SIMOLINK send and receive block for one S AVE 2 lt lt lt lt lt lt lt lt lt lt lt lt lt cesssssrz 5 15 1 2 Function Blocks FM 458 1 DP Edition 02 2004
22. Special features e additionally required block on T400 DRIVE e additionally required block on the CPU modules CSPAR 2 32 Function Blocks FM 458 1 DP Edition 03 2003 Communication blocks 2 4 3 PSTAT Change enable for parameters Symbol Password WI Access level Level 1 Device status Level 2 Status display Level 3 Level 4 Level 5 Level 6 Level 7 Level 8 Device status Brief description Using the function block the following can be realized e a current device status can be configured the access level can be defined by entering a password the device status and the access level is used to define whether a parameter may be changed The statuses and access level in which a parameter is to be inhibited or enabled are defined using the PLIM function block Function block PSTAT may only be configured once in each CPU module or T400 I O Current password If password PSW does not coincide with the PWi values then this corresponds to access level 0 this does not permit any change If password PSW coincides with a value of PWi then this corresponds to access level i and all lower access levels In access level 8 there are no access authorizations as a result of the access level all other access restrictuions e g using the device status are retained Default 0 Appropriate password for access level i password i Default 0 Actual device status There are 16 statuses Permissible en
23. U This data is previously loaded into the telegram buffer using write blocks DWR of the copy block CPY Y This block only communicates with a SIMATIC CPU This means that the reguired byte or word swap operations are automatically made depending on the data type of the connected read write blocks The entry which is normally reguired at the SW connection of the read write block is not evaluated and is therefore not reguired The computation time essentially depends on the amount of data transferred A base computation time of approx 5 us as well as approx 0 7 us byte can be assumed as nominal value The following blocks can be connected to this block pointer input DWR DWR 8 DWR 8D DWR_8I DWD BY DWR D DWR I CPY P Default OFF Offs in 128By PBus Buffer 0 Offset of the value to be sent within the 128 byte memory relative to the start of the buffer max offset Buffer length length of the data type LEN Number of bytes to be written 0 Number of bytes which are to be sent to the SIMATIC CPU via the P bus Max number 128 bytes EN Enable For EN 1 at each call the telegram buffer max 128 bytes is sent to the SIMATIC CPU PTR PtrBuffer Transmitdata 16 00000000 Pointer to the telegram data buffer to connect with the same connection type of other pointer based communication blocks The CFC connection can be changed online The connection also includes monitoring information to ensure corre
24. be configured in the slowest sampling time The block saves the configured names in the parameter list of the FB DRIVE or CSPAR and then disables itself Function Blocks FM 458 1 DP Edition 03 2003 2 31 Communication blocks I O Parameter language selection parameter langage The configured parameter names are exactly activated when the data coincides with the PLA input at the DRIVE or CSPAR block Initialization input Default value 0 The parameter number and the parameter name separated by a colon are specified at the Nnn inputs Example H123 parameter name The parameter number must always consists of a letter H or L and three digits The parameter name should be a maximum of 16 characters long longer names will be cut off and shorter names filled with blanks Initialization input Default value Empty string Status display possible values 0 OK status all of the names are activated Alarms 1 The names are not activated as another language is set at FB DRIVE or CSPAR 2 For at least one parameter number there is no parameter the name is ignored Additional values refer to D7 SYS Online Help Help on events press key F1 in the CFC and call up the topic Help on events under CFC for SIMADYN D Default value 0 Configuringdata Computation time us FM 458 1 DP 33 Can be configured in Cyclic tasks Executed in Initialization mode Normal mode
25. changed over STRUC V4 x with the introduction of SIMATIC D7 SYS Basis software This section explains the essential use and the functions of the STEP 7 automation software For first users it provides an overview on configuring programming and commissioning a station When working with the basis software you can access the online help which provides you with support when it comes to detailed guestions on using the software CFC The CFC language Continuous Function Chart allows you to graphically interconnect blocks When working with the particular software you can also use the online help which can answer detailed guestions regarding the use of the editors compiler SFC Configuring sequence controls using SFC Sequential Function Chart of SIMATIC S7 In the SFC editor you generate a sequence chart using graphic resources The SFC elements of the chart are then positioned according to specific rules The complete hardware spectrum is described as reference in this Manuals These Reference Manuals provide you with an overview of selected function blocks for the associated technological and drive control components T400 FM 458 1 DP SIMADYN D and SIMATIC TDC Function Blocks FM 458 1 DP Edition 12 2003 Guide Automation and Drives Service amp Support Foreword As first time user we recommend that this Manual is used as follows Please read the first section on using the software in order to get to kn
26. cription A max of 8 actual values can be transferred from max 8 slaves using the SLAV receive block Each slave can only receive one actual value and for all of the slaves only the same channel number is addressed The SLAVE and SLAVE_R function blocks are functionally identical The only difference is the data type of the actual value connections YAO to YAT SLAVE DINT SLAVE R REAL Mode of operation 1 The SLAV function block executes the following steps while the system is being initialized Checks the task assignment Initializes the task list of the SLB module corresponding to the data configured at the inputs 2 In the normal system mode RUN operating status the SLAV function block executes the following steps Checks that the inputs are within the permissible value range Reads out the actual values to be received from the receive buffer of the SLB module Function Blocks FM 458 1 DP 5 7 Edition 02 2004 SIMOLINK drive coupling I O SLB hardware address name of the SLB module which can be configured in HWConfig Address of the first slave from which the actual mms 1 value YAO should be received value range 1 200 No of slaves from which actual values are to be default 1 received value range 1 8 Channel number on which the actual value is default 0 received value range 0 7 Enable cross data transfer default 0 This is used if data is to be sent to a slave in
27. ct configuring Function Blocks FM 458 1 DP 2 17 Edition 03 2003 Communication blocks OF Error status block 0 0 QF 1 There is an error for details refer to YF YF StatusInfo Block 1640000 as for the DRD block Computation time us FM 458 1 DP 5 0 0 7 for each byte Can be inserted online Yes Configuring data Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode Special features The block must be configured in the same sampling time as the blocks connected via the pointer interface CFC connection via connections PTR This can only be used for the FM 458 1 DP Several S7WR_P blocks can be configured Although this is not a typical application it can make sense if for example the 128 byte area should be written in several blocks or if data is required in different sampling times 2 18 Function Blocks FM 458 1 DP Edition 03 2003 Communication blocks 2 3 4 BRCV Block oriented data reception via an S7 coupling Symbol Establish ready to receive Addressing parameters ID Addressing parameters R ID Maximum length receive data Brief description Mode of operation Receive data is ready Status parameter NDR Length of data received before Number of receive operations Status parameter ERROR Status fault display Block status W Status display The funct
28. d Within the alarm task DPEVT reads out the alarm information A new alarm of the same time is only detected again after the alarm task has been completed When a communications error occurs the cause is also output at output YTS and the QTS output is set to 0 2 8 Function Blocks FM 458 1 DP Edition 03 2003 I O Communication blocks EXT For EXT 0 only the data information at outputs Y01 to Y05 is updated For EXT 1 in addition the information data at outputs Y06 to Y21 is updated Default OB The number of the appropriate SIMATIC S7 organizational block OB is displayed at this output In an error free state values 40 55 56 57 82 83 and 86 are possible here The actual value depends on the process alarm configured in the HWConfig for the particular alarm task Default STA Station address of the slave which had initiated the alarm Values of between 1 and 126 are valid values for this address Default SLO Slot of the module which initiated the alarm Values of between 1 and 244 are valid values for the slot data Default SUB Sub module of the module which initiated the alarm Values of between 1 and 31 are valid values for the sub module data A value of 0 means no sub module Default SBN Sub network to which the module which initiated the alarm is connected Values of between 1 and 255 are valid values for the sub network data The number for the sub
29. e addressed The SLSV and SLSV R function blocks are functionally identical The only difference is the data type of the setpoint connections XSO to XS7 SLSV DINT SLSV_R REAL Mode of operation 1 The SLSV send block executes the following steps while the system is being initialized Checks the task assignment Initializes the task list of the SLB module corresponding to the data configured at the inputs 2 In the normal system mode RUN mode the SLSV send block executes the following Function Blocks FM 458 1 DP Edition 02 2004 Calculates the setpoints Checks that the inputs are within the permissible value ranges Enters the setpoints to be sent into the write buffer of the SLB module 5 11 SIMOLINK drive coupling I O Hardware address SLB name of the SLB module which can be configured in HWConfig Address of the first slave to which setpoint XSO default 1 should be sent value range 1 200 Number of slaves to which the setpoint should be default 1 sent value range 1 8 Number of the channel on which the setpoint is default 0 sent value range 0 7 Setpoint XS for slaves 1 to 8 default 0 A maximum of 8 setpoints can be sent Sequence number default 0 Number of the blocks in the SIMOLINK block sequence This value provides information as to whether the block was correctly initialized Error status of the block default 0 YF 0 no error YF gt refer to coded error ou
30. en inactive in the RUN operating mode I O Input quantity default 0 0 MM Operating mode default 0 Output quantity default 0 0 Gr No free memory default 0 Function Blocks FM 458 1 DP 3 1 Edition 03 2003 Logic blocks Configuringdata Computation time ys FM 458 1 DP 0 6 Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode 3 2 Function Blocks FM 458 1 DP Edition 03 2003 Logic blocks 3 2 PAS7 Initiate process interrupt at the S7 CPU Symbol Supplementary interrupt info Reset error Trigger mode Initiate interrupt Brief description Mode of operation NOTE I O Configuringdata error output This function block which initiates a process interrupt to the SIMATIC S7 CPU can only run with an FM 458 1 DP application module The function block initiates a process interrupt at the associated S7 CPU The IFO double word is transferred to the S7 CPU as supplementary interrupt information A process interrupt is only acknowledged after the process interrupt OBs organization block has been executed on the S7 CPU The block does not wait for the acknowledgment The OB is parameterized in the HWConfig for the associated S7 CPU The process interrupt is only initiated if the S7 CPU is not processing a process interrupt from the FM 458 1 DP application module Output OF has the value 1 if a new process interrupt is initiated althoug
31. h the last process interrupt was still not acknowledged or the block was not configured on FM 458 1 DP Output GF has the value 0 if the acknowledgment from the S7 CPU has been received or if input RES has the value 1 The interrupt is initiated as a function of the input TMB e for TMB 0 if a signal changes from 0 to 1 at input I or e for TMB 1 if any signal transition occurs at input I i Supplementary interrupt information default 0 Res freser o O 1 rite aninterupt eo lar femora feat Computation time us FM 458 1 DP 3 3 Can be configured in Interrupt tasks Cyclic tasks Function Blocks FM 458 1 DP 3 3 Edition 03 2003 4 Service diagnostic blocks 4 1 FMLED Control FM 458 1 DP diagnostics LED Symbol LED user error LED online monitoring LED communications error LED sampling time overflow Brief description Mode of operation error output The function block which controls the FM 458 1 DP diagnostic LEDs can only run with an FM 458 1 DP application module The LEDs of the FM 458 1 DP application module can be controlled using this block The LED display is canceled for a value of 0 at the appropriate input for a value of 1 it is set and for a value of 1 its status is retained unchanged The value of 1 is required as this block has been configured a multiple number of times Output QF has the value 1 if the inputs have invalid values or if the block is not configu
32. http info tc erlm siemens de This user part of the Manual does not include any detailed information instructions with individual descriptions but is only intended to provide a basic procedure More detailed information on the dialog boxes in the software and how they are handled is provided in the appropriate online help Function Blocks FM 458 1 DP iii Edition 12 2003 Foreword Information This manual is part of the overall documentation for the technological and drive control components T400 FM 458 SIMADYN D SIMATIC TDC overview and SIMATIC D7 SYS System and communications configuring D7 SYS STEP 7 option packages for D7 SYS Hardware Function blocks The first project in a few steps This Section provides an extremely simple entry into the methodology when assembling and programming the SIMATIC TDC SIMADYN D control system It is especially conceived for first time users of a control system System software This Section provides basic know how about the structure of the operating system and an application program of a CPU It should be used to obtain an overview of the programming methodology and basis for configuring user programs Communications configuring This section provides you with basic know how about the communication possibilities and how you configure links to the communication partners Changeover from STRUC V4 x to D7 SYS Essential features are included in this section which have
33. ing error free OTS 1 or was de activated after a communications error message was entered ATS 0 Default YTS Detailed status display for additional values at YTS refer to D7 SYS Online Help Help events Press the F1 button in the CFC and call the topic Help on events uncer CFC for D7 SYS Default Configuring data Computation time us FM458 1 DP 23 6 Function Blocks FM 458 1 DP Edition 03 2003 2 9 Communication blocks Can be inserted online No Can be configured in Alarm tasks Executed in Initialization mode Normal mode Special features The DPEVT may only be configured in an alarm task for which one of the following alarm causes is configured in HW Config Process alarm 1 OB40 e DPV1 status alarm 0B55 e DPV1 update alarm 0B56 e DPV1 manufacturer specific alarm 0B57 Diagnostics alarm OB82 e Withdraw insert alarm 0B83 e Failure subrack alarm OB86 If this is not the case DPEVT signals an appropriate communications error and stops processing 2 10 Function Blocks FM 458 1 DP Edition 03 2003 Communication blocks 2 2 4 DPPEVT Process alarm information PROFIBUS DP Symbol Symbol Brief description Mode of operation Event classes and IDs IO flag Input module Output module Logical address OB40 POINT ADDR Block state W 4 Status display The DPPEV D
34. ing time of the SIMOLINK blocks SIMOLINK blocks SIMOLINK blocks Interrupt task Ix Asynchronous mode The SLB module operates as master The SIMOLINK blocks in the CFC chart must be configured in a cyclic task Tx x 1 5 Timing The blocks are executed each time cyclic task Tx starts The SIMOLINK telegrams are sent after the last SIMOLINK block has been calculated SIMOLINK cycle SIMOLINK cycle Processing time of the Processing time of the SIMOLINK blocks SIMOLINK blocks Cyclic task Tx Function Blocks FM 458 1 DP Edition 02 2004 SIMOLINK drive coupling Timer mode The SLB module operates as master The SIMOLINK blocks in the CFC chart must be configured in an interrupt task Ix x 1 8 Timing A timer of the ITSL EXM 448 1 module initiates corresponding to the equivalent sampling time an interrupt and therefore execution of interrupt task Ix The SIMOLINK telegrams are sent after the last SIMOLINK block has been calculated Timer interrupt Timer interrupt Processing time of the Processing time of the SIMOLINK blocks SIMOLINK blocks Interrupt task Ix Automatic mode The SLB module operates as master The SIMOLINK blocks in the CFC chart must be configured in an interrupt task Ix x 1 8 Timing Each SYNC telegram which is received initiates an interrupt and therefore execution of the interrupt tas
35. ion block allows block oriented data reception via a configured S7 coupling The BRCV block receives data from a remote partner The remote partner is an SFB FB type BSEND SFB FB 12 on a SIMATIC S7 400 CPU After each data segment which has been received an acknowledgement is sent to the partner SFB FB and the LEN parameter is updated The block is ready to receive when a 1 is connected to the control input ENR A running task can be interrupted with ENR 0 The maximum length of the receive area is specified by the data at input RLN The length of the data block received is displayed at output LEN I O ENR Control parameter Default 0 The block is ready to receive with ENR 1 ID Addressing parameter Initialization input Reference to the local connection description Default 0 this is specified as a result of the STEP7 configured connection RID The value at input RID specifies the association with the send SFB FB Initialization input The value at the input must match the R ID parameter for SFB FB on Default 0 the send side This allows several SFB FB pairs to communicate via the same logical coupling The block pairs of a logical coupling defined using RID or R ID must be unigue for this coupling RLN The maximum length of the received data is defined here Initialization input Only values of between 0 and 65535 may be configured Default 0 PTR The receive data to be evaluated by the block
36. ional SL central blocks have been configured at the same hardware address input TAD Initializes the SLB module corresponding to the data at the initialization connections SIMOLINK drive coupling Sends an initialization sequence SIMOLINK and monitors the starting sequence 2 The SL central block executes in the standard mode RUN operating status of the system the following operating steps Monitors communications of the SIMOLINK drive interface Outputs fault messages when communication faults occur at the outputs Outputs information about the drive coupling New values for the node address ASL and send power POW are only transferred after the SIMOLINK drive coupling restarts Operating mode An SLB module can be initialized and can operate in 6 different operating modes When configuring the different time characteristics of the SIMOLINK blocks for the selected operating modes at input MOD Slave mode The SLB module operates as slave The SIMOLINK blocks in the CFC chart must be configured in an interrupt task Ix x 1 8 Timing an interrupt is initiated each time a SYNC telegram is received and therefore starts execution of interrupt task Ix The received values are read and the values to be sent are written into the write buffer of the SLB module SYNC telegram SYNC telegram SYNC telegram SIMOLINK cycle SIMOLINK cycle Processing time of the Processing time of the Process
37. k Ix The SIMOLINK bus cycle is automatically re initiated each time a SYNC telegram is received SIMOLINK telegrams are sent and received in parallel with the signal processing internal calculations SYNC telegram SYNC telegram j Processing time of the Processing time of the Processing time of the SIMOLINK blocks SIMOLINK blocks SIMOLINK blocks Interrupt task External mode The SLB module operates as master The SIMOLINK blocks in the CFC chart must be configured in an interrupt task Ix x 1 8 Timing The bask clock cycle TO from the system initiates that telegrams are sent and therefore the start of the SIMOLINK cycle A subseguently received SYNC telegram initiates an interrupt and therefore execution of interrupt task Ix The signal processing internal calculations are realized after the SIMOLINK telegram has been sent and received TO interrupt SYNC telegram TO interrupt SYNC telegram Processing time of the Processing time of the SIMOLINK blocks SIMOLINK blocks Interrupt task Ix Basic clock cycle TO External cyclic mode The SLB module operates as master The SIMOLINK blocks in the CFC chart must be configured in a cyclic task T1 T0 Timing The basic clock cycle TO initiates that telegrams are sent starts the SIMOLINK cycle and the SIMOLINK blocks are processed in T1 T0 The signals are processed internal calculation at the same time as sending and receiving SIMOLINK telegrams
38. k output OTS is used to display whether the block is operating error free ATS 1 or was de activated after a communications error message was entered ATS 0 Default 2 12 Function Blocks FM 458 1 DP Edition 03 2003 Communication blocks YTS Detailed status display for additional values at YTS refer to D7 SYS Online Help Help events Press the F1 button in the CFC and call the topic Help on events uncer CFC for D7 SYS Default 0 Configuring data Computation time us FM458 1 DP 23 6 Can be inserted online No Can be configured in Alarm tasks Executed in Initialization mode Normal mode Special features The DPPEV may only be configured in an alarm task for which the following alarm cause is configured in HW Config Process alarm 1 0B40 If this is not the case DPPEV signals an appropriate communications error and stops processing A new alarm of the same time is only again detected after the alarm task has been completed Function Blocks FM 458 1 DP Edition 03 2003 2 13 Communication blocks 2 3 FM 458 specific coupling 2 3 1 CPB P bus central coupling block Symbol CPB CPU module name PBUS H4GV CTS CDM BO coupling status QTS BO block status Brief description The central block for the P bus coupling can only run with an FM 458 application module e This function block is responsible fo
39. ks FM 458 1 DP Edition 03 2003 Communication blocks Configuringdata Computation time us FM 458 1 DP 3 3 Ava oe Can be configured in Interrupt tasks Cyclic tasks Executed in Normal mode Initialization mode Function Blocks FM 458 1 DP 2 27 Edition 03 2003 Communication blocks 2 4 Parameterizing SIMADYN D 2 4 1 FMPAR Parameter processing on FM 458 1 DP modules Symbol FMPAR COMBOARD status Block status Status 1 COMBOARD parameter channel Status 2 COMBOARD parameter channel EXM448 module name connector Parameter language selection Parameter type float to Comboard Parameter change enable BASEBOARD Function Brief description The FB FMPAR can only be configured on a FM 458 1 DP module FB FMPAR monitors the COMBOARD communications submodule of the SIMOVERT MASTER DRIVES e g CBP for PROFIBUS DP and processes the parameter tasks which are defined for it Several FMPAR central blocks for various COMBOARDs can be configured on a FM 458 1 DP module It should be configured in a slow sampling time approx 100 ms The maximum permissible sampling time is 200 ms as a result of the monitoring using adjacent modules The existence and correction functioning of the COMBOARD is automatically identified and is displayed at output CS Only one COMBOARD may be configured using FB FMPAR Parameter processing Parameters are configured in the comment at each I O If the comment starts with TP_
40. lized after a temporary fault 2 14 Function Blocks FM 458 1 DP Edition 03 2003 Communication blocks The configured name of its own CPU is specified at this initialization input Specifies the coupling status default 0 faulted 0 not faulted 1 0 Operating status of the function block default 0 There is an irreparable fault for QTS 0 for QTS 1 the function block operates error free Configuringdata Computation time us FM 458 1 DP 16 5 Can be configured in Cyclic tasks Executed in Normal mode Initialization mode 2 3 2 S7RD P Reading data from a SIMATIC CPU P Bus Symbol Offs in 128By PBus Buffer Number bytes to be read Enable PTR DWI PtrBuffer Transmitdata BOF Error Status Block WE Statusinfo Block Brief description This block can only be used for the SIMATIC application module FM 458 1DP A SIMATIC CPU can transfer up to 128 bytes to the FM 458 1 DP in its output area of the P bus Block S7RD P reads this data from the P Bus and provides it via its pointer interface to the read blocks DRD CPY Y for further processing in the CFC configured software Mode of operation This block operates similar to the telegram block CRV P A maximum of 128 bytes can be accessed via the pointer interface These bytes are sent from the SIMATIC CPU to the FM 458 1 DP via the P bus Data can be read using the read blocks DRD or the copy block CPY P This block only communicates
41. lt 0 Number of SIMOLINK cycles which have been executed or the number of SIMOLINK telegrams No of timeouts on the SIMOLINK ring default 0 A timeout means that a telegram has failed not been received Number of CRC errors in the SIMOLINK ring default 0 A node sends a telegram with a CRC error Number of the defective module and or node that detected the fault in default 0 the line No of waiting cycles default 0 The number of the processor cycles specifies while the values by PCI Copy are being waited for No of CO1 Overruns default 0 Group error bit default 0 QF 0 No error QF 1 for error if YFz0 Number of overruns default 0 The number of statuses where the configured function blocks have not be able to provide the data or retrieve the data up to the start of the next SIMOLINK cycle The data remains consistent even for errors such as these and the SIMOLINK cycle is started with old data In order to resolve this problem the interrupt tasks in which the SIMOLINK blocks were configured must be relieved eae a dk l GE NTO NCR 01 C Function Blocks FM 458 1 DP 5 5 Edition 02 2004 SIMOLINK drive coupling ded tput Error statuses which occur for the appropriate block are output in a codec ks a coded form at outputs YF of the SIMOLINK blocks Only the last error event is displayed Memory register was not set up No send and receive blocks available Maximum number of SI
42. n blocks whose PLA input has the same value Default 0 Inputs PEN Enables the parameter change e PEN 1 allows the operator control parameters to be changed through all of the parameter channels e PEN 0 inhibits operator control parameter changes via all parameter channels Default 1 BBF BASEBOARD Function e BBF 0 SIMATIC FM 458 1 DP operates as TECHBOARD parameter number from external view 1000 1999 3000 3999 e BBF 1 SIMATIC FM 458 1 DP operates as BASEBOARD parameter number from external view 0 999 2000 2999 Default 0 Status outputs CS COMBOARD status e CS 1 COMBOARD is operational e CS 0 COMBOARD has failed or is not available Default 0 Function Blocks FM 458 1 DP 2 29 Edition 03 2003 Communication blocks Diagnose outputs QTS Block status e QTS 1 Block is operational and is operating error free e QTS 0 Block is shutdown due to a fault with an error output at YT 1 2 Default 0 YT1 e YT1 0 OK status e Initialization mode status of the block initialization e Standard mode Status of the 1 parameter channel from COMBOARD For additional values refer to D7 SYS online help Help on Events press the F1 key in the CFC and call up the topic Help on events under CFC for D7 SYS Default 0 YT2 e YT2 0 OK status e Intialization module Status of the block initialization Standard mode Status of
43. nction Blocks FM 458 1 DP Edition 03 2003 3 Logic blocks 3 1 SAV TR Save FB for NOV RAM Symbol SAV TR ET SAV TR input variable 4R X Y R output variable mode of operation 4BO M QF BO no available memory Brief description A REAL type quantity is saved in the NOV RAM of a technology module Mode of operation The function block is a read write memory for a REAL value It is only active if a 0 at output QF indicates that the memory space in the NOVRAM is available The function block operating mode is selected at input M Write operating e The quantity to be saved is entered at input X It is transferred to mode M 1 oer R output Y e Further input quantity X is entered in the NOV RAM of the module In this case a value already contained in the NOV RAM is overwritten Read operating e The last input quantity saved in the write operating mode is output mode M 0 at Y e The NOV RAM is deleted from the operating system each time the configured software changes even when the system is configured for the first time i e zeros are written into it If the NOV RAM is then read without having previously written a value into the NOV RAM then the initialization value of the NOV RAM zero is output at Y INIT Operating In the INIT operating mode of the function block memory is made mode available to accept a REAL value Output QF is set to 1 if this is not no longer possible The function block is th
44. nd with the parameters to be read e S7RD REAL e S7RD B BOOL e S7RD I INT e S7RD D DINT Mode of operation With this block data can be read into the assigned net data area of the SIMATIC S7 CPU periphery output assigned to the FM 458 application module This PE area is 128 bytes If the enable signal is set the appropriate value is read from the P area and made available at output Y The offset determines at which location in the PA area the value is retrieved Depending on the block or data type the offset is specified as follows for REAL data type in 4 byte steps data length value range of the offset 0 31 for BOOL data type in 1 byte steps data length value range of the offset O 127 for INT data type in 2 byte steps data length value range of the offset O 63 for DINT data type in 4 byte steps data length value range of the offset 0 31 Output QF has the value 1 if an invalid offset was selected or the block is not configured on the FM 458 2 24 Function Blocks FM 458 1 DP Edition 03 2003 Communication blocks d for om fee i EN 0 lar emorot letet Configuringdata Computation time us FM 458 1 DP 3 3 AEE Can be configured in Interrupt tasks Cyclic tasks Executed in Normal mode Initialization mode Function Blocks FM 458 1 DP 2 25 Edition 03 2003 Communication blocks 2 3 7 S7WR S7WR B S7WR I S7WR D Write into the peripheral area of
45. nfigure the block in cyclic tasks or interrupt tasks initialization input DM 0 SBM in interrupt tasks default 0 If the block is computed in interrupt tasks then the SBM2 module register is read out with a falling edge on the SYNC_DNE line This signal also generates the interrupt for the interrupt task in which the block is configured The contents of the register are then read out and the values for the output connections computed DM 1 SBM in cyclic tasks If the block is computed in cyclic tasks then the SBM2 module register is read out in the system mode The contents of the register are then read out in the normal mode and the values for the output connections computed Rated speed in revolution min RS gt 0 default 1 0 0 Max number of increments per revolution default 0 depending on the input connection EXP RPMmi default 0 0 Normalized speedform the rotary encoder 5 Group error message default 0 no error QF 1 for error if YF 0 Error status of the block default YF 0x0000 no error YF gt 0x0000 refer to error statuses 160000 0000 Function Blocks FM 458 1 DP 1 3 Edition 03 2003 Input output blocks 0x0040 Encoder fault error Check the hardware encoder cable etc 0x0080 No voltage or short circuit 0x0100 No data transfer from or to the encoder check the hardware encoder cable etc check the hardware encoder cable etc 0x2000 Invalid baud rate parameterized 0x
46. nfigured at the inputs In the normal system mode RUN mode the SLSVAV send and receive block executes the following e Checks that the inputs are within the permissible value range e Enters the setpoints to be sent into the write buffer of the SLB module e Reads out the actual values to be received from the receive buffer of the SLB module 5 15 SIMOLINK drive coupling I O TAD Hardware address SLB name of the SLB module which can be configured in HWConfig ASL Address of the slave for dataexchange default 1 value range 1 200 NSV Number of channels for the setpoint to be sent default 0 value range 0 8 NAV Number of channels for the actual values to be received default 0 value range 0 8 XS0 Setpoint XS for channel 0 to 7 default 0 to A maximum of 8 setpoints can be sent XS7 YSO Actual values YS from channel 0 to 7 default 0 to A maximum of 8 actual values can be received YS7 SEQ Sequence number default 0 Number of the blocks in the SIMOLINK block sequence This value provides information as to whether the block was correctly initialized YF Error status of the block default 0 YF 0 noerror YF gt 0 QF Group error bit default 0 QF 0 no error QF 1 for error if YF 40 Configuringdata Computation time us FM458 PM6 34 7 Can be inserted online no Can be configured in Interrupt tasks Cyclic tasks Executed in Initializati
47. nnection with devices or components from other manufacturers which have been approved or recommended by Siemens SIMATIC and SIMADYN D are registered trademarks of Siemens AG Third parties using for their own purposes any other names in this document which refer to trademarks might infringe upon the rights of the trademark owners Copyright SIEMENS AG 2004 All rights reserved The reproduction transmission or use of this document or its contents is not permitted without express written authority Offenders will be liable for damages All rights including rights created by patent grant or registration of a utility model or design are reserved Siemens AG A8D Frauenauracher Stra e 80 91056 Erlangen Siemens Aktiengesellschaft Disclaimer of liability We have checked the contents of this manual for agreement with the hardware and software described Since deviations cannot be precluded entirely we cannot guarantee full agreement However the data in this manual are reviewed regularly and any necessary corrections included in subsequent editions Suggestions for improvement are welcomed Siemens AG 2004 Technical data subject to change Editions NOTE Overview chapter editions FM 458 1 DP Manual Function Blocks Edition 02 2004 Please note that the current edition of this documentation contains different editions of the individual chapters The following overview tells you when a chapter was revi
48. on block initializes and monitors the PROFIBUS DP coupling EXM 448 EXM 448 1 the function block may only be configured in the sampling interval 32ms lt TA lt 255ms Otherwise an entry is made in the communications error field PRODP Central block PROFIBUS DP coupling e the function block initializes and monitors the PROFIBUS DP coupling at connector X03 on FM 458 1 DP Function Blocks FM 458 1 DP 2 1 Edition 03 2003 Communication blocks the function block may only be configured in the sampling interval 32ms lt TA lt 255ms Otherwise an entry is made in the communications error field 2 2 Kopplung PROFIBUS DP 2 2 1 DPDIAG Diagnostics overview PROFIBUS DP Symbol DP module name connector Enable Diagnostics valid Slave diagnostics bits 0 to 31 Slave diagnostics bits 32 to 63 Slave diagnostics bits 64 to 95 Slave diagnostics bits 96 to 127 Data transfer list bits 0 to 31 Data transfer list bits 32 to 63 Data transfer list bits 64 to 95 Data transfer list bits 96 to 127 Master status Identification number Block status W 1 Status display The task of the DPDIAG function block is to provide the following information and data to the user program i e the configured CFC software Brief description e System diagnostics an overview of which slave had signaled diagnostics e Data transfer list overview of with which slave data
49. on mode Normal mode Special features 5 16 Function Blocks FM 458 1 DP Edition 02 2004 6 Closed loop control blocks 6 1 1 INT M Modulo integrator for axis cycle correct integration Symbol Modulo value Input Numerator ratio Denominator ratio Setting value Reset Set Hold Output Positive oberflow Negative overflow Block error status Brief description the virtual master block INT_M is used to generate position reference values in angular synchronism Mode of operation The block sums the input values X weighted with ratio NM and DN If the sum of the modulo value MOD exceeds or falls below 0 the modulo value is subtracted or added and an overflow bit QP or QN is set for the duration of the sampling time Modulo value value range 1 230 default 0 Input guantity of the integrator default 0 e g velocity ramp function generator output Numerator value for the ratio gearbox factor default 1 NM X may not exceed 231 value range 230 to 230 Denominator value for the ratio gearbox factor default 1 value range 250 to 230 Gull Setting value default 0 Is the value which is set to the output Y with S 1 Reset default 0 default 0 Bit to set the output value Y to the setting value SV S 1 gt Y SV initial offset default 0 Holds the instantaneous value at output Y H 1 gt Y Yold Function Blocks FM 458 1 DP 6 1 Edition 12 2003 Cl
50. ory QTS Block output ATS indicates whether the block is operating ATS 1 or Default 0 became inactive after a communications error message was entered QTS 0 YTS Detailed status display Default 0 e YTS 0 gt O K ready e YTS 1 The block is in the DISABLED state i e ENR 0 e YTS 2 The initialization connection is changed the change only becomes effective at the next STOP gt RUN transition the FB operates with the values at ID RID and RLN set when running up For other values at YTS in addition a communications error is entered in the diagnostics buffer and the block is no longer processed QTS 0 2 20 Function Blocks FM 458 1 DP Edition 03 2003 Configuring data Communication blocks Computation time us FM458 1 DP 5 7 Can be inserted online No Can be configured in Alarm tasks Cyclic tasks Executed in Initialization mode Normal mode Special features Function Blocks FM 458 1 DP Edition 03 2003 2 21 Communication blocks 2 3 5 S7STAT S7 CPU operating state Symbol BO S7 CPU in RUN BO S7 CPU in STOP BO S7 CPU in HOLD actual operating state previous operating state Brief description The actual and previous S7 CPU operating states are displayed at the outputs Mode of operation The actual and previous operating state of the S7 CPU is determined and displayed at connectors ACT for the actual and OLD for the previous operating state Out
51. osed loop control blocks Y Output quantity of the integrator default 0 R S H 0 gt Y Yold X NM DN Positive overflow default 0 QP 1 3 Y X gt MOD Y Y MOD Negative overflow default 0 QN 1 gt Y X lt 0 Y Y MOD Error status of the block default 0 YF 0 no error YF gt 0 coded error output Coded error output The error status is output in a coded form at output YF of the modulo integrator INT M The last error event is always displayed MOD gt 230 or lt 1 Soa aa Io e Division overtow negative Configuringdata Computation time us FM 458 1 DP 19 8 Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode Special features 6 2 Function Blocks FM 458 1 DP Edition 12 2003 Index CPB P bus central coupling block retrar ee a E eee eee ee eee nenene een nen 2 14 CSL2F PROFIBUS FMS coupling central block ee eee eeeeee eee eee een nn 2 1 CSL2L PROFIBUS FDL central block ipe eee Tae aiaa ap a a aa aaa na ea am t 2 1 CSPRO Central block PROFIBUS DP coupling eee eee eee eee ekk 2 1 FMPAR Parameter processing on FM458 modules eee 2 28 SLSIMOLINK central block aar nn bets dase cite tensile eee 5 1 B BRCV Block oriented data reception via an S7 COUpliNg eee eee eee een 2 19 D DPDIAG Diagnostics overview PROFIBUS DP eee een eee nene nn n 2 2 DPEVT Alarm information PROFIBUS DP eee ee eee een nenene nene 2 8
52. ow some of the terminology and basic procedure Then use the particular sections of the Manual if you wish to carry out certain processing steps e g loading programs If you have already executed a small project and have gained some experience then you can read individual sections of the Manual in order to get up to speed about a specific subject Can be accessed globally at any time of the day ae x aR SIMATIC Hotline Europe Africa Nuremberg Technical Support Local time Mon Fri 7 00 to 17 00 Tel Fax Technical Support and Authorization Local time Mon Fri 8 00 to 19 00 Tel Fax E Mail tdc support siemens com GMT America Johnson City 49 0 180 5050 222 49 0 9131 98 1603 49 0 911 895 7001 or 49 0 180 5050 223 1 0 770 740 3505 only toll free from the US 1 0 800 241 4453 1 0 770 740 3699 E Mail isd callcenter sea siemens com GMT Function Blocks FM 458 1 DP Edition 12 2003 5 00 E Mail authorization nbgm siemens de Asia Australia Singapore Fax GMT urope Africa Nuremberg Authorization Local time Mon Fri 7 00 to 17 00 Tel Fax 49 0 911 895 7200 49 0 911 895 7201 Technical Support and Authorization Local time Mon Fri 8 30 to 17 30 Tel 65 740 7000 65 740 7001 E Mail simatic hotline sae siemens com sg drives
53. put RUN is set to TRUE if the S7 CPU is either in the RUN or RUN R state Output value Operating state RUN STP HLD to ACT or OLD 0x0010 Stop 0 1 0 0x0020 Cold start 0 0 0 0x0040 New start 0 0 0 0x0080 Re start 0 0 0 0x0100 RUN 1 0 0 0x0200 RUN R 1 0 0 0x0400 Hold 0 0 1 NOTE All other values are used for extended diagnostics I O RUN S7 CPU in RUN Default 0 STP S7 CPU in STOP Default 0 HLD S7 CPU in HOLD Default 0 ACT Actual operating state of the S7 CPU Default 0x8000 OLD Previous operating state of the S7 CPU Default 0x8000 Please refer to the help for STEP7 for a more detailed description of the operating states 2 22 Function Blocks FM 458 1 DP Edition 03 2003 Configuring data Communication blocks Commutation time ys FM458 1 DP Can be inserted online yes Can be configured in Alarm tasks Cyclic tasks Executed in Normal mode Special features Function Blocks FM 458 1 DP Edition 03 2003 2 23 Communication blocks 2 3 6 S7RD S7RD B S7RD I S7RD D Read from the peripheral area of the S7 CPU Symbol Offset Output Enable error output Brief description The function blocks read from the peripheral area of the S7 CPU can only run with an FM 458 application module The S7RD S7RD B S7RD I S7RD D blocks only differ by the data type at the output which must correspo
54. r initializing and monitoring the P bus coupling e The function block can only be configured once for each application module FM 458 as there is only one P bus coupling for each FM 458 If a function block is configured a multiple number of times this is detected when initializing and results in an entry in the communications error field The block may only be configured in the sampling interval 32 ms lt TA lt 255 ms Otherwise an entry is made in the communications error field Mode of operation When initializing the function block general preparations are made to enable the coupling The coupling is only enabled after the standard mode has been run through executed several times After the coupling has been enabled the central block monitors that senders and receivers are correctly registered Further if reguired it re organizes and updates the block output CDM at each processing cycle The function block cannot be used to initialize another P bus coupling or monitor this It can only initialize its own P bus coupling on which CPU is configured An entry is made in the communications error field if another module name is specified at the CTS input other than its own The CDM block output provides information about the coupling status The connection is a 1 if the coupling is enabled for general send receive operation The CDM block output is 0 as long as the coupling is still being initialized or is being re initia
55. red on the FM 458 1 DP application module vo AWF far Rea i Configuringdata FM 458 1DP 1 0 Cyclic tasks Initialization mode see o Function Blocks FM 458 1 DP 4 1 Edition 03 2003 5 SIMOLINK drive coupling 5 1 SL SIMOLINK central block Symbol Hardware address SLB l Error status of the block Operating mode I No of nodes Brief description Mode of operation Function Blocks FM 45 Edition 02 2004 Node address No of cycles Send power No of overruns Use PCI Copy No of timeouts Max blocksize Enable the drive interface No of CRC errors No of the defective module No of waiting cycles No of CO1 overruns Group error bit The SL central block allows the initialization and monitoring of communications with an SLB module An SLB module is a system hardware component which can be an ITSL an EXM 448 1 module or an optional SLB SIMOLINK Board of the ITSL module The SL central block may only be configured in a cyclic task and once per SIMOLINK ring The following parameters must be set for an SLB module 8 1 DP Hardware address SLB TAD Operating mode MOD Node address ASL only relevant when operating mode 0 is selected Send power POW for the SLB module The SL central block executes the following steps while the system is being initialized Checks the validity of the value ranges at the input connections Checks whether addit
56. s for direct Default 0 communication is made available here e g types DRD DRD etc Function Blocks FM 458 1 DP 2 19 Edition 03 2003 Communication blocks NDR Status parameter NDR Default 0 0 Task was still not started ENR input or is still running 1 Task was successfully completed LEN Length of the previously received data in bytes Default 0 CTR This output counts the total number of successfully complete data Default 0 receive cycles since the last change from STOP to RUN ERR An error is output at block output ERR The detailed information about Default 0 the type of the error is available at output STA This output corresponds to the ERROR output of an SFB FB 13 of an S7 CPU STA Detailed status display Default 0 This output corresponds to the STATUS output of an SFB FB 13 of an S7 CPU ERR 0 e STA 00H No alarm no fault e STA 11H Non synchronous data is received output LEN indicates the number of pieces of data previously received in bytes ERR 1 e STA 01H Communication problems e g the coupling description to the ID not loaded coupling has still not been established from the partner or the coupling was interrupted e STA 04H Error regarding the data length The data block sent is longer than the receive range set using input RLN e STA 05H Reset request received incomplete transfer e STA 12H R_ID already exists in the coupling e STA 14H too little working mem
57. sed the last time Chapter Foreword Input output blocks Communication blocks Logic blocks Service diagnostic blocks SIMOLINK drive coupling Closed loop control blocks Function Blocks FM 458 1 DP Edition 02 2004 Edition 12 2003 Edition 03 2003 Edition 03 2003 Foreword Purpose of this Manual Basic knowledge reguired Validity of the Manual Additional support Training Center NOTE This Manual explains the principle use and functions of the STEP 7 automation software with the main focus on the appropriate technological and drive control components T400 FM 458 1 DP SIMADYN D SIMATIC TDC or D7 SYS This Manual addresses programmers and commissioning engineers General knowhow regarding automation technology is reguired in order to understand the contents of the Manual This Manual is valid for SIMATIC D7 SYS Version 6 1 If you have questions relating to the use of the products described in the Manual which cannot be answered here then please contact your local Siemens office You can also call the Hotline e Tel 49 9131 98 5000 e Fax 49 9131 98 1603 e e mail adsupport siemens com Appropriate training courses are available in order to make it easier to get to know the SIMADYN D automation system Please contact the central Training Center in D Erlangen 1 amp S IS INA TC e Tel 49 9131 7 27689 27972 e Fax 49 9131 7 28172 e Internet www siemens de sibrain e Intranet
58. stic bytes this means the diagnostics bytes which extend beyond the Standard diagnostics Here a maximum value of 234 may be set Whether device related diagnostics data is available and if yes which significance they have should be taken from the user documentation of the relevant DP slave Initialization connection Default 0 i e only Standard diagnostics not device related diagnostic bytes EN Block enable If EN 0 the block is not processed output OK 0 and YTS 1 the last value remains at the other outputs Default 1 OK Diagnostics data valid Default 0 ST1 Status 1 of the diagnostics according to the Standard byte 1 For a more detailed description refer to the user manual FM 458 1 DP chapter Configuring section PROFIBUS DP coupling Default 0 ST2 Status 2 of the diagnostics according to the Standard byte 2 For a more detailed description refer to the user manual FM 458 1 DP chapter Configuring section PROFIBUS DP coupling Default 0 ST3 Status 3 of the diagnostics according to the Standard byte 3 For a more detailed description refer to the user manual FM 458 1 DP chapter Configuring section PROFIBUS DP coupling Default 0 MPA Master Profibus address byte 4 of the diagnostics according to the Standard Identification number of the slave bytes 5 and 6 of the diagnosics according to the Standard D01
59. support sae siemens com sg Foreword vi Function Blocks FM 458 1 DP Edition 12 2003 Contents LIKA o S dir iii 1 JInput output bDIOCKS 42245056 hese ee hie ee ei deities 1 1 1 1 SBM Rotary encoder block 2 teeter eee eee eee een eee nn 1 2 2 Communication blockS 5 45 s secede lees sees kua SR EH nana koku ku nas KOSA aaae na emeh oana saaana aeran Enni m eet st n sak 2 1 2 1 Central coupling blOcks 3 33 54 5333x zda konala ad aati anes 2 1 2 1 1 CSL2F PROFIBUS FMS coupling central block eee 2 1 2 1 2 CSL2L PROFIBUS FDL central block eee eee 2 1 2 13 CSPRO Central block PROFIBUS DP Coupling eee 2 1 2 1 4 PRODP Central block PROFIBUS DP Coupling eee 2 1 2 2 Kopplung PROFIBUS DP aeaea erri aa aa D a E aae aa eE TASTA 2 2 2 2 1 DPDIAG Diagnostics overview PROFIBUS DP eee 2 2 2 2 2 DPSLDG Slave diagnostics PROFIBUS DP een 2 5 2 2 3 DPEVT Alarm information PROFIBUS DP eee eee ee eee 2 8 2 2 4 DPPEVT Process alarm information PROFIBUS DP Symbol 2 11 2 3 FM 458 specific coupling 2 c ccceceeeeeeeeeeeeeeeeeeeeeeeeceaeaeceeeeeseseneaeaeeeeeeeeeeseeneaeess 2 14 2 3 1 CPB P bus central coupling block 2 2 22 eeeeee ee eeee eee eee eee eee nen 2 14 2 3 2 S7RD P Reading data from a SIMATIC CPU P Bus seese 2 15 2 3 3 S7WR P Sending data to a SIMATIC CPU P BUS eee 2 17 2 34 BRCV Block oriented data reception via an S7 Coupling ee 2 19 2 3 5
60. the same cycle which is physically located in front in the SIMOLINK ring e g from slave 4 to slave 1 Actual value YA from slaves 1 to 8 default 0 A maximum of 8 actual values can be received Seguence number default 0 Number of the block in the SIMOLINK block sequence The value supplies info as to whether the block was correctly initialized Error status of the block default 0 YF 0 no error YF gt 0 refer to coded error output SL Group error bit default 0 QF 0 no error QF 1 for error if YFz0 compen time us FM 458 1 DP 34 7 Can be configured in Interrupt tasks Cyclic tasks Configuringdata Executed in Initialization mode Normal mode 5 8 Function Blocks FM 458 1 DP Edition 02 2004 SIMOLINK drive coupling 5 3 SLD SIMOLINK delta evaluation Symbol Delta time Delta time max Delta time min I Sequence number I Block error status BO Group error bit Hardware address SLB Brief description A sampling time failure can be detected using function block SLD The counter status is interrogated at each SYNC interrupt this is generated at the end of every telegram cycle The block can calculate and output the difference to the old previous value Mode of operation The blocks reads the interrogated value of the counter and generates the difference to the value which was saved in the old previous cycle This value is output at DT The minimum and maximum
61. the 2 parameter channel of COMBOARD For additional values refer to D7 SYS online help Help on events press key F1 in the CFC and call up the topic Help on events under CFC for D7 SYS Default 0 Configuringdata Computation time us FM 458 1 DP 33 Can be inserted online Can be configured in Cyclic tasks Executed in Initialization mode Normal mode Special features e 10 lt sampling time lt 200 ms Block may not be switched in or switched out per task group 2 30 Function Blocks FM 458 1 DP Edition 03 2003 Communication blocks 2 4 2 PNAME Parameter names on the T400 Symbol parameter language selection Brief description Mode of operation parameter name 1 parameter name 2 parameter name 3 parameter name 4 parameter name 5 parameter name 6 parameter name 7 parameter name 8 parameter name 9 parameter name 10 parameter name 11 parameter name 12 parameter name 13 parameter name 14 parameter name 15 parameter name 16 parameter name 17 parameter name 18 parameter name 19 parameter name 20 status output I S S S S S S S S S S S S S S S S S S S S The block is reguired to configure names for parameters The PNAME function block can be configured on the following modules e T400 technology module DRIVE function block is required e CPU module in the SIMADYN D subrack CSPAR function block is reguired The block can
62. then this I O is designated as parameter Every parameter can be allocated a parameter name FB PNAME Further a setting parameter can also be allocated a minimum and a maximum FB PLIM Mode of operation The block handles the following tasks e Checks the module code of the COMBOARD e Monitors the COMBOARD lifebit counter e Transfers the configuration data to the COMBOARD Processes the parameter channels e In standard operation processes the parameter tasks in the sampling time cycle 2 28 Function Blocks FM 458 1 DP Edition 03 2003 Communication blocks The name of the COMBOARD which is to be processed is configured at input CTS of the FB FMPAR If a name has not be configured at input CTS then the FB FMPAR shuts itself down with an error signal at output YT1 2 NOTE Function blocks CRV and CTV may only be configured once They can be configured on any and on different processor modules However parameter processing is possible for all processor modules Initialization I O CTS Configured name of the EXM448 coupling module and connector X02 separated by Default CF Parameter data type to transfer SIMADYN D data types REAL and SDTIME via the parameter channel of the COMBOARD e CF 1 Parameter data type float e CF 0 32 bit integer 14 Default 1 PLA Parameter language selection parameter language The parameter names are activated which are configured at all PNAME functio
63. to D59 Device related diagnostic bytes 4 bytes are combined in one 32 bit word Bytes 7 8 9 and 10 of the diagnostics telegram can be found in D01 For a more detailed description refer to the user manual FM 458 1 DP chapter Configuring section PROFIBUS DP coupling When data is entered at LEN this has an influence on the update of the outputs For LEN 0 these outputs are not updated For LEN 234 D01 up to and including D59 are updated Comment Bytes 1 to 6 of a diagnostics telegram for PROFIBUS DP corresponds to the Standard Diagnostics bytes from 7 onwards depend on the particular slave referred to the particular device Default 0 OTS Block output ATS is used to display whether the block is operating error free ATS 1 or was de activated after a communications error message was entered QTS 0 Default 0 2 6 Function Blocks FM 458 1 DP Edition 03 2003 Communication blocks YTS Detailed status display Default 0 e YTS 0 gt ok e YTS 1 gt Block processing inhibited EN 0 e YTS 2 gt An initialization connection SLA er LEN was changed in cyclic opertion this change only becomes effective the next time that the FM458 1 starts e YTS 3 gt The block has already been configured once for the slave addressed via SLA e YTS 4 gt The slave with the address specified at SLA has not been configured in the PROFIBUS network For additional
64. tput SL Group error bit default 0 QF 0 no error QF 1 for error if YFz0 Configuringdata Computation time us FM 458 1 DP 34 7 Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode 5 12 Function Blocks FM 458 1 DP Edition 02 2004 SIMOLINK drive coupling 5 6 SLSV2 SLSV2 R SIMOLINK send block for 2 setpoints Symbol Hardware addresse SLB Address of the first slave No of slaves Axix cycle length Channel number for setpoint 2 Channel number for the setpoint Common setpoint of the main angle Setpoint offset for slave 0 Setpoint offset for slave 1 Setpoint offset for slave 2 Setpoint offset for slave 3 Setpoint offset for slave 4 Setpoint offset for slave 5 Setpoint offset for slave 6 Setpoint offset for slave 7 Seguence number Block group error status Group error bit Brief description 2 setpoints can be sent to each slave using the SLSV2 send block In this case the block can handle a maximum of 8 slaves The first setpoint is transferred to all of the 8 slaves This functionality can be used to implement a virtual shaft especially if the time and the position angular setpoint must be transferred to the slaves The SLSV2 and SLSV2 R function blocks are functionally identical The only difference is the data type of the setpoint connections XO0 to XO7 SLSV2 DINT SLSV2_R REAL Mode of operation 1 The SLSV2 send block executes the follo
65. transfer took place within the PROFIBUS DP time frame e Master status master specification information such as the Stop Operate and Clear stati Mode of operation The PROFIBUS DP interface is selected using connection CTS The function block only enters a communications error for errors which are detected during initialization A communications error cannot be acknowledged and this function block is only used for diagnostics This means that in normal operation a communications error is not entered Only the cause of the error is signaled at output YTS 2 2 Function Blocks FM 458 1 DP Edition 03 2003 I O Communication blocks CTS Module name connector of the Profibus DP interface Initialization connection EN Block enable The block is not processed if EN 0 output OK 0 and YTS 1 the last value is kept at the other outputs Default 1 OK Diagnostics data valid Default 0 DG1 Overview of which slave signaled diagnostics data This output is bit coded Every bit is assigned to a slave with its Profibus address Bit 3 of the 32 bit is for example assigned to the slave with Profibus address 3 Comment The bits 0 up to and including 2 are always 0 as the associated addresses 0 to 2 should be reserved for the DP master for a PG and an OP For a more detailed description refer to the user manual FM 458 1 DP chapter Configuring section PROFIBUS DP coupling Default 0
66. try range 1 to 16 Default 1 Function Blocks FM 458 1 DP 2 33 Edition 03 2003 Communication blocks Actual access stage i word level The access stage i determined by the entry at input PSW is output as binary value For access stage n bit n is set to 1 and all of the other 15 bits are set to 0 e g for access level 7 WLVcorresponds to 2 0000000001000000 Default 240000000000000000 Device status word state The actual device status STE is output as a binary value For the current device status ST n bit n is set to 1 and all of the other 15 bits are set to 0 e g for STE 7 WST corresponds to 24000000001000000 Default 240000000000000001 Status display 7C78 Function block is configured several times 7CCA no DRIVE or CSPAR function block configured 7CF9 one or several incorrect entries were made at input PWi 7CFA illegal entry at input STE Default 0 For additional values refer to D7 SYS online help Help on events press key F1 in the CFC and call up the topic Help on events under CFC for SIMADYN D Configuringdata Computation time us FM 458 1 DP 3 3 Can be configured in Alarm Tasks Cyclic tasks Executed in Initialization mode Normal mode Special features Function block may only be configured once per CPU module or T400 Function block additionally required on T400 DRIVE and PLIM Function block additionally required on the CPU modules CSPAR and PLIM 2 34 Fu
67. umber 0x8037 for EXM448 as Profibus interface Ox80EB when using X3 of the FM458 1 Default OTS Block output OTS is used to display whether the block is operating error free OTS 1 or was de activated after a communications error message was entered ATS 0 Default YTS Detailed status display e YTS 0 gt ok e YTS 1 gt Block processing inhibited EN 0 For additional values at YTS refer to D7 SYS Online Help Help events Press the F1 button in the CFC and call the topic Help on events under CFC for D7 SYS Default Configuring data Computation time us FM458 1 DP 42 7 Can be inserted online No Can be configured in Cyclic tasks Executed in Initialization mode Normal mode module Special features This function block may only be configured once for each PROFIBUS communications Function Blocks FM 458 1 DP Edition 03 2003 Communication blocks 2 2 2 DPSLDG Slave diagnostics PROFIBUS DP Symbol DP module name connector Slave address Number of device related diagnostic bytes Brief description Note Mode of operation BO Diagnostics valid BY Status 1 standard diagnostics BY Status 2 standard diagnostics Enable BY Status 3 standard diagnostics BY Master Profibus address W Slave identification number DW Diagnostic bytes v w x u y 1 W Status display 1 normally invisible
68. values at YTS refer to D7 SYS Online Help Help events Press the F1 button in the CFC and call the topic Help on events uncer CFC for D7 SYS Configuring data Computation time us FM458 1 DP 29 Can be inserted online No Can be configured in Cyclic tasks Executed in Initialization mode Normal mode Special features The function block may only be configured once for each slave Function Blocks FM 458 1 DP 2 7 Edition 03 2003 Communication blocks 2 2 3 DPEVT Alarm information PROFIBUS DP Symbol Expanded info Appropriate S7 alarm OB Station Slot Sub module Sub network Diagnostic bytes 0 1 2 and 3 Diagnostic bytes 4 5 6 and 7 Diagnosebytes 8 9 10 and 11 Diagnostic bytes 12 13 14 and 15 Diagnostic bytes 16 17 18 and 19 Diagnostic bytes 0 Diagnostic bytes 0 Block status W 1 Status display D normally invisible Brief description The DPEVT function block DP event provides more detailed information about a Profibus DP process or diagnostics alarm The information data provided at the outputs correspond to the information data which a SIMATIC S7 module also has when processing the appropriate alarm OBs e g OB40 OB55 etc Mode of operation When an alarm event is output all of the values at the outputs are updated When the appropriate alarm occurs the alarm task configured for this purpose is starte
69. values of DT are kept for monitoring purposes SLB hardware address name of the SLB module which can be configured in HWConfig Delta time default 0 Difference to the last SIMOLINK cycle duration Delta time max default 0 Maximum value of DT Delta time min default 0 Minimum value of DT O Seguence number default 0 Number of the block in the SIMOLINK block seguence This value provides information as to whether the block was correctly initialized YF Error status of the block default 0 no error YF gt 0 refer to coded error output SL Group error bit default 0 QF 0 no error QF 1 for error if YFz0 Configuringdata Computation time us FM 458 1 DP 19 8 Can be configured in Interrupt tasks Cyclic tasks Executed in Initialization mode Normal mode Function Blocks FM 458 1 DP 5 9 Edition 02 2004 SIMOLINK drive coupling 5 4 SLDIS SIMOLINK dispatcher Symbol Hardware address SLB Sequence number Number of slaves Block error status Number of channels Group error bit Enable cross data transfer Brief description A dispatcher mode is prepared in line with the SIMOLINK specifications as for MASTERDRIVES drive converters using the SLDIS function block Mode of operation The block registers the telegrams for all NSL slaves and all NCN channels I O TAD Hardware address SLB name of the SLB module which can be configured in HWConfig NSL Number of all of the slaves in the SIMOLIN
70. wing steps while the system is being initialized Checks the task assignment Initializes the task list of the SLB module corresponding to the data configured at the inputs 2 In the normal system mode RUN mode the SLSV2 send block executes the following steps Calculates the setpoints Checks that the inputs are within the permissible value ranges Enters the setpoints to be sent into the write buffer of the SLB module Function Blocks FM 458 1 DP 5 13 Edition 02 2004 SIMOLINK drive coupling I O TAD Hardware address SLB name of the SLB module which can be configured in HWConfig FSL Address of the first slave to which setpoint XO0 default 1 should be set value range 1 200 Number of slaves to A the setpoint should be default 1 sent value range 1 Axis cycle length default 0 Upper integrator limit value Channel number for setpoint 2 value range 0 default 0 7 Number of the channel on which the setpoint is default 0 sent Value range 0 7 Common setpoint XS of the main angle position for default 0 all NSL slaves Setpoint offset XO for slaves 1 to 8 default 0 A maximum of 8 setpoint offsets can be sent Sequence number default 0 Number of the block in the SIMOLINK block sequence This value provides information as to whether the block was correctly initialized Error status of the block default 0 YF 0 no error YF gt 0 refer to coded error
Download Pdf Manuals
Related Search
Related Contents
Jensen XS Series User's Manual User`s Manual OM, Rider 11, Rider 13 H, 1999-12 アルビクス オートロゴ F²MC-8L/16LX/FR FAMILY 取扱説明書 ActiveJet AB-1240YR Copyright © All rights reserved.
Failed to retrieve file