Chapter 6. COMMREQ/Data_Init_Comm Programming
70
PACSystems RX3i Genius Communications Gateway
GFK-2892F
COMMREQ #10: Switch BSM Command
In a dual bus system, the Switch BSM command can be used to cause a Bus Switching Module to select a bus.
This command causes the Genius Gateway to issue a normal-priority Switch BSM datagram.
The program must already know which bus is
currently
selected. The controller may issue the Switch BSM
command at intervals to ensure continued proper bus switching capability. If the BSM position is currently
forced by the Hand-held Monitor, the command will have no effect. A data error is returned to the status
reference if the block does not control a BSM.
Command Block for the Switch BSM Command
Address
Command Length
4
A1
No Wait
0
A2
Status Block memory type
70 (%I), 72 (%Q), 8 (%R), 10 (%AI), 12 (%AQ) or 196 (%W)
A3
Status Block offset
Beginning address for the COMMREQ Status Block.
A4
Idle timeout value
0
A5
Max. communications time
0
A6
Command number
10
A7
PROFINET Device number
1-255: The device number of the targeted GCG Genius Gateway.
A8
Genius Device Number
1-29: the SBA of the Genius block to which the Bus Switching Module is
attached.
A9
Desired bus position
Enter 0 for Bus A or 1 for Bus B. All other values are invalid.