Search talk: real in visualisierungselement

 
<< < 1 .. 134 135 136 137 138 .. 144 > >> (Page 136 of 144)

Post by sushela on TEMU COUPON CODE [[acq615756]] get $100 Off + 30% Discount CODESYS Forge talk (Post)
Temu offers an exclusive deal for both new and existing users in Georgia. With the coupon code ([acq615756]), you can enjoy a $300 discount on a wide range of products, whether it's your first order or you've been shopping on Temu for a while. This offer ensures substantial savings for everyone, making Temu a top choice for affordable online shopping. Temu is offering an attractive $100 off coupon code, [acq615756], exclusively for first-time users. This promotion allows new customers to save significantly on their initial purchase, making it an excellent opportunity to explore Temu's extensive product range. Additionally, this code can be combined with an extra 30% discount on select items, further enhancing savings. To redeem the offer, simply create an account, add items to your cart, and enter the coupon code at checkout to enjoy your discount. How to Redeem: Create or log into your Temu account: If you’re new to Temu, sign up; if not, just log in. Browse the products: Add your preferred items to the cart. Apply the code ([acq615756]): During checkout, enter the code to receive a $300 discount. Benefits of Using the Code: Savings on all categories: The $300 discount applies to many categories, from electronics to fashion. No minimum spend: This coupon is ideal as it doesn’t require a minimum purchase amount. Applicable for new and existing users: Unlike most promotions, this one works for both first-time and repeat customers. To get the most out of your shopping experience, download the Temu app and apply our Temu coupon codes for existing users at checkout [[acq615756] or [acq615756]]. Check out these five fantastic Temu coupons for existing users: [acq615756]: New users can get up to 80% extra off. [acq615756]: Get a massive $100 OFF your first order! [acq615756]: Get 20% off on your first order; no minimum spending required. [acq615756]: Take an extra 15% off your first order on top of existing discounts. [acq615756]: Temu UK users can enjoy a $300 discount on your entire first purchase. In the world of online shopping, Temu has become a go-to destination for affordable and quality goods across a wide range of categories, from fashion to electronics. One of the most attractive features of Temu is its frequent offering of discount codes and coupons, allowing shoppers to save even more on their purchases. Among these, the Temu coupon code $100 OFF is particularly enticing, offering substantial savings for savvy shoppers. This article will explore everything you need to know about using this coupon code, including specific region-based codes for Estonia and the USA. using this code will give you a flat $100 OFF and a $300 discount on your Temu shopping. Our Temu coupon code is completely safe and incredibly easy to use so that you can shop confidently. Check out these five fantastic Temu coupon codes for August and September 2024: [acq615756]: Enjoy flat $100 OFF on your first Temu order. [acq615756]: Download the Temu app and get an additional $100 OFF. [acq615756]: Celebrate spring with up to 90% discount on selected items. [acq615756]: Enjoy 90% off on clearance items. [acq615756]: Beat the heat with hot summer savings of up to 90% off. [acq615756]: Temu UK Coupon Code – $100 OFF on appliances at Temu. These Temu coupons are valid for both new and existing customers, so everyone can take advantage of these incredible deals. What is the Temu Coupon Code $100 OFF? The Temu coupon code $100 OFF is a special promotional offer that provides customers with a significant discount on their purchases. Typically, this coupon can be applied at checkout, reducing the total purchase price by $300, provided certain conditions are met. These conditions often include minimum purchase requirements, product category restrictions, or regional limitations. This coupon is highly sought after by frequent shoppers looking to make large purchases or those seeking a great deal on high-ticket items. Temu's existing customer coupon codes are designed just for new customers, offering the biggest discounts and the best deals currently available on Temu. To maximize your savings, download the Temu app apply our new user coupon during checkout. How to Use Temu Coupon Code $100 OFF Using a coupon code on Temu is simple. Follow these steps to unlock your discount: Select Your Items: Add the products you want to buy to your shopping cart. Make sure they meet any requirements, such as minimum purchase amounts or specific categories. Enter the Coupon Code: At checkout, look for the “Coupon Code” or “Promo Code” field. Enter the applicable coupon code for your region or offer. Apply and Save: Click the “Apply” button, and the $300 discount should be deducted from your total. Double-check that the coupon has been successfully applied before finalizing your purchase. Complete Your Purchase: Once the coupon has been applied, proceed with the payment and enjoy your savings. Temu Coupon Code $100 OFF for Estonia [[acq615756]] For shoppers in Estonia, the Temu coupon code $100 OFF can be accessed using the code [[acq615756]]. This code is specifically tailored for Estonian customers and provides a considerable discount on purchases. How to Use the Estonia Coupon Code: Add your chosen items to your cart, ensuring that they meet any minimum purchase requirements. At checkout, enter [[acq615756]] in the coupon field. Click “Apply” to receive the $300 discount. Complete your purchase with the discount applied. Estonian shoppers can use this code to significantly reduce the cost of their orders, making Temu a fantastic option for those looking for deals on everyday essentials or big-ticket items. Temu Coupon Code $100 OFF for USA [[acq615756]] For customers in the USA, the Temu coupon code $100 OFF is available through the code [[acq615756]]. This region-specific code allows US-based customers to enjoy the same level of savings on their orders, giving them access to high-quality products at unbeatable prices. How to Use the USA Coupon Code: Add your desired products to the shopping cart, ensuring the total meets the coupon’s minimum purchase threshold. At checkout, input [[acq615756]] in the designated coupon field. Hit “Apply,” and the $300 discount will be reflected in your order total. Proceed to finalize the transaction with the discount. US shoppers can take advantage of this coupon code to enjoy substantial savings on a wide variety of products, from clothing and home goods to electronics and beauty items. Verified Temu Coupon Codes for August and September 2024 Temu coupon code $100 OFF — ([acq615756]) $100 OFF Temu Coupon code — ([acq615756]) $100 OFF Temu coupon code — ([acq615756]) Flat $100 OFF Temu exclusive code — ([acq615756]) Temu 90% Discount Code — ([acq615756]) Temu $100 OFF coupon code — ([acq615756]) Benefits of Using Temu Coupon Codes There are several benefits to using Temu coupon codes, especially high-value ones like the $100 OFF promotion: Save on Big Purchases: These high-value coupon codes are ideal for larger purchases, significantly reducing your total out-of-pocket costs. Access to Quality Goods at Lower Prices: Temu offers a wide range of products across different categories, and coupon codes help make these products even more affordable. Easy to Use: Applying a coupon code is straightforward and user-friendly, allowing shoppers to quickly enjoy discounts without any hassle. Exclusive Region-Based Offers: As seen with the Estonia and USA codes, Temu offers region-specific deals, allowing shoppers in different parts of the world to enjoy tailored savings. Important Considerations When Using Temu Coupon Codes Before using any coupon code, including the Temu coupon code $100 OFF [[acq615756] or [acq615756]], keep in mind the following: Expiration Dates: Always check the validity of the coupon code. Most codes have expiration dates, and expired codes will not work. Minimum Purchase Requirements: Many high-value coupons require a minimum purchase amount to qualify for the discount. Ensure your cart total meets this requirement before attempting to apply the code. Product or Category Exclusions: Some coupon codes may only apply to specific product categories or may exclude certain items, such as sale items or special collections. One-Time Use: Many promo codes, especially high-value ones like $100 OFF, are often limited to one-time use per customer. Be sure to use them wisely. Temu coupon code 2024 for existing customers reddit [[acq615756]] Temu coupon code 2024 for existing customers usa [[acq615756]] Temu coupon code 2024 for existing customers free shipping [[acq615756]] Temu coupon code 2024 for existing customers first order [[acq615756]] Temu coupon for existing customers [[acq615756]] Temu coupon code 2024 for existing customers September [[acq615756]] Temu coupon code 40 off [[acq615756]] Temu coupon $100 OFF for existing customers [[acq615756]] Temu coupon code 40 off first time user [acq615756] Temu coupon code 40 off free shipping [acq615756] Temu existing user coupon code 2024 [acq615756] Temu 10% off code [acq615756] Temu coupon wheel [acq615756] 50 Off Temu [acq615756] Code Temu [acq615756] Free Temu codes [acq615756] Temu coupons for returning customers [acq615756] Temu coupons - [acq615756] Temu coupon code first order reddit [acq615756] Temu coupon code first order free shipping [acq615756] Temu coupon code 2024 for existing customers [acq615756] Temu coupon codes for existing users [acq615756] Temu coupon code 40 off [acq615756] Temu coupon $100 OFF [acq615756] Free Temu codes [acq615756] Final Thoughts The Temu coupon code $100 OFF [[acq615756] or [acq615756]] is a fantastic opportunity for shoppers to make significant savings on their purchases. Whether you’re shopping from Estonia or the USA, offers substantial discounts that can help you get more value for your money. By taking advantage of these promo codes, you can shop confidently, knowing you’re unlocking the best possible deals on the items you love. be sure to check the terms and conditions associated with each coupon code, and happy shopping!
Last updated: 2024-10-26

