Link Type: |
DelayMS (D, hex 0x44, dec 68) |
Link Value: |
For DelayMS, number of milliseconds to delay |
Range: |
0 to 65,535 |
Note: These link types cannot be used with the Poll (?) command. Both link types will continuously restart they countdowns. For measuring time while polling, use the Timer (T and t) link types.
These two link types are used to delay based on time or on counter ticks.
Delaying Based on Time
When delaying based on time, this link type will wait until the time specified in milliseconds in the Link Value field expires. It is common to use this link type with a Link Value of 0 ms to link immediately to the next step in the sequence.
The Timer (T and t) link types offer similar functionality. However, while the Time Delay link type starts the timer when the event step is reached, the Timer (T and t) link types separate the starting and checking of the timer into two or more steps. Use the DelayMS (D) link type when you want to wait a certain fixed amount of time from the start of the current step before executing the next step, and use the Timer (T and t) link types when you want to wait a certain amount of time since an event earlier in the sequence, or when you want to polling several events including a timeout. See Timer (T and t) link types for more details.
Delaying Based on Counter Ticks
This link type uses a counter that may be enabled on either the Communication Digital I/O or Sensor Digital I/O module. Refer to those topics for details on selecting an edge or quadrature counter.
If a counter is enabled, this link type will wait until the specified number of ticks have occurred on the counter and then proceed to the next event step in the sequence.
Using with the Link Type and Link Value Dialog Box
Under Link Type Category, select System-wide (Basic, non-axis).
Under Link Type, select Delay.
Under Link Condition, select Delay based on time or Delay based on counter ticks.
Enter the number of milliseconds or counter ticks you want to wait for.
Click OK.
Using without the Link Type and Link Value Dialog Box
To delay based on time, enter a 'D' in the Link Type field. To delay based on counter ticks, enter a 'd' in the Link Type field.
Enter the number of milliseconds or counter ticks to wait in the Link Value field.
Copyright (c) 1997-2015 by Delta Computer Systems, Inc.