User manual

905U-G Wireless Gateway User Manual
Page 69 ©September 2004
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 905G 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 905G
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 905G 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 905G.
The 905G 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
value, the new value will be transmitted to the remote 905U on the radio network. Similarly,
if the 905G receives a command to change a data value, the new value will be transmitted to
the remote 905U module.
The DF1 commands are configured in the “Serial Mapping” screen. The serial port should be
configured in the same way as the host device. If the 905G acts only as a command
responder, no further configuration is required.