Allows the speed reference output device to be defined.
Syntax |
SP_REF n ttt [-TSELnt] [-REPn] |
---|---|
n |
Number of axis (1÷32) |
ttt |
Type of output device (see below for descriptions) •OFF •CAN •NVR •R •NVRR •RR |
TSELnt |
Specifies if the same device is also used for torque reference (0/1) (optional) |
REPn |
Repeats output device definition by incrementing axis number and any indices n times (1÷32) (optional) |
Notes |
Diagnostics are issued for double axis definition, unknown ttt code or output device already used |
WARNING: This keyword is automatically generated by project configurator.
Project configurator --> Axis --> Actuator to select the reference type.
Allowable types of devices (ttt)
OFF (axis without reference)
Syntax |
SP_REF n OFF |
---|---|
Notes |
Diagnosis is issued for double axis definition or unknown ttt code |
Example
SP_REF 21 OFF |
ANALOGIC (axis with analog reference +/- 10 volts)
Syntax |
SP_REF n ANALOGIC idxA -Bnbit=-12 -ORn |
---|---|
idxA |
Analog output channel number (1÷32) |
Bnbit |
Output device bit number (1÷32) and usage mode (if negative is assumed signed, if positive unsigned) (optional, default -12) |
ORn |
Index of an R (volatile) register containing the analog offset value (1 ÷ num_r) (optional) |
Notes |
Diagnostics are issued for out-of-range parameters |
Example
SP_REF 14 ANALOGIC 19 -B-16 SP_REF 19 ANALOGIC 30 -B-12 -OR2719 |
ANALOGIC_REF_DIG_DIR (Axis with analog reference 0/10 volts + direction)
Syntax |
SP_REF n ANALOGIC_REF_DIG_DIR idxA -Bnbit=-12 -Pnch=-P0 -Nnch=-N0 -ORn=0 |
---|---|
idxA |
Analog output channel number |
Bnbit |
Output device bit number (1÷32) and mode of use (if negative is assumed signed, if positive unsigned) (optional, default -12) |
Pnch |
Output channel number to be used to select positive direction. (optional, default -P0 - no output) |
Nnch |
Number of the output channel to be used to select negative direction. (optional, default -N0 - no output) |
ORn |
Index of an R (volatile) register containing the analog offset value (1÷num_r). (optional, default -OR0) |
Notes |
Diagnostics are output for out-of-range parameters. |
Example
SP_REF 14 ANALOGIC_REF_DIG_DIR 19 -B-16 -P280 -N281 |
ANALOGIC_MONODIRECTION (Axis with monodirectional analog reference 0/10 volts)
Syntax |
SP_REF n ANALOGIC_MONODIRECTION idxA -Bnbit=-12 NEG -ORn=0 |
---|---|
idxA |
Analog output channel number |
Bnbit |
Output device bit number (1÷32) and mode of use (if negative is assumed signed, if positive unsigned) (optional, default -12) |
NEG |
Negative direction selection. (optional, default absent --> positive direction) |
ORn |
Index of an R (volatile) register containing the analog offset value (1÷num_r). (optional, default -OR0) |
Notes |
Diagnostics are issued for out-of-range parameters. |
Example
SP_REF 14 ANALOGIC_MONODIRECTION 19 -B-16 NEG |
CAN (Axis with reference via CANOPEN)
Syntax |
SP_REF n CAN -Bnbit=-32 |
---|---|
Bnbit |
Output device bit number (1÷32) and usage mode (if negative is assumed signed, if positive unsigned) (optional, default -32) |
Notes |
This definition is accepted only if the axis has been previously defined as a can axis |
Example
SP_REF 14 CAN -B-16 |
NVR (Axis with reference on NVR register)
Syntax |
SP_REF n NVR idxR -Bnbit |
---|---|
idxR |
Number of the NVR integer register (retentive) where the speed reference is written (1÷num_nvr) |
Bnbit |
Output device bit number (1÷32) and usage mode (if negative is assumed signed, if positive unsigned) (optional, default -32) |
Notes |
Diagnostics are output for out-of-range parameters |
Example
SP_REF 14 R 300 -B-18 |
R (Axis with reference on R register)
Syntax |
SP_REF n R idxR -Bnbit |
---|---|
idxR |
Index of the R (volatile) register containing the analog offset value (1÷num_r) |
Bnbit |
Output device bit number (1÷32) and usage mode (if negative is assumed signed, if positive unsigned) (optional, default -32) |
Notes |
Diagnostics are output for out-of-range parameters |
Example
SP_REF 14 R 301 -B-27 |
NVRR (Axis referenced on NVRR register)
Syntax |
SP_REF n NVRR idxR |
---|---|
idxR |
Number of the real NVRR (retentive) register in which the speed reference is written (1÷num_nvrr) |
Notes |
Diagnostics are issued for out-of-range parameters |
Example
SP_REF 14 NVRR 310 |
RR (Axis with reference on RR register)
Syntax |
SP_REF n RR idxR |
---|---|
idxR |
Index of the real RR (volatile) register containing the speed reference (1÷num_rr) |
Notes |
Diagnostics are issued for out-of-range parameters |
Example
SP_REF 14 RR 310 |