10 Application Instructions API 202-313 API 267 Operands: D : Destination device to be Set ON n : Device specifying the bit to be Set ON Explanations: 1. EH2/SV_V1.9 and versions above, and EH3/SV2 supports the function. EH series does not support the dunction. 2. Available range for the value in operand n : K0~K15 for 16-bit instruction; K0~K31 for 32-bit instruction. 3. When BSET instruction executes, the output device specified by operand n will be On and latched. To reset the On state of the device, BRST instruction is required. Program Example: X0 X1 Instruction: Operation: LDI X0 Load NC contact X0 AND X1 Connect NO contact BSET K4Y0 D0 When D0 = k1, X1 in series.
Y1 is ON and latched When D0 = k2, Y2 = ON and latched DVP-PLC Application Manual 10-22 Mnemonic Operands Function D BSET Set ON Specified Bit of a Word Type OP Bit Devices Word devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F BSET: 5 steps DBSET: 9 steps D * * * * * * n * * * * * * * * * * * PULSE 16-bit 32-bit SA SX SC EH SV EH3 SV2 ES EX SS SA SX SC EH3 ES EX SS SA SX SC EH3 ES EX SS EH SV EH SV SV2 SV2 BSET K4Y0 D0