This section describes the timing setting screen in Advanced mode.
On this screen, in addition to the Basic mode function, you can set the timing start/stop trigger and the timing counting method.
①#Timing
Indicates the Timing No.. Up to 100 types (0 to 99) can be set.
②Timing name
You can set the name for each timing setting.
Select the type that causes the timing.
In Advanced mode, you can select from the following.
Item |
Description |
Timer |
Specifies the cycle in 1 msec unit. |
Button_Click |
Uses the Click event of the Button control. |
Button_Value |
Uses the OnValueChange event of the Button control. |
Button_Press |
Uses the OnPress event of the Button control. |
Command |
Uses the TaskExecute |
Edge |
You can use the edge settings set on the DIO device. It is displayed as a combination of device name and edge No.. |
Match |
Count match detection set on the CNT device can be used. It is displayed as a combination of [device name_Match_setting channel number_comparison register number]. For example, CNT000_Match_00_00 Device name: CNT000 Match: Fixed string 00: Setting channel number ch0 00: Comparison register number RegNo.0 |
TrackBar_ValueChange |
Use the TrackBar control's ValueChange event. Displayed as a combination of [component name_valueChage]. For example, dncTrackBar01_valueChange Component name: dncTrackBar01 Fixed string: valueChange |
Volume_ValueChange |
Use the Volume control's ValueChange event. Displayed as a combination of [component name_valueChage]. For example, dncVolume01_valueChange Component name: dncVolume01 Fixed string: valueChange |
④Interval(ms)
It is enabled when Timer is selected at (3)Timing.
The timing generation cycle can be specified in 1 msec unit.
⑤Timer delay
It is enabled when Timer is selected at (3)Timing.
It is possible to delay the start time in 1 msec unit.
Select the trigger that starts the timing selected at (3)Timing.
After this start trigger is enabled, timing will occur until the stop trigger of (7) is enabled.
Item |
Description |
Auto |
Starts automatically when the app is launched or init. |
#sec |
Starts after the specified seconds have passed after launching the app or init. |
Button_Click |
Starts with the Click event of the Button control. |
Button_Value |
Starts with the OnValueChange event of the Button control. |
Button_Press |
Starts with the Press event of the Button control. |
Command |
Starts with the TimingStart method. |
Edge |
You can use the edge settings set on the DIO device. It is displayed as a combination of device name and edge No.. |
Match |
Count match detection set on the CNT device can be used. It is displayed as a combination of [device name_Match_setting channel number_comparison register number]. For example, CNT000_Match_00_00 Device name: CNT000 Match: Fixed string 00: Setting channel number ch0 00: Comparison register number RegNo.0 |
Select the trigger that stops the timing selected at (3)Timing.
After the start trigger of (6) is enabled, timing will occur until this stop trigger is enabled.
Item |
Description |
None |
Timing does not stop until the application is closed or Exit |
#sec |
After the timing starts, it will stop after the specified seconds have elapsed. |
#times |
Timing will end in the specified times. |
Button_Click |
Stops with the Click event of the Button control. |
Button_Value |
Stops with the OnValueChange event of the Button control. |
Button_Press |
Stops with the Press event of the Button control. |
Command |
Stops sampling with the TimingStop method. |
Edge |
You can use the edge settings set on the DIO device. It is displayed as a combination of device name and edge No.. |
Match |
Count match detection set on the CNT device can be used. It is displayed as a combination of [device name_Match_setting channel number_comparison register number]. For example, CNT000_Match_00_00 Device name: CNT000 Match: Fixed string 00: Setting channel number ch0 00: Comparison register number RegNo.0 |
⑧Count type
Selects the counting direction.
Item |
Description |
UpCount |
It counts up from the minimum value, and when it reaches the maximum value, it starts from the minimum value again. |
DownCount |
It counts down from the maximum value, and when it reaches the minimum value, it starts from the maximum value again. |
Up/Down |
It counts up from the minimum value, and when it reaches the maximum value, it counts down to the minimum value. |
Down/Up |
It counts down from the maximum value, and when it reaches the minimum value, it counts up to the maximum value. |
⑨Max value
The maximum value of the count. You can enter in the range of 0 to 4,294,967,296.
⑩Min value
The minimum value of the count. You can enter in the range of 0 to 4,294,967,296.
⑪Enabled
You can select whether to enable/disable the set timing.