25
920-0154B
5/1/2020
TSM23XxB-R/C Hardware Manual
The basic structure of a command packet from the host to the drive is always a text string
followed by a carriage return. The text string is composed of the command itself, followed by any
required parameters. A carriage return denotes the end of transmission to the drive.
The syntax of the command is
XXAB<cr>
where
XX
designates the command (always composed of 2 uppercase letters), and
A
and
B
define the possible parameters. These parameters can vary in length, can be letters or numbers,
and are often optional. Once a drive receives the
<cr>
(carriage return), it will determine whether
or not it understood the command-if it did, it will either execute or buffer the command. The drive
can also be programmed ahead of time to send a response as to whether or not it understood the
command as well as any error code.
Some SCL commands transfer data to the drive for immediate or later use. These data values
are stored in data registers and remain there until new commands change the values or power
is removed from the drive. Some data registers in a drive are Read-Only and contain predefined
information about the drive which can also be read through SCL commands.
Because of the intense nature of serial communications required in host mode applications,
there is a serial communication Protocol (PR) command available that will adjust a drive’s
serial communications protocol to best fit an application. Typically this command is used when
configuring a drive and saved as part of the startup parameters. But it can be used at any time to
dynamically alter the serial communications.
The Host Command Reference contains the complete command listing as well as instructions on
connecting and configuring the TSM23X for use in SCL mode, using the Data Registers and the
Protocol command. It also contains detailed information on:
• Host Serial Communications
• Host Serial Connections
• Alarm and Status Codes
• Working with Inputs and Outputs
The Host Command Reference is available from the Applied Motion Products website at
http://
www.applied-motion.com
under the SCL Utility download section.