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

Publication 1404-UM001D-EN-E - October 2004
C-38 Sample Applications
When a write of a float file is being performed it is necessary to swap the words in the float file before sending the write re quest. This is only
necessary for Instance 4 or Instance 52.
0002
N9:11
0
Allow Write
EQU
Equal
Source A
N9:6
8<
Source B
4
4<
EQU
EQU
Equal
Source A
N9:6
8<
Source B
52
52 <
EQU
JSR
Jump To Subroutine
SBR File Number
U:4
JSR
Allow the scanner to write to the power monitor. Put the new integer configuration data in N14 starting at location 0. Put the configuration if
it is of float type in file F13 starting with word 0. Enter the rest of the CIP message information needed for transfer in N9 starting with word
0. The process is similar to the request of information except that the size in words of the data to write is to appear in N7:9 and the service
to be performed is changed.
0003
N9:11
0
Allow Write
B3:0
0
Message Pending
FLL
Fill File
Source
0
Dest
#N7:0
Length
65
FLL
COP
Copy File
Source
#N9:0
Dest
#N7:0
Length
10
COP
COP
Copy File
Source
#N14:0
Dest
#N7:10
Length
64
COP
COP
Copy File
Source
#N7:10
Dest
#M0:3.1100
Length
65
COP
L
N7:0
15
Enable Transfer Bit
COP
Copy File
Source
#N7:0
Dest
#M0:3.1000
Length
10
COP
L
B3:0
0
Message Pending