EasyManuals Logo

Moog SmartMotor User Manual

Moog SmartMotor
909 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #256 background imageLoading...
Page #256 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 256 of 909
The ADDRcommand also allows you to retrieve a value over the Combitronic network. See
the second example section for details.
EXAMPLE:
SWITCH ADDR
CASE 1'Motors 1,2 and 3 "GO"
CASE 2
CASE 3 G
BREAK
CASE 4 S'Motor 4 "STOP"
ENDS'Start motion (or stop)
EXAMPLE:
The ADDR command allows you to retrieve a value over the Combitronic network, as shown in
the following examples.
For example: ADDR=x:3
where (assuming the motor processing the command is motor 1):
1. Motor 1 parses the line of text: ADDR=x:3
2. Motor 1 asks motor 3 for motor 3’s x variable.
3. Motor 1 completes any other operations on the right side of the equation.
4. Motor 1 assigns motor 1s ADDR with the value from the right side of the equation.
For example: b:2=a+a:3+a:4
where (assuming the motor processing the command is motor 1):
1. Motor 1 parses the text: b:2=a+a:3+a:4
2. Motor 1 retrieves variable a from motors 3 and 4.
3. Motor 1 completes the right side of the equation, including in this case, its own variable
a.
4. Motor 1 sends result of the right side of the equation into motor 2s variable b.
EXAMPLE: (Code sets CAN address to motor address and resets all motors. Motors should be
addressed on serial RS-232 chain first.)
NOTE: Issue these commands at serial port (SMITerminal window) only. The "0"
in front of these commands will not be recognized by a user program.
0CADDR=ADDR 'Set if not same as motor address
0Z 'Reset all motors to enable CAN address
RELATED COMMANDS:
R
CADDR=formula CAN Address (see page 350)
SADDR# Set Address (see page 688)
Part 2: Commands: ADDR=formula

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Moog SmartMotor and is the answer not in the manual?

Moog SmartMotor Specifications

General IconGeneral
BrandMoog
ModelSmartMotor
CategoryServo Drives
LanguageEnglish

Related product manuals