31.23.12.1 Calculating the Number of Steps When Setting Operands - HSCG

Double-click the HSCG instruction to display the following dialog box. In the following dialog box, specify each of the settings.

Setting

Operand

Description

Setting Range

CH

S1

Specify the channel number for the high-speed counter.

CH1 - CH4

D1: Instruction Execution Status

D1

Specify the integer variable for storing the status of instruction execution.

Integer variable only

Preload value

D2

Specify the variable for storing the preload value of the high-speed counter. The value of #L_HSC*_PLV is stored in the variable specified here.

Integer variable only

ON preset value

D3

Specify the variable for storing the ON preset value of the high-speed counter. The value of #L_HSC*_ONP is stored in the variable specified here.

Integer variable only

OFF preset value

D4

Specify the variable for storing the OFF preset value of the high-speed counter. The value of #L_HSC*_OFP is stored in the variable specified here.

Integer variable only