Commreq #2: Read Configuration Command - GE GFK-2892F User Manual

Pacsystems rx3i genius communications gateway
Table of Contents

Advertisement

COMMREQ #2: Read Configuration Command

The Read Configuration command is used to request configuration data from device on the Genius bus. It
causes the Gateway to send a Read Configuration datagram to the indicated device. After receiving the
request, the block returns its configuration data to the Gateway in 16-byte increments. When the Gateway has
received all the configuration data, it transfers that complete data image to the PNC, which then transfers the
data to the deposit memory location specified in the Command Block. Because configuration data consists of
both bit-type and byte-type portions, it is best to place it in word memory, then move the bit-oriented data to
bit memory. Contents of Read Configuration Reply messages for I/O blocks are shown in the Genius I/O System
and Communications User's Manual, GEK-90486-1.
The VersaMax I/O Station (GNIU) does not support this COMMREQ. Use PME to read the GNIU's configuration
data.
Command Block for the Read Configuration Command
Address
Command Length
Address +1
No Wait
Address +2
Status Block memory type
Address +3
Status Block offset
Address +4
Idle timeout value
Address +5
Max. communications time
Address +6
Command number
Address +7
PROFINET Device number
Address +8
Genius Device Number
Maximum data memory
length. May represent either
Address +9
bits or words (depends on
the memory type selected
below).
Address +10
Deposit Memory type
Memory offset
Address +11
Address +12
GFK-2892F
Chapter 6. COMMREQ/Data_Init_Comm Programming
7
0
70 (%I), 72 (%Q), 8 (%R), 10 (%AI), 12 (%AQ) or 196 (%W)
Beginning address for the COMMREQ Status Block.
0
0
2
1-255: The device number of the targeted GCG Genius Gateway.
1-29: the SBA of the targeted Genius Device.
18 words (288 bits): any discrete block
13 words (208 bits): 16-Circuit AC Input block
42 words (672 bits): Analog blocks (4-in/2-out)
42 words (672 bits): RTD or Thermocouple block
44 words (704 bits): 6-Input Analog blocks
42 words (672 bits): 6-Output Analog blocks
35 words (560 bits): High-Speed Counter
If the length of data returned by the device exceeds the length specified
here, the GCG writes as much data as possible to the PLC CPU Memory
and returns a data error to the COMMREQ Status Block. The GCG will not
write past the computed end-point.
If the same COMMREQ will be used to read configuration data from more
than one type of block (for example, in a subroutine), be sure to allow
enough length to accommodate the largest amount of data that might be
returned.
Enter the code representing the CPU Memory Type where the GCG will
deposit the data obtained from the target Genius Device. Use the same
codes as in Address+2.
bytes 1, 2
Starting address within the Deposit Memory type.
bytes 3 ,4
(Byte 4 is MSB, Byte 1 is LSB)
March 2019
63

Advertisement

Table of Contents
loading

Table of Contents