Download CUBLOC Manual - Comfile Technology
Transcript
TimeSet TimeSet address, value address : Address of time value (0 to 6) value : Time value. (0 to 255) Use the TimeSet command to store new time values. Address 0 1 2 Value Second Minute Hour Range 3 Date 01 to 31 4 5 6 Day Month Year 0 to 6 1 to 12 00 to 99 Bit Structure 2nd digit place 2nd digit place 2nd digit place nd 2 digit place 0 to 59 0 to 59 0 to 23 10 2nd digit place 1st digit place 1st digit place 1st digit place 1st digit place 1st digit place 1st digit place 1st digit place The following is an example showing how to set the time, and output the current time to the debug window: Const Device=CB290 Dim i As Byte TimeSet 0,0 TimeSet 1,&H32 TimeSet 2,&H11 TimeSet 3,&H1 TimeSet 4,&H5 TimeSet 5,&H6 TimeSet 6,&H5 'Sec 'Min 'Hour 'Date 'Day of the week 'Month 'Year Do i = Time(6) Debug "Year i = Time(5) Select Case Case 0 Debug Case 1 Debug Case 2 Debug Case 3 Debug Case 4 Debug Case 5 256 ","200",Hex i, " " i "January" "February" "March" "April" "May"
Related documents
User Manual Version 3.1
What is CUBLOC?
TinyPLC User`s manual #1
What is CUBLOC?
What is CUSB? - Electrathon of Tampa Bay
IVC Series Small PLC Programming Manual
Machine to Machine Communication for Physical Security
MSB612RA-DC User`s Manual
CUTOUCH CT1820 User`s Manual
RERC Report - Biomedical Engineering
CUBLOC - FuturaShop
Sistemi embedded