![Moog SmartMotor Developer'S Manual Download Page 734](http://html1.mh-extra.com/html/moog/smartmotor/smartmotor_developers-manual_1831639734.webp)
P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 734 of 909
TALK1
Talk on Communications Port 1
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:
TALK1 state
FIRMWARE VERSION:
5.0.x, 5.16.x or 5.32.x series only
COMBITRONIC:
N/A
DETAILED DESCRIPTION:
NOTE:
This command is typically sent from a host rather than existing within a
SmartMotor program.
The TALK1 command restores the motor’s ability to print messages to the serial
communication channel 1 if that ability was previously suppressed with the SILENT1
command. This command is typically used following the download of a user program to a
SmartMotor™ within a daisy chain. It could also be used to "un-silence" a debug routine.
TALK1 may be issued from the terminal or within a user program. However, the command is
typically sent from a host.
EXAMPLE:
(Shows use of SILENT1 and TALK1)
RUN?
'Wait here for the RUN command.
'Set a=1 in the Terminal window to allow print statements.
OCHN
(RS4,1,N,9600,1,8,C)
'Open ports 4 and 5 as RS-485 channel 1.
WHILE
1
'Endless loop.
IF
a==1
TALK1
ENDIF
'If variable a is set to 1, allow
'PRINT statements on channel 1.
IF
a==0
SILENT1
ENDIF
'If variable a is set to 0, suppress
'PRINT statements on channel 1.
PRINT1
("Position=",
PA
,#13)
'Print the actual position.
WAIT
=3000
'Wait 3 seconds.
LOOP
'Loop back to WHILE 1 command.
END
Part 2: Commands: TALK1