ADVANCED MICRO SYSTEMS, INC.

SMC-27X2 SOFTWARE

Command

Function

 

Type

NV Bytes

Terminate Program

 

Immediate

2

 

 

 

 

 

Mnemonic

Data 1

 

Data 2

Result

 

 

 

 

Status

(Name)

 

 

 

Byte

(Selective Termination)

This command (pipend: vertical dash key-Shift \) can be placed at a point to terminate (equivalent to ABORT) the program that was started via the "G" command or hardware GO input. The Terminate command may be used to individually "ABORT" a single axis in multiple axis systems, when the global "ESC" command is not appropriate.

Program Example

 

 

P 0

 

 

0 O

 

Set Origin To Zero

1 I

400

Initial SPS

4 T

1000 128

Set a Trip

9 M

5000

Start Motion

12 I

1000

Change Initial SPS

15 V

1000

Slew

18 G

18

Wait

21 P

0

End Program Flag

P 128

 

Trip Routine Start

128

+2000

Decelerate and Index

133 W

0

Wait

136 Z

 

Show Position

138 (axis name)

Abort Program (where “axis name” is the selected axis to

 

 

terminate)

140 P

0

End Program Flag

S

 

Save Code at 128

Issue "GO": The sequence will complete and show the position that the number of extra steps is due to (decelerate) ramp plus a few steps of overhead. The overstep difference is repeatable.

Command

Function

 

Type

 

NV Bytes

^N

Name Controller

 

None

 

N/A

 

 

 

 

 

Mnemonic

Data 1

Data 2

Result

 

^N

None

None

None

^N (Name Axis)

Response to the single character “Ctrl N“ (14 decimal, 0E hex) is immediate.

This command must be executed with one axis attached, otherwise a bus conflict will occur and all axes may receive the same name. On entry of the “Ctrl N” the controller responds with “name?” Type the desired name, the character will be stored in NV memory and the DCB-274 is ready to enter party line mode.

5 7

Page 63
Image 63
AMS DCB-274 manual Selective Termination, Name Axis