Writing
⑫ Counter Preset [write_cnt.vi]

 

Select to set (preset) the value of the counter arbitrarily

 

 


IN/OUT Terminal layout

 


Input terminal

Preset

Initial value: 0 : 0

[Essential]
Specify the channel number and data to be preset with a two-element array

■ Element 1: Channel No.(ChannelNo) 

Specify the channel number to preset
It is also possible to specify arbitrary multiple channels

■ Element 2: Preset data(PresetData)

Specify data to be preset

Setting range

  24-bit counter device: 0~16,777,215 (FFFFFFH)
  32-bit counter device: 0~4,294,967,295 (FFFFFFFFH)

 

When to apply preset data

If presetting is done during counter operation, the value is immediately set.

When presetting is done before the counter operation starts, preset values are set at the time of count start except for the type with sampling function.

For type with sampling function, preset values are applied immediately.