Search talk: max

 
<< < 1 2 3 > >> (Page 2 of 3)

Post by bitwitch on Einheiten umrechnen, Numpad und Eingabegrenzen CODESYS Forge talk (Post)
Das Codesys-Objekt 'Einheiten umrechnen' wirkt auf timeVar (TIME) z.B. innerhalb eines Visu-Rechtecks und funktionier in den Grundfunktionen einwadfrei. Die Ausgabe der Std. von timeVar läuft. Beispiel: Bei t#3d2h10m wird wunschgemäß 74h (volle Std-Anzahl). Die Grenzüberwachung Max= 10 funktioniert nicht, da die Angabe scheinbar ms erwartet (arbeitet mit 10ms). Irgend wie muss man jetzt codesys davon überzeugen, dass auch für Min und Max die Einheitenumrechnerei wirken soll, wobei die Eingabe der Grenzen in Std erfolen muß. Hat jemad einen TiPPPPPPPPP?
Last updated: 2024-06-14

Post by paro on OPCUA array max length? CODESYS Forge talk (Post)
I think the amount of data is already relatively high and maybe it has something to do with that? Maybe also the CPU load of your device? an array with string(5000)? and have you tested with how many array elements it still works?
Last updated: 2024-02-17

Post by gurkan on OPCUA array max length? CODESYS Forge talk (Post)
2000 works. When testing with UA Expert there is a timeout from the OPCUA Server when trying to subscribe to the variable CPU do not seems to be to affected. The memory(RAM) however is building up
Last updated: 2024-02-19