Post by paulg on RasPi CAA Serial example - unexpected behavior during debug CODESYS Forge talk (Post)
I've trimmed down the CAA Serial Codesys example to only listen on one port but, when stepping through the Case structure in debug mode, it jumps out of the structure during a specific point in every scan (I'll point it out below after describing the setup and listing the code). I'm using a Pi 4 Model B, and I have an Arduino Nano Every plugged in via USB which is streaming the following serial message at 1 Hz: Time since opening connection: 1 s Time since opening connection: 2 s ...and so on. The Pi shows the Nano at /dev/ttyACM0 so I edited CODESYSControl_User.cfg to read: Linux.Devicefile=/dev/ttyACM The code in my PLC_PRG is (ignore some of the comments, I hadn't deleted them out from the original example): PROGRAM PLC_PRG VAR xStartTest : BOOL:= TRUE; iState : INT; xTestDone : BOOL;(* True, when the test was done succesfully *) (* Settings to communicate with the COM Port *) aCom1Params : ARRAY [1..7] OF COM.PARAMETER; como1 : COM.Open; comc1 : COM.Close; comw1 : COM.Write; comr1 : COM.Read; //sWrite : STRING := 'Test String!'; sRead : STRING(25); szRead : CAA.SIZE; xCom1OpenError : BOOL; xCom1CloseError : BOOL; xCom1WriteError : BOOL; xCom1ReadError : BOOL; END_VAR //This example shows the communication of two COM Ports with each other. //The first one writes a string of characters, which is read by the second one. //After successful execution, the two COM Ports are closed and the test is done. IF xStartTest THEN CASE iState OF 0: //The parameters are set for the COM Port aCom1Params[1].udiParameterId := COM.CAA_Parameter_Constants.udiPort; aCom1Params[1].udiValue := 1; // the correct Port should be adapted aCom1Params[2].udiParameterId := COM.CAA_Parameter_Constants.udiBaudrate; aCom1Params[2].udiValue := 115200; aCom1Params[3].udiParameterId := COM.CAA_Parameter_Constants.udiParity; aCom1Params[3].udiValue := INT_TO_UDINT(COM.PARITY.NONE); aCom1Params[4].udiParameterId := COM.CAA_Parameter_Constants.udiStopBits; aCom1Params[4].udiValue := INT_TO_UDINT(COM.STOPBIT.ONESTOPBIT); aCom1Params[5].udiParameterId := COM.CAA_Parameter_Constants.udiTimeout; aCom1Params[5].udiValue := 0; aCom1Params[6].udiParameterId := COM.CAA_Parameter_Constants.udiByteSize; aCom1Params[6].udiValue := 8; aCom1Params[7].udiParameterId := COM.CAA_Parameter_Constants.udiBinary; aCom1Params[7].udiValue := 0; //The first Port is opened with the given parameters como1(xExecute := TRUE, usiListLength:=SIZEOF(aCom1Params)/SIZEOF(COM.PARAMETER),pParameterList:= ADR(aCom1Params)); IF como1.xError THEN xCom1OpenError := TRUE; iState := 1000; END_IF //After a successful opening, the next state is reached IF como1.xDone THEN iState := 15; END_IF 15: // the reading process is started comr1(xExecute := TRUE,hCom:= como1.hCom, pBuffer:= ADR(sRead), szBuffer:= SIZEOF(sRead)); IF comr1.xError THEN xCom1ReadError := TRUE; END_IF //After completion the size of the written bytes are saved IF comr1.xDone OR comr1.xError THEN szRead := comr1.szSize; iState := 20; END_IF 20: // If everything was successful the ports are closed and the handles are released comc1(xExecute := TRUE,hCom:= como1.hCom); IF comc1.xError THEN xCom1CloseError := TRUE; END_IF IF comc1.xDone OR comc1.xError THEN iState := 25; END_IF 25: // The first port is closed and the used handle released xTestDone := TRUE; xStartTest := FALSE; iState := 0; como1(xExecute := FALSE); comw1(xExecute := FALSE); comc1(xExecute := FALSE); ELSE iState := 0; END_CASE END_IF I realize as I write this that the .udiPort should be 0 and not 1, but that shouldn't be causing the issue I'm seeing. I'm forcing xStartTest:=TRUE every scan so that I can step into each line and observe what's happening. What I see is that the port parameters are set and the port is opened with no errors, but the code jumps out of the case structure to the last line every time it reaches (and I step into) the iState:=15 line (at the end of the iState:=0 block). So every scan cycle it goes through the block for iState=0 and jumps out at the same spot. I'm a little new to PLC programming so I may be misunderstanding the flow, but shouldn't this case structure keep moving down in the same scan? If it only handles one case per scan, why doesn't the value of iState persist? Thanks! Update: I restarted the Codesys control today and I was then able to see an error for como1.eError of "WRONG_PARAMETER". I tried doing some digging and another post made me think I should add another line to CODESYSControl_User.cfg, so I now have: [SysCom] Linux.Devicefile=/dev/ttyACM portnum := COM.SysCom.SYS_COMPORT1 So now when I set .udiPort to 1, I get "NO_ERROR" but I also don't read anything from the port (i.e. szRead = 0 always). If I try setting the port to 0 (which I'm confused about, because I added a COMPORT1 line but the device shows on the Pi as ACM0), I get the "WRONG_PARAMETER" error again. Is there an easier way to troubleshoot the Pi and view what ports the Codesys runtime is actually able to see while the Pi is running?
Last updated: 2024-06-06

