EasyManuals Logo

Omron SYSMAC FH Series User Manual

Omron SYSMAC FH Series
882 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #776 background imageLoading...
Page #776 background image
WWW.NNC.IR
Macro Reference
774
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
Uses the Try Catch-End Try statement in the *MEASUREPROC subroutine of the Unit Macro processing unit
to detect the error occurrence and get the detected error number.
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
*MEASUREPROC
Try
WORK& = 0
SUMM& = 100 + 200 + 300
ANS& = SUMM& / WORK&
Catch
If Errno = 11 Then
Rem Output the error number and the error content on the system status console window
Print "Error Number = " + Str$(Errno) + ", Division by Zero"
Endif
End Try
Return
Errcmnd$ (Reference: X Details (p.513)) Errno (Reference: X Details (p.515))
If Then Elseif Else EndIf (Reference: X Details
(p.564))
Print (Reference: X Details (p.639))
Str$ (Reference: X Details (p.749))

Table of Contents

Other manuals for Omron SYSMAC FH Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC FH Series and is the answer not in the manual?

Omron SYSMAC FH Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC FH Series
CategoryIndustrial Equipment
LanguageEnglish

Related product manuals