32.23.4.1 Calculating the Number of Steps When Setting Operands - PLSG

Double-click the PLSG 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.

CH1 - CH4

Pulse Output Mode

S2

Specify the output pulse mode (normal or acceleration/deceleration). The value specified here is stored in the control part of #L_ExIOSPCtrl.

  • Constant
    1 (PLS), 3 (acceleration/deceleration PLS), or 5 (moving speed).

  • Variable
    Integer variable only

D1: Instruction Status

D1

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

Integer variable only

Output Pulse Count

D2

Specify the variable for storing the number (times) of pulse output. The value of #L_PLS*_NUM is stored in the variable specified here.

Integer variable only

Output frequency

D3

Specify the variable for storing the pulse output frequency (Hz). The value of #L_PLS*_LHZ is stored in the variable specified here.

Integer variable only

Acceleration/Deceleration time

D4

Specify the variable for storing the acceleration/deceleration time (ms). The value of #L_PLS*_ACC is stored in the variable specified here. Set in [Acceleration] that appears when [Block] is selected when using the LT3000 Series or STC6000 Series.

Integer variable only

Acceleration

D4

Specify the variable for storing the acceleration time in ms. The value of #L_PLS*_ACC is stored in the variable specified here. This can be set when you are using the LT4000 series and select [Individual].

Integer variable only

Deceleration

D6

Specify the variable for storing the deceleration time in ms. The value of #L_PLS*_DEC is stored in the variable specified here. This can be set when you are using the LT4000 series and select [Individual].

Integer variable only

Initial Output Frequency

D5

Specify the variable for storing the initial pulse output frequency (Hz). The value of #L_PLS*_SHZ is stored in the variable specified here.

Integer variable only