Please enable JavaScript to view this site.

Function to enable group energization (PowerSet).

Syntax

i32 ps_power_enable (power_set psName, i32 flag)

psName

PowerSet name (of type power_set)

flag

Flag to enable the set:

0, disable energization

1, enable energization

Result

Returns:

Value

Meaning

1

Successful operation

0

Otherwise

Validity

Rule, Task

Note

To give the axis enable command, use the ps_channel_enable() instruction.

The ps_channel_enabled() function has no effect if the PowerSet of the axis in question has not been previously enabled with the ps_power_enable() instruction.

The command variable used by RTE to perform the reset is specified by the user in the RTE.cfg (project configurator) file.

In the case of axes managed in CAN402, the transition to SWITCHED ON is commanded.

 

  

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