Definition of the Boolean entity on which to output the command to enable the specific axis.
Syntax |
CHANNEL_ENABLE nAx [var=NULL] |
---|---|
nAx |
Axis number (1÷32). Logical or physical depends on the type of group selected |
var |
Type of variable and its parameters (see list below). (optional, default NULL) |
Diagnostics |
•Power Set not active (not defined) •Illegal axis number or axis not belonging to Power Set |
Attributes |
Keyword not mandatory |
Types of variables allowed (var)
OUT/OW
Indicates that the axis enable command will be output through an output channel. The channel can be defined either as a channel number or a word bit.
Syntax |
if channel: CHANNEL_ENABLE nAx OUT nCh [-SONb=1] if bit: CHANNEL_ENABLE nAx OW nW.nB [-SONb=1] |
---|---|
nAx |
Index of the chosen axis |
nCh |
Output channel number |
SONb |
State to be output to energize (0/1). (optional, default 1) |
OW |
Number of the output word |
nb |
Number of the bit (0÷15) |
Notes |
NEVER use the EnablePower channel number imposed in RHW.CFG as diagnostics are not generated but the output is not activated |
Diagnostics |
Number of illegal bits |
Example
CHANNEL_ENABLE 12 OUT 265 CHANNEL_ENABLE 3 OW 17.8 |
R/NVR
Indicates that the axis enable command will be output via an R integer register or NVR.
Syntax |
if R: CHANNEL_ENABLE nAx R idxR.nB [-SONb=1] if NVR: CHANNEL_ENABLE nAx NVR idxNVR.nB [-SONb=1] |
---|---|
nAx |
Index of the chosen axis |
idxR/NVR |
Index of the register (R or NVR) |
nB |
Number of the bit (0÷31) |
SONb |
State to be output to energize (0/1). (optional, default 1) |
Diagnostics |
•Illegal index number •Illegal bit number |
Example
CHANNEL_ENABLE 14 R 1234.30 CHANNEL_ENABLE 8 NVR 100.9 |
CAN402
Indicates that the axis enable command will be output via can via the ENABLE command of the DSP402 profile (command word). The axis in question must be defined with AXIS_CAN.
Syntax |
CHANNEL_ENABLE nAx CAN402 |
---|---|
nAx |
Chosen axis index |
Diagnostics |
Axis not associated with CAN |
Example
CHANNEL_ENABLE 15 CAN402 |
NULL
Indicates that no enable command will be output for the specified axis.
Syntax |
CHANNEL_ENABLE nAx NULL |
---|---|
nAx |
Chosen axis index |
Example
CHANNEL_ENABLE 18 NULL |