31.23.13.1 Calculating the Number of Steps When Setting Operands - HSC

Double-click the HSC 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 to which the high-speed counter is assigned.

The high-speed counter for the channel number specified here is started.

CH1 - CH4

Synchronize Output

S2

Specify the mode for the high-speed counter (Synchronize Output On/Off). The value specified here is stored in the control part of #L_ExIOSPCtrl.

  • Constant
    1 (Synchronize Output Off) or 3 (Synchronize Output On)

  • Variable
    Integer variable only

D1: Instruction Execution Status

D1

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

Integer variable only