System clock sample applications – Rockwell Automation 1404-M4_M5_M6_M8 Powermonitor 3000 User Manual, Firmware rev. 3.0 or LATER User Manual

Page 282

Advertising
background image

282

Publication 1404-UM001F-EN-P - November 2009

Appendix C Sample Applications

System Clock Sample
Applications

The power monitor system clock (date and time) is an ideal sample
application for these reasons:

It is important to set the system clock so that data log records or
oscillograms are recorded with accurate time stamps.

It is easy to see if your application has successfully written and
read the system clock.

The methods used for reading and writing the system clock are
applicable to reading and writing every other power monitor
data table.

See Date and Time Parameters on page 195

for details of the Date and

Time data table. We will look at four methods of reading and writing
the system clock.

SLC 500 Controller and Native RS-485 Communication

This example reads and writes the date and time table by using the
SLC 500 controller Channel 0 serial port and the native RS-485
communication port on the power monitor. You must supply an
RS-232 to RS-485 converter such as a 1761-NET-AIC or B&B
Electronics 485SD9TB between the SLC 500 controller and the power
monitor.

Serial Port Setup

The SLC 500 serial port setup using a 1761-NET-AIC adapter is shown.
The specific settings depend on your selection of RS-485 to RS-232
adapter. This example uses the DF1 half-duplex protocol.

Serial Port Setup

Advertising