Post by raghusingh77 on Get $100 Off Temu Coupon Code [ACU934948] | + 30% Discount CODESYS Forge talk (Post)
Your Guide to Temu Coupon Code [ACU934948] In the ever-evolving world of online shopping, Temu has emerged as a frontrunner, offering customers substantial discounts and promotions. As we approach the end of 2024, Temu is rolling out some impressive deals, including a $100 off coupon code [ACU934948] that can significantly enhance your shopping experience. This article will explore how to maximize your savings with this code and other exciting offers available on the platform. Exclusive Discounts for New Users For those new to Temu, the platform offers a 30% discount on your first order simply by using the coupon code [ACU934948]. This introductory offer makes it easy for first-time users to explore Temu's extensive inventory while enjoying immediate savings. Additionally, new users can benefit from an even more generous offer of up to 75% off their first purchase when they redeem this coupon. Massive October Promotions October 2024 is shaping up to be an exciting month for shoppers on Temu. With the coupon code [ACU934948], customers can access discounts of up to 90% off selected items. This promotion is part of Temu's strategy to attract new customers and reward loyal ones during this busy shopping season. Flat Discounts and Bundle Offers The standout feature of the $100 off coupon code [ACU934948] is its applicability across various orders, providing a flat discount that enhances the overall value of your purchases. This coupon is not just limited to new users; existing customers can also take advantage of this offer. Furthermore, Temu has introduced bundle offers that combine this $100 discount with additional savings, allowing customers to save up to 70% on select products. Temu Rewards Program for Loyal Customers Temu values its existing customers through a robust Rewards Program that offers exclusive deals and discounts. By using the coupon code [ACU934948], loyal shoppers can enjoy additional benefits, including potential cash-back offers. For instance, eligible purchases may yield up to 25% cash back, making it even more rewarding to shop at Temu. How to Redeem Your Coupons Using Temu's coupon codes is straightforward: Browse Products: Start by exploring Temu’s extensive range of items. Add to Cart: Once you find what you like, add it to your shopping cart. Apply the Coupon Code: At checkout, enter the coupon code [ACU934948] in the designated field and click "Apply." Complete Your Purchase: Review your discounted total before finalizing your order. Tips for Maximizing Savings Stacking Discounts: While you cannot apply multiple coupon codes in one transaction, ensure you're using the most beneficial code available. Lightning Deals: Keep an eye out for limited-time "Lightning Deals," which often feature discounts of up to 80%. Free Shipping Offers: Temu provides free standard shipping on all orders, enhancing the value of your purchases. Conclusion With its competitive pricing and generous promotional offers like the $100 off coupon code [ACU934948], Temu is an excellent choice for savvy shoppers looking for great deals. Whether you are a new user eager to explore or an existing customer ready to reap rewards, Temu provides ample opportunities to save significantly on your purchases. Don't miss out—redeem your coupons today and enjoy an exceptional shopping experience filled with incredible value
Last updated: 2024-10-26

Post by raghusingh77 on Temu Promo Code ACU934948 get $100 off + $5 extra bonus for new and existing customers CODESYS Forge talk (Post)
$100 Off Coupon Code [ACU934948] Temu, the rapidly growing e-commerce platform, continues to attract shoppers with its incredible discounts and promotions. As of October 2024, customers can take advantage of a variety of coupon codes, including a significant $100 off coupon code [ACU934948], along with additional discounts for new users and existing customers alike. Here’s everything you need to know about maximizing your savings on Temu. Exclusive Discounts for New Users For first-time shoppers, Temu offers an enticing 30% discount on orders. By using the coupon code [ACU934948], new users can not only enjoy this percentage off but also unlock further savings. Specifically, new users can redeem a new user coupon that provides up to 75% off their first order, making it an excellent opportunity for those looking to explore Temu's extensive product range. Massive Savings in October 2024 October is a prime month for deals at Temu. With the coupon code [ACU934948], shoppers can access discounts of up to 90% off select items throughout the month. This promotion is part of Temu's commitment to providing exceptional value, especially during seasonal sales events. Flat Discounts and Bundle Offers The $100 off coupon code [ACU934948] is a standout offer that allows customers to receive a substantial discount on their total order value. This coupon is applicable to both new and existing customers, ensuring that everyone can benefit from significant savings. Additionally, there are bundle offers available that combine this $100 discount with other promotions, potentially allowing customers to save up to 70% on their purchases. Temu Rewards Program for Existing Customers Temu also values its loyal customers through its Rewards Program, which provides exclusive deals and discounts. Existing customers can utilize the same coupon code [ACU934948] to enjoy flat discounts and cash-back offers. For instance, using this code may yield an additional 25% cash back on eligible purchases, enhancing the overall shopping experience. How to Redeem Your Coupons Using Temu's coupons is straightforward: Select Your Items: Browse through Temu’s vast selection of products. Add to Cart: Once you’ve chosen your items, add them to your shopping cart. Apply the Coupon Code: On the checkout page, enter the coupon code [ACU934948] in the designated box and click "Apply." Complete Your Order: Review your discounted total and proceed with payment. Conclusion With its competitive pricing and generous promotional offers like the $100 off coupon code [ACU934948], Temu is making waves in the online shopping arena. Whether you are a new user looking for introductory discounts or an existing customer eager to take advantage of rewards, Temu provides ample opportunities to save significantly on your purchases. Don’t miss out—redeem your coupons today and enjoy a shopping experience filled with incredible value
Last updated: 2024-10-26

