TRIMPOT_READ (read trimpot)
The TRIMPOT_READ instruction reads the trimpot value from a specific trimpot.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the L20E, L50E, and L70E controllers.
TRIMPOT_READ

Parameter | Parameter Type | Data Type | Description |
---|---|---|---|
Enable | Input | BOOL | Instruction block enable.
|
TrimPotID | Input | UINT | The ID of the Trimpot to be read. TrimPotID is defined in Trimpot ID definition. |
TrimPotValue | Output | UINT | Current trimpot value. |
Sts | Output | UINT | The Trimpot read operation status. TRIMPOT status (Sts) codes:
|
ENO | Output | BOOL | Enable output. Applies only to ladder diagram programs. |
TRIMPOT_READ examples
TRIMPOT_READ function block diagram example

TRIMPOT_READ ladder diagram example

TRIMPOT structured text example

Provide Feedback