Post by timvh on CAA SerialCOM - hCom Reset max value 1023 CODESYS Forge talk (Post)
You should only open de COM port once and then leave it open. This hCom should not keep on incrementing. (off course when you are done communicating, you need to close the COM port)
Last updated: 2024-03-22

Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023 CODESYS Forge talk (Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28

Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023 CODESYS Forge talk (Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28

Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023 CODESYS Forge talk (Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28

Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023 CODESYS Forge talk (Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28

Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023 CODESYS Forge talk (Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28

Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023 CODESYS Forge talk (Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28

Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023 CODESYS Forge talk (Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28

Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023 CODESYS Forge talk (Post)
Hi TimH Thanks for the information, I thought that was the case so have stepped through the code and found an error that wasn't closing the port, therefore hCom was increasing. Thanks
Last updated: 2024-03-28

Post by rafaelbrito on tasklokale GVL, max-stack-size, Error C0427 CODESYS Forge talk (Post)
Können Sie mir sagen, ob Sie wussten, wie Sie das Problem beheben können? Meiner Meinung nach müsste ich vielleicht die „Stackgröße“ ändern, die in früheren Versionen von CODESYS erlaubt war
Last updated: 2024-04-16

Post by malie on Visuutils FbOpenDialog(Extended) not open Dialog from POUs CODESYS Forge talk (Post)
Hello, how can i open a dialog from POUs and not from Devices via FbOpenDialog. In an project would it work when i place it in the application, but in a library? Example attached. Thanks in advance Max Update: - append a screenshot
Last updated: 2024-08-20

Post by peterned on Array to String CODESYS Forge talk (Post)
max. string length in Codesys is 255 chars. It's not possible to cram 20,000 things in a string. If you need to send the data to another device, send the whole data[] array (as byte array, without doing anything to it) and extract the information on the other end. As each struct member has a fixed size (81 bytes, as per you declaration), this will be easy. To save some resources, consider declaring string lengths - e.g. if the max possible length for key is 10 chars, declare it key: STRING(10); and it will occupy 11 bytes instead of 81
Last updated: 2024-07-20

Post by gurkan on OPCUA array max length? CODESYS Forge talk (Post)
We are using codesys 3.5.16.30 and we have a array with strings of length 5000. We are having issues subscribing to this variable from an OPCUA client. Is there any limit in the OPCUA Server in codesys for how long an array can be on the opcua server?
Last updated: 2024-02-16

Post by daqe102 on HTTP CLIENT (MAX SIZE) CODESYS Forge talk (Post)
Hi everybody I'm Paul and I need your knowledge, I am trying to send a huge Json (about 60,000 characters) through http client FB from codesys, however I saw that Maximum size of the http request in btyes are 16000, So, is there any way to resolve this situation? is it posible or there's a another opction to do it?
Last updated: 2024-08-21

Post by martinlithlith on Relay board / relays for raspberry pi 3 b+ CODESYS Forge talk (Post)
hi! im planning a project on a raspberry with Codesys. For this I'll need a number of relays to control heating and fans, all a max of 24v and about 2a. How would i know if the board / relays i buy will be working with Codesys? Does every hat work or does it need a library/driver? is there a list of drivers/libraries created? as this is a hobby project all tips on a relay board or single boards that works with codesys and not to expensive are very welcome.
Last updated: 2023-09-03

Post by rodberna on Library for arrays CODESYS Forge talk (Post)
Hi, I'm creating a program where I need to handle arrays, like: - Declare lenght variable arrays - [array(1..var) of "sometype"]. This is not possible in pure codesys, right? - Know array lenght, min, max, avg values in runtime - append/delete itens in an array - and so on Is there a library know for this in codesys. Is it possible to build our own libraries using some high level language like python or java script?
Last updated: 2024-01-10

Post by dagsupport on CAA SerialCOM - hCom Reset max value 1023 CODESYS Forge talk (Post)
Hi everybody We are currently working on a project with an RS232 serial COM interface and using the CAA SerialCOM library. We have it working fine reading and writing data, although we have found an issue we cannot resolve and any suggestions would be helpful. We have noticed that after a while the RS232 stops working. We have tracked this down to the HANDLE hCom keeps increasing and when this reaches 1023 the COM returns an unknown error "5003". Is there a way to reset this hCom reference? Thanks Richard
Last updated: 2024-03-22

Post by ton on How to create a stopwatch? CODESYS Forge talk (Post)
One i wrote this to measure elepse time When xMeasure is true is starts en when false it stops and time is messured. FUNCTION_BLOCK FB_ElapseTime VAR_INPUT xMeasure: BOOL; END_VAR VAR_OUTPUT xRisingEdge: BOOL; xFallingEdge: BOOL; tElapsed: TIME; ltElapsed: LTIME; ltPrev_Elapsed: LTIME; ltElapsedMax: LTIME; END_VAR VAR xLastValue: BOOL; LTIMEStart: LTIME; LTIMEEnd: LTIME; tonReset: TON:= (IN:= TRUE, PT:= TIME#30S0MS); END_VAR ------------------------------------------- xRisingEdge:= (xLastValue XOR xMeasure) AND xMeasure; xFallingEdge:= (xLastValue XOR xMeasure) AND NOT xMeasure; IF xRisingEdge THEN ltPrev_Elapsed:= ltElapsed; LTIMEStart:= LTIME(); END_IF IF xMeasure OR xFallingEdge THEN LTIMEEnd:= LTIME(); END_IF ltElapsed:= LTIMEEnd - LTIMEStart; ltElapsedMax:= MAX(ltElapsedMax, ltElapsed); tElapsed:= LTIME_TO_TIME(ltElapsed); xLastValue:= xMeasure; tonReset(); IF tonReset.Q THEN tonReset.IN:= FALSE; ltElapsedMax:= LTIME#0NS; END_IF Meaby this will help.
Last updated: 2023-12-09

Post by malie on Bibliothek konnte nicht aufgelöst werden CODESYS Forge talk (Post)
Hallo, ich hatte immer wieder seit der installation von CoDeSys Version 3.5.20 ein Problem mit den eigenen Bibliotheken und den Bibliotheken von Oscat(CoDeSys Download). Da half CoDeSys neustarten und dann ging es wieder, seit Patch 1 ist es jetzt ganz vorbei. Öffne ich ein Projekt oder erstelle ein neues und füge diese ein können die Bibliotheken nicht aufgelöst werden. Beim neuladen kommt "Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.". Ich hab die Biblotheken schon alle deinstalliert und neu installiert, alles ohne Erfolg. In 3.5.19.6 funktioniert alles wie es soll. P.S. Ich hab auf zwei anderen PCs genau das gleiche Problem. Hat hier jemand eine Lösung? Gruß Max
Last updated: 2024-07-17

Post by rmaas on Fieldbus has lost synchronicity CODESYS Forge talk (Post)
Hi, On a gantry system with 2 axis i am getting the following error: SMC_DI_FIELDBUS_LOST_SYNCRONICITY This happens random, sometimes it happens every 5 minutes and sometimes no error for 2 hours... The Setup: - Using codesys 3.5 SP20 with all latest libs... - Kontron AL Pi-Tron CM4 with Preempt realtime patch (Raspberry Pi 4) - Codesys runtime 4.11.0.0 (single core) - CODESYS Control for Raspberry Pi SL licensed - Softmotion + CNC + Robotics licensed - 2x Leadshine EL8-EC400 servo drives - Axis group for a 2-axis T-Gantry Ethercat network wiring: Ethercat master softmotion -> Beckhoff EK1100 -> Servo drive #1 -> Servo drive #2 Ethercat Cycle time = 4ms Max Jitter = 140~150 What i have tried so far: - changed the sync offset from 20% to 30% - changed ethercat task priority from 1 to 0 Running tasks: - Ethercat tast: Prio = 0, Interval = 4ms - Main task: Prio = 1, Interval = 8ms - Visu task: Prio = 31, Interval = 100ms - Softmotion planning task: Prio = 15, Freewheeling - 3 other default tasks that were created by AC_Persist Motion fb's are called in the ethercat task... Does anyone have an idea how to fix this? Any help is greatly appreciated!
Last updated: 2024-04-11

Post by svenkaro on Codesyscontrol.service stoppt nach 30s CODESYS Forge talk (Post)
Wie Du schon vermutet hast, es meint, die Hardware/Firmware sei nicht kompatibel ... ooops... this runtime was built for RASPBERRYPI. Hardware version or firmware version not supported! (-18, 0x00000BB8, 0xFFFFFFFB) Architecture: aarch64 Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Vendor ID: ARM Model name: Cortex-A72 Model: 3 Thread(s) per core: 1 Core(s) per cluster: 4 Socket(s): - Cluster(s): 1 Stepping: r0p3 CPU(s) scaling MHz: 40% CPU max MHz: 1500.0000 CPU min MHz: 600.0000 BogoMIPS: 108.00 Flags: fp asimd evtstrm crc32 cpuid Caches (sum of all): L1d: 128 KiB (4 instances) L1i: 192 KiB (4 instances) L2: 1 MiB (1 instance) Vulnerabilities: Gather data sampling: Not affected Itlb multihit: Not affected L1tf: Not affected Mds: Not affected Meltdown: Not affected Mmio stale data: Not affected Retbleed: Not affected Spec rstack overflow: Not affected Spec store bypass: Vulnerable Spectre v1: Mitigation; __user pointer sanitization Spectre v2: Vulnerable Srbds: Not affected Tsx async abort: Not affected Allerdings habe ich schon reichlich Firmware versionen getestet.
Last updated: 2024-06-21

Post by z870623 on About CPU Loading CODESYS Forge talk (Post)
I am running a runtime environment on an ARM A35 dual-core processor (1.5GHz) and have encountered some issues. The CPU load (both CPU0 and CPU1) occasionally spikes above 50% before returning to normal, and this happens around 2-3 times per minute. At the same time, I’ve noticed that the Max Cycle Time in the Codesys monitoring screen shows much worse performance compared to the A53 (1.2GHz), with nearly double the cycle time. The optimizations I have made so far are as follows: Set the CPU to performance mode. Isolated CPUs: CPU0 is dedicated to running Linux services and the runtime itself, while CPU1 runs the EtherCAT task and the MainTask. Despite CPU1 only running these two tasks, the utilization still increases above 50%, which I find unreasonable. Additionally, I performed tests using cyclictest both without and with the runtime running. The performance is shown in the following image: From the results, I believe the CPU performance should be fine, but I am unsure why the monitoring results are not as expected. The testing outcomes should ideally be as close as possible to the cyclictest results. Does anyone have related solutions to this issue?
Last updated: 2024-10-14

<< < 1 2 3 > >> (Page 2 of 3)

Showing results of 51

Sort by relevance or date