ABB IRC5 Operating Manual page 214

Troubleshooting
Hide thumbs Also See for IRC5:
Table of Contents

Advertisement

5 Troubleshooting by event log
5.6 4 xxxx
Continued
Recommended actions
Any expression contained within a data declaration must be a
constant expression. Make sure no expression contains
variables or persistent references, or function calls.
40021, Instruction error
Description
Missing expression in RETURN instruction.
Probable causes
A RETURN instruction within a function must specify a value
to be returned.
Recommended actions
Add a value expression.
40022, Type error
Description
Illegal combination of operand types arg and arg for the '*'
operator.
Recommended actions
Allowed operand type combinations are: "num"*"num",
"num"*"pos", "pos"*"num", "pos"*"pos" and "orient"*"orient".
Check the operand types.
40023, Instruction error
Description
Cannot transfer control into another instruction list.
Recommended actions
It is not possible to jump into a program flow instruction. Make
sure that the label is located in the same instruction list as the
GOTO instruction, at the same or an outer level.
40024, Type error
Description
Illegal type arg for left operand of binary '+' or '-' operator.
Recommended actions
Allowed operand types for the binary "+" operator are "num",
"pos" and "string", and for the binary "-" operator "num" and
"pos". Check the operand types.
40025, Type error
Description
Illegal type arg for operand of unary '+' or '-' operator.
Continues on next page
214
Recommended actions
Allowed operand types for the unary "+" and "-" operators are
"num" and "pos". Check the operand types.
40026, Type error
Description
Illegal type arg for right operand of binary '+' or '-' operator.
Recommended actions
Allowed operand types for the binary "+" operator are "num",
"pos" and "string", and for the binary "-" operator "num" and
"pos". Check the operand types.
40027, Type error
Description
Illegal type arg for left operand of '/', 'DIV' or 'MOD' operator.
Recommended actions
Allowed operand type for the "/", "DIV" or "MOD" operators is
"num". Check the operand types.
40028, Type error
Description
Illegal type arg for right operand of '/', 'DIV' or 'MOD' operator.
Recommended actions
Allowed operand type for the "/", "DIV" or "MOD" operators is
"num". Check the operand types.
40029, Type error
Description
Illegal type arg for left operand of '<', '<=', '>' or '>=' operator.
Recommended actions
Allowed operand type for the "<", "<=", ">" or ">=" operators is
"num". Check the operand types.
40030, Type error
Description
Illegal type arg for right operand of '<', '<=', '>' or '>=' operator.
Recommended actions
Allowed operand type for the "<", "<=", ">" or ">=" operators is
"num". Check the operand types.
40031, Type error
Description
Illegal type arg for left operand of '*' operator.
© Copyright 2005-2018 ABB. All rights reserved.
Operating manual - Troubleshooting IRC5
3HAC020738-001 Revision: AA

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents