Chapter 15 Input/Output instructions
416 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
TRIMPOT_READ reads one Trimpot current value.
Arguments
Parameter
Parameter
type
Data type Description
Enable Input BOOL Function block enable.
When Enable = TRUE, execute Trimpot read.
When Enable = FALSE, there is no read operation and output Trimpot value is invalid.
TrimPotID Input UINT The ID of the Trimpot to be read.
See Trimpot ID definition on page 417.
TrimPotValue Output UINT Current trimpot value.
Sts Output UINT The read operation status.
See Trimpot operation status values on page 418.
ENO Output BOOL Enable out.
Applies only to LD programs.
TRIMPOT function block language examples
Function Block Diagram (FBD)