Any error reports to CODESYS should contain the following information:
- The versions used within the Project,
- A clear error description of what exactly occurs and when,
- The exact ‘Steps to repeat’ (STR) to reproduce the error,
- If possible, a simplified/reduced example project (as a full project archive) with the necessary scope/extent to be able to reproduce the error in it.
Besides the above information, the principle of «more is better» applies here.
In order to be able to answer inquiries efficiently, it is useful to provide all relevant data
-> see also which additional data is helpful and why:
- All used version information
- How to reproduce the problem
- Additional related specifics
- Reporting a runtime exception
— The more detailed information the support team receives, the faster the problem can be isolated, and a resolution provided.
Whom to contact for vendor-specific errors?
- The errors must be reproducible under the Codesys IDE and with a CODESYS SL PLC.
— For errors that occur only under other IDEs, which were modified via brand labelling, the corresponding manufacturer must be contacted.
— For errors that occur only with a device manufacturer’s PLC, the device manufacturer should be contacted to pursue a resolution for the problem.
— This is due to the fact that other IDE manufacturers use Codesys as a platform, but can build their own restrictions or extensions that deviate
from the default interaction, behavior and standards of the Codesys IDE, and therefore can not be pursued by us. - Errors that occur with a library, not developed by CODESYS GmbH
— For errors that occur with a library which was written by a ‘third party’, this ‘third party’ should be contacted for support.
Check the FAQ’s and the FORGE page before reporting bugs.
Please check if the occurring errors have already been covered in the FAQs
or if they have already been recorded and answered under our Forge community.
^GotoTop^
Which additional data is helpful and why?
1. All used version information
To be able to detect problems which may only be related with the used version(s), or to be able to exclude known issues,
the following version information should be provided:
- Version of the CODESYS programming environment (IDE).
- Version of the operating system, the used runtime and processor of the target system.
- Version of the used CODESYS Packages (like SoftMotion, Ethernet, Visualization, etc.).
- Version of the used Visualization Profile for visualization problems within the Visualization Editor and Visu Display Variants.
2. How to reproduce the problem
We always need accurate information and data to recreate the error profile:
- Exact ‘Steps to repeat’ to be able to reproduce the error.
The more precisely the individual steps are described, the less need there is to ask for error reproductions and the less room there is for interpretation when retesting. - A full project archive (not only the CODESYS project!).
This contains the libraries used, the application structure of used functions, etc. - For more complex processes, in addition to the written steps, a short screen recorded video, showing the steps and then the error that occurs, can be very useful.
- Note that sporadic errors are very difficult to solve.
In these cases, you should endeavor to determine the conditions under which it occurs, so that the support team has a chance to reproduce it and investigate.
Depending on the existing problem, different additions to be reported are necessary (or at least helpful in order to correctly understand and comprehend error profiles):
- If available, controller logs, with the appropriate log filter settings, should always be given.
- Screenshots of the error when it occurs in the Codesys IDE.
- In case of fieldbus related errors (or incorrectly displayed values in the different editors of the fieldbus), recording of the communication via ‘Wireshark’,
that ranges from the download/login/start of the controller to after the occurrence of the error behavior, are needed.
^GotoTop^
For reporting a runtime exception
For any exception in the runtime, we need:
- a complete repository/project archive
- the Coredump, in which these exceptions have been marked
Then send the full project archive, with the associated Callstack and a Core Dump, created at the time of the crash:
- When an Exception error occurs from one of the CODESYS visualization elements, please set the compiler-define:
VISU_NO_EXCEPTION_HANDLING
and send a full project archive, with the associated Callstack and a Core Dump, created at the time of the crash:
More detailed information can be found under Debugging a Visu Exception.
If you need technical support, please purchase a Support Ticket in the CODESYS Store.
Note that certain products in the CODESYS Store already include a Support Ticket.
To report
software bugs or if you have a question concerning the products in the CODESYS Store,
click on the «My Question» button next to the shopping cart in the CODESYS Store.
^GotoTop^
See also….
- Our Codesys Online Help (OLH) Website
- Basic information to the Codesys Development System (Codesys Homepage)
- OLH: The Online-help introduction for the Codesys Development System (IDE)
- OLH: To set or find the used ‘Compiler Version’ within a Codesys Project
- OLH: To set or find the used ‘Visualization Profile’ within a Codesys Project
- OLH: The use-case and possibilities of implicit monitoring functions — ‘Implicit Checks’
- OLH: How to ‘Analyzing Errors with Core Dump’ and how to ‘Create a Core Dump’ in the first place
- OLH: the PLC Log and how to Reading the PLC Log
- OLH: Visualization: a system overview, mechanism and display variants
- How to ‘Debugging a Visu Exception’
Если это не поможет, свяжитесь с изготовителем ПЛКCoDeSys V2.310-123Приложение J: Ошибки и предупреждения компилятора3601″<name> is a reserved variable name»Имя данной переменной зарезервировано генератором кода, измените его.3610″ ‘<Name>’ is not supported»Данное свойство не поддерживается в установленной целевой системе.3611″The given compile directory ‘<name>’ is invalid»В ‚Project’ ‚Options’ ‚Directories’ задана несуществующая директория для файлов компилятора.3612″Maximum number of POUs (<number>) exceeded! Compile is aborted.»В проекте используется слишком много POU.
Измените максимум POU в Target Settings / MemoryLayout.3613″Build canceled»Компиляция прервана пользователем.3614″Project must contain a POU named ‘<name>’ (main routine) or a taskconfiguration»Создайте главный POU (т.е. PLC_PRG) или задайте конфигурацию задач.3615″<Name> (main routine) must be of type program»Главный POU (т.е. PLC_PRG) должен иметь тип программа.3616″Programs musn’t be implemented in external libraries»Проект, который предполагается сохранить как внешнюю библиотеку? содержит программы.
Они небудут доступны в библиотеке.3617″Out of memory»Увеличьте размер виртуальной памяти вашего компьютера.CoDeSys V2.310-124Приложение J: Ошибки и предупреждения компилятора3618″BitAccess not supported in current code generator!»Битовый доступ не поддерживается генератором кода данной целевой системы.3619″Object file ‘<name>’ and library ‘<name>’ have different versions!»Убедитесь, что файлы *.lib и *.obj resp. *.hex соответствуют одной версии библиотеки.
Проверьте даты создания этих файлов.3620″The POU ‘<name>’ must not be present inside a library»Вы пытаетесь сохранить библиотеку в формате версии 2.1. В этой версии библиотека не может содержать PLC_PRG, удалите или переименуйте его.3621″Cannot write compile file ‘<name>'»Вероятнее всего, в директории, указанной для файлов компилятора, уже имеется файл с таким именем, имеющий атрибут «Только чтение «. Удалите данный файл либо измените ему права доступа.3622″The symbol file ‘<name>’ could not be created»Вероятнее всего, в директории, указанной для символьных файлов (обычно это директория проекта),уже имеется файл с таким именем, имеющий атрибут «Только чтение «.
Удалите данный файл либоизмените ему права доступа.3623″Cannot write boot project file ‘<name>'»Вероятнее всего, в директории, указанной для загрузочных файлов (специфичных для целевой платформы), уже имеется файл с таким именем, имеющий атрибут «Только чтение «. Удалите данный файллибо измените ему права доступа.3624″Target setting <targetsetting1>=<set value> not compatible with <targetsetting2>=<set value>»Проверьте и исправьте данные установки в диалоге Targetsettings dialogs (вкладка Resources). Если онинедоступны для редактирования, то обратитесь к изготовителю контроллера.3700» POU with name ‘<name>’ is already in library ‘<name>'»Имя POU проекта уже использовано в библиотеке, измените его.CoDeSys V2.310-125Приложение J: Ошибки и предупреждения компилятора3701″Name used in interface is not identical with POU Name»Используйте команду ‘Project’ ‘Rename object’ для изменения памяти POU в организаторе объектовлибо измените имя в окне объявления POU.
Имя POU следует за одним из ключевых слов: PROGRAM, FUNCTION или FUNCTIONBLOCK.3702″Overflow of identifier list»Не более 100 идентификаторов могут быть использованы при объявлении одной переменной.3703″Duplicate definition of identifier ‘<Name>'»Убедитесь, что только один идентификатор ‘<Name>’ присутствует в разделе объявлений POU.3704″data recursion: «<POU 0> -> <POU 1> -> .. -> <POU 0>»»Применен не допустимый вызов экземпляром функционального блока самого себя.3705″<Name>: VAR_IN_OUT in Top-Level-POU not allowed, if there is no Task-Configuration»Создайте конфигурацию задач или убедитесь, что переменные VAR_IN_OUT не используются вPLC_PRG.3720″Address expected after ‘AT'»После ключевого слова AT должен быть указан корректный адрес.3721″Only ‘VAR’ and ‘VAR_GLOBAL’ can be located to addresses»Поместите объявление в область VAR или VAR_GLOBAL.3722″Only ‘BOOL’ variables allowed on bit addresses»Только переменные типа BOOL могут адресовать биты.
Измените адрес или тип переменной.3726″Constants can not be laid on direct addresses»Константы нельзя располагать по прямым адресам.CoDeSys V2.310-126Приложение J: Ошибки и предупреждения компилятора3727″No array declaration allowed on this address»Объявление может быть произведено по указанному адресу. Измените адрес.3728″Invalid address: ‘<address>'»Указанный адрес не определен для заданной конфигурации ПЛК. Измените адрес или конфигурациюПЛК.3729″Invalid type ‘<name>’ at address: ‘<Name>’ «Переменная данного типа не может быть размещена по указанному адресу.
Например: адрес AT%IB1:WORD; не допустим, если включено выравнивание по четным адресам. Данная ошибка можетвозникнуть при попытке разместить массив по недопустимому прямому адресу.3740″Invalid type: ‘<Name>’ «Ошибка в типе данных объявления.3741″Expecting type specification»Ключевое слово или оператор использован вместо типа данных3742″Enumeration value expected»В определении перечисления пропущен идентификатор после скобки либо разделитель.3743″Integer number expected»Перечисления можно инициализировать только целыми значениями (INT).3744″Enum constant ‘<name>’ already defined»Проверьте соблюдение следующих правил при объявлении перечислений:•Все значения в одном перечислении должны быть уникальны.•Во всех глобальных перечислениях все значения должны быть уникальны.•Во всех локальных перечислениях все значения должны быть уникальны.CoDeSys V2.310-127Приложение J: Ошибки и предупреждения компилятора3745″Subranges are only allowed on Integers!»Переменные с ограниченным диапазоном образуются только на целочисленных типах.3746″Subrange ‘<name>’ is not compatible with Type ‘<name>'»Один из пределов диапазона выходит за область значений базового типа.3747″unknown string length: ‘<name>'»Для определения длины строки используется ошибочная константа.3748″More than three dimensions are not allowed for arrays»Нельзя использовать массивы с размерностью более трех.
Используйте ARRAY OF ARRAY при необходимости.3749″lower bound ‘<name>’ not defined»Не задана константа, определяющая нижнюю границу диапазона.3750″upper bound ‘<name>’ not defined»Не задана константа, определяющая верхнюю границу диапазона.3751″Invalid string length ‘<number of characters>'»Заданный размер строки превышает допустимый в данной целевой системе.3752“More than 9 dimensions are not allowed for nested arrays»Массив может быть 1- 2- или 3-мерный. Размерность можно еще увеличить путем вложений массивов(например, «arr: ARRAY [0..2,0..2,0..2] OF ARRAY [0..2,0..2,0..2] OF ARRAY [0..2,0..2,0..2, 0..2] OFDINT».
Максимальная размерность не должна превышать 9. Данная ошибка говорит о превышенииэтого ограничения. Уменьшите вложенность массивов.3760″Error in initial value»CoDeSys V2.310-128Приложение J: Ошибки и предупреждения компилятораИспользуйте для инициализации значение, совместимое с типом переменной. Изменяя объявление,воспользуйтесь диалогом объявлений переменных (Shift/F2 или ‘Edit»Autodeclare’).3761″‘VAR_IN_OUT’ variables must not have an initial value.»Удалите инициализацию в объявлении переменной VAR_IN_OUT.3780″‘VAR’, ‘VAR_INPUT’, ‘VAR_OUTPUT’ or ‘VAR_IN_OUT’ expected»В следующей за определением имени POU строке должно быть одно из перечисленных ключевыхслов.3781″‘END_VAR’ or identifier expected»Введите корректное определение END_VAR в данной строке окна объявлений.3782″Unexpected end»В разделе объявлений: добавьте ключевое слово END_VAR в конце раздела.В разделе кода: добавьте инструкцию, заканчивающую команду (например, END_IF).3783″END_STRUCT’ or identifier expected»Проверьте правильность окончания определения типа.3784″The current target doesn’t support attribute <attribute name>»Данная целевая система не поддерживает переменные такого типа (например, RETAIN, PERSISTENT)3800″The global variables need too much memory.
Increase the available memory in the project options.»Увеличьте число сегментов в опциях диалога Project’ ‚Options’ ‚Build’.3801″The variable ‘<Name>’ is too big. (<size> byte)»Переменная использует тип, занимающий более одного сегментаРазмер сегмента определяется настройкой целевой платформы. Если вы не нашли этого параметра вопциях памяти, свяжитесь с изготовителем ПЛК.CoDeSys V2.310-129Приложение J: Ошибки и предупреждения компилятора3802″Out of retain memory. Variable ‘<name>’, <number> bytes.»Израсходована вся память Retain переменных.
0 / 0 / 0 Регистрация: 14.05.2015 Сообщений: 7 |
|
1 |
|
14.05.2015, 22:11. Показов 10807. Ответов 10
Добрый день.
__________________
0 |
Programming Эксперт 94731 / 64177 / 26122 Регистрация: 12.04.2006 Сообщений: 116,782 |
14.05.2015, 22:11 |
Ответы с готовыми решениями: Внутреняя ошибка связи или нет связи с удалённым сервером
Ошибка связи. Ошибка связи 10 |
91 / 86 / 12 Регистрация: 08.08.2013 Сообщений: 667 |
|
14.05.2015, 23:01 |
2 |
На вкладке «онлайн» галочка «Режим эмуляции» стоит?
0 |
0 / 0 / 0 Регистрация: 14.05.2015 Сообщений: 7 |
|
14.05.2015, 23:31 [ТС] |
3 |
Спасибо, заработало!! Добавлено через 13 минут
0 |
0 / 0 / 0 Регистрация: 14.05.2015 Сообщений: 7 |
|
14.05.2015, 23:59 [ТС] |
4 |
Или просто вход А = выход В Миниатюры
0 |
Почетный модератор 28037 / 15768 / 981 Регистрация: 15.09.2009 Сообщений: 67,753 Записей в блоге: 78 |
|
15.05.2015, 08:29 |
5 |
онлайн — логин
0 |
0 / 0 / 0 Регистрация: 14.05.2015 Сообщений: 7 |
|
15.05.2015, 08:48 [ТС] |
6 |
Совершенно верно, уважаемый. Но как увидеть изменение значений выходов?
0 |
0 / 0 / 0 Регистрация: 14.05.2015 Сообщений: 7 |
|
15.05.2015, 08:55 [ТС] |
7 |
Вот Миниатюры
0 |
0 / 0 / 0 Регистрация: 14.05.2015 Сообщений: 7 |
|
15.05.2015, 08:56 [ТС] |
8 |
Вход А изменяю, выход В не меняется…
0 |
Почетный модератор 28037 / 15768 / 981 Регистрация: 15.09.2009 Сообщений: 67,753 Записей в блоге: 78 |
|
15.05.2015, 08:57 |
9 |
не нужно. двойной щелчок — ctrl+F7
1 |
0 / 0 / 0 Регистрация: 14.05.2015 Сообщений: 7 |
|
15.05.2015, 09:20 [ТС] |
10 |
O my god, заработалааа! Спасибо! Добавлено через 12 минут
0 |
91 / 86 / 12 Регистрация: 08.08.2013 Сообщений: 667 |
|
15.05.2015, 10:06 |
11 |
сверху, там где объявляются переменные типа ton1:ton;
0 |
IT_Exp Эксперт 87844 / 49110 / 22898 Регистрация: 17.06.2006 Сообщений: 92,604 |
15.05.2015, 10:06 |
Помогаю со студенческими работами здесь CodeSYs v 2.3.9.43 Codesys ошибка в связи с базой WAIT на CODESYS 2.3 Искать еще темы с ответами Или воспользуйтесь поиском по форуму: 11 |