Definition of the boolean entity on which to detect if the axis is enabled. Usable only if CHANNEL_ENABLE is defined.
Syntax |
CHANNEL_ENABLE_FEEDBACK nAx [var] [-STtime] [-FTtime] [-ALn] [-P1xxx -P2xxx -P3xxx] |
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
nAx |
Axis number (1÷32) (if logical or physical depends on the type of group selected) |
||||||||||
var |
Variable type and any parameters (see list below). (optional, default NULL) |
||||||||||
-STtime |
(Shutting Time) time in seconds (respect to enable rise) allowed before removing ENABLE and giving diagnostic (if enabled) in case of feedback failure. (optional, default 0.1) |
||||||||||
-FTtime |
(Filter Time) time in seconds to filter on the signal (minimum time to stay in the same state before it is accepted). (optional, default 0) |
||||||||||
-ALn |
Alarm number to be output on fall or failure of feedback rise. (optional, default 0) Allowed values are:
|
||||||||||
-P1aaa, -P2aaa, -P3aaa |
Possible alarm parameter(s) to be output where aaa can be: R(i),RR(i), NVR(i), NVRR(i), PS_N(powerSet_name), PS_C(powerSet_code). (optional) |
||||||||||
Diagnostica |
•Power group not active (not defined) •Var type not permitted |
||||||||||
Attributi |
Keyword not mandatory |
Types of variables allowed (var)
INP/IW
Indicates that an input channel will be used as axis enable feedback. The channel can be defined either as a channel number or as bits of a word.
Syntax |
if channel: CHANNEL_ENABLE_FEEDBACK nAx INP nCh -SONb=1 if bit: CHANNEL_ENABLE_FEEDBACK nAx IW nW.nB -SONb=1 |
---|---|
nCh |
Input channel number |
SONb |
Status indicating energized (0/1). (optional, default 1) |
IW |
Number of the input word |
nb |
Number of the bit (0÷15) |
Diagnostics |
Number of illegal bits |
Example
CHANNEL_ENABLE_FEEDBACK 3 INP 266 CHANNEL_ENABLE_FEEDBACK 3 IW 17.9 |
R/NVR
Indicates that an integer register R or NVR will be used as the feedback of axis enablement.
Syntax |
if R: CHANNEL_ENABLE_FEEDBACK nAx R idxR.nB -SONb=1 if NVR: CHANNEL_ENABLE_FEEDBACK nAx NVR idxNVR.nB -SONb=1 |
---|---|
idxR/NVR |
Register index (R or NVR) |
nB |
Bit number (0÷31) |
SONb |
Status indicating energized (0/1) (optional, default 1) |
Diagnostics |
-Illegal index number -Illegal bit number |
Example
CHANNEL_ENABLE_FEEDBACK 5 R 1234.30 CHANNEL_ENABLE_FEEDBACK 5 NVR 100.9 |
CAN402
Indicates using the can commands of the DSP402 profile by analyzing the state of OPERATION ENABLED. The axis in question must be defined with AXIS_CAN.
Syntax |
CHANNEL_ENABLE_FEEDBACK nAx CAN402 |
---|---|
Diagnostics |
Axis not associated with CAN |
Example
CHANNEL_ENABLE_FEEDBACK 6 CAN402 |
NULL
Indicates that no feedback will be used.
Example
CHANNEL_ENABLE_FEEDBACK 7 NULL |