LookDown()
This method translates a slave value to a matching master value. If the value lies between two defined points in the table, the selected operation mode is used for interpolation.
Syntax:
METHOD LookDown : HRESULT
VAR_INPUT
Slave: LREAL;
SlaveVelo: LREAL;
fGuidingValue: REFERENCE TO LREAL;
fGuidingVelo: REFERENCE TO LREAL;
TorqueLimiting: REFERENCE TO LREAL;
END_VAR
Return value
Name | Type | Description |
---|---|---|
LookDown | HRESULT | Return value with feedback on the success of the execution |
Inputs
Name | Type | Description |
---|---|---|
Slave | LREAL | Primary slave value |
SlaveVelo | LREAL | Tertiary slave value |
fGuidingValue | REFERENCE TO LREAL | Resulting master value for the requested slave value |
fGuidingVelo | REFERENCE TO LREAL | Master value for the requested tertiary slave value. This is determined taking into account the first derivative of the primary slave value |
TorqueLimiting | REFERENCE TO LREAL | Secondary slave value for the requested primary slave value |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticFunctions v3.12.4.26 or higher |