ProSoft Technology MVI56-AFC User Manual
Page 236
MVI56-AFC Sample Logic
MVI56-AFC ♦ ControlLogix Platform
User Manual
Liquid and Gas Flow Computer
Page 236 of 316
ProSoft Technology, Inc.
February 25, 2011
12.3.10 Set the Processor Time
This logic was added for convenience purposes only. It shows how to set the
processor time and date information using a controller tag as the source:
The source of the information is:
Value
Controller Tag
Year
AFC56.clockstructure.Year
Month
AFC56.clockstructure.Month
Day
AFC56.clockstructure.Day
Hour
AFC56.clockstructure.Hour
Minute
AFC56.clockstructure.Minute
Seconds
AFC56.clockstructure.Second
Milliseconds
AFC56.clockstructure.msec
The ladder logic should toggle the following bit in order to transfer the date and
time information to the processor.
Command
Controller Tag
Write Clock
AFC56.Flags.plc_set_clock