john Posted September 18, 2010 Report Share Posted September 18, 2010 Is there a UTC-formated system variable (ladder logic) for the current time in the V130? Or do I need to 'paste' something together by converting 4 RTC variables (SI30, 31, 32, 33) into UTC and adding them up? Application is a time stamp. Link to comment Share on other sites More sharing options...
External Moderators Ash Neilson Posted September 19, 2010 External Moderators Report Share Posted September 19, 2010 Hi John, There is a nice little Ladder Utility that will give you exactly what you want. In VisiLogic 8.6.0 or older, the Utility is under the "Clock" drop down menu, then "UTC", then "RTC to UTC". In VisiLogic 8.6.1, follow the same steps, but it will be under the "Utils" drop down menu. To use this Utility, the Operand that you specify on the input side is actually the "Start of a Vector" Address. For your requirements, putting SI30 into that Utility will allow it to grab SI30, SI31, SI32 and SI33. The Output of this Utility is best assigned to a DW Operand. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now