Please enable JavaScript to view this site.

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

ANALOGIC

ANALOG_REF_DIG_DIR

ANALOG_MONODIRECTION

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.

asse_selezione_attuatore

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

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

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

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

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

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

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

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

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

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC