Search talk: Codesys C code integration

 
<< < 1 .. 145 146 147 148 149 .. 918 > >> (Page 147 of 918)

Post by alex-at-xana on EThercat Dynamic configuration CODESYS Forge talk (Post)
Hi Everyone, For a fast monitoring system I am using Ethercat oversampling and timestamping inputs. As the customers has a lot of different configurations out in the field, we went for a dynamic Ethercat configuration. Already got the whole detection chain working but now I am stuck since two days in debugging the configuration. Here are my quesitons: I extended the dynamic config example for the EL3632 16#0E303052: //EL3632 pSlave^.SetDCSettings(TRUE,TRUE,80,80,TRUE,4000,0,0); pSlave^.AddSyncManager(16#1000,128,16#26,TRUE,3); pSlave^.AddSyncManager(16#1080,128,16#22,TRUE,2); pSlave^.AddSyncManager(16#1100,0,16#4,TRUE,1); pSlave^.AddSyncManager(16#1110,214,16#20,TRUE,0); pSlave^.AddFMMU(0,214,0,7,16#1110,0,1,1); pSlave^.AddFMMU(0,1,0,0,16#80D,0,1,1); xKnown := TRUE; This leads to a PLL Error for these devices. I double and triple checked the configuraton, but cannot find the issue. There seems to be one difference: the config dialog creates a startup parameter: 16#10F3:16#05, Name: Command_0, Value:0. Bitlen: 16, Stop on fault: false, jumpt at fault: false: next line: 0 a) I do not find information on how to set this in my code. Can you help me there? b) Without trying to set the value, I get a PLL error for these devices in the master log. Is the config wrong? c) Do I need to set the Master to Autoconfigure or Manual? I used autoconfigure for my tests. The stack creates input data addresses for the slaves input data range (pSlaves[i].InputData) which are different from those created when I use the Engineering tools dialogs to configure Ethercat. Specifically, the addresses seem to be aligned at 16 byte boundaries when they are created using the engineering tool, but may appear at uneven addresses when I use the script in dynamic config. I did not try to access ULINT at uneven addresses yet, but I am suspecting this may be a problem. Do I need to manually align the addresses ? Any help is appreciated...
Last updated: 2024-09-10

Problems connecting to Codesys 4.9.0.0 runtime on my Wago PFC200 CODESYS Forge talk (Thread)
Problems connecting to Codesys 4.9.0.0 runtime on my Wago PFC200
Last updated: 2023-08-26

CODESYS Automation Server Connector for 3.5 SP11 CODESYS Forge talk (Thread)
CODESYS Automation Server Connector for 3.5 SP11
Last updated: 2023-08-30

Introductory short video series on PLC programming (CODESYS) CODESYS Forge talk (Thread)
Introductory short video series on PLC programming (CODESYS)
Last updated: 2023-08-28

Network Variable List in Codesys 3.5 on CAN CODESYS Forge talk (Thread)
Network Variable List in Codesys 3.5 on CAN
Last updated: 2023-08-05

How to read structure in CodeSys using pythong script? CODESYS Forge talk (Thread)
How to read structure in CodeSys using pythong script?
Last updated: 2017-10-09

Barcode-Reader O2I (TCP/IP) mit Codesys auslesen CODESYS Forge talk (Thread)
Barcode-Reader O2I (TCP/IP) mit Codesys auslesen
Last updated: 2018-04-01

Compiling CoDeSys project using the command line interface CODESYS Forge talk (Thread)
Compiling CoDeSys project using the command line interface
Last updated: 2021-01-27

General question about Codesys and control RTE CODESYS Forge talk (Thread)
General question about Codesys and control RTE
Last updated: 2020-01-27

Newbie questions regarding CodeSys V3 Modbus RTU CODESYS Forge talk (Thread)
Newbie questions regarding CodeSys V3 Modbus RTU
Last updated: 2016-06-09

Codesys Wago Going Online from Different Computer CODESYS Forge talk (Thread)
Codesys Wago Going Online from Different Computer
Last updated: 2022-12-15

Adding a CANBUS device on Codesys Control Linux SL CODESYS Forge talk (Thread)
Adding a CANBUS device on Codesys Control Linux SL
Last updated: 2022-05-25

CODESYS Control Not Showing Up in Devices CODESYS Forge talk (Thread)
CODESYS Control Not Showing Up in Devices
Last updated: 2023-01-02

Datenaustausch zwischen mehreren Codesys-SPS in Echtzeit CODESYS Forge talk (Thread)
Datenaustausch zwischen mehreren Codesys-SPS in Echtzeit
Last updated: 2022-11-18

Codesys 2.3 Größere Texte, Strings in Visu darstellen CODESYS Forge talk (Thread)
Codesys 2.3 Größere Texte, Strings in Visu darstellen
Last updated: 2010-12-10

CoDeSys Beipiel mit Balluff Ident-System gesucht. CODESYS Forge talk (Thread)
CoDeSys Beipiel mit Balluff Ident-System gesucht.
Last updated: 2009-02-03

Importing variable list from Excel into Codesys CODESYS Forge talk (Thread)
Importing variable list from Excel into Codesys
Last updated: 2018-03-21

Calling CODESYS. exe with or without argument: --noUI CODESYS Forge talk (Thread)
Calling CODESYS. exe with or without argument: --noUI
Last updated: 2022-09-24

Codesys Soft PLC connection to TOP OPC UA- Server CODESYS Forge talk (Thread)
Codesys Soft PLC connection to TOP OPC UA- Server
Last updated: 2021-03-22

[FATAL ERROR] Unresolved reference: 'USERMGRUSERGETPROPERTY' on Codesys 3.5 SP19 CODESYS Forge talk (Thread)
[FATAL ERROR] Unresolved reference: 'USERMGRUSERGETPROPERTY' on Codesys 3.5 SP19
Last updated: 2023-04-02

CODESYS Automation Server Connector [1.12.0.0] Installation Error CODESYS Forge talk (Thread)
CODESYS Automation Server Connector [1.12.0.0] Installation Error
Last updated: 2020-09-12

Disable Codesys communication on fieldbus ethernet card CODESYS Forge talk (Thread)
Disable Codesys communication on fieldbus ethernet card
Last updated: 2022-06-13

Problem beim Starten der Codesys Runtime auf einer PFC200 CODESYS Forge talk (Thread)
Problem beim Starten der Codesys Runtime auf einer PFC200
Last updated: 2019-10-14

Questions refering Codesys OPC UA PubSub Library CODESYS Forge talk (Thread)
Questions refering Codesys OPC UA PubSub Library
Last updated: 2021-03-19

MQTT für CODESYS Control for PFC200 SL CODESYS Forge talk (Thread)
MQTT für CODESYS Control for PFC200 SL
Last updated: 2017-05-09

<< < 1 .. 145 146 147 148 149 .. 918 > >> (Page 147 of 918)

Showing results of 22932

Sort by relevance or date