Post by bbm1995 on Camera RTSP Feed CODESYS Forge talk (Post)
Hi dgrard, I had the same issue for a long time, but on a WAGO webvisu. Now I'm glad that I can share my solution. I don't know if you are trying to use the webvisu or the target visu, but this works on webvisu: Get "go2rtc" and set it up according to the documentation. I'm running the Windows binary. Here's my example of the go2rtc.yaml config file (contains working example streams): api: listen: ":1984" # default ":1984", HTTP API port ("" - disabled) origin: "*" # default "", allow CORS requests (only * supported) static_dir: "www" # default "", folder for static files (custom web interface) tls_listen: ":443" # default "", enable HTTPS server tls_cert: "./SSL/fullchain.pem" tls_key: "./SSL/privatekey.pem" streams: # Streams with multiple links will fall back on the next link. ABUS TVIP48511: - rtsp://<username>:<password>@<hostname>:<port>/ch1/main - rtsp://<username>:<password>@<hostname>:<port>/ch1/sub # Diagnostic connections Kirchhoff Institute for Physics - Germany: http://pendelcam.kip.uni-heidelberg.de/mjpg/video.mjpg Blanton Bottling, Kentucky - USA: http://camera.buffalotrace.com/mjpg/video.mjpg Tokyo - Japan: http://61.211.241.239/nphMotionJpeg?Resolution=320x240&Quality=Standard Tampere Hacklab - Finland: http://tamperehacklab.tunk.org:38001/nphMotionJpeg?Resolution=640x480&Quality=Clarity Soltorget Pajala - Sweden: http://195.196.36.242/mjpg/video.mjpg Kaiskuru Skistadion - Norway: http://77.222.181.11:8080/mjpg/video.mjpg webrtc: listen: ":8555" #ice_servers: # - urls: [ "stun:localhost:3478" ] # username: "" # credential: "" Access the webinterface of go2rtc and get the link of your stream. Use the link as for your browser frame in the visualization. Depending on your device, you need to be able to access the file /etc/lighttpd/lighttpd.conf or /etc/lighttpd/webvisu.conf and change the contents similar to this one, otherwise you'll get CORS and CSP errors in the browser and you won't be able to view the stream on the webvisu: # Webvisu specific settings $SERVER["socket"] =~ port_webvisu_used_any { url.redirect += ( "^/webvisu/?$" => "/webvisu/webvisu.htm" ) $HTTP["url"] =~ "^/webvisu/?" { var.response_header_policy_webvisu = ( # CSP for WebVisu, allowing inline sources. "Content-Security-Policy" => "default-src 'self' 'unsafe-inline'; media-src *; frame-src *", # CORS for WebVisu, allowing any origin to access. "Access-Control-Allow-Origin" => "*", # Tell older browsers that this page can only be displayed if all ancestor # frames are same origin to the page itself. "X-Frame-Options" => "SAMEORIGIN" ) # Response header policy for WebVisu setenv.set-response-header = var.response_header_policy_webvisu setenv.set-response-header += var.response_header_policy_common }
Last updated: 2023-11-14

Post by alexgooi on OPC-UA and other communication questions CODESYS Forge talk (Post)
Dear forum, I currently have a big question mark above my head, and maybe this forum can shine some light on the situation. I recently updated to Codesys 3.15 SP19 Patch 6. And now I’m trying to setup the OPC-UA server, besides that I’m trying to connect to the controller with the Codesys V3 (Ethernet) protocol. OPC-UA I have installed the correct licenses on my controller (Runtime and communication). I’m able to connect to the controller with an OPC-UA client, and I’m able to browse the tags, so far so good. Therefore I’m assuming that the OPC-UA server is running on the controller. But now the strange part, in the device security settings I have set the communication Policy to BASCI256SHA256 ( I also have tried the other ones) and the communication mode is set to secure if possible (I also have tried all the other ones) (see picture). With these settings I would assume that I would only be able to login with a Basic256SHA256 policy with a client. But the opposite is true, I am able to login using the no policy mode and when I set it to Basic256SHA256 the client (UA-Expert) notes that this policy is not available on the server. I then check the certificates and I noted that there is no certificate for the OPC-UA server, I tried to generate one but it gave the error that the certificate has not been created by the device (See picture). To summarize I have no clue what is going on, and the controller does the opposite of what I would expect. Codesys Ethernet V3 driver I have a HMI connected to the same controller using the Ethernet V3 driver. But this will not connect. I tried all the Protocols (see picture), with and without the username and password enabled. But it will not connect, when I scan the available servers I can see the controller with the port number that I am expecting, so I’m assuming that the Codesys V3 ethernet driver is up on the controller. Does anyone can give me some direction, because the stuff that I tried doesn’t make sense to me. Thank you in advance
Last updated: 2024-04-02

Post by greenwood on CODESYS Control Raspberry Pi mit Servotreiber T6 von StepperOnline CODESYS Forge talk (Post)
Hallo, ich versuche, eine Modbus-RTU-Kommunikation zwischen meinem Raspberry Pi mit CODESYS Control für Raspberry Pi 64 SL und einem Servotreiber von StepperOnline, Typ T6, herzustellen. Die Verbindung ist wie folgt: RJ45-Stecker am Servotreiber -> Kabel mit RJ45 an einem Ende und USB-A-Stecker am anderen Ende -> Seriell-zu-USB-Konverter -> Raspberry Pi. Der Seriell-zu-USB-Konverter und die Kabel habe ich zusammen mit dem Motor und Treiber von StepperOnline gekauft und sie sind dafür gedacht, den Servotreiber mit einem Computer zu verbinden, auf dem deren Setup-Software läuft. dmesg | grep tty auf dem Pi sagt mir, dass der USB-zu-Seriell-Konverter auf ttyusb0 ist. Ich weiß nicht, wie man das in einen COM-Port übersetzt, ich habe COM 1 genommen. Ich habe ein Projekt in Codesys erstellt und ein Modbus_COM-Gerät hinzugefügt, einen Modbus_Master_COM_Port und einen Modbus_Slave_COM_Port angehängt. Auf der Registerkarte "Allgemein" des Modbus_COM habe ich die folgenden Werte eingestellt: Slave address 1 Baud rate 9600 Parity None Data bits 8 Stop bits 2 Ich habe den Servotreiber auf die gleichen Werte eingestellt. (Ich habe auch andere Werte getestet, aber mit dem gleichen Ergebnis). Auf der Registerkarte "Modbus Slave Channel" des Modbus_Slave_COM_Port habe ich einen Kanal hinzugefügt und die folgenden Werte eingetragen: Access type Read Holding Registers (Function Code 3) Read Register offset 0x0000 Length 1 Ich habe noch keinen Code geschrieben, weil ich noch nicht herausgefunden habe, wie man die Kommunikation programmiert. Wenn ich das Projekt zum Raspberry Pi herunterlade scheint der Modbus_Master_COM_Port zu laufen (grünes Symbol), aber der Modbus_Slave_COM_Port nicht (rotes Dreiecksymbol). Wenn ich einen anderen COM-Port eintrage, haben sowohl der Master als auch der Slave das rote Dreiecksymbol. Ich habe dies auch mit meinem Windows-PC unter Verwendung von Codesys Control Win 64 versucht und die gleichen Ergebnisse bekommen. Ich wäre dankbar für jede Hilfe oder Tipps, wie ich den Grund dafür herausfinden kann, warum der Servotreiberreiber nicht reagiert.
Last updated: 2024-05-31

