WI-GTWY-9-xxx Wireless Gateway V1.18
76
device, and both devices will respond to commands from the other device. The WI-GTWY-9-
xxx can act as both a command initiator and a command responder.
An Application Note and configuration files are available describing how to configure an Allen-
Bradley PLC to communicate with a DF1 WI-GTWY-9-xxx. This is available from the
Weidmuller, Inc. website www.weidmuller.com
The WI-GTWY-9-xxx will initiate the following command types to a command responder,
according to the configuration. The WI-GTWY-9-xxx will automatically generate the correct
command type depending on the configuration you enter. The WI-GTWY-9-xxx will also
respond to these command types if they are sent from a command initiator.
Command Description
Code Function
Code
Comment
Protected Write
0x00
NONE
PLC2 series and SLC / Micrologix
Unprotected Read
0x01
NONE
PLC2 series and SLC / Micrologix
Diagnostic Status
0x06
0x00
Diagnostic Commands
Echo message
0x06
0x00
Unprotected Write
0x08
NONE
PLC2 series and SLC500 / Micrologix
Typed logical Read
0x0F
0xA2
Type
SLC500 and Micrologix
Read Bits
0x0F
0xA2
0x85 Reads MSB of each WI-GTWY-9-xxx I/O
register and writes the bits to the destination
register, starting at the LSB of the register.
Min. transfer is 16 bits.
Read Integers
0x0F
0xA2
0x89
Return signed 16 bit value
Read Long Ints
0x0F
0xA2
0x91
Unsigned 16 bit register per long-word
Typed logical Write
0x0F
0xAA
Type
SLC500 and Micrologix
Write Bits
0x0F
0xAA
0x85 Writes bits from the source register, starting
at the LSB, to the MSB of a block of WI-
GTWY-9-xxx I/O registers. Min. transfer is
16 bits.
Write Integers
0x0F
0xAA
0x89
Writes a signed 16 bit value
Write LongIntegers
0x0F
0xAA
0x91 Low 16 bits of long-word placed in register.
Upper 16 bits ignored.
The SLC and Micrologic PLC’s read/write two types of registers. An “Integer” has a signed 16
bit value (-32768 to 32767). A “Long Integer” has a 32 bit value. The WI-GTWY-9-xxx registers
contain an unsigned 16 bit value (0 to 65535). We recommend that you use Long Integer read/write
commands - the upper 16 bits of the 32 bit value will be ignored. Refer to more information in the
Analog I/O and Pulse I/O sections below. The PLC2 uses unsigned 16 bit registers in the same
format as the WI-GTWY-9-xxx.
The WI-GTWY-9-xxx DF1 driver will update remote outputs whenever a data value changes by
more than the I/O register sensitivity. If the response from a data request contains a changed data