beautypg.com

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

Page 289

background image

Publication 1404-UM001D-EN-E - October 2004

Sample Applications C-35

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.

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: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.

Table C.12

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.