Commreq #3: Write Configuration Command - GE GFK-2892F User Manual

Pacsystems rx3i genius communications gateway
Table of Contents

Advertisement

Chapter 6. COMMREQ/Data_Init_Comm Programming

COMMREQ #3: Write Configuration Command

The Write Configuration command is used to send configuration data from the CPU to a device on the Genius
bus. The Gateway cannot write configuration data to another Genius Gateway, to a Bus Interface module, or to
a Hand-Held Monitor.
The PLC sends the intended configuration data from CPU memory to the PNC which then transfers it to the
Gateway. The Gateway schedules background Write Configuration datagrams to the target Genius device.
Once message transmission begins, the Gateway sends the configuration data to the target Genius device, up
to 16 bytes per bus scan. The block does not use any of the new configuration data until it has all been
received. No new datagrams can be sent to the Genius device until the operation has been completed. When
all the data has been sent, the Gateway changes the status to 4 (Done), and this is replicated by the PNC.
The length of the data sent with this command must exactly match the length specified for the target Genius
device. If the lengths are not equal, the Gateway returns a Syntax Error to the COMMREQ Status Block.
GNIU does not support this COMMREQ. Use PME to download configuration data to a GNIU.
Command Block for the Write 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
Length of configuration data
Address +9
(in bytes)
Address +10
to
Configuration Data
Address +n
64
This number equals the sum of the amount of configuration data to be
sent to the target Genius device, plus 4. For example, for an RTD block,
which has 42 words of configuration data, you would enter 46 here. Refer
to Section 6.4.2, COMMREQ #2: Read Configuration Command for data
lengths associated with other Genius devices.
0
70 (%I), 72 (%Q), 8 (%R), 10 (%AI), 12 (%AQ) or 196 (%W)
Beginning address for the COMMREQ Status Block.
0
0
3
1-255: The device number of the targeted GCG Genius Gateway.
1-29: the SBA of the targeted Genius Device.
Up to 248 bytes (128 words) of configuration data may be written to the
target Genius device. Refer to Section 6.4.2, COMMREQ #2: Read
Configuration Command for data lengths associated with other Genius
devices.
Configuration data for transfer to the target Genius device.
Formats are given in the Genius I/O System and Communications User's
Manual, GEK-90486-1.
PACSystems RX3i Genius Communications Gateway
GFK-2892F

Advertisement

Table of Contents
loading

Table of Contents