Post by thommy54 on Lizenz wiederherstellen SP20 CODESYS Forge talk (Post)
Hallo Edwin, ich bräuchte mal eine schnelle Hilfe. ich testete einen zweiten Raspberry Pi 4 mit meinem Lizenzdongle eines laufenden Raspberry. Der 2. Raspberry ist als Redundanzlösung bei einem Crash gedacht. DIe Schwierigkeiten begannen, als ich mit dem Raspberry 4 V1.5 nicht mehr mit SP16 weiterarbeiten konnte. Ich updatede auf SP20.1. und die Schwerstarbeit begann. Das Image wurde rübergeschoben und alles auf dem zweiten Rechner soweit zum Laufen gebracht. Der Dongle wurde ebenfalls am 2. Rechner eingesteckt. Ob er überhaupt wirkte, kann ich nicht sagen, da für diesen Testfall Codesys so oft rauf und runter gefahren wurde, das die 2h-Grenze kaum erreicht wurde. Problem: Beim Zurückstecken des Dongles in den ursprücnglichen Rechner ist alles an Lizenzen weg. Der Lizenzmanager hat keinen Container mehr und der Befehl "lsusb" bringt nichts zurück. ich war der Meinung, das der Dongle genau für diesen Zweck gedacht war - die Lizenz von einem Rechner zum anderen mitzunehmen. Liege ich da falsch ? Wie komme ich nun wieder zu einem funktionfähigen Dongle ?? Weitere Versuche unternahm ich mit dem Wiederherstellen des Dongels. Dabei steckte ich ihn in meinen PC (Workstation) und siehe da, es werden noch 3 von ehemals (2020) 6 Lizenzzeilen angezeigt: (siehe Bild Problem_Lizenzen_Raspberry.jpg) Dann versuchte ich das Wiederherstellen über eine Lizenzaktualisierungsdatei vom Lizenzserver. Da kommt aber eine Datei mit anderem Dateityp (..WibuCmRaC) als im Lizenzmanager gesucht (WibuCmRaU). Die Datei ist dem Lizenzmanager auch nicht genehm (Bild Problem_Lizenzen_Raspberry_2.jpg). Nun steht Codesys auf besagtem Raspberry alle 2h still. Das soll die Lizenz doch verhindern. Angeblich soll seit SP13 auch kein eigenes Backup mehr nötig sein. Bis zum Erhalt des nicht brauchbaren Linzenzfiles hat da sja geklappt. Ich kann auch im Lizenzmanager keinen Punkt "Lizenz wiederherstellen" finden. Hat sich da mit SP20 etwas geändert? Wenn ich mir eine neue Lizenz hole - wie bringe ich sie auf den Dongle (der ja jetzt nicht "nagelneu" ist). Ich fürchte, das geht auch bloß schief. Im Voraus vielen Dank Thomas
Last updated: 2024-07-02

Post by rita56re on AS Exclusive Temu $100 Discount Code {act892435} {act892435} for Free Stuff Canada CODESYS Forge talk (Post)
Yes, you can use the exclusive Temu discount codes "act892435" and "act892435" to receive a $100 discount on your purchases, along with the opportunity for free items. This offer is available for new customers in Canada, making it an excellent time to shop on Temu in Canada. • Temu New User Free Code Canada - [ACT892435] [ACT892435] • Temu New User Codes Reddit Canada - [ACT892435] [ACT892435] • Temu Coupon New User Code Free Shipping Canada -[ACT892435] [ACT892435] • Temu Code 2024 for New & Existing Customers Canada -[ACT892435] [ACT892435] • Temu Coupon $100 Off For New & Existing Customers Canada -[ACT892435] [ACT892435] • Temu Coupon Code Canada - [ACT892435] [ACT892435] • Temu Coupon $100 Off Canada - [ACT892435] [ACT892435] • Free Temu Coupon Codes Canada - [ACT892435] [ACT892435] • Temu Coupon New User Coupon Bundle Canada -[ACT892435] [ACT892435] • Temu Code New User 50% Off Canada -[ACT892435] [ACT892435] • Temu Code New User Discount Code Canada - [ACT892435] [ACT892435] • Temu Coupon New Customers Discount Code Canada -[ACT892435] [ACT892435] • Temu Coupon New Customer Coupon Code Canada - [ACT892435] [ACT892435] • Temu Code First Time User Coupon Canada - [ACT892435] [ACT892435] • Temu Code New User Coupon Code First Order Canada - [ACT892435] [ACT892435] • Temu Code New User Promo Coupon Code Canada - [ACT892435] [ACT892435] • Temu Coupon New Account Promo Coupon Code Canada - [ACT892435] [ACT892435] • Temu Coupon First Time User Discount Code Canada - [ACT892435] [ACT892435] • 30% Off Temu Code, Promo Codes + 26% Cash Back Canada - [ACT892435] [ACT892435] • Redeem $100 Off Temu Coupon Code Canada - [ACT892435] [ACT892435] • Temu Coupon $100 Off For New & Existing Customers Free Shipping Canada - [ACT892435] [ACT892435] • Temu 100 Off Coupon Code Legit Canada - [ACT892435] [ACT892435] • Temu 100 Off Coupon Codes Reddit Canada - [ACT892435] [ACT892435] • Temu 100 Off Coupon Code For Existing Users Canada - [ACT892435] [ACT892435] • Temu Coupon 100 Off Coupon Code UK Canada - [ACT892435] [ACT892435] • Temu Coupon Codes 100 Percent Off Canada - [ACT892435] [ACT892435] • Temu Code $100 Off How Does It Work Canada - [ACT892435] [ACT892435] • Temu Code $100 Off Canada - [ACT892435] [ACT892435] • Temu Code $100 Off For Existing Customers Canada - [ACT892435] [ACT892435] • Temu Code $100 Off For Existing Customers First Order Canada - [ACT892435] [ACT892435] • Temu Code $100 Off 2024 Canada - [ACT892435] [ACT892435] • Temu 100 Off Coupon Bundle Canada - [ACT892435] [ACT892435] • 100 Doller Coupon Code Canada - [ACT892435] [ACT892435] • Temu Code 100 Value Coupon Bundle Canada - [ACT892435] [ACT892435] • 100 Off Promo Coupon Codes Canada - [ACT892435] [ACT892435]
Last updated: 2024-10-26

