Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 732 of 909
TALK
Talk on Communications Port 0
APPLICATION: Communications control
DESCRIPTION: Motor restored to print on channel 0
EXECUTION: Immediate
CONDITIONAL TO: N/A
LIMITATIONS: N/A
READ/REPORT: N/A
WRITE: N/A
LANGUAGE ACCESS: N/A
UNITS: N/A
RANGE OF VALUES: N/A
TYPICAL VALUES: N/A
DEFAULT VALUE: TALK state
FIRMWARE VERSION: 5.x and later
COMBITRONIC: N/A
DETAILED DESCRIPTION:
NOTE: This command is typically sent from a host rather than existing within a
SmartMotor program.
The TALK command restores the motor’s ability to print messages to the serial communication
channel 0 if that ability was previously suppressed with the SILENT command. This command
is typically used following the download a user program to a SmartMotor™ within a daisy
chain. It could also be used to "un-silence" a debug routine.
TALK may be issued from the terminal or within a user program. However, the command is
typically sent from a host.
EXAMPLE: (Shows the use of SILENT and TALK)
RUN? 'Wait here for the RUN command.
'Set a=1 in the Terminal window to
'allow print statements.
WHILE 1 'Endless loop
IF a==1 TALK ENDIF 'If variable a is set to 1, allow
'PRINT statements on channel 0.
IF a==0 SILENT ENDIF 'If variable a is set to 0, suppress
'PRINT statements on channel 0.
PRINT("Position=",PA,#13) 'Print the Actual Position.
WAIT=3000 'Wait 3 seconds.
LOOP 'Loop back to WHILE 1 command.
END
Part 2: Commands: TALK