Definition of the boolean entity to be used as the energization request for the group.
Syntax |
POWER_RQ var [-E -L] [-STtime=0.1] [-SONb=1] |
---|---|
var |
Type of variable and any parameters (see list below) |
-E -L |
•E => request on front end •L => request on level (optional, default -E) |
-STtime |
(Shutting Time) Energization command hold time (GLOBAL_POWER) without feedback (optional, default 0.1 sec) |
-SONb |
Physical state considered as logical true (0/1) (optional, default: 1) |
Diagnostics |
•Power group not active (not defined) •Illegal parameters •Already defined •Concurrent use of -E and -L |
Attributes |
Mandatory keyword |
Allowed types of variables (var)
INP/IW
Indicates that an input channel will be used as the energization request for the group. The channel can be defined either as a channel number or as bits of a word.
Syntax |
if channel: POWER_RQ INP nCh [-SONb=1] if bit: POWER_RQ IW nW.nB [-SONb=1] |
---|---|
nCh |
Input channel number. If = 0 the ChopperOk channel set in RHW.CFG is used. |
IW |
Number of the input word |
nb |
Number of the bit (0÷15) |
-SONb |
State indicating energized (0/1) (optional, default 1) |
Diagnostics |
Number of illegal bits |
Example
POWER_RQ INP 257 POWER_RQ IW 17.0 -L -ST2.5 |
OUT/OW
Indicates that an output channel will be used as the energization request for the group. The channel can be defined either as a channel number or a word bit.
Syntax |
if channel: POWER_RQ OUT nCh [-SONb=1] if bit: POWER_RQ OW nW.nB [-SONb=1] |
---|---|
nCh |
Input channel number. If = 0 the ChopperOk channel set in RHW.CFG is used. |
OW |
Number of the output word |
nb |
Number of the bit (0÷15) |
-SONb |
State indicating energized (0/1) (optional, default 1) |
Diagnostics |
Number of illegal bits |
Example
POWER_RQ OUT 257 POWER_RQ OW 17.0 -L -ST1.75 -SON0 |
R/NVR
Indicates that an integer register R or NVR will be used as the energization request for the group.
Syntax |
if R: POWER_RQ R idxR.nB [-SONb=1]. if NVR: POWER_RQ 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 |
Number of illegal bits |
Example
POWER_RQ R 1234.31 -ST3 POWER_RQ NVR 100.8 -E |
NULL
Indicates that no entity will be requested to energize the group (in fact, the system will never be energized). This may be useful if you want to completely free yourself from normal power group management while reserving the specified axes.
Syntax |
POWER_RQ NULL |
---|
Example
POWER_RQ NULL |