BRESIMAR(asaTek)-Beckhoff-Livro Formação Técnica TwinCAT 2
BECKHOFF - TwinCAT 2 Livro de Formação Técnica v1.2/2009 BRESIMAR AUTOMAÇÃO / asaTek Autoria : Jorge Andril
BECKHOFF - TwinCAT 2
Livro de Formação Técnica v1.2/2009
BRESIMAR AUTOMAÇÃO / asaTek
Autoria : Jorge Andril
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
TWINCAT PLC – Lista de erros<br />
BECKHOFF New Automation Technology<br />
instead.<br />
4032 ’’ operands<br />
are too few for<br />
''. At least<br />
‘’ are needed<br />
4033 ’’ operands<br />
are too many for<br />
''. At least<br />
‘’ are needed<br />
Check how many operands the named operator requires and<br />
add the missing operands.<br />
Check how many operands the named operator requires and<br />
remove the surplus operands.<br />
4034 Division by 0 You are using a division by 0 in a constant expression. If you<br />
want to provocate a runtime error, use – if applicable - a<br />
variable with the value 0.<br />
4035 ADR must not be<br />
applied on 'VAR<br />
CONSTANT' if<br />
'replaced constants' is<br />
activated<br />
An address access on constants for which the direct values<br />
are used, is not possible. If applicable, deactivate the option<br />
‚Replace Constants’ in ‚Project’ ‚Options’ ‚Build’.<br />
4040 Label '' is not<br />
defined<br />
Define a label with the name or change the<br />
name to that of a defined label.<br />
4041 Duplicate definition of<br />
label ''<br />
The label '' is multiple defined in the POU. Rename<br />
the label or remove one of the definitions.<br />
4042 No more than %d<br />
labels in sequence are<br />
The number of jump labels is limited to ''. Insert a<br />
dummy instruction.<br />
allowed<br />
4043 Format of label invalid.<br />
A label must be a name<br />
The label name is not valid or the colon is missing in the<br />
definition.<br />
optionally followed by a<br />
colon.<br />
4050 POU '%s' is not defined Define a POU with the name '' using the command<br />
‘Project’ ‘Add Object’ or change '' to the name of a<br />
defined POU.<br />
4051 '%s' is no function Use instead of a function name which is defined in<br />
the project or in the libraries.<br />
4052 '%s' must be a declared Use an instance of data type '' which is defined in<br />
expected before<br />
''<br />
4025 ':=' or '=>' expected Enter one of the both operators at the named position.<br />
before ''<br />
4026 'BITADR' expects a bit Use a valid bit address (e.g. %IX0.1).<br />
address or a variable<br />
on a bit address<br />
4027 Integer number or<br />
symbolic constant<br />
Enter a integer number or the identifier of a valid constant.<br />
expected<br />
4028 'INI' operator needs<br />
function block instance<br />
or data unit type<br />
instance<br />
4029 Nested calls of the<br />
same function are not<br />
possible.<br />
4030 Expressions and<br />
constants are not<br />
allowed as operands of<br />
'ADR'<br />
4031 'ADR' is not allowed on<br />
bits! Use 'BITADR'<br />
instead.<br />
4032 ’’ operands<br />
are too few for<br />
''. At least<br />
‘’ are needed<br />
4033 ’’ operands<br />
are too many for<br />
''. At least<br />
‘’ are needed<br />
Check the data type of the variable, for which the INI<br />
operator is used.<br />
At not reentrant target systems and in simulation mode a<br />
function call may not contain a call of itself as a parameter.<br />
Example: fun1(a,fun1(b,c,d),e); Use a intermediate table.<br />
Replace the constant or the expression by a variable or a<br />
direct address.<br />
Use BITADR. Please note: The BITADR function does not<br />
return a physical memory address<br />
Check how many operands the named operator requires and<br />
add the missing operands.<br />
Check how many operands the named operator requires and<br />
remove the surplus operands.<br />
4034 Division by 0 You are using a division by 0 in a constant expression. If you<br />
want to provocate a runtime error, use – if applicable - a<br />
<strong>BRESIMAR</strong> Anexo B – 11 de 18