Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 353 of 909
The following commands set up and support the CAN port of the motor:
CADDR=formula
where formula may be from 1 to 127. The setting is stored in the EEPROM, but you must
reboot the motor to activate the setting.
CBAUD=formula
where formula may be one of the following: 1000000, 800000, 500000, 250000, 125000,
50000 or 20000.
Specific features are based on the fieldbus network being used. See the corresponding
SmartMotor fieldbus guide for more details.
EXAMPLE:
C1 'Subroutine C1
IF CAN&16 'Test CAN word at value 16 (position 5)
PRINT("USER TRIED COMBITRONIC READ FROM BROADCAST ADDRESS",#13)
ENDIF
RETURN
RELATED COMMANDS:
R
CADDR=formula CAN Address (see page 350)
CANCTL(function,value) CANControl (see page 354)
R
CBAUD=formula CAN Baud Rate (see page 358)
Part 2: Commands: CAN, CAN(arg)