15.07.2013 Views

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Bit 15<br />

Bit 15<br />

16 - 32 en-938846/7<br />

Hours<br />

Year<br />

Time<br />

Minutes<br />

Month<br />

Seconds<br />

Number of<br />

2-second increments<br />

To facilitate read of these data, the following structures (defined in the NUM.H header file) can be used:<br />

Date<br />

struct S_TIME_FILE<br />

{<br />

UINT8 Sec :5; /* Second */<br />

UINT8 Min :6; /* Minutes */<br />

UINT8 Hour :5; /* Hours */<br />

};<br />

struct S_DATE_FILE<br />

{<br />

UINT8 Day :5; /* Day */<br />

UINT8 Month :4; /* Month */<br />

UINT8 Year :7; /* Year */<br />

};<br />

struct S_DIRECTORY_ELEMENT<br />

{<br />

UINT8 filename[8];<br />

UINT8 Extension[3];<br />

UINT8 Attribute;<br />

UINT8 Spare[10];<br />

UINT16 Intel_Time; /*Word in INTEL format*/<br />

UINT16 Intel_Date /*Word in INTEL format*/<br />

UINT16 Start_Cluster;<br />

UINT32 Intel_File_Size; /*Long word in INTEL format*/<br />

};<br />

Day<br />

Bit 0<br />

Bit 0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!