![Galil Motion Control RIO-47120 User Manual Download Page 34](http://html1.mh-extra.com/html/galil-motion-control/rio-47120/rio-47120_user-manual_3280393034.webp)
Coil Mapping
Coil Addresses
Coil Addresses
0
Digital Output 0
8
Digital Output 8
1
Digital Output 1
9
Digital Output 9
2
Digital Output 2
10
Digital Output 10
3
Digital Output 3
11
Digital Output 11
4
Digital Output 4
12
Digital Output 12
5
Digital Output 5
13
Digital Output 13
6
Digital Output 6
14
Digital Output 14
7
Digital Output 7
15
Digital Output 15
Examples:
For the following example, array[] contains [0,0,0,0,0,6,1,5,0,7,$FF,$00]
MBA= -1,12,array[]
Request to set digital output 7 high
MBA=,5,7,1
Request to set digital output 7 high
SB1007
Request to set digital output 7 high
OB1007,@IN[1000]
Request to set digital output 7 high if digital output 0 is high
Packets:
The command MBA=,5,7,1 results in the following packets being sent, when one RIO is the master, and
another RIO is the slave, communicating over handle A, port 502(Modbus).
Request
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 of the MB command above, the slave RIO will have output 7 turned on.
28 Chapter 3 Communication
RIO-47xxx