Home

SIMOTION EASY BASICS (SEB)

image

Contents

1. Copyright Siemens AG 2008 All rights reserved SI EM E NS General Notes User Manual We reserve the right to make technical changes to this product Copyright 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 or a utility model or design are reserved Version 2 2 Editon 08 02 2008 2 13 Copyright Siemens AG 2008 All rights reserved SI EM E NS General Notes User Manual General Notes Note The standard applications are not binding and do not claim to be complete regarding the circuits shown equipping and any eventuality The standard applications do not represent customer specific solutions They are only intended to pro vide support for typical applications You are responsible in ensuring that the de scribed products are correctly used These standard applications do not relieve you of the responsibility in safely and professionally using installing operating and servicing equipment When using these standard applications you recognize that Siemens cannot be made liable for any damage claims beyond the liability clause described We reserve the right to make changes to these standard applications at any time without prior notice If there are any deviations between the recommendations provided in these standard applications and other
2. INT timeZone BOOL dayLight utcTime UDINT error BOOL Version 2 2 Editon 08 02 2008 7 13 Copyright Siemens AG 2008 All rights reserved SI EM E NS Program Organization Unit of the Unit User Manual 2 1 3 Input and Output Parameters Table 2 1 Input and output parameters Element P type Datatype M O Initial value Description dateTime IN DATE AND M S Time in data type Time DATE_AND_TIME timeZone IN INT M Time zone offset in minutes dayLight IN BOOL M 0 Wintertime 1 Summertime utcTime OUT UDINT Serial time error OUT BOOL Error parameterization Parameter types IN input parameter OUT output parameter IN OUT in out parameter d Parameter type M mandatory parameter O optional parameter 2 2 Function Block FBUTCtoDateAndTime 2 2 1 Functionality The function block FBUTCtoDateAndTime calculates the date and the local time out of the number of elapsed seconds since 1 Januar 1970 0 00 00 Greenwich Time UTC time and provides them in the data format DATE_AND_TIME at the output dateTime The calculation includes the time zone offset timeZone as well as the summertime change dayLight The corresponding day of the week is also provided at the output weekDay In case of an invalid time target or an invalid time zone offset the output error is set error TRUE the outputs dateTime and weekDay remain unchanged Features Li
3. ASCII string BYTE dateAndTimeOut OUT DT Date and time specifiaction in SIMOTION format 1 Parameter types IN input parameter OUT output parameter IN OUT in out parameter d Parameter type M mandatory parameter O optional parameter Version 2 2 Editon 08 02 2008 12 13 Copyright Siemens AG 2008 All rights reserved SIEMENS Appendix User Manual Appendix 3 Literature Table 3 1 Literature Nr Literature 1 4 Revision Authors Table 4 1 Revision Authors Version Date Author Revision V 1 0 21 07 2004 XXX First creation V 2 0 11 04 2007 Chr Fecke Adaption to SEB V2 1 09 08 2007 Chr Fecke Changes with reference to the styleguide V3 5 V2 2 08 02 2008 Chr Fecke New functions FBConvertDateTolnt and FBConvertStringToDateAndTime as well as change of name of the existing functions adaption to SEB 5 Contact partners Application Centre SIEMENS Siemens AG Industry Sector DT MC PM APC Frauenauracher Str 80 Erlangen D 91056 Fax 49 9131 98 1297 mailto applications erlf aud siemens com Version 2 2 Editon 08 02 2008 13 13
4. Siemens publications e g Catalogs then the contents of the other documents have priority Warranty liability and support We do not accept any liability for the information contained in this document Any claims against us based on whatever legal reason resulting from the use of the examples information programs engineering and performance data etc described in this standard application shall be excluded Such an exclusion shall not apply in the case of mandatory liability e g under the German Product Liability Act Produkthaftungsgesetz in case of intent gross negligence or injury of life body or health guarantee for the quality of a product fraudulent concealment of a deficiency or breach of a condition which goes to the root of the contract wesentliche Vertragspflichten However claims arising from a breach of a condition which goes to the root of the contract shall be limited to the foreseeable damage which is intrinsic to the contract unless caused by intent or gross negligence or based on mandatory liability for injury of life body or health The above provisions does not imply a change in the burden of proof to your detriment Copyright 2008 Siemens A amp D It is not permissible to transfer or copy these standard applications or excerpts of them without first having prior authorization from Siemens A amp D in writing For questions regarding this application please contact us at the following e
5. mail address mailto applications erlf aud siemens com Version 2 2 Editon 08 02 2008 3 13 SI EM E NS General Notes Copyright Siemens AG 2008 All rights reserved User Manual Applicable conditions Alternative 1 internal business If nothing else has been negotiated then the General Conditions for the Supply of Products and Services in Siemens Internal Business valid at the time of sale are applicable Alternative 2 domestic business of Siemens AG If nothing else has been negotiated then the General License Conditions for Software for Automation and Drives for Customers with a Seat or Registered Office in Germany valid at the time of sale are applicable Alternative 3 direct export business of Siemens AG If nothing else has been negotiated then the General License Conditions for Software Products for Automation and Drives for Customers with a Seat or Registered Office outside Germany valid at the time of sale are applicable Alternative 4 conditions of the particular regional office for the regional office business If nothing else has been negotiated then the valid at the time of sale are applicable Qualified personnel In the sense of this documentation qualified personnel are those who are knowledgeable and qualified to mount install commission operate and service maintain the products which are to be used He or she must have the appropriate qualifications to carr
6. asic Know How Protection No Function Function block Features Function Must be adapted to the program application FBDateAndTimeToUTC Callable in all cyclic tasks No FBUTCtoDateAndTime Callable in all cyclic tasks No FBConvertTimeTolInt Callable in all cyclic tasks No FBConvertDateToInt Callable in all cyclic tasks No FBConvertSiringToDateAnd Callable in all cyclic tasks No Time Version 2 2 Editon 08 02 2008 6 13 Copyright Siemens AG 2008 All rights reserved SI EM E NS Program Organization Unit of the Unit User Manual 2 Program Organization Unit of the Unit 2 1 Function Block FBDateAndTimeToUTC 2 1 1 Functionality The function block FBDateAndTimeToUTC converts a SIMOTION time delivered at the input connector dateTime into a serial time of seconds The output corresponds to the time 1 January 1970 0 00 00 Greenwich Time The calculation includes the time zone offset timeZone as well as summertime change dayLight In case of an invalid time target or an invalid time zone offset the output error is set error TRUE and the output utcTime remains unchanged Features Limitations Definition area of the input connector dateTime DT 1992 02 19 13 00 00 DT 2106 02 06 18 29 15 Definition area of the input connector timeZone 720 720 2 1 2 Schematic LAD Representation Figure 2 1 Schematic LAD Representation FBDateAndTimeToUTC DATE_AN dateTime D Time
7. es a time specification in the SIMTOTION format TIME to calculate the seperate number of days hours minutes seconds and milli seconds An error analysis parameterization is not done 2 3 2 Schematic LAD Representation Figure 2 3 Schematic LAD Representation FBConvertTimeTolnt TIME timeln days UDINT hours UDINT minutes UDINT seconds UDINT milliSeconds UDINT 2 3 3 Input and Output Parameters Table 2 3 Input and output parameters Element P type Data MO Initial value Description type timeln IN DATE M E time specification in SIMOTION format days OUT UDINT Separate number of days hours OUT UDINT Separate number of hours minutes OUT UDINT Separate number of minutes seconds OUT UDINT Separate number of seconds milliSecond OUT UDINT Separate number of milli S seconds Parameter types IN input parameter OUT output parameter IN OUT in out parameter Parameter type M mandatory parameter O optional parameter Version 2 2 Editon 08 02 2008 10 13 Copyright Siemens AG 2008 All rights reserved SI EM E NS Program Organization Unit of the Unit User Manual 2 4 Function Clock FBConvertDateTolnt 2 4 1 Functionality The fucntion block FBConvertDateTolnt uses a date specification in the SIMTOTION format DATE to calculate the seperate number of years months and days An error analysis parameterization is
8. mitations Definition area of the input connector utcTime 694 224 000 4 294 967 295 Definition area of the input connector timeZone 720 720 Version 2 2 Editon 08 02 2008 8 13 Copyright Siemens AG 2008 All rights reserved SI EM E NS Program Organization Unit of the Unit User Manual 2 2 2 Schematic LAD Representation Figure 2 2 Schematic LAD Representation FBUTCtoDateAndTime UDINT utcTime INT timeZone BOOL dayLight dateTime DATE_AND _Time weekDay USINT error BOOL 2 2 3 Input and Output Parameters Table 2 2 Input and output parameters Element P type Datatype M O Initial value Description utcTime IN UDINT M S Serieal time timeZone IN INT M Time zone offset in minutes dayLight IN BOOL M Summertime change 0 Wintertime 1 Summertime dateTime OUT DATE_AND_ Time in data type Time DATE_AND_TIME weekDay OUT USINT Day of week 1 Sunday 2 Monday 7 Saturday error OUT BOOL Error parameterization 0 Parameter types IN input parameter OUT output parameter IN OUT in out parameter Parameter type M mandatory parameter O optional parameter Version 2 2 Editon 08 02 2008 9 13 Copyright Siemens AG 2008 All rights reserved SI EM E NS Program Organization Unit of the Unit User Manual 2 3 Function Clock FBConvertTimeTolnt 2 3 1 Functionality The fucntion block FBConvertTimeTolnt us
9. not done 2 4 2 Schematic LAD Representation Figure 2 4 Schematic LAD Representation FBConvertDateToint DATE dateln UDINT UDINT UDINT 2 4 3 Input and Output Parameters Table 2 4 Input and output parameters Element P type Data M O Initial value Description type dateln IN DATE M Date specification in SIMOTION format year OUT UDINT Separate number of years month OUT UDINT Separate number of month day OUT UDINT Separate number of days 1 Parameter types IN input parameter OUT output parameter IN OUT in out parameter Parameter type M mandatory parameter O optional parameter Version 2 2 Editon 08 02 2008 11 13 Copyright Siemens AG 2008 All rights reserved SI EM E NS Program Organization Unit of the Unit User Manual 2 5 Function Block FBConvertStringToDateAndTime 2 5 1 Functionality The function block FBConvertStringToDateAndTime converts an ASCI string into the SIMOTION date and time format DT An error analysis parameteriation is not done 2 5 2 Schematic LAD Representation Figure 2 5 Schematic LAD Representation FBConvertStringToDateAndTime ARRAY 0 13 dateAndTimeln OF BYTE dateAndTimeOut DT 2 5 3 Input and Output Paramet Table 2 5 Input and Output Parameters Element P type Data type M O Initial Description value dateAndTimeln IN ARRAY M Date and time specification 0 13 OF as
10. ntaton EE 10 2 3 3 Input and Output Parameters son acoucs tas peter ele Ahsan ees 10 2 4 Function Clock FBConvertDateTolnt ANE 11 2 4 1 EUREN eet ee ee a a a ee 11 2 4 2 Schematic LAD Hepresentaton EE 11 2 4 3 Input and Output Parameters scissile uereg eegene eege 11 2 5 Function Block FC onvertGtrngTotateAndTme 12 2 5 1 FUPICHON VAN E 12 2 5 2 Schematic LAD Hepresentation ae 12 2 5 3 DEELEN 12 PRPC Le E 13 3 TTT 13 4 Revision Authors sen cctsia choices Ee ade anadaaniviwais ebegede een 13 5 Koart Panniers e ee ccd ee aah ca ceed te inc EE eee es eee 13 Version 2 2 Editon 08 02 2008 5 13 Copyright Siemens AG 2008 All rights reserved SI E M E N S System Time Conversion User Manual 1 System Time Conversion 1 1 Task Functionality of the Unit The unit contains the following functionalities e Conversion of a SIMOTION data type DATE_AND_TIME into a serial time UTC time e Conversion of a serial time UTC time into the SIMOTION data type DATE_AND_TIME e Conversion of a SIMOTION data type TIME into separate values for days hours minutes seconds and milli seconds e Conversion of a SIMOTION data type DATE into separate values for years month and days e Conversion a ASCII string date time into the SIMOTION data type DATE_AND_TIME 1 2 Function Elements and Integration Table 1 1 Elements and integration Source ConvTime Programming language ST Library LB
11. y out these activities e g e Trained and authorized to energize and de energize ground and tag circuits and equipment according to applicable safety standards e Trained or instructed according to the latest safety standards in the care and use of the appropriate safety equipment e Trained in rendering first aid There is no explicit warning information in this documentation However reference is made to warning information and instructions in the Operating Instructions for the particular product Reference regarding export codes AL N ECCN N Version 2 2 Editon 08 02 2008 4 13 Copyright Siemens AG 2008 All rights reserved SIEMENS Gest User Manual Index 1 System Time Conversion e dereeeege Seeche ene ee 6 1 1 Task Functionality of the Unit ebe deeg 6 1 2 Function Elements and Integration 2 c2 ceseiisstesvegensbacdteenpaehsiaantieceteneenees 6 2 Program Organization Unit of the Unit cceecsessseeeeeeeseeeeeneeeeeeeeeeeeeees 7 2 1 Function Block FBDateAndTiMe TOUTC ENEE 7 2 1 1 Functionality siei eneon Eeee E 7 2 1 2 Schematic LAD Hepresentaton EE 7 2 1 3 Input and Output SEET 8 2 2 Function Block FBUTTCiotiatehnd Tme EEN 8 2 2 1 Functionality kia ee A AA a 8 2 2 2 Schematic LAD Hepresentaton EE 9 2 2 3 Input and Output Parameters e deee e eege E deeg 9 2 3 Function Clock FRCOnVert Time Tol Mh visrwtasasincantein te atelier dyed 10 2 3 1 elei 10 2 3 2 Schematic LAD Heprese

Download Pdf Manuals

image

Related Search

Related Contents

USER MANUAL  TRIKE PASSENGER ARMREST KIT - Harley  MODE D`EMPLOI - White and Brown  Istruzioni d`Uso e di Montaggio BA 3.0 - DGRL/MRL  PQI MEM CF Compact Flash 24x 256Mb  耐火スライドスリーブ さや管・ケーブルタイプ IRSS - inaba  Stratone [manual]  手引書 - 日本消費生活アドバイザー・コンサルタント協会  Hinweise für diesen Monitor  取扱説明書  

Copyright © All rights reserved.
Failed to retrieve file