The device objects feature a number of parameters that are directly assigned to the individual device objects.
Device |
Object Parameters |
---|---|
|
|
|
|
|
|
|
|
In general, user functions can be loaded additionally to the directly assigned object parameters.
For the devices , , and , a number of user functions are supported.
To display and set the user function parameters, double-click the corresponding device in the Devices tree. In the Parameters tab of the editor, expand the UserFunctions group to see the user functions.
Supported user functions:
Segment Activation
A segment is active and controlled as soon as it is enabled. To enable a segment, the real-time communication must be activated, the track must be connected to SFOin+ (24 V) and SFOin- (0 V) (for more information on connecting the SFO (Safe Force Off), refer to the Lexium™ MC12 multi carrier Hardware Guide), the segment must be powered and it must be ready to receive the Enable command.
Stage |
Description |
---|---|
1 |
The initial state of the segment, which is displayed by the parameter State, is Not ready / 0. |
2 |
As soon as the real-time communication is activated, the State is switched to Ready for main power on / 1. |
3 |
When the DC bus voltage reaches 90% of the nominal voltage (i.e. 43.2 V), the State is switched to Ready and main power applied, ready for enable / 2. |
4 |
After setting the parameter EnableSet to Enable / 1, the parameter State is switched to Enabled / 3. |
Carrier Activation
No carrier on the segment should be activated prior to the segment activation.
Initially, a carrier is not controlled. A carrier becomes ready for control when the main power is on.
Stage |
Description |
---|---|
1 |
The carrier state is provided by parameter State. |
2 |
When the parameter EnableSet is set to true / 1 , the parameter State is switched to Enabled / 3 and the parameter Enabled displays true / 1 . |
If the segment is enabled (State is Enabled / 3) and an error is detected, the segment sets the C1D error bit and changes the parameter State to Not ready / 0.
The error reaction is according to the Device Reactions table presented in the PacDrive System Diagnostics User Guide.
If a segment is disabled or has an error that was detected, a carrier moved to this segment from the previous segment might have enough kinetic energy to slide over the disabled segment to the next controlled segment. This could cause an unpredictable movement.
NOTICE | |
---|---|
Segment Deactivation
Stage |
Description |
---|---|
1 |
The initial state of the segment, which is displayed by the parameter State, is Enabled / 3. |
2 |
The parameter EnableSet is switched to Disable / 0. |
3 |
The State of the segment changes to Ready and main power applied, ready for enable / 2. |
Carrier Deactivation
Stage |
Description |
---|---|
1 |
The initial state of the carrier, which is displayed by the parameter State, is Enabled / 3. |
2 |
The parameter EnableSet is set to false / 0. |
3 |
The state of the carrier changes to disabled: the parameter Enabled displays false / 0. |
You can access a user function parameter in the application using the following syntax:
<Device>.<UserFunction>.<Parameter>
Example:
The following command sets the parameter WorkingMode in the SercosIdentification user function of the segment to the value 1:
MC_Segment_1.SercosIdentification.WorkingMode := 1;
The following command sets the parameter EnableSet in the CarrierState user function of the carrier to the value TRUE:
MC_Carrier_1.CarrierState.EnableSet := TRUE;