WWW.NNC.IR
Macro Reference
806
Vision System FH/FZ5 Series
User’s Manual (Z340)
Wait
Pauses the program process for the specified amount of time elapses.
Format
Wait <time>
Parameter
Return value
None.
Description
Pauses the program process on the period of time specified in the <time> parameter.
When the process is performed in the background while waiting, the background process will be performed
without waiting.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a value outside the range -2147483648 to 2147483647 is specified as an integer parameter, an "Overflow"
error will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
• An error may occur between the waiting time specified as a parameter and the actual waiting time.
Example
After switching to the scene 2 with the communication command macro, waits for 10 ms.
Useable Modules
Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
Parameter
name
Data type Description
<time> Integer type Standby time (ms)
Rem Switch the scene.
ChangeScene 2
Rem Wait 10ms
Wait 10
ChangeScene (Reference: X Details (p.423)) ElapsedTime (Reference: X Details (p.508))
StartTimer (Reference: X Details (p.746)) Timer (Reference: X Details (p.759))