Posted 10 March 2005 - 01:56 PM
I am having trouble with the GSV for WALLCLOCKTIME. I have set up a user defined data type called DateTime_Type and it has the following structure.
I also have a tag called DateTime That uses the DateTime_Type
My GSV is set up like this
Get System Value
Class Name WALLCLOCKTIME
Attribute Name DateTime
Can anyone tell me what I am doing wrong.
Posted 10 March 2005 - 02:48 PM
i.e. GSV WALLCLOCKTIME ? DateTime time
where time is an array[0..6] of DINT
East Midlands Automation Ltd
Posted 10 March 2005 - 05:33 PM
Wallclock returns array of 7.
Add one more DINT for fraction of the second and it sould work.
Also you may try to change Dest to DateTime without .Year
Edited by PLC_Cables, 10 March 2005 - 05:36 PM.
Posted 11 March 2005 - 09:03 AM
I added another DINT and it works fine.
You guys are the greatest
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users