Hi, this here: https://help.codesys.com/webapp/RMyqti2qMZZtTODOaHlN71rMvfI%2Ffld-DynamicConfig;product=EtherCATStack;version=3.5.16.0 BR Edwin
hallo Stefan du müsstest erst mal die Gerätebeschreibung des Raspberry Pi ändern: (ob weitere Änderungen in den Libs auch notwendig sind - keine Ahnung habs nicht ausprobiert) EIgentlilch haben wir nicht vor das zu ändern, da ich es schon relativ ungewöhnlich finde - was machst du genau wieso benötigst du 3? Grüße Edwin
hallo Stefan du müsstest erst mal die Gerätebeschreibung des Raspberry Pi ändern: (ob weitere Änderungen in den Libs auch notwendig sind - keine Ahnung habs nicht ausprobiert) EIgentlilch haben wir nicht vor das zu ändern, da ich es schon relativ ungewöhnlich finde - was machst du genau wieso benötigst du 3?
Hi Stefan, please use the CODESYS Store to report the bugs: - CODESYS Store -> my question -> bug... add the project where it happens. BR Edwin
Hi Stefan, please use the CODESYS Store to report the bugs: - CODESYS Store -> my question -> bug... BR Edwin
Hi, but is this really RASBIAN Buster? This is a different OS image isn't it?
yes, now I need a cat /proc/cpuinfo and a ifconfig from CLI
check this clip for the news on 1.9.0.0 release: https://www.youtube.com/watch?v=oQijZD4h4zI
...need the output of: cd /var/opt/codesys sudo /opt/codesys/bin/codesyscontrol_armv7l_raspberry.bin -d /etc/CODESYSControl.cfg BR Edwin the logfile does not help in this case..
Hi, GPIOs B+/Pi2 there are the correct one even for PI3 and PI4 and everything works without limitation for 2h without license. BR Edwin
Hi, I would use CODESYS V3 on the PFC for your Tesla battery monitoring, then you could use your phone to see the webvisu to monitor all the data. In combination with the CODESYS Automation Server - to see all these data possible even if you are not in the same network is a big benefit. CODESYS V2.3 webvisu is Java based - which is outdated and not easy to view on mobile devices without additional software installed. You could use these PFC's with either CODESYS V2.3, eCOCKPIT or CODESYS V3 just...
Hi, I would use CODESYS V3 on the PFC for your Tesla battery monitoring, then you could use your phone to see the webvisu to monitor all the data. In combination with the CODESYS Automation Server - to see all these data possible even if you are not in the same network is a big benefit. CODESYS V2.3 webvisu is Java based - which is outdated and not easy to view on mobile devices without additional software installed. You could use these PFC's with either CODESYS V2.3, eCOCKPIT or CODESYS V3 just...
On my PI4 this works anything special? we need the /tmp/codesyscontrol.log or maybe better stop the runtime and start it manually by: sudo /etc/init.d/codesyscontrol stop then for the multicore version cd /var/opt/codesys sudo /opt/codesys/bin/codesyscontrol_armv7l_raspberry.bin -d /etc/CODESYSControl.cfg for the singecore version cd /var/opt/codesys sudo /opt/codesys/bin/codesyscontrol_armv6l_raspberry.bin -d /etc/CODESYSControl.cfg Maybe a corrupt application or application with a bug lead to a...
On my PI4 this works anything special? we need the /tmp/codesyscontrol.log or maybe better stop the runtime and start it manually by: sudo /etc/init.d/codesyscontrol stop then for the multicore version cd /var/opt/codesys sudo /opt/codesys/bin/codesyscontrol_armv7l_raspberry.bin -d /etc/CODESYSControl.cfg for the singecore version cd /var/opt/codesys sudo /opt/codesys/bin/codesyscontrol_armv6l_raspberry.bin -d /etc/CODESYSControl.cfg Maybe corrupt application - remove it by the runtime deploytool(use...
On my PI4 this works anything special? we need the /tmp/codesyscontrol.log or maybe better stop the runtime and start it manually by: sudo /etc/init.d/codesyscontrol stop then for the multicore version cd /var/opt/codesys sudo /opt/codesys/bin/codesyscontrol_armv7l_raspberry.bin -d /etc/CODESYSControl.cfg for the singecore version cd /var/opt/codesys sudo /opt/codesys/bin/codesyscontrol_armv6l_raspberry.bin -d /etc/CODESYSControl.cfg Maybe corrupt application - remove it by the runtime deploytool?...
On my PI4 this works anything special? we need the /tmp/codesyscontrol.log
In my PI4 this works anything special? we need the /tmp/codesyscontrol.log
Hallo, du must die implizit angelegt Instanz aufrufen, dann stimmt der Status: Beispiel: EK1100(); EL2008(); EL2252(); EL1252(); EL3202(); IF EK1100.wState = ETC_SLAVE_STATE.ETC_SLAVE_OPERATIONAL THEN ; END_IF oder eben so wie in der online Hilfe beschrieben: https://help.codesys.com/webapp/_ecat_lib_concate_list;product=core_EtherCAT_Configuration_Editor;version=3.5.15.0
hm... this is the default the devices go in operational from startup, so I'm asking what is o this device different. I fear you need to ask the manufacturer...or the slaves have a problem? I would enable 'CANOPEN_DEBUG' as compiler define and check the plclogger afterwards!
hm... this is the default the devices go in operational from startup, so I'm asking what is o this device different. I fear you need to ask the manufacturer...?!
which CODESYS version is this (exactly)?
Hello, I would give this a try: https://store.codesys.com/control-loop-library.html?store=default&from_store=en
hm nein... also wenn die ne SPI Schnittstelle haben sollte/könnte es schon gehen. Klar musst du ein Treiber dafür machen oder eben über SPI eben das in der Applikation auslesen.
hm... also wenn die ne SPI Schnittstelle haben sollte/könnte es schon gehen. Klar musst du ein Treiber dafür machen oder eben über SPI eben ads ganze in der Applikation auslesen.
hi, just scan these Ethercat devices - and then -> update device from the default EL2521 to the one which comes with the CODESYS setup including SoftMotion. BR Edwin
Hi, maybe attached project give some ideas how this might work with VisuUtils Library.. BR Edwin
not really a scheme, but a picture, there was quadcopter for a fair which was controlled by Raspberry PI and the adafruit pwm card
not really a scheme, but a picture, there was quadcopter for a fair which was controlled by Raspberry PI and the adafruit pwm
Hi, which version of the runtime is this? BR Edwin
hm.. what happens if you use "c:\Users\<windowsusername>\CODESYS Control for Raspberry PI\3.5.15.40\Examples\I2CExamples.project" </windowsusername> if wiring to the first port is done your motor should move if you set here . . Adafruit_PWM.alrPWM[0] := lrvalue; additional it should be possible to use the Softmotion part (sure only MC_MoveVelocity might work with this) BR Edwin
Hi, which device and for which CODESYS Version? (CODESYS V2.3 or V3 or e!COCKPIT?) BR Edwin
hm.. what happens if you use "c:\Users\<windowsusername>\CODESYS Control for Raspberry PI\3.5.15.40\Examples\I2CExamples.project" </windowsusername> if wiring to the first port is done your motor should move if you set here . . Adafruit_PWM.alrPWM[0] := lrvalue; additional it should be possible to use the Softmotion part (sure only MC_MoveVelocity might work with this) BR Edwin
hm.. what happens if you use "c:\Users\<windowsusername>\CODESYS Control for Raspberry PI\3.5.15.40\Examples\I2CExamples.project" </windowsusername> if wiring to the first port is done your motor should move if you set here . . Adafruit_PWM.alrPWM[0] := lrvalue; additional it should be possible to use the Softmotion part (sure only MC_MoveVelocity might work with this) BR Edwin
Hi Manuel, which runtime version is this? Please check the plclogger (login with CODESYS) for more information - BR Edwin
hm.. I would try to solve the root cause, try to improve the application - did you already use checkbounds and things like that? If it crash, is it just the CODESYS runtime or does the Pi freeze is unreachable by ssh? How often a week does it occure? I would start the runtime manually to get mot log information in case of an runtime crash. 1. stop the runtime: by sudo /etc/init.d/codesyscontrol stop 2. cd /var/opt/codesys sudo /opt/codesys/bin/codesyscontrol.bin -d /etc/CODESYSControl.cfg 3. in a...
Which version of the runtime do you use? sorry my fault cd /var/opt/codesys sudo /opt/codesys/bin/codesyscontrol_armv6l_raspberry.bin -d /etc/CODESYSControl.cfg and for Multicore: cd /var/opt/codesys sudo /opt/codesys/bin/codesyscontrol_armv7l_raspberry.bin -d /etc/CODESYSControl.cfg if the crash is in IEC the application it should be possible to go to the plclogger and rightclick on the exception line to get the line of code where it happens. So this is the first what youi need to do.
Which version of the runtime do you use? sorry my fault cd /var/opt/codesys sudo /opt/codesys/bin/codesyscontrol_armv6l_raspberry.bin -d /etc/CODESYSControl.cfg and for Multicore: cd /var/opt/codesys sudo /opt/codesys/bin/codesyscontrol_armv7l_raspberry.bin -d /etc/CODESYSControl.cfg
Which version of the runtime do you use?
Which Version of the runtime so you use?
hm.. I would try to solve the root cause, try to improve the application - did you already use checkbounds and things like that? If it crash, is it just the CODESYS runtime or does the Pi freeze is unreachable by ssh? How often a week does it occure? I would start the runtime manually to get mot log information in case of an runtime crash. 1. stop the runtime: by sudo /etc/init.d/codesyscontrol stop 2. cd /var/opt/codesys sudo /opt/codesys/bin/codesyscontrol.bin -d /etc/CODESYSControl.cfg 3. in a...
Hi, did you check: "c:\Users\<yourwindowsusername>\CODESYS Control for Raspberry PI\3.5.15.40\Examples\I2CExamples.project" "c:\Users\<yourwindowsusername>\CODESYS Control for Raspberry PI\3.5.15.40\Examples\SoftMotion Servo Example.project" </yourwindowsusername></yourwindowsusername> or here a lot of older snippets not only for the Adafruit PWM https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/?limit=25#333d BR Edwin
Control Win...
hm... not sure, but did'nt have we this topic when i gave the advice use the CODESYS Automation server? ;-) But there was the advice what need to be copied an where, in that old post. Maybe I'm wrong. BR Edwin so the steps are: Generate the offline bootproject and copy these files to ....plclogic and change the CODESYSControl.cfg add the Applicationname...
hm... not sure, but did'nt have we this topic when i gave the advice use the CODESYS Automation server? ;-) But there was the advice what need to be copied an where, in that old post. Maybe I'm wrong. BR Edwin
Hi, Target Visu is not supported you could use Chromium in kioks mode, this is then like fullscreen targetvisu: How to archive this? You need to install the following: 1. Install chromium, x11-xserver-utils and uncluttersudo apt-get update && apt-get upgrade -y sudo apt-get install chromium x11-xserver-utils unclutter 2. We need to prevent screen from going blank and disable screen saver. – edit /etc/xdg/lxsession/LXDE/autostart and comment # screen saver line and add those lines: sind buster ( sudo...
Yes, for sure mac address is involved..
Yes, for sure mac address ist involved..
Hi, please write to the CODESYS Store -> my question should work that way.
here:
You could check with the CODESYS file browser if these visu files are in /PlcLogic/Visu directory - and check the plclogger.. BR Edwin
You could check with the CODESYS file browser if these visu files are in /PlcLogic/Visu directory - and check the plclogger..
Hi, for me it is not really clear, are you try to login by eCOCKPIT or CODESYS? eCOCKPIT has only the TCP Blockdriver enabled to login to the plc/PFC. If the Gateway does not start you could try to reactivate it by C:\ProgramData\CODESYS\CODESYSGatewayV3\ ServiceControl.exe -r GatewayService.exe -r and then ServiceControl.exe -i GatewayService.exe -i ( do this in CLI - started with run as admin) BR Edwin PS: You could use eCockpit with the default Runtime which comes with the PFC or you could use...
what kind of problem do you have with reliability? Multicore just give to possibility to distribute parts of the application to specific cores. Maybe on a high loaded system this helps, but in general for better reliability ... BR Edwin
no - should work, will be fixed with next release. (should come out on 30.4)
no - should work, will be fixed with next release.
There ist no version available for redudancy on Raspberry Pi, so no chance to get it up and runinng.
There ist no version available for redudancy in Raspberry Pi, so no chance to geht it up and runinng.
Hi, which CODESYS and Runtime version? and check the plclogger, did you enable that the Siemens pn controller is allowed to write the IP Adresss? This could be archived here: https://help.codesys.com/webapp/_pnio_runtime_configuration_device;product=core_ProfinetIO_Configuration_Editor;version=3.5.15.0 in /etc/CODESYSControl_User.cfg [SysSocket] Adapter.0.Name="eth0" Adapter.0.EnableSetIpAndMask=1 BR Edwin
hi this should be covered by this: https://help.codesys.com/webapp/_cds_installing_license;product=codesys;version=3.5.15.0#offline-activation-of-a-windows-based-runtime-system I prefere to use the licenseing by CODESYS PC ( which has then internet and connects to the target plc - which needs no internet) Activation by scripting is possible too. How to do this? Create a project from the Standard template in your case with Contol Win PLC - Configure the communication path (for example add here the...
hi this should be covered by this: https://help.codesys.com/webapp/_cds_installing_license;product=codesys;version=3.5.15.0#offline-activation-of-a-windows-based-runtime-system I prefere to use the licenseing by CODESYS PC ( which has then internet and connects to the target plc - which needs no internet) Activation by scripting is possible to. How to do this? Create a project from the Standard template in your case with Contol Win PLC - Configure the communication path (for example add here the...
check this example here: https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/?limit=25&page=1#75e1
seems to be a bug, the workaround is: -> do a reset original on device to clean up all downloaded files. Then it works like expected.
seems to be a bug, the workaround is: -> do a reset original on device to clean up all downloaded files.
hm.. not sure if in an older version Lexium28 was embeeded in the SoftMotion. Maybe ask the Schneider support this question.
Hi, not a problem of the project, guess you need to tune the drive by the drive comisioning tool which is in this case Twincat. BR Edwin
Hi, not a problem of the project, guess you need to tune the drive by the drive tool which is in this case Twincat. BR Edwin
hm... seems like the setup checks if there already a container - codemeter is an own setup beside Control Win baiscally. Let me check..
yes either copy the .wbb from Developmentsystem or use c:\ProgramFiles\3S CODESYS\GatewayPLC\3SLiencese_SmartBind.wbb on an standalone Control WIn Installation. and no - reinstall CODESYS will not solve to add a new empty softcontainer. BR Edwin
yes either copy the .wbb from Developmentsystem or use c:\ProgramFiles\3S CODESYS\GatewayPLC\3SLiencese_SmartBind.wbb on an standalone Control WIn Installation. and no reinstall CODESYS will not solve to add a new empty softcontainer. BR Edwin
Hi, on your CODESYS developmentsystem as already mentioned: c:\Program Files\CODESYS 3.5.15.40\Temp\3S-Smart_Software_Solutions_Softlicenses.wbb on Control standalone installation in the installirectory of Control Win. BR Edwin
For Beckhoff drives you need to use Twincat for the drive comissioning.
you need to contact the support via helpdesk / my question in the CODESYS Store... you need a remove ticket. Give us the information which two tickets you have activated. Using OS Images on Windows from installed ipc's , need the step - "removing the license container & add a new empty before you activate the license. We will add a description / how to - to the FAQ section. You need to enable the ‘remove license button’ in codemeter. This you could be done by the following Registry entry: HKEY_CURRENT_USER->Software->WIBU-SYSTEMS->CodeMeterCC...
you need to contact the support via helpdesk / my question in the CODESYS Store... you need a remove ticket. Give us the information which two tickets you have activated. Using OS Images on Windows from installed ipc's , need the step - "removing the license container & add a new empty before you activate the license. We will add a description / how to - to the FAQ section. You need to enable the ‘remove license button’ in codemeter. This you could be done by the following Registry entry: HKEY_CURRENT_USER->Software->WIBU-SYSTEMS->CodeMeterCC...
you need to contact the support via helpdesk / my question in the CODESYS Store... you need a remove ticket. Using OS Images on Windows from installed ipc's , need the step - "removing the license container & add a new empty before you activate the license. We will add a description / how to - to the FAQ section. You need to enable the ‘remove license button’ This you could do by Registry: HKEY_CURRENT_USER->Software->WIBU-SYSTEMS->CodeMeterCC AllowCmActDelete set to 1 and then restart Codemeter...
you need to contact the support via Helpdesk / my question in the CODESYS Store... you need a remove ticket. Doing Images from installed ipc , need the step - "removing the license container & add a new empty before you activate the license. We will add a description / how to - to the FAQ section. You need to enable the ‘remove license button’ This you could do by Registry: HKEY_CURRENT_USER->Software->WIBU-SYSTEMS->CodeMeterCC AllowCmActDelete set to 1 and then restart Codemeter by right click in...
you need to contact the support via Helpdesk / my question in the CODESYS Store... you need a remove ticket. Doing Images from installed ipc , need the step - "removing the license container & add a new empty before you activate the license. We will add a description / how to - to the FAQ section.
you need to contact the support via Helpdesk / my question in the CODESYS Store... you need a remove ticket. Doing Images from installed ipc , need the step - "removing the license container & add a new empty before you activate the license.
you need to contact the support via Helpdesk / my question in the CODESYS Store...
Hi, maybe i missunderstand your requirement: think this works on plc side, if you change the image version property ( after you have changed the image in the /visu directory of the plc) -> from release information on this issue: The image element now has a bitmap version property. The image will be reloaded when this version changes. Download a project with an image element ( this happens with having it in the imagepool) - Open Webvisu, Targetvisu or Remote Targetvisu. - Replace the image on the...
Hi, maybe i missunderstand your requirement: think this works, if you change the image version property ( after you have changed the image in the /visu directory of the plc) -> from release information on this issue: The image element now has a bitmap version property. The image will be reloaded when this version changes. Download a project with an image element. - Open Webvisu, Targetvisu or Remote Targetvisu. - Replace the image on the PLC with a different image. - The new image should be shown...
Hi, maybe i missunderstand your requirement: think this works, if you change the image version property ( after you have changed the image in the /visu directory of the plc) -> from release information on this issue: The image element now has a bitmap version property. The image will be reloaded when this version changes. Download a project with an image element. - Open Webvisu, Targetvisu or Remote Targetvisu. - Replace the image on the PLC with a different image. - The new image should be shown...
Baudrate?
Hi, goto the watch windows and check Drive.fbeFBError in case of the error BR Edwin
Hi John, which runtime version does this CR1059 have? (goto plcshell -> rtsinfo BR Edwin
Hi Manan, without looking deeper into the project, you need to call the motion fb's in the Ethercat Master task context. BR Edwin
without looking deeper into the project, you need to call the motion fb's in the Ethercat Master task context. BR Edwin
an easy approach for playing sound on wenvisu is here: https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/?limit=25&page=1#75e1
..
seems that you are using CODESYS as user 'e0037505' user, different as you have been logged in when you have installed the backage. Is this possible? Either install it again under this user or copy it from the "c:\Users\<windowsusername>\CODESYS Control for Raspberry PI\" to your 'e0037505' user. This explains the missing command too.</windowsusername> BR Edwin
seems that you are using CODESYS as user 'e0037505' user, different as you have been logged in when you have installed the backage. Is this possible? Either install it again under this user or copy it from the "c:\Users\<windowsusername>\CODESYS Control for Raspberry PI\" # to your e0037505 user. This explains the missing command too.</windowsusername> BR Edwin
.... bauchen bisschen mehr Details 😉
Hi, this is user rights related .. maybe, Workaround: You could add the update command manually: BR Edwin
Hi, this is user rights related .. You could add the update command manually: BR Edwin
Hi, this is user rights related .. You could add the update command manually: BR Edwin
Hi, this is user rights related .. You could add the update command manually: BR Edwin
No, just restart CODESYS, after Install Tagen package from the CODESYS Store..
In case of the error you should check the axiserror and logger in the plc -
Hi, remove if there is an section in /etc/CODESYSControl.cfg and add change it here in: /etc/CODESYSControl_Users.cfg [SysCom] Linux.Devicefile.1=/dev/ttyAMA if USB com port should be your Com1 in CODESYS... BR Edwin
Hi, which protokoll you prefer to use? From the datasheet: SMTP/TLS, POP3/TLS Communication Protocols PakBus, Modbus, DNP3, SDI-12, TCP, UDP, and others Modbus would bei sure an option in PI side. BR Edwin