Chapter 6
.
COMMREQ/Data_Init_Comm Programming
6.3.6
COMMREQ Differences: Genius Bus Controllers and Genius Gateway
COMMREQs supported by the Genius Gateway (GCG) are intended to perform the same
functions as their Genius Bus Controller (GBC) counterparts. However there are four significant
differences that break compatibility with the GBC COMMREQ Command Blocks:
1.
GCG COMMREQs require a PROFINET Device Number at A7. This value is
required to identify which PROFINET /GCG combination is expected to process the
COMMREQ.
2.
As a result of (1) above, any COMMREQ command parameters above A7 are
shifted with respect to the comparable GBC COMMREQ.
3.
SYSID consists of the Rack/Slot location of the PROFINET Controller networked to the
targeted GCG rather than the Rack/Slot location of the GBC.
4.
For COMMREQs that return data to CPU memory, e.g., Read Configuration, the Memory
Offset field has been expanded from one to two words. This allows the use of bulk
memory (%W) addresses greater than 65,535. When using offsets less than or equal to
65,535, the more significant offset word must be zero.
The following table shows all Genius COMMREQs and where they are supported.
COMMREQ# Function
GCG GBC 30 GBC 70
1
Pulse Test
2
Read Configuration
3
Write Configuration
4
Read Diagnostics
5
Clear Circuit Fault
6
Clear All Circuit Faults
7
Assign Monitor
8
Outputs Enable/Disable
9
Global Data Enable/Disable
10
Switch BSM
11
Read Device
12
Write Device
13
De-Queue Datagram
14
Send Datagram
15
Request Datagram Reply
16
I/O Faults Enable/Disable
17
Do Output
18
Read Bus Address of Bus Controller
19
Read Identification
20
Write Point
21
Read Block I/O
22
Read Map
23
Write Map
24
Read Data
25
Write Data
56
Public
PACSystems RX3i Genius Communications Gateway User Manual
GFK-2892B