How about this.....

I'm assuming to have done the check (angle), and have the deviation number
stored in a proper variable register.

IF[#100 GE 0] GOTO3000          (.....#100 Could be any register)

IF[#101 LE 359] GOTO3000      (.....#101 Could be any register)

N3000
#3000ERROR

Mind you I'm no expert...and I may not understand the question..but what the
heck it is a shot!!

Blueskies,

Ernie

> All you Fanuc Macro B experts....
> I need to do a conditional check to  check that a variable value is
between
> 359. and 1.
> I cant figure out the statement to check between 2 numbers with zero as
the
> mid point.
> I am probing an angle, if it checks 0 to 1 degree its ok.... if it checks
0
> to 359 (off square the other direction)
> then thats Ok  anything beyond 359 to 0 to 1 and I want it to fault out
with
> a #3000 error.
> thanks
>
>
>            Andrew Wilson
> CNC Programmer/Systems Admin
>
>
> ======================================================================
> To find out more about this mailing list including how to unsubscribe,
> send the message "info mfg-smartcam" to [EMAIL PROTECTED]
> ======================================================================
>

======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================

Reply via email to