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

expression as condition boolean expression.<br />

4256 'NOT' requires 'BOOL'<br />

operand<br />

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

expression.<br />

4257 Variable of 'FOR'<br />

statement must be of<br />

Make sure that the counter variable is of an integer or<br />

bitstring data type (e.g. DINT, DWORD).<br />

type 'INT'<br />

4258 Expression in 'FOR' Replace the counter variable by a variable with write access.<br />

statement is no variable<br />

with write access<br />

4259 Start value in 'FOR'<br />

statement is no variable<br />

The start value in the ‚FOR' instruction must be compatible<br />

to the type of the counter variable.<br />

with write access<br />

4260 End value of 'FOR'<br />

statement must be of<br />

The end value in the ‚FOR' instruction must be compatible to<br />

the type of the counter variable.<br />

type 'INT'<br />

4261 Increment value of<br />

'FOR' statement must<br />

The incremental value in the ‚FOR' instruction must be<br />

compatible to the type of the counter variable.<br />

be of type 'INT'<br />

4262 'EXIT' outside a loop Use 'EXIT' only within 'FOR', 'WHILE' or 'UNTIL' instructions.<br />

4263 Expecting Number,<br />

'ELSE' or 'END_CASE'<br />

Within a ‘CASE' expression you only can use a number or a<br />

'ELSE' instruction or the ending instruction 'END_CASE'.<br />

4264 'CASE' requires<br />

selector of an integer<br />

Make sure that the selector is of an integer or bitstring data<br />

type (e.g. DINT, DWORD).<br />

type<br />

4265 Number expected after ',' In the enumeration of the CASE selectors there must be<br />

inserted a further selector after a comma.<br />

4266 At least one statement Insert an instruction, at least a semicolon.<br />

is required<br />

4267 Function block call<br />

requires function block<br />

instance<br />

The identifier in the functionblock call is no instance. Declare<br />

an instance of the desired functionblock or use the name of<br />

an already defined instance.<br />

4268 Expression expected Insert an impression here.<br />

4269 'END_CASE' expected<br />

after 'ELSE'-branch<br />

Terminate the 'CASE' instruction after the 'ELSE' part with an<br />

'END_CASE'.<br />

4270 'CASE' constant '%ld'<br />

already used<br />

A 'CASE' selector may only be used once within a ‘CASE'<br />

instruction.<br />

4271 The lower border of the<br />

range is greater than<br />

the upper border.<br />

Modify the area bounds for the selectors so that the lower<br />

border is not highte than the upper border.<br />

4272 Exptecting parameter<br />

'%s' at place %d in call<br />

of '%s'!<br />

4273 Parts of the 'CASE'-<br />

Range '%ld..%ld'<br />

already used in Range<br />

'%ld..%ld'<br />

4274 Multiple 'ELSE' branch<br />

in 'CASE' statement<br />

4300 Jump requires 'BOOL'<br />

You can edit a function call in that way, that also the<br />

parameter names are contained, not only the parameter<br />

values. But nevertheless the position (sequence) of the<br />

parameters must be the same as in the function definition.<br />

Make sure that the areas for the selectors which are used in<br />

the CASE instruction, don’t overlap.<br />

A CASE instruction may not contain more than one ‚ELSE'<br />

instruction.<br />

Make sure that the input for the jump respectively the<br />

as input type<br />

RETURN instruction is a boolean expression.<br />

4301 POU '%s' need exactly The number of inputs does not correspond to the number of<br />

%d inputs<br />

VAR_INPUT and VAR_IN_OUT variables which is given in<br />

the POU definition.<br />

4302 POU '%s' need exactly The number of outputs does not correspond to the number of<br />

%d outputs<br />

VAR_OUTPUT variables which is given in the POU<br />

definition.<br />

4303 '%s' is no operator Replace '' by a valid operator.<br />

4320 Non-boolean<br />

The switch signal for a contact must be a boolean<br />

expression '' expression.<br />

used with contact<br />

4321 Non-boolean<br />

expression ''<br />

used with coil<br />

4330 Expression expected at<br />

input 'EN' of the box<br />

''<br />

The output variable of a coil must be of type BOOL.<br />

Assign an input or an expression to the input EN of POU<br />

'’.<br />

4331 Expression expected at The input of the operator POU is not assigned.<br />

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

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

Saved successfully!

Ooh no, something went wrong!