Communication protocol, Power up signature, Using scl with the sinet hub – Applied Motion 1240i User Manual

Page 7

Advertising
background image

SCL Software Manual

7

920-0010 rev B

9/26/07

Stop (ST) stops a command in mid-execution. This is useful for killing an errant move, wait time or
wait input instruction, especially during the debug phase of a program.

Stop and Kill Buffer (SK) stops any buffered command and removes all other commands from the
buffer.

RS485 compatible drives are equipped with a Define Address (DA) command so that each drive can
be assigned a unique address.

Drives with the encoder feedback option provide four commands for defining the encoder characteris-
tics and functionality.

Communication Protocol

Communication between drive and host is 9600 baud, 8 data bits, one stop bit, no parity. Each com-
mand must be terminated with a carriage return (ascii 13). Drive does not echo received characters to
the host. No handshaking is required. Newer firmware includes a bit rate (BR) command that allows
the host to increase the communication speed.

RS232 connection is a three wire type: transmit, receive and ground. Use the cable supplied with
your

Si™

drive.

RS485 connection is a five wire type: transmit+, transmit-, receive+, receive- and ground.
You must provide your own cabling (Category 5 style recommended). Refer to your drive’s

Hardware

Manual

for more detail.

Power Up Signature

To invoke SCL mode, the user’s program must detect power up of the drive and supply the signature
“00” within two seconds, but not sooner than 2 milliseconds. If this is inconvenient, the drive can be
set to automatically wake up in SCL mode using the PM2 command. The

SCL Setup Utility

provides

an easy way to configure the power up mode of the drives and/or hub. It also and gives the user a
convenient way to try out commands and gain familiarity with SCL.

When an

Si™

drive is set for “auto-detect” mode, it sends three characters to the host when power is

first applied. The first character is ascii(255). The second character identifies the firmware revision.
The third character of the power up packet tells the host which model

Si™

product is connected.

Note: Before installation into a multi-drop network, RS485 drives should be powered-up indi-
vidually so that individual, nonconflicting addresses can be set using the “DA” command. The
power up mode should be set to “2” at that time.

Using SCL with the SiNet Hub

The SiNet Hub-8 can be used to connect up to eight

Si™ drives to one PC/PLC serial port. The Hub444 can

connect four drives. The hub acts a “router” sending your commands to the appropriate drive and returning
information that you request from each drive. The addressing scheme is simple. If you want to route a Feed to
Length command to the drive on Hub Port 4, simply send the string “4FL” followed by a carriage return.

If you want to request the input status of the drive on port 2, send the command “2IS”. The drive will respond

Advertising
This manual is related to the following products: