03.10.2019 Views

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

SHOW MORE
SHOW LESS

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 />

4035 ADR must not be<br />

applied on 'VAR<br />

CONSTANT' if<br />

'replaced constants' is<br />

activated<br />

4040 Label '' is not<br />

defined<br />

4041 Duplicate definition of<br />

label ''<br />

4042 No more than %d<br />

labels in sequence are<br />

allowed<br />

4043 Format of label invalid.<br />

A label must be a name<br />

optionally followed by a<br />

colon.<br />

variable with the value 0.<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 />

Define a label with the name or change the<br />

name to that of a defined label.<br />

The label '' is multiple defined in the POU. Rename<br />

the label or remove one of the definitions.<br />

The number of jump labels is limited to ''. Insert a<br />

dummy instruction.<br />

The label name is not valid or the colon is missing in the<br />

definition.<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 />

4202 Unexpected end of text Insert a closing bracket after the text.<br />

in brackets<br />

4203 in brackets not The operator is not valid in a IL bracket expression.<br />

allowed<br />

4204 Closing bracket with no<br />

corresponding opening<br />

bracket<br />

4205 No comma allowed<br />

after ')'<br />

4206 Label in brackets not<br />

allowed<br />

4207 'N' modifier requires<br />

operand of type<br />

'BOOL', 'BYTE',<br />

'WORD' or 'DWORD'<br />

4208 Conditional Operator<br />

requires type 'BOOL'<br />

4209 Function name not<br />

allowed here<br />

4210 'CAL', 'CALC' and<br />

'CALN' require a<br />

function block instance<br />

as operand<br />

4211 Comments are only<br />

allowed at the end of<br />

line in IL<br />

4212 Accumulator is invalid<br />

before conditional<br />

statement<br />

4213 'S' and 'R' require<br />

'BOOL' operand<br />

4250 Another 'ST' statement<br />

or end of POU<br />

expected<br />

4251 Too many parameters<br />

in function '%s'<br />

4252 Too few parameters in<br />

function '%s'<br />

4253 'IF' or 'ELSIF' require<br />

'BOOL' expression as<br />

condition<br />

4254 'WHILE' requires<br />

'BOOL' expression as<br />

condition<br />

(not valid are: 'JMP', 'RET', 'CAL', 'LDN', 'LD', 'TIME')<br />

Insert an opening bracket or remove the closing one.<br />

Remove comma after closing bracket.<br />

Shift jump label so that it is outside of the brackets.<br />

The N modifier requires a data type, for which a boolean<br />

negation can be executed.<br />

Make sure that the expression gives out a boolean result or<br />

use a type conversion.<br />

Replace the function call by a variable or a constant.<br />

Declare an instance of the function block which you want to<br />

call.<br />

Shift the comment to the end of the line or to an extra line.<br />

The accu is not defined. This happens if an instruction is<br />

preceeding which does not submit a result (e.g. 'CAL').<br />

Use a boolean variable at this place.<br />

The line does not start with a valid ST instruction.<br />

There are more parameters given than are declared in the<br />

definition of the function.<br />

There are less parameters given than are declared in the<br />

definition of the function.<br />

Make sure that the condition for IF or ELSIF is a boolean<br />

expression.<br />

Make sure that the condition following the ‘WHILE’ is a<br />

boolean expression.<br />

4255 'UNTIL' requires 'BOOL' Make sure that the condition following the ‘UNTIL’ is a<br />

<strong>BRESIMAR</strong> Anexo B – 12 de 18

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!