beautypg.com

Rockwell Automation 1404-M4_M5_M6_M8 Powermonitor 3000 User Manual, PRIOR to Firmware rev. 3.0 User Manual

Page 291

background image

Publication 1404-UM001D-EN-E - October 2004

Sample Applications C-37

Powermonitor 3000 Ladder Example for SLC through SCNR

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 locat

ion

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