DVP- ES2/ EX2/ SS2/ SA2/ SX2/ SE&TP O pe r a t i on Ma nua l - Pr ogr am m i ng3- 250API Mnemonic Operands Function ControllersES2EX2SS2 SA2 SX2 SE85 VRRD P Volume ReadTypeOPBit Devices Word devices Program StepsX Y M S K H KnX KnY KnM KnS T C D E F VRRD, VRRDP: 5 stepsS * *D * * * * * *PULSE 16-bit 32-bitES2/EX2 SS2 SA2 SX2 SE ES2/EX2 SS2 SA2 SX2 SE ES2/EX2 SS2 SA2 SX2 SEOperands:S: Variable resistor number (0~1) D: Destination device for storing read valueExplanations:1. VRRD instruction is used to read the two variable resistors on PLC. The read value will beconverted as 0 ~ 255 and stored in destination D.2. If the VR volume is used as the set value of timer, the user only has to turn the VR knob and theset value of timer can be adjusted. When a value bigger than 255 is required, plus D with acertain constant.3. Flags: M1178 and M1179. (See the Note)Program Example:1. When X0 = ON, the value of VR No.0 will be read out, converted into 8-bit BIN value (0~255),and stored in D0.2. When X1 = ON, the timer which applies D0 as the set value will start timing.X1TMR T0 D0X0VRRD K0 D0Points to Note:1. VR denotes Variable Resistor.2. The PLC supports built-in 2 points of VR knobs which can be used with special D and M.Device FunctionM1178 Enable knob VR0M1179 Enable knob VR1D1178 VR0 valueD1179 VR1 value