Difference between revisions of "Setting device bus address"
[checked revision] | [checked revision] |
Line 1: | Line 1: | ||
− | All [[SimpleMotion V2]] compatible devices have a settable address that identifies the device on a multidrop communication bus. Each device | + | All [[SimpleMotion V2]] compatible devices have a settable address that identifies the device on a multidrop communication bus. Each device sharing the same bus must have an unique address number to make error free communication possible. For example configuring bus address is required to establish a connection with [[Granity]] software. |
− | + | ||
− | + | ||
==Setting bus address== | ==Setting bus address== | ||
The method of how address is set depends on device hardware implementation. This chapter lists methods for Granite Devices products. | The method of how address is set depends on device hardware implementation. This chapter lists methods for Granite Devices products. | ||
Line 77: | Line 75: | ||
|- | |- | ||
|} | |} | ||
− | + | ==Bus termination== | |
[[File:Multidrop addressing.png|thumb|550px|Proper configuration of devices on a bus]]SimpleMotion V2 bus must be terminated for reliable communication. This means that last device of the bus must have termination DIP switch set to On position. | [[File:Multidrop addressing.png|thumb|550px|Proper configuration of devices on a bus]]SimpleMotion V2 bus must be terminated for reliable communication. This means that last device of the bus must have termination DIP switch set to On position. | ||
Line 88: | Line 86: | ||
*Cut the A and B wires (orange and orange/white) from the cable near connector and leave only the E-stob button wires left (green/white and blue/white) | *Cut the A and B wires (orange and orange/white) from the cable near connector and leave only the E-stob button wires left (green/white and blue/white) | ||
*Alternatively, connect termination resistor at end of A and B pair and leave DIP switch termination off. | *Alternatively, connect termination resistor at end of A and B pair and leave DIP switch termination off. | ||
+ | ==Troubleshooting== | ||
+ | Following errors may cause unreliable connection: | ||
+ | *If two or more devices are incorrectly set to have same address | ||
+ | *If termination is missing or is present multiple times | ||
+ | *If stub lenght is too long | ||
[[Category:Software]] | [[Category:Software]] | ||
Line 95: | Line 98: | ||
[[Category:SimpleMotion]] | [[Category:SimpleMotion]] | ||
[[Category:Development]] | [[Category:Development]] | ||
+ | [[Category:Troubleshooting]] |
Revision as of 01:08, 5 January 2013
All SimpleMotion V2 compatible devices have a settable address that identifies the device on a multidrop communication bus. Each device sharing the same bus must have an unique address number to make error free communication possible. For example configuring bus address is required to establish a connection with Granity software.
Setting bus address
The method of how address is set depends on device hardware implementation. This chapter lists methods for Granite Devices products.
Argon
Argon (servo drive) has a 5 channel DIP switch that sets the address. The table below lists all possible settings of DIP switch settings.
Address | Bus termination | DIP switch setting (switches from 1 to 5) |
---|---|---|
255 (firmware upgrade mode) | Off | 00000 |
255 (firmware upgrade mode) | On | 00001 |
1 | Off | 00010 |
1 | On | 00011 |
2 | Off | 00100 |
2 | On | 00101 |
3 | Off | 00110 |
3 | On | 00111 |
4 | Off | 01000 |
4 | On | 01001 |
5 | Off | 01010 |
5 | On | 01011 |
6 | Off | 01100 |
6 | On | 01101 |
7 | Off | 01110 |
7 | On | 01111 |
8 | Off | 10000 |
8 | On | 10001 |
9 | Off | 10010 |
9 | On | 10011 |
10 | Off | 10100 |
10 | On | 10101 |
11 | Off | 10110 |
11 | On | 10111 |
12 | Off | 11000 |
12 | On | 11001 |
13 | Off | 11010 |
13 | On | 11011 |
14 | Off | 11100 |
14 | On | 11101 |
15 | Off | 11110 |
15 | On | 11111 |
Bus termination
SimpleMotion V2 bus must be terminated for reliable communication. This means that last device of the bus must have termination DIP switch set to On position.Bus may be also alternatively terminated with external 100 ohm resistor connected between RS485_A and RS485_B wires at the end of bus cable chain (see SimpleMotion V2 port). If DIP switch termination is used, then drive internal 100 ohm resistor is connected across the A and B wires.
Bus stub
If an E-stop button is connected with RJ45 cable after the last device, a bus stub is formed. Stub must not be longer than 30 cm or 1 foot to ensure bus operation.
Methods to elimiate the stub on E-stop cable:
- Cut the A and B wires (orange and orange/white) from the cable near connector and leave only the E-stob button wires left (green/white and blue/white)
- Alternatively, connect termination resistor at end of A and B pair and leave DIP switch termination off.
Troubleshooting
Following errors may cause unreliable connection:
- If two or more devices are incorrectly set to have same address
- If termination is missing or is present multiple times
- If stub lenght is too long