| Article ID: | T1093 |
| Date: | 7/30/03 (updated 3/13/2004) |
| Product: | EPSON RC+ v3.6.1 |
| Subject: | PauseOn and Stat(0) bit &H20000 work incorrectly |
Symptoms
When a robot is installed on the system and the safeguard
is open while tasks are running, the PauseOn function returns 0 (FALSE)
instead of -1 (TRUE) and STAT(0) AND &H20000 returns 0.
This
problem does not occur in VB Guide. SPELCom.PauseOn works correctly in
this situation. Also, the remote Paused output works
correctly.
Causes
This is
caused by a bug in EPSON RC+ v3.6.1.
Remedy
There is a workaround using a reserved bit
that will be used in a future release.
PauseOn
Use the
following function in place of PauseOn in your programs.
Function MyPauseOn As Boolean
MyPauseOn =
((Stat(0) AND &H1020000) <> 0)
Fend
Stat(0)
If you are checking Pause status in
Stat(0), bit &H20000, then use &H1020000 instead.
Status
This problem was fixed in v3.6.2
