Introduction – Applied Motion 1240i User Manual

Page 6

Advertising
background image

SCL Software Manual

6

920-0010 rev B
9/26/07

Introduction

The Si™ Command Language (SCL) provides a means to control Si™ indexers and indexer-drives
from a host PC or PLC. SCL allows the host to command the drive to perform a variety of motion and I/
O tasks, and to provide the host with status information.

Individual drives can be directly connected to the serial port of a PC or PLC, or up to 8 drives can be
connected to single port using the SiNet™ Hub-8. Up to 30 drives with the Multi-drop RS485 option
can be connected to one RS485 or RS422 port.

The SCL mode firmware coexists in the drive with the

Si Programmer™

firmware. The drive deter-

mines the proper mode of operation by detecting a host signature at power up. The Windows-based

Si

Programmer™

software automatically supplies the necessary signature, invoking

Si Programmer™

mode. Please see the section “Power Up Signature” for details.

SCL requires previous programming experience and custom application software. It is intended for
systems developers who have the tools and knowledge to put together an application program that
sends commands over a serial port.

One thing you cannot do with SCL is write a program to be stored in the drive. If you want to do that,
use the

Si Programmer™

software. However, SCL provides a 128 character command buffer that

allows the host to send commands ahead of time, while other commands are running.

Si™ Command Language provides more than 30 instructions. All commands begin with two upper-
case ASCII characters. 9 of the commands are the same as our Windows-based Si™ language:
Feed to Length (FL)

Feed to Sensor (FS)

Feed to Position (FP)

Set Position (SP)

Seek Home (SH)

Wait for Input (WI)

Wait Time (WT)

Set Output (SO)

Change Current (CC)

Two additional instructions implement options of the Si™ Change Current instruction:
Motor Enable (ME)

Motor Disable (MD)

Another 4 commands are used to set up move parameters:
Accel (AC)

Decel (DE)

Velocity (VE)

Distance (DI)

7 commands configure the global parameters seen on the left-hand side of the

Si Programmer™

screen:
power up current (PC)

microstep resolution (MR)

define limits (DL)

jog accel (JA)

jog speed (JS)

jog enable (JE)

jog disable (JD)

7 commands ask the drive for status information:
buffer status (BS)

input status (IS)

request status (RS)

revision level (RV)

immediate distance (ID)

immediate position (IP).

Power up mode (PM) sets the drive to power up in SCL mode, or in the factory default “auto detect
mode.”

Send string (SS) tells the drive to send a text string back to the host. This is useful for detecting when
a prior buffered command, typically a move, has completed.

Pause (PS) suspends execution of buffered commands until the continue (CT) command is received.

Advertising
This manual is related to the following products: