Beruflich Dokumente
Kultur Dokumente
Time&CalendarFBCollection
Rev.010411A-KjB
General Information This document contains information about Function Blocks specially made for date and time usage. Use the FBs at your own risk and post your comments on www.myomron.com.
OCPU_Clock
Extracts data from the CPU clock into various useful formats. May also be used for adjusting the PLC clock.
1/5 Postadresse: Postboks 109, Bryn N-0611 Oslo Besksadresse: Brynsallen 4, 0611 OSLO Telefon: 22 65 75 00 Bankgiro 7262.05.0578 Fax: 22 65 83 00 Foretaksregisteret: Ordrefax: 22 65 83 01 NO 852 345 632 MVA E-mail: omron.norway@eu.omron.com
ABCD
Tips!
Time&CalendarFBCollection OCPU_MovingHolidays
Rev.010411A-KjB
Calculates Moving holidays on the specified year. (Sorry for using Year as INT. Use HEX to Convert from OCPU_Clock output.)
2/5 Postadresse: Postboks 109, Bryn N-0611 Oslo Besksadresse: Brynsallen 4, 0611 OSLO Telefon: 22 65 75 00 Bankgiro 7262.05.0578 Fax: 22 65 83 00 Foretaksregisteret: Ordrefax: 22 65 83 01 NO 852 345 632 MVA E-mail: omron.norway@eu.omron.com
ABCD
Tips!
Time&CalendarFBCollection OCPU_DateCalculator
Rev.010411A-KjB
Adds and subtracts days from the specified date. Please use year for correct leap year calculation.
OCPU_SummerWinterTime
Adds and subtracts one hour to/from the cpu clock in march and october.
3/5 Postadresse: Postboks 109, Bryn N-0611 Oslo Besksadresse: Brynsallen 4, 0611 OSLO Telefon: 22 65 75 00 Bankgiro 7262.05.0578 Fax: 22 65 83 00 Foretaksregisteret: Ordrefax: 22 65 83 01 NO 852 345 632 MVA E-mail: omron.norway@eu.omron.com
ABCD
Tips!
Time&CalendarFBCollection OCPU_TimeDateSwitch
Rev.010411A-KjB
Weekly timer and date timer. Create a table and specify when to switch ON or OFF. 6 outputs in 3 grups depending of switch type. 48 switching points per FB. See Excel sheet on next page how to fill in the table.
4/5 Postadresse: Postboks 109, Bryn N-0611 Oslo Besksadresse: Brynsallen 4, 0611 OSLO Telefon: 22 65 75 00 Bankgiro 7262.05.0578 Fax: 22 65 83 00 Foretaksregisteret: Ordrefax: 22 65 83 01 NO 852 345 632 MVA E-mail: omron.norway@eu.omron.com
ABCD
Tips!
Time&CalendarFBCollection
YYYY_ON=Col1 MMDD/DDMM_ON=Col2 hhmm_ON=Col3 > See table - > > > ON Every working day from 0800 to 1600: Set Col3=0800, Col6=1600, Col7=003F ON Monday until tuesday midnight: Set Col3=0800, Col6=0000, Col7=0003 Set Col3=0001, Col6=2359, Col7=0005 OFF during Christmas: Set Col2=2512, Col5=2612, Col7=0000 Use OCPU_MovingHolidays and MOVe dates into Col2 and Col5.
Rev.010411A-KjB
5/5 Postadresse: Postboks 109, Bryn N-0611 Oslo Besksadresse: Brynsallen 4, 0611 OSLO Telefon: 22 65 75 00 Bankgiro 7262.05.0578 Fax: 22 65 83 00 Foretaksregisteret: Ordrefax: 22 65 83 01 NO 852 345 632 MVA E-mail: omron.norway@eu.omron.com
ABCD