P
ar
t
1: P
rog
ra
m
ming
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 111 of 909
Combitronic Communications
The most unique feature of the SmartMotor is its ability to communicate with other
SmartMotors and share resources using Moog Animatics’ Combitronic™ technology.
Combitronic is a protocol that operates over a standard "CAN" (Controller Area Network)
interface. It may coexist with either CANopen or DeviceNet protocols at the same time. It
requires no single dedicated master to operate. Each SmartMotor connected to the same
network communicates on an equal footing, sharing all information, and therefore, sharing all
processing resources.
The optional Combitronic technology allows any motor's program to read from, write to or
control any other motor simply by tagging a local variable or command with the other motor's
CAN address. To do this, take any Combitronic-supported SmartMotor command, add a colon
followed by a number representing the address of another SmartMotor on the same CAN bus,
and that parameter belongs to that SmartMotor.
For example, imagine you have three SmartMotors linked together and set with addresses 1,
2 and 3. These examples show how Combitronic communications works:
l
This typical line of code, written in SmartMotor number 2, sets a target position in that
same SmartMotor:
PT
=4000
'Set Target Position in local motor
l
The following line of code, written in SmartMotor number 2, or any of the three motors,
sets a target position in SmartMotor number 3:
PT
:3=4000
'Set Target Position in motor 3
l
The Combitronic global address for all SmartMotors is zero, so the following line of
code, written in any SmartMotor, sets the target position in all SmartMotors at the same
time:
PT
:0=4000
'Set Target Position in all motors
l
The following line of code could be written in motor number 1 and set variable "a" in
motor number 2 equal to an I/O of motor number 3:
a:2=
IN
(0):3
'Set variable in 2 to I/O of 3
For additional Combitronic addressing examples, see the Knowledge Base article
"Understanding Combitronic Motor Addressing", which is available on the Moog Animatics
website at:
http://www.animatics.com/supports/knowledge-base/smartmotorkb/modes-of-
operations/280.html
Part 1: Programming: Combitronic Communications
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...