Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 93 of 909
Communication Details
This chapter provides information on the communications functionality that has been designed
into the SmartMotor.
Introduction 95
Connecting to a Host 96
Daisy Chaining Multiple D-Style SmartMotors over RS-232 97
ADDR=formula 98
SLEEP, SLEEP1 99
WAKE, WAKE1 99
ECHO, ECHO1 100
ECHO_OFF, ECHO_OFF1 100
Serial Commands 101
OCHN(type,channel,parity,bit rate,stop bits,data bits,mode,timeout) 101
CCHN(type,channel) 102
BAUDrate, BAUD(channel)=formula 102
PRINT(), PRINT1() 102
SILENT, SILENT1 103
TALK, TALK1 103
a=CHN(channel) 103
a=ADDR 104
Communicating over RS-485 104
Using Data Mode 104
CAN Communications 107
CADDR=formula 107
CBAUD=formula 107
=CAN, =CAN(arg) 107
CANCTL(function,value) 107
SDORD(...) 108
SDOWR(...) 108
NMT 109
RB(2,4), x=B(2,4) 109
Exceptions to NMT, SDORD and SDOWR Commands 109
I/O Device CAN Bus Master 110
Part 1: Programming: Communication Details