Omron SYSMAC FH Series User Manual page 808

Vision sensor vision system
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

Wait
Pauses the program process for the specified amount of time elapses.
Format
Wait <time>
Parameter
Parameter
Data type
name
<time>
Integer type
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.
Rem Switch the scene.
ChangeScene 2
Rem Wait 10ms
Wait 10
Useable Modules
Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
ChangeScene (Reference:
StartTimer (Reference:
806
Macro Reference
Standby time (ms)
Details (p.423))
Details (p.746))
WWW.NNC.IR
Description
ElapsedTime (Reference:
Timer (Reference:
Details (p.759))
Details (p.508))
Vision System FH/FZ5 Series
User's Manual (Z340)

Advertisement

Table of Contents
loading

Table of Contents