![Galil Motion Control RIO-47**0 User Manual Download Page 40](http://html1.mh-extra.com/html/galil-motion-control/rio-47-0/rio-47-0_user-manual_558777040.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,9,1,15,0,0,0,16,2,$AA,$55]
MBA= -1,15,array[]
Request to write $AA55 to digital outputs 15-0
For the following example, array[] contains [$AA55]
MBA= ,15,0,16,array[]
Request to write $AA55 to digital outputs 15-0
Packets:
The command MBA= ,15,0,16,array[] (when array contains [$AA55]) 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). The slave RIO’s outputs 15-0 will be set to the following (1 is on 0 is off):
Output
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Value
0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0
Request
Response
Field Name
(hex)
Field Name
(hex)
Function 15
Function 15
Starting Address High
00
Starting Address High
00
Starting Address Low
00
Starting Address Low
00
Quantity of Outputs High
00
Quantity of Outputs High
00
Quantity of Outputs Low
10
Quantity of Outputs Low
10
Byte Count
02
Outputs Value High
AA
Outputs Value Low
55
34 Chapter 3 Communication
RIO-47xxx