Receiving information from the scnr scanner – Rockwell Automation 1404-M4_M5_M6_M8 Powermonitor 3000 User Manual, Firmware rev. 3.0 or LATER User Manual

Page 322

Advertising
background image

322

Publication 1404-UM001F-EN-P - November 2009

Appendix C Sample Applications

Receiving Information from the SCNR Scanner

Observe the sample of the CIP_SETUP file for the retrieval of VIF
table assembly instance 14 of the power monitor.

CIP Setup File

After setting up the communication parameters a 2 is written to
location of N9:11. The transaction is complete when bit N7:0/9
becomes true. The information will be located in file F8, FLT_DATA
starting at location 0. The length of usable information is the length of
elements in table instance 14 VIF table of the power monitor.

N9:6

Targets Instance number to read or write.

N9:7

Target Attribute. Power monitor Attribute of assembly instance is 3. (3)

N9:8

Target member number. (Not used)

N9:9

Size of the data in words. Used for writes only. When performing a read
operation this parameter is forced to 0. Size of Power monitor tables is type N =
elements x 1, type F = elements x 2.

N9:10

Not used by CIP_SETUP.

N9:11

Enables a read/write operation. Writing a 1 starts the process for writing an
assembly instance of the power monitor. Writing a 2 starts the read process of
assembly instance from the power monitor.

N9 CIP

Word
#

Description of Function

TIP

When receiving integer information from the power monitor the data
will be readable from file number N10 INT_DATA. The length is the
number of elements in the assembly instance being read.

Advertising