![Galil Motion Control RIO-47 series
RIO-47100 User Manual Download Page 34](http://html1.mh-extra.com/html/galil-motion-control/rio-47-series-rio-47100/rio-47-series-rio-47100_user-manual_558776034.webp)
Master Request
Slave Response
32-bit Floating Point (MI 0)
16-bit Decimal (MI 1)
Field Name
Hex
Field Name
Hex
Volts
Field Name
Hex
Counts
Function
$04 Function
$04
Function
$04
Starting Address High
$00 Byte Count
$08
Byte Count
$08
Starting Address Low
$02 RegVal2 High
$3F
1.0000 RegVal2 High
$4C
19661
Quantity of Registers High
$00
$80
RegVal2 Low
$CD
Quantity of Registers Low
$04
$00
RegVal3 High
$66
26214
RegVal2 Low
$00
RegVal3 Low
$66
RegVal3 High
$3F
1.5000 RegVal4 High
$80
32768
$C0
RegVal4 Low
$00
$00
RegVal5 High
$99
39321
Reg Val3 Low
$00
RegVal6 Low
$99
With the slave MI 0 set, the Galil master's would have the following information stored in it's arrays:
array[0]=16256
array[1]=0
array[2]=16320
array[3]=0
With the slave MI 1 set, the Galil master's would have the following information stored in it's arrays:
array[0]=19661
array[1]=26214
array[2]=32768
array[3]=39321
Function Code 5 ($05)
Assume that the command issued from the Galil Master is MBm=,5,7,1
The Modbus request and response packets would form as follows:
Master Request
Slave Response
Field Name
Hex
Field Name
Hex
Function
$05
Function
$05
Starting Address High
$00
Starting Address High
$00
Starting Address Low
$07
Starting Address Low
$07
Output Value High
$FF
Output Value High
$FF
Output Value Low
$00
Output Value Low
$00
As a result, the Galil slave will have output 7 turned on.
Function Code 6 ($06)
Assume that the command issued from the Galil Master is MBm= ,6,0,$55AA
The Modbus request and response packets would form as follows:
Chapter 3 Communication ▫ 34 RIO-47xxx Rev. 1.0r