Post by adamrobotic on llcallback() iec exception caught cmpid=0x00000002, eventid=0x00010008 CODESYS Forge talk (Post)
Hi All, Recently I have been experiencing a issue in CodeSys SP16 Patch 3, with a exception which comes up after I have made several online changes. callcallback() iec exception caught cmpid=0x00000002, eventid=0x00010008, after I experience this fault then I receive a error message for any subsequent online change "online change failed, no task gap within 10000ms". To recover either the controller needs a orgin reset, which will allow online edits thereafter until falling back into the loop. I am using a TURCK TX707 product which is controlling robot trajectory, We have hard coded the coordinate data rather than using persistence variables so hence the need to do online changes consistently. I have read on the forum other people have experienced similar issue with the online task gap, but I have no task which have same priority and also monitored the CPU usage and have not seen it go above 13%. Anyones help would be much appreciated, thankyou.
Last updated: 2023-08-18

Post by cdutz on Problems connecting to Codesys 4.9.0.0 runtime on my Wago PFC200 CODESYS Forge talk (Post)
Turns out I managed to get a connection to my PLC. It seems that a few weeks ago Wago released something with version 4.3.3(25). So I reset my PLC to Factory-Reset, set it to the 192.168.1.17 IP and changed the IP to the one I wanted with the Wago EthernetSettings tool. Then updated the latest firmware using the WAGOupload tool. Now the PLC came back up without a PLC runtime running, so in the Web-tool I wen't to the "Configuration"/"PLC Runtime" and selected the runtime version "CODESYS V3". I uninstalled all Codesys versions and installed the version from the download package of Wago together with all the packages the bundle provided. After creating a new project I didn't select the old PFC200 runtime, but one of the dozens of new device profiles, that it now listed. With these settings I was then able to connect to my PLC. Now I hope I'll get the existing project that I had ported to this new structure. Sorry for the noise. Chris
Last updated: 2023-08-26

Post by egret on Issue with J1939, PGN 65267 (Vehicle Position) CODESYS Forge talk (Post)
I have a J1939 network (ISOBUS) connected to my PLC. I can receive various PGNs such as 65256 (Vehicle Direction/Speed) and 65254 (Time/Date). However, I cannot receive 65267 (Vehicle Position). PGN 65267 (VP) contains SPN 584 (Latitude) and SPN 585 (Longitude). On the network both SPNs return a value of -210 (meaning the CAN message payload is zero in both cases). The conversion settings are the default values and appear to be correct (see attached screenshot). Using a CAN analyser I can see that PGN 65267 (Vehicle Position) is being transmitted over the network with valid (non-zero) data that matches the latitude and longitude coordinates I would expect. I've created a program to read the raw J1939 data and this also returns valid data. It seems that the Codesys J1939 database has a problem with reading PGN 65267 messages. Can anybody else confirm this? I'm using Codesys Version 3.5 SP16 Patch 5.
Last updated: 2023-09-13

Post by timvh on Detect "Cancel" Press in FileOpenSave Dialog CODESYS Forge talk (Post)
Maybe there is a better way, but a long time ago I created a test application that worked like this: With a button I opened the dialog and I added a "Input configuration - OnDialogClosed" "Execute ST-Code" action to this same button which called the following Function when the dialog was closed: F_OnFileDialogClosed(pClientData); Below this Function which handled the result: // This function is called from the visualization when the dialog is closed. FUNCTION F_OnFileDialogClosed : BOOL VAR_INPUT pClientData : POINTER TO VisuElems.VisuStructClientData; END_VAR VAR dialogMan : VisuElems.IDialogManager; FileOpenCloseDialog : VisuElems.IVisualisationDialog; result : VisuElems.Visu_DialogResult; _sFileName : STRING(255); END_VAR // the DialogManager is provided via the implicitly available VisuManager dialogMan := VisuElems.g_VisuManager.GetDialogManager(); IF dialogMan <> 0 AND pClientData <> 0 THEN FileOpenCloseDialog := dialogMan.GetDialog('VisuDialogs.FileOpenSave'); // gets the FileOpenSave dialog IF FileOpenCloseDialog <> 0 THEN result := FileOpenCloseDialog.GetResult(); // gets the result (OK, Cancel) of the dialog IF result = VisuElems.Visu_DialogResult.OK THEN // Original code gvlFile.FileListProvider(); _sFileName := CONCAT(gvlFile.FileListProvider._stDirectory, gvlFile.FileListProvider.stFile); // do something with this file name... END_IF END_IF END_IF
Last updated: 2023-09-19

Post by rcaponi on Codesys Control RTE V3. Remote Control CODESYS Forge talk (Post)
Hello, I would like to have, if possible, some clarification on this function. That is, I would like to understand if it is useful for managing, fom my development PC, the RTE runtime executed on a remote control. This is what the help says: Remote PLC: Opens the Remote Configuration dialog. By enabling or disabling the Control remote PC, not local option, you determine whether a PLC is used that is on a remote or local PC. Accordingly, the menu commands Start PLC, Stop PLC, and PLC Configuration refer to the local PC or a PC reached on the network. For the remote PC, specify the Target PC address, Port number, and a Timeout value (in ms) for the connection (Remote Timeout [ms]). But does this mean that I also need to install the RTE runtime on my development PC? Is it possible to have some more information? Best regards Roberto Caponi
Last updated: 2023-09-22

Post by sturmghost on Visualization using methods and cyclic ST-calls CODESYS Forge talk (Post)
Im looking for a way to implement ST-code into the visualization element without creating a helper POU or method in my device/application tree. Like visualization properties are evaluated at each VISU_TASK cycle I want to be able to create own ST code which interacts with the visualization interface variables. To be more specific I want to have a property which executes user defined ST-code at each VISU_TASK cycle exactly like its already possible for Input Configuration on various mouse and dialog events. Also a property for initialization (so only executed once) and a timed property would be nice. With the situation right now I'll have to create a POU function which handles the ST-code and misuse a property, like the text variable, to execute this POU function at each VISU_TASK cycle. Or does it exist and I don't know it?
Last updated: 2023-10-02

Post by moksan on Unconnected_Send Explicit message with Route Path CODESYS Forge talk (Post)
I have been trying out Unconnected_Send Explicit Message with route path.(The Unconnected_Send service shall use the Connection Manager object in each router to forward the message and to remember the return path. Vol 1.3 / 3-5.6.7) However, I could not see the correct path on Wireshark. I want to see the Unconnected_Send Message Service Code as 0x52 and also the last of the message should have the route path. I want to ask some questions about this topic. The IIoDrvEIPAcylicServices Interface has the IoDrvSendUnconnectedMessage Method. And there is a struct (EIP_SendUnconnectedMessage) for this service. But there is no information about how to implement to project, and if it is successful, does it send a message with 0x52 Unconnected_Send Service Code or not? If that is not a solution, how can I set the Unconnected_Send Explicit Message struct on Codesys? Also how can I send explicit message with route path?
Last updated: 2023-10-17

Post by mondinmr on Jitter problems on imx8 CODESYS Forge talk (Post)
We are experiencing serious jitter issues on an ARM64 imx8. Until now, on rpi and beaglebone derivatives, and on Intel, we never encountered jitter issues unless they were already present on the device. In this case, as can be seen from the attached graph, we have excellent maximum latency. The cyclictest on the isolated core dedicated to IEC CODESYS tasks shows a latency of 37µs, with an average of 14µs. Usually, on all other devices, with an RT kernel, with the appropriate parameters to avoid frequency throttling, with properly managed IRQs, and with the disabling of large page sizes, the jitter measured by CODESYS is very close to the cyclictest latency. However, on this imx8, we are noticing a fluctuating value of +/- 300µs that seems to be added to this latency, as if something occasionally miscalculates the sleep times by exactly +/- 300µs. Two screenshoot attached. - Result of cyclictest - Jitter on CODESYS Tasks are assigned to isolated core!
Last updated: 2023-10-18

Post by vassilis91 on EtherCat-Rexroth Drive lost connection or no? CODESYS Forge talk (Post)
Hi all, i am encounter a mystery problem with a build with rexroth drives at my work. At my company we are make a machine with two Rexroth Indradrives . The two drives are goes by ethercat protocol . To be more specific i am going from my plc to the Beckoff El1100 coupler and after to the first drive and from the first drive to the second. The second drive works with no problem but the first(motor) sometimes without any pattern start to make a mysterious noise like stop and suddenly goes on again. If i couldn't hear the noise from the motor i couldn't Imagine that this happen. After a lot of research i see that sometime i have some strange zeros from the drive to the plc? Really i am in a deadlock and I don't know how to continue. From the other side the values on the other drive(second)are stable . The problem maybe: https://youtube.com/shorts/g7PCFLUaDUI?si=eiq0F2IzhQZax2e2
Last updated: 2023-10-25

Post by ph0010421 on How to create a stopwatch? CODESYS Forge talk (Post)
Do you need an 'hours-run' counter? And 1 second resolution is ok? I think you're over-thinking it. (The task time needs to be < 1second) Have a look at the LAD... Then, the time in seconds can be made into hh:mm:ss with this FUNction Declarations: FUNCTION funSecondsToStringTime: string VAR_INPUT InSeconds: UDINT; END_VAR VAR AsString: STRING; Minutes: UDINT; Hours: UDINT; Seconds: UDINT; MinutesAsString: STRING(2); HoursAsString: STRING(2); SecondsAsString: STRING(2); END_VAR and the code: Hours := InSeconds / 60 / 60; //Derive hours Minutes := (InSeconds - (Hours * 60 * 60)) / 60; //Derive minutes Seconds := InSeconds - ((Hours * 60 * 60) + (Minutes * 60));//Derive seconds HoursAsString := UDINT_TO_STRING(Hours); MinutesAsString := UDINT_TO_STRING(Minutes); SecondsAsString := UDINT_TO_STRING(Seconds); IF LEN(HoursAsString) = 1 THEN HoursAsString := CONCAT('0',HoursAsString); END_IF; IF LEN(MinutesAsString) = 1 THEN MinutesAsString := CONCAT('0',MinutesAsString); END_IF; IF LEN(SecondsAsString) = 1 THEN SecondsAsString := CONCAT('0',SecondsAsString); END_IF; AsString := CONCAT(HoursAsString, ':'); //assemble string AsString := CONCAT(AsString,MinutesAsString); AsString := CONCAT(AsString,':'); AsString := CONCAT(AsString, SecondsAsString); funSecondsToStringTime := AsString;
Last updated: 2023-12-08

Post by andrax on Meine Gerätesammlung basierend auf TCA9548 CODESYS Forge talk (Post)
Hallo zusammen, ich programmiere öfters mal kleinere Messgeräte und Datenlogger. Je nach Einsatzzweck musste ich mir ein paar Gerätetreiber selber schreiben. Da es eine recht große Sammlung ist, stelle ich die hier einfach mal ein. Die Sammlung basiert auf den Gerätetreiber TCA9548 Multiplexer von Steffen Dreyer. Codesysversion: V3.5 SP18 Patch 4 Inhalt: -4channel Dimmer (Stefan Dreyer) -BMA456 (Andre Klien) -BME280 (Stefan Dreyer) -BMP280 (Stefan Dreyer) -EEPROM_24C512 (Stefan Dreyer) -ADS1115 (Andre Klien) -ICP10125 (Andre Klien) -PCA9555 (Stefan Dreyer) -PCA9685 (Stefan Dreyer) -PCF8575 (Stefan Dreyer) -SDP810 (Andre klien) -SSD1306 (Stefan Dreyer) -TCA9548 (Stefan Dreyer) -TSL2561 (Stefan Dreyer) Alle Gerätetreiber laufen über den Multiplexer, können aber auch ohne betrieben werden. Einschränkung: BMA456: Die Konfigurationsdaten werden erfolgreich in den Chip geschrieben, dieser meldet aber config wrong. Warum auch immer, der Sensor funktioniert und bringt hochempfindlich Beschleunigungsdaten. ADS1115: Hie habe ich nur die wichtigsten funktionen implementiert. 1-4 Kanäle, PGA, kontinuierlicher Modus, Datenrate. Alle anderen Funktionen (single-shot, komparator,alm) sind nicht implementiert. Das macht auch keinen Sinn, da diese Funktionen besser über die Steuerung realisiert werden können. Achtung beim ADS1115 ist zwingend ein Levelshifter notwendig, wenn ihr diesen mit 5V betreiben wollt. Ihr grillt sonst euren Raspi (SDA, SCL sind dann 5V) Gruß Andre
Last updated: 2023-12-18

Post by dhumphries on Minimum system requirements for codesys control standard S CODESYS Forge talk (Post)
I'm working on a low cost project and I'm considering installing the Codesys runtime on a PC running Linux Debian instead of buying a PLC with a pre-installed runtime. For my needs the Control Standard S license should be capable of running some IO over ethernet/ip, and a webvisu. The PC I am considering has a AMD GX-424CC 2.4GHz processor (4 core/4 thread) and 4GB RAM. This may compare to a raspberry pi4, but I know an X86 processor doesn't directly compare to an ARM processor, and a processor can have a high clock speed but other factors like L2/L3 cache can influence the overall performance. I can't find any published specs for the processor and RAM requirements to run the Codesys Control runtime, does anybody have a link to the minimum system requirements or experience using devices that are at or below the minimum system requirements. A raspberry pi with the control for raspberry pi SL runtime license would be the lowest cost option, but the license is not for commerical use. This restriction is somewhat vague, can anybody clarify if this means I can use a raspberry Pi runtime for in-house automation, what about if I am selling an integrated system that uses a raspberry Pi as a controller?
Last updated: 2023-12-25

Post by zoronoa on J1939.ReceiveWatchdog & J1939.ReceiveParameterGroup CODESYS Forge talk (Post)
Hi, I'm trying to monitor a specific PGN which I have it sending a pulse every 500mS Problem: Using the Watchdog for the ECU does not really help me as I have multiple instances with separate PGNs, if a PGN goes ghost, the ECU watchdog won't be flagged as the others will be running. I found the J1939.ReceiveWatchdog & J1939.ReceiveParameterGroup function blocks and they seem like a good solution for my problem, I just can't get them to work from my understanding you just build the J1939.ReceiveParameterGroup once and then connect it's output to the J1939.ReceiveWatchdog, here's my CODE for the setup HEARTBEAT_TIMER(IN:= TRUE, PT:= T#1000MS); //turn-on delay because of initialization race IF HEARTBEAT_TIMER.Q= TRUE THEN Glob_Var.DisplayReceive.xExecute:= TRUE; Glob_Var.DisplayReceive.itfECU:= Valve_X; Glob_Var.DisplayReceive.dwPGN:= 65511; Glob_Var.DisplayWatchdog.xEnable:= TRUE; Glob_Var.DisplayWatchdog.itfParameterGroup:= Glob_Var.DisplayReceive.itfParameterGroup; Glob_Var.DisplayWatchdog.tTimeout:= T#1500MS; END_IF Notes: Glob_Var.DisplayReceive is of type J1939.ReceiveParameterGroup Glob_Var.DisplayWatchdog is of type J1939.ReceiveWatchdog The above code is done once and not cyclically I'm monitoring Glob_Var.DisplayWatchdog.xError cyclically
Last updated: 2024-03-13

Post by umdee on Error when monitoring LAD programs CODESYS Forge talk (Post)
System Information from the computer being used: OS Name Microsoft Windows 11 Pro Version 10.0.22631 Build 22631 Other OS Description Not Available OS Manufacturer Microsoft Corporation System Manufacturer Dell Inc. System Model Latitude 5500 System Type x64-based PC System SKU 08B9 Processor Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz, 2112 Mhz, 4 Core(s), 8 Logical Processor(s) BIOS Version/Date Dell Inc. 1.3.11, 6/11/2019 SMBIOS Version 3.2 Embedded Controller Version 255.255 BIOS Mode UEFI BaseBoard Manufacturer Dell Inc. BaseBoard Product 0M14W7 BaseBoard Version A00 Platform Role Mobile Secure Boot State On PCR7 Configuration Elevation Required to View Windows Directory C:\WINDOWS System Directory C:\WINDOWS\system32 Boot Device \Device\HarddiskVolume1 Locale United States Hardware Abstraction Layer Version = "10.0.22621.2506" User Name CARDASSIA-IX\Engineer Time Zone Eastern Daylight Time Installed Physical Memory (RAM) 16.0 GB Total Physical Memory 15.8 GB Available Physical Memory 4.67 GB Total Virtual Memory 18.5 GB Available Virtual Memory 2.52 GB Page File Space 2.63 GB Page File C:\pagefile.sys Kernel DMA Protection Off Virtualization-based security Not enabled Windows Defender Application Control policy Enforced Windows Defender Application Control user mode policy Off Device Encryption Support Elevation Required to View Hyper-V - VM Monitor Mode Extensions Yes Hyper-V - Second Level Address Translation Extensions Yes Hyper-V - Virtualization Enabled in Firmware Yes Hyper-V - Data Execution Protection Yes
Last updated: 2024-03-19

Post by alexgooi on Modbus writing on value change CODESYS Forge talk (Post)
Hi Duvan, You could make this in 1 single object (FB), Indeed don't use a function for this beacuse you need some memory to keep the old value. For i := 0 TO 200 BY 1 DO //Check if the value has been changed IF Old_Value[i] <> Value[i] THEN //Set the trigger to TRUE Trigger[i] := TRUE; Old_Value[i] := Value[i]; END_IF END_FOR If you define the Value array as an In_Out and the Trigger as an In_Out you arn't claiming any aditional memory to your system. You ofcourse then need to add some code arround it that does something with the trigger and writes it back to FALSE again. If you want more flexability you also could use pointers instead of using the IN_OUT FOR i := 0 TO 200 BY 1 DO address := address_Input + i * SIZEOF(*Put type here); IF Address^ <> Old_Value[i] THEN Trigger[i] := TRUE; Old_Value[i] := Address^; END_IF END_FOR
Last updated: 2024-04-02

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

<< < 1 .. 134 135 136 137 138 .. 144 > >> (Page 136 of 144)

Showing results of 3576

Sort by relevance or date