EDH0162En1040 – 06/99
3.110
MM4005
SC — Set control loop type
Usage
IMM
PGM
MIP
Syntax
xxSCnn
Parameters
Description
xx
[int]
— Axis number.
nn
[int]
— Loop type.
Range
xx
—
1
to
4.
nn
—
0
or
1.
Units
xx
— None.
nn
— None.
Defaults
xx
Missing: Error B.
Out of range: Error B.
Floating point: Error A.
nn
Missing: Error C.
Out of range: Error C.
Description
This command defines the type of motion control loop of an axis. If para-
meter
nn
is set to 0, the selected axis
xx
is set to operate in open loop. If
nn
is set to 1, the axis will operate in closed loop.
NOTE
Because this is a setup instruction, do not use it when motor power is on.
If sent during a motion or when motors are on, the controller will refuse
the execution and set error code D.
NOTE
Avoid using this comand in normal operation. It was intended to be used
only for factory testing or very specialized applications.
Returns
None.
Errors
A
—
Unknown message code.
B
—
Incorrect axis number.
C
—
Parameter out of limits.
D
—
Unauthorized execution.
Rel. Commands
TC
—
Read control loop type.
Example
MF |
Turn power off to the motors.
3SC0
|
Set axis #3 to operate in open loop.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com