Definition of the Boolean entity on which to output the energize command. It is possible to have multiple definitions. They will be treated as if they were in parallel.
Syntax |
GLOBAL_POWER var -TOFttt -TONttt |
---|---|
var |
Variable type and any parameters (see list below) (optional, default NULL). |
-TOFttt |
Signal drop delay time. In the case of additional specified delays (on alarm or lack of feedback) is summed |
-TONttt |
Signal rise delay time |
Diagnostics |
Power group not active (not defined) |
Attributes |
Keyword not mandatory |
Types of variables allowed (var)
OUT/OW
Indicates that the energize command will be output through an output channel. The channel can be defined either as a channel number or as a bit of a word.
Syntax |
if channel: GLOBAL_POWER OUT nCh [-SONb=1] if bit: GLOBAL_POWER OW nW.nB [-SONb=1] |
---|---|
nCh |
Output channel number. If 0: the channel of EnablePower set in RHW.CFG is indicated |
SONb |
State to be output to energize (0/1) (optional, default 1) |
OW |
Output word number |
nb |
Bit number (0÷15) |
Diagnostics |
Number of illegal bits |
Notes |
NEVER use the EnablePower channel number imposed in RHW.CFG as diagnostics are not generated but the output is not activated |
Example
GLOBAL_POWER OUT 265 GLOBAL_POWER OW 17.8 -SON0 |
R/NVR
Indicates that the energize command will be output through an integer R register or NVR.
Syntax |
if R: GLOBAL_POWER R idxR.nB [-SONb=1] if NVR: GLOBAL_POWER NVR idxNVR.nB [-SONb=1] |
---|---|
idxR/NVR |
Register index (R or NVR) |
nB |
Bit number (0÷31) |
SONb |
State to output to energize (0/1) (optional, default 1) |
Diagnostics |
•Illegal index number •Illegal bit number |
Example
GLOBAL_POWER R 1234.30 GLOBAL_POWER NVR 100.9 |
CAN402
Indicates that the energize command will be output via can via the ENABLE VOLTAGE command of the DSP402 profile (command word). The -ST parameter is not used in this case. The axis in question must be defined with AXIS_CAN.
Syntax |
GLOBAL_POWER CAN402 |
---|
Example
GLOBAL_POWER CAN402 |
NULL
Indicates that no energization command will be output.
Syntax |
GLOBAL_POWER NULL |
---|
Example
GLOBAL_POWER NULL |