Power monitor with slc scanner module – Rockwell Automation 1404-M4_M5_M6_M8 Powermonitor 3000 User Manual, Firmware rev. 3.0 or LATER User Manual

Page 324

Advertising
background image

324

Publication 1404-UM001F-EN-P - November 2009

Appendix C Sample Applications

Power Monitor Ladder Example for SLC Scanner Module through
SCNR

Power Monitor with SLC Scanner Module

While message is pending bring back the CIP message control status.

0000

B3:0

0

Message Pending

COP

Copy File
Source #M0:3.1000
Dest

#N7:0

Length

10

COP

After setting up N9 CIP_SETUP file, turn on bit N9:11/1 to start the read transfer from the power monitor. This process clears out the first 9
words of N7:0 CIP message file. Copies the request from the CIP_SETUP file to N7 first 9 words. Moves a 0 to M0 scanner location
M0:3.1009 (This loacation needs to be set to 0 when requesting information.) Enable the transfer by turning bit N7:0/15 EN to 1. Copy the
request information into the request area of the M0 file offset 1000 + 9. Set the bit for Message Pending.

0001

N9:11

1

Perform Read

B3:0

0

Message Pending

FLL

Fill File
Source

0

Dest

#N7:0

Length

9

FLL

COP

Copy File
Source

#N9:0

Dest

#N7:0

Length

9

COP

MOV

Move
Source

0

0<

Dest

M0:3.1009

?<

MOV

L

N7:0

15

Enable Transfer Bit

COP

Copy File
Source

#N7:0

Dest

#M0:3.1000

Length

9

COP

L

B3:0

0

Message Pending

Advertising