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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

TWINCAT PLC – Lista de erros<br />

1503 The POU ‘’ has<br />

no outputs. Box result<br />

is set to 'TRUE'.<br />

1504 ’ (‘’):<br />

Statement may not be<br />

executed due to the<br />

evaluation of the logical<br />

expression<br />

1505 Side effect in ''!<br />

Branch is probably not<br />

executed !<br />

1506 Variable '%s' has the<br />

same name as a local<br />

action. The action will<br />

not be called!<br />

1600 Open DB unclear<br />

(generated code may<br />

be erroneous).<br />

1700 Input box without<br />

assignment.<br />

1800 (element<br />

#):<br />

Invalid watchexpression<br />

'%s'<br />

1801 ' (number): No<br />

Input on Expression<br />

'' possible<br />

1900 POU '' (main<br />

routine) is not available<br />

in the library<br />

1901 Access Variables and<br />

Variable Configurations<br />

are not saved in a<br />

library!<br />

1902 '': is no Library<br />

for the current machine<br />

type!<br />

1903 : is no valid<br />

Library<br />

BECKHOFF New Automation Technology<br />

The Output pin of a POU which has no outputs, is connected<br />

in FBD or KOP. The assignment automatically gets the value<br />

TRUE.<br />

Eventually not all branches of the logic expression will be<br />

executed. Example:<br />

IF a AND funct(TRUE) THEN<br />

If a has is FALSE then funct will not be called.<br />

The first input of the POU is FALSE, for this reason the side<br />

branch, which may come in at the second input, will not be<br />

executed.<br />

Rename the variable or the action.<br />

The original Siemens program does not tell, which POU is<br />

openend.<br />

An input box is used in CFC which has no assignment. For<br />

this no code will be generated.<br />

The visualization element contains an expression which<br />

cannot be monitored. Check variable name and placeholder<br />

replacements.<br />

In the configuration of the visualization object at field input a<br />

composed expression is used. Replace this by a single<br />

variable.<br />

The Start-POU (z.B. PLC_PRG) will not be available, when<br />

the project is used as library.<br />

Access variables and variable configuration are not stored in<br />

the library.<br />

The .obj file of the lib was generated for another device.<br />

The file does not have the format requested for the actual<br />

target.<br />

1.2 – ERROS DE COMPILAÇÃO<br />

Nº erro Mensagem de erro Possível causa<br />

3100 Code too large.<br />

Maximum size:<br />

'' Byte<br />

(K)<br />

3101 Total data too large.<br />

Maximum size:<br />

'' Byte<br />

(K)<br />

3110 Error in library file<br />

''.<br />

3111 Library '' is too<br />

large. Maximum size:<br />

64K<br />

3112 Nonrelocatable<br />

instruction in library.<br />

3113 Library code overwrites<br />

function tables.<br />

3114 Library uses more than<br />

one segment.<br />

3115 Unable to assign<br />

constant to<br />

VAR_IN_OUT.<br />

Incompatible data types .<br />

The maximum program size is exceeded. Reduce project<br />

size.<br />

Memory is exceeded. Reduce data usage of the application.<br />

The .hex file is not in INTEL Hex format.<br />

The .hex file exceeds the set maximum size.<br />

The .hex file contains a nonrelocatable instruction. The<br />

library code cannot be linked.<br />

The ranges for code and function tables are overlapping.<br />

The tables and the code in the .hex file use more than one<br />

segment.<br />

The internal pointer format for string constants cannot get<br />

converted to the internal pointer format of VAR_IN_OUT,<br />

because the data are set "near" but the string constants are<br />

set " huge" or "far". If possible change these target settings.<br />

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

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

Saved successfully!

Ooh no, something went wrong!