Double-click the HSCG instruction to display the following dialog box. In the following dialog box, specify each of the settings.
For details on the special I/O of the LT, refer to the following. 31.5 Controlling External I/O with LT
Setting
Operand
Description
Setting Range
CH
S1
Specify the channel number for the high-speed counter.
CH1 - CH4
D1: Instruction 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.
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.
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.