FILETIME Conversion

bone

Member
Join Date
Dec 2004
Location
Amish Country - PA
Posts
58
Looking for any help whatsoever concerning the 2 32 bit words that make up the FILETIME variable in the ControlLogix. Is there any 'neat' method of converting the 64 bit large integer into a more manageable array of DINTS [or SINTS or ......]? I'm trying to display file creation/update status of a compact flash card on my VVCE display terminal. Is my best bet to write an embedded c++ activex control to do this? Or is there something slicker that I may be overlooking? Thanks in advance.
 
Moin bone,

maybe they used the Microsoft FILETIME definition.

<snip MS>
The FILETIME structure is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601.
</snip>

Don't know if this helps.

Regards
Friedrich Haase
 
bump.

I would like to know this too. Once it's in a usable format, such a system stat would be useful in determining "time since XX happened" etc...

==
edit: oops, I am thinking of the CurrentValue-DINT[2] attribute of the WALLCLOCKTIME object. Which is defined as follows:

Current value of the wall clock time. DINT[0] contains the lower 32 bits of the value; DINT[1] contains the upper 32 bits of the value. The value is in microseconds and is referenced from 0000 hours, January 1, 1972
 
Last edited:

Similar Topics

I have a machine which is undergoing upgradation. As part of the process two SEW drives are being replaced., existing Gen B with new Gen C. The...
Replies
3
Views
146
Currently I’m using ESA model VT155W0000 HMI and it’s communicate with Fanuc PLC. Can any one suggest can I convert ESA model to EXOR HMI eSMART07M
Replies
0
Views
79
hi... i have an issue in s7 300 plc, while we run the machine(in idle there is no fault) , plc cpu goes in SF mode, after restart the power cycle...
Replies
2
Views
105
I have a Type C to RS485 adapter connect to my Siemens RWF55. I use modscan to scan it to get a value from the Siemens controller. In the...
Replies
4
Views
93
Hi all, I'm in the process of upgrading a PanelView1200 HMI program to be developed in FactroyTalk View Studio. The filetype for PanelView 1200...
Replies
7
Views
273
Back
Top Bottom