Search talk: As Time

 
<< < 1 .. 54 55 56 57 58 .. 67 > >> (Page 56 of 67)

Post by warrumungi on Opening a Dialog on a specific Client from ST CODESYS Forge talk (Post)
Hi Thanks, Manuel, for providing this solution and insight. I too had exactly the same problem as you did. While I did implement a custom filter, I'd also like to point out what jinlee mentioned above...I see no reference to VU.PublicVariables.Clients.Current anywhere?? In my case I only needed to show a dialog on a "master" client, not all the clients, so I filtered by IP address to do this.
Last updated: 2024-11-05

Post by durallymax on Access Variable Visu Dialog CODESYS Forge talk (Post)
Is there a way to access the variable in the called dialog? Example: Text Field element with PLC_PRG.myVar as Text variable. OnMouseClick configured to write variable with keypad pop-up. OnValueChanged configured to Execute ST RND(PLC_PRG.myVar,2); Rather than change myVar with each copy of this Text Field, is there a way to access whatever the configured text variable is? Generally try to stay away from ST in visu, but was curious regardless.
Last updated: 2024-11-14

Post by gatto on library ModbusTCP Slave 4.1.0.0 - function block ModbusServer CODESYS Forge talk (Post)
Hi all, this is my situation : plc weidmuller UC20 WL200 AC target version 4.12.0.0 codesys 3.5.20.0 Actually i'm testing the program without license (2 hours). i'm trying to use the function block ModbusServer. I used it on the past with codesys 3.5.14.40 an it worked. Now not. i can connect (as you see byClientConnctions = 1) but i dont recive a reply from server. Someone can help me?
Last updated: 2024-11-27

Post by amy123 on JSON Utilities ENUM to STRING CODESYS Forge talk (Post)
Hello, Is it possible to get the string returned from the ENUM JSONType? I read that with regular enumerations you can add '{attribute 'to_string'}' and access it. However, this is from the compiled library, so I can not add that attribute. When I try to use TO_STRING(JSONType) it returns the integer as a string. Ex. jsonType :=TO_STRING(pJSONData^._aJSONData[i].eType); gives '8' instead of NONE Thanks!
Last updated: 2024-12-09

Post by aliazzz on Raspberry Pi 3: Linux/ARMHFv7 unknown container technology CODESYS Forge talk (Post)
Hi CODESYS team! It seems Podman for Raspberry Pi 3 is not detected correctly in the latest "Deploy Control SL 4.14.0.0" : Linux/ARMHFv7 unknown container technology. 1) The Communication Tab, device information section shows podman technology as DETECTED. 2) The Runtime Deployment menu message says: "unknown container architecture" 3) The pulldown window under the deployment tab doesn't show the options for ARMHF Virtual Edge SL and ARMHF Virtual Control SL. I hope you can fix this soon and keep up the great work!
Last updated: 2024-12-15

Post by smartcoco on Opaque NodeId in the OPC UA server CODESYS Forge talk (Post)
This seems to be because when creating 'OPC UA' with 'Communication Manager', the 'IdentifierType' of 'NodeId' cannot be configured as' String 'type. This issue is not an isolated case. For this issue, CODESYS seems to have not provided guidance to users on how to proceed. We can provide feedback on this issue in the 'My Question' section of the 'CODESYS Store' to make CODESYS take it seriously.
Last updated: 2025-01-10

Post by rmaas on STRING conversions to DWORD CODESYS Forge talk (Post)
Hi, The '' characters in Codesys are there only to indicate it is a STRING type. They are not actually added to the string, maybe you are adding them unintentionally in the concat function? You can send your data from Codesys to Hercules to verify... Another option is to send the data as an array of bytes instead of a string, with every byte representing 1 ASCII character. https://www.ascii-code.com/ This way you are 100% sure Codesys is not adding any unwanted characters.
Last updated: 2025-01-31

Post by alex2 on How to uninstall SVN module CODESYS Forge talk (Post)
Hello, At work, I use Codesys V3.5 SP10. I wanted to run some tests with the SVN module, which I kept installed (without actually using it in the end). However, when I tried to launch Codesys today, I was informed that a license was missing. I suspect that this is due to the SVN module. Could you tell me how to uninstall it without launching Codesys? (as i cant proprerly start Codesys without the license) Thank you in advance.
Last updated: 2025-02-25

Post by wayne-riesterer on Assignment Efficiency - Repetitive Assignment vs IF statement CODESYS Forge talk (Post)
Hello Can anyone see any problems with constant assignment as in the following statement: Coils[0] := Coils[0] OR (Buttons[0] AND Sensors[0] > 6); Rather than using the more verbose and vertically-larger: IF NOT Coils[0] AND Buttons[0] AND (Sensors[0] > 6) THEN Coils[0] := TRUE; END_IF Also, is the test expression short-circuited in the latter case? In other words, will the runtime move on after it sees Coils[0] = FALSE AND? Thanks
Last updated: 2025-03-07

Post by dkugler on Beckhoff EL6652-0010 with Codesys CODESYS Forge talk (Post)
we use successful for many years the KEB MFI terminal for Profinet, EtherCAT, Ethernet/IP,... You'll need a EtherCAT Coupler as "head" from KEB, Kendrion or Berghof. It's all the same board inside: https://www.kebamerica.com/products/ethercat-bus-coupler/ Or the coupler with 16Di/Do integrated: https://www.kebamerica.com/products/ethercat-digital-io-module/ last year I got a EK1100 with EL6731 Profibus treminal runnig. But it was a lot of reverse engineering and thinkering in Codesys and TwinCAT to be done, to get it up, fulfilling my needs. Good luck!
Last updated: 2025-03-25

Post by imdatatas on TO_STRING operator not working for IMPLICIT ENUM CODESYS Forge talk (Post)
Hi Everyone, It is a very useful feature to be able to obtain the enum value as a string with the TO_STRING operator by defining {attribute 'to_string'}. However, unfortunately the same function does not work for IMPLICIT ENUMs. I hope that {attribute 'to_string'} behavior can also work for Implicit Enumeration data types in one of the upcoming Codesys versions. https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_pragma_attribute_to_string.html https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_datatype_implicit_enumeration.html Best regards, Imdat
Last updated: 2025-03-27

Post by installwhat on Ethercat and profinet on together CODESYS Forge talk (Post)
I'm curious about the impact of having profinet and Ethercat (specifically softmotion so frame at start of task?) running together. Since it's advised to access the data from the bus task should have both profinet io and ethercat on the same task? Are there any implications around this one should be aware of especially since the frame at task start is just, so far as I'm aware, an ethercat thing? Thanks
Last updated: 2025-04-08

Post by nz-dave on sysfile- transfer file to pc CODESYS Forge talk (Post)
Hi Trying to send csv file to c:\data\xxx.csv Im able to save to plclogic and after doing this https://forge.codesys.com/forge/talk/Runtime/thread/5cac1390b4/ i can now "file transfer" to host pc downloads. but still cant transfer to c:\ im sure i have done this in the past with older versions of the 3.5 ide? just concat the file name as c:\data\My_Filename.csv. any ideas? cheers
Last updated: 2025-04-23

Post by imdatatas on Import from XML problem CODESYS Forge talk (Post)
Hello Everyone, When I try to import some POUs that were previously exported from another project as an XML file, I get an error like in attached image and the process does not complete. "There are no objects in the export file..." I am using SP21 Codesys IDE and I do not know which version this XML (*.export) file was previously exported with. Has anyone encountered the same problem? Regards, imdatatas
Last updated: 2025-04-26

Post by gabrielarffa on Modbus TCP/IP having problems with global variables CODESYS Forge talk (Post)
I'm using Modbus TCP/IP to communicate Codesys with Elipse E3 as the master for a college project. I have made a list of global variables to organize the programming in two different POUs. The problem is, when I try to do the mapping of variables, the program informs me of an error due to the identifiers having a "." on their names. Do I have to reorganize my code to make it an unified block or is there a way to declare their names without changing all the code structure?
Last updated: 2025-05-20

Post by gabrielarffa on Modbus TCP/IP having problems with global variables CODESYS Forge talk (Post)
I'm using Modbus TCP/IP to communicate Codesys with Elipse E3 as the master for a college project. I have made a list of global variables to organize the programming in two different POUs. The problem is, when I try to do the mapping of variables, the program informs me of an error due to the identifiers having a "." on their names. Do I have to reorganize my code to make it an unified block or is there a way to declare their names without changing all the code structure?
Last updated: 2025-05-20

Post by janp on IFM Controller Connection Issue CODESYS Forge talk (Post)
Hi everyone, I’m using an IFM ecomatBasic CR413S controller and having trouble connecting it to CODESYS 3.5. I have CODESYS SP18 installed, as recommended in the manual, and I’ve tried different patches. I’ve also installed all the packages provided on the IFM website for this controller. I can successfully connect to the ecomatBasic template, but I’m unable to connect when using the CR413S-specific template that includes all the inputs and outputs. Has anyone encountered this issue or knows a solution? Best regards, Jan
Last updated: 2025-05-22

Post by janp on IFM Controller Connection Issue CODESYS Forge talk (Post)
Hi everyone, I’m using an IFM ecomatBasic CR413S controller and having trouble connecting it to CODESYS 3.5. I have CODESYS SP18 installed, as recommended in the manual, and I’ve tried different patches. I’ve also installed all the packages provided on the IFM website for this controller. I can successfully connect to the ecomatBasic template, but I’m unable to connect when using the CR413S-specific template that includes all the inputs and outputs. Has anyone encountered this issue or knows a solution? Best regards, Jan
Last updated: 2025-05-22

Post by jvfred on Reading a negative number CODESYS Forge talk (Post)
I have a Codesys-based Eurotherm E+PLC400 connected to Codesys HMI SL for visualization. I am also bringing in several Pressure Indicators via the Ethernet. Everything works; however, the Pressure indicators sometimes read a negative value. When they do, the displayed value on the screen reads "65532." While I know what it represents, the customer freaks out and wants it to read "0" or a negative number. The value comes in as an integer, just in case that matters. Does anyone have any ideas?
Last updated: 2025-05-22

Post by ggis on Manage Gateways between different CODESYS IDE versions CODESYS Forge talk (Post)
Hi, I'd like to share the list of gateways between different versions (and sandboxes) of Codesys IDE. I refer to the list that is managed in Device > Communication Settings (as described in https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_edt_device_communication_settings.html ) Can I export/import that list? Or is there a file that I can copy from one installation to another one? Thank you GG
Last updated: 2025-05-28

Post by josul on Web Client HTTPS Communication Issue CODESYS Forge talk (Post)
Thank you for the suggestion. There is a certificate created in the quarantine directory relating to the URL used for the webclient FB. This certificate should have been valid as it was created only the week before this problem was encountered. I investigated a separate location using the same https URL and it has 2 certificates in the same quarantine directory, 1 is created almost 200 days ago, the other over 100 days ago. There have been no similar problems encountered with these certs or https at all.
Last updated: 2025-06-09

Post by sushela on Temu coupon code [[ acq615756]] United Kingdom CODESYS Forge talk (Post)
Shopping online has never been more exciting, especially with the Temu coupon code $100 off [[acu577459 & acq615756] that's currently available. This incredible offer allows you to save big on your purchases while enjoying a wide range of high-quality products from Temu's extensive catalog. For those in the United Kingdom and other European nations, the Temu coupon code [acu577459 & acq615756 offers maximum benefits, making your shopping experience even more rewarding. This exclusive code unlocks a world of savings, allowing you to indulge in your favorite items without breaking the bank. With the Temu coupon $100 off and Temu 100 off coupon code, you can explore a vast array of products across various categories. From fashion and electronics to home decor and beyond, Temu has something for everyone, and now you can enjoy substantial discounts on your purchases. H2: What Is The Coupon Code For Temu $100 off? Great news for shoppers! Both new and existing customers can enjoy amazing benefits by using our £100 coupon code on the Temu app and website. This Temu coupon $100 off is designed to provide substantial savings on your purchases, making it easier than ever to shop for your favorite items. With the $100 off Temu coupon, you'll be able to explore a wide range of products while keeping more money in your pocket. Here are the key benefits you can enjoy with our [acu577459 & acq615756 coupon code: [acu577459 & acq615756: Flat $100 off on your purchase [acu577459 & acq615756: £100 coupon pack for multiple use [acu577459 & acq615756: £100 flat discount for new customers [acu577459 & acq615756: Extra £100 promo code for existing customers [acu577459 & acq615756: £100 coupon for UK users H2: Temu Coupon Code $100 off For New Users In 2024 New users are in for a treat! You can get the highest benefits by using our coupon code on the Temu app. The Temu coupon $100 off is designed to give you an incredible start to your Temu shopping experience. With the Temu coupon code $100 off, you'll be able to save big on your first purchase and explore all that Temu has to offer. Here are the exclusive benefits for new users with our [acu577459 & acq615756 coupon code: [acu577459 & acq615756: Flat £100 discount for new users [acu577459 & acq615756: £100 coupon bundle for new customers [acu577459 & acq615756: Up to £100 coupon bundle for multiple use [acu577459 & acq615756: Free shipping all over Europe [acu577459 & acq615756: Extra 30% off on any purchase for first-time users H3: How To Redeem The Temu coupon $100 off For New Customers? Redeeming your Temu £100 coupon is quick and easy. Follow these simple steps to apply the Temu $100 off coupon code for new users and start saving: Download the Temu app or visit their website Create a new account Browse and add items to your cart Proceed to checkout Enter the coupon code [acu577459 & acq615756 in the designated field Apply the code and watch your total decrease by £100 Complete your purchase and enjoy your savings! H2: Temu Coupon $100 off For Existing Customers Existing Temu users, we haven't forgotten about you! You can also enjoy fantastic benefits by using our coupon code on the Temu app. The Temu £100 coupon codes for existing users offer great value, allowing you to continue saving on your favorite products. With the Temu coupon $100 off for existing customers free shipping, you'll be able to shop to your heart's content without worrying about additional costs. Here are the exclusive benefits for existing users with our [acu577459 & acq615756 coupon code: [acu577459 & acq615756: £100 extra discount for existing Temu users [acu577459 & acq615756: £100 coupon bundle for multiple purchases [acu577459 & acq615756: Free gift with express shipping all over Europe [acu577459 & acq615756: Up to 70% off on top of existing discount [acu577459 & acq615756: Free shipping in the UK H3: How To Use The Temu Coupon Code $100 off For Existing Customers? Using your Temu coupon code $100 off as an existing customer is a breeze. Follow these steps to apply the Temu coupon $100 off code and start saving: Open the Temu app or visit their website Log in to your existing account Add your desired items to your cart Proceed to checkout Enter the coupon code [acu577459 & acq615756 in the provided field Apply the code and watch your total decrease Complete your purchase and enjoy your savings! H2: Latest Temu Coupon $100 off First Order For those making their first order, you're in for a treat! The Temu coupon code $100 off first order offers the highest benefits, making your initial purchase extra special. This Temu coupon code first order deal is designed to give you a fantastic introduction to the world of Temu shopping. With the Temu coupon code $100 off first time user, you'll be able to explore a wide range of products while enjoying substantial savings. Here are the exclusive benefits for your first order with our [acu577459 & acq615756 coupon code: [acu577459 & acq615756: Flat £100 discount for first order [acu577459 & acq615756: £100 Temu coupon code first order [acu577459 & acq615756: Up to £100 coupon for multiple use [acu577459 & acq615756: Free shipping to European countries [acu577459 & acq615756: Extra 30% off on any purchase for first order in the UK H2: How To Find The Temu Coupon Code $100 off? Finding the latest Temu coupon $100 off is easier than you might think. While you can often find deals on platforms like Temu coupon $100 off Reddit, there are more reliable ways to ensure you're getting verified and tested coupons. One of the best ways to stay updated on the latest deals is by signing up for the Temu newsletter. This way, you'll receive regular updates on new promotions and coupon codes directly in your inbox. Additionally, we recommend following Temu's social media pages, where they often share exclusive deals and promo codes. For the most up-to-date and working Temu coupon codes, we suggest visiting trusted coupon sites. These platforms regularly update their offerings and verify the codes to ensure they're still valid. Remember, our coupon code [acu577459 & acq615756 is always a great option for securing your $100 off! H2: Is Temu $100 off Coupon Legit? Absolutely! Our Temu $100 off Coupon Legit offer is 100% genuine. You can rest assured that the Temu 100 off coupon legit deal we're offering with the coupon code [acu577459 & acq615756 is completely valid and safe to use. We take pride in providing our readers with authentic and verified coupon codes. Any customer can safely use our Temu coupon code to get $100 off on their first order and then on recurring orders. We regularly test and verify our codes to ensure they're working correctly and providing the promised benefits. What's more, our Temu coupon code is valid all over the UK and Europe, giving you the flexibility to shop from wherever you are. The best part? Our code doesn't have an expiration date, so you can use it whenever you're ready to make a purchase! H2: How Does Temu $100 off Coupon Work? The Temu coupon code $100 off first-time user works by directly reducing your total purchase amount by £100 at checkout. When you apply the Temu coupon codes 100 off, the system automatically deducts £100 from your cart total, giving you instant savings on your order. This coupon works on a wide range of products available on Temu, allowing you to save on everything from fashion items to electronics and home goods. The discount is applied before taxes and shipping, maximizing your savings. Remember, while the coupon offers a significant discount, it's always a good idea to check the terms and conditions to ensure you're making the most of your savings. H2: How To Earn Temu £100 Coupons As A New Customer? Earning a Temu coupon code $100 off as a new customer is straightforward. The easiest way is to use our 100 off Temu coupon code [acu577459 & acq615756 when you make your first purchase. This code is specifically designed for new customers to enjoy maximum benefits. Additionally, Temu often offers special promotions for new customers who sign up for their newsletter or create an account on their platform. These promotions can include welcome bonuses, first-purchase discounts, and exclusive access to sales events. By staying engaged with Temu through their app and email communications, you increase your chances of receiving more valuable coupons and promotional offers in the future. H2: What Are The Advantages Of Using Temu Coupon $100 off? Using a Temu coupon code 100 off or Temu coupon code $100 off comes with numerous advantages. Here are some of the key benefits you can enjoy: £100 discount on your first order, allowing you to save big right from the start £100 coupon bundle for multiple uses, extending your savings across several purchases 70% discount on popular items, helping you snag great deals on trending products Extra 30% off for existing Temu UK customers, rewarding your loyalty Up to 90% off on selected items, offering incredible savings on specific products Free gift for new UK users, adding extra value to your purchase Free delivery all over Europe, eliminating shipping costs and enhancing your savings H2: Temu £100 Discount Code And Free Gift For New And Existing Customers The Temu $100 off coupon code offers multiple benefits for both new and existing customers. With the $100 off Temu coupon code, you can enjoy significant savings on your purchases while also receiving additional perks. Here's what you can expect when using our [acu577459 & acq615756 code: [acu577459 & acq615756: £100 discount for first order [acu577459 & acq615756: Extra 30% off on any item [acu577459 & acq615756: Free gift for new Temu users [acu577459 & acq615756: Up to 70% discount on any item on the Temu app [acu577459 & acq615756: Free gift with free shipping in the UK and Europe H2: Pros And Cons Of Using Temu Coupon Code $100 off This Month Using the Temu coupon $100 off code or Temu 100 off coupon comes with several advantages and a few considerations. Here are the pros and cons: Pros: Significant savings of £100 on your purchase Applicable to a wide range of products No minimum purchase requirement Valid for both new and existing customers Can be combined with other ongoing promotions Cons: Limited to one use per account May not apply to certain sale or clearance items H2: Terms And Conditions Of Using The Temu Coupon $100 off In 2024 Before using the Temu coupon code $100 off free shipping or latest Temu coupon code $100 off, it's important to understand the terms and conditions. Here are the key points to keep in mind: Our coupon code [acu577459 & acq615756 doesn't have an expiration date, allowing you to use it at your convenience The code is valid for both new and existing users in the UK and Europe There are no minimum purchase requirements for using our Temu UK coupon code [acu577459 & acq615756 The £100 discount is applied before taxes and shipping fees The coupon can be used on most items, but some exclusions may apply Only one coupon can be used per order The coupon cannot be combined with certain other promotional offers Temu reserves the right to modify or cancel the promotion at any time H2: Final Note: Use The Latest Temu Coupon Code $100 off We hope this comprehensive guide has helped you understand how to make the most of the Temu coupon code $100 off. This incredible offer provides substantial savings on your Temu purchases, allowing you to explore a wide range of high-quality products at unbeatable prices. Remember to use the Temu coupon $100 off code [acu577459 & acq615756 on your next order to unlock these amazing savings. Happy shopping, and enjoy your discounted Temu experience! H2: FAQs Of Temu $100 off Coupon Q: How do I apply the Temu $100 off coupon? A: To apply the Temu $100 off coupon, simply enter the code [acu577459 & acq615756 at checkout. The discount will be automatically applied to your order, reducing your total by £100. Remember to review your order to ensure the discount has been applied correctly before completing your purchase. Q: Can I use the Temu $100 off coupon more than once? A: Generally, the Temu $100 off coupon is limited to one use per account. However, Temu occasionally offers coupon bundles that allow for multiple uses. Always check the specific terms of the coupon you're using to understand its usage limits. Q: Is there a minimum purchase amount required to use the $100 off coupon? A: Our Temu coupon code [acu577459 & acq615756 doesn't have a minimum purchase requirement. You can apply it to any eligible order, regardless of the total amount. This makes it an excellent opportunity to save on both small and large purchases. Q: Can I combine the $100 off coupon with other promotions? A: In most cases, the $100 off coupon can be combined with ongoing sales on the Temu platform. However, it may not be stackable with certain other coupon codes or special promotions. Always check the terms and conditions or reach out to Temu customer service for clarification. Q: Does the Temu $100 off coupon work for international orders? A: Yes, our Temu coupon code [acu577459 & acq615756 is valid for orders in the UK and other European countries. This allows shoppers across these regions to enjoy significant savings on their Temu purchases. Always ensure you're using the correct regional version of the Temu website or app when applying the coupon.
Last updated: 2024-10-26

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 riccardo on VisuElems.CurrentUserGroupId is not stable CODESYS Forge talk (Post)
GoodMorning everyone. I have a system that, in case of alarm, have to block. When the operator logs in must have to acknoledge the alarm and should operate in the system freely. To perform this I detect the logged User by (VisuElems.CurrentUserGroupID <> 0) with a similar code to the the following: PROGRAM AlarmMngt VAR alarm : BOOL:= FALSE; Ack : BOOL:= TRUE; PushBottonOpening : BOOL:= FALSE; Valve : BOOL := FALSE; Flag: BOOL := FALSE; END_VAR IF alarm AND Ack AND (NOT Flag) THEN valve := FALSE; PushBottonOpening := FALSE; Ack := FALSE flag := TRUE; ELSIF (NOT alarm) AND Ack THEN flag := FALSE; END_IF (* if the system is in alarm but there is a logged operator that acknowledge the alarm the system allows the valve opening.*) IF (VisuElems.CurrentUserGroupID <> 0) AND Ack AND Alarm AND PushBottonOpening THEN Valve := TRUE; ELSIF (VisuElems.CurrentUserGroupID = 0) AND Alarm THEN valve := FALSE; END_IF The problem I have is in the last 5 lines of the code: Even if there is a logged in user, the GroupID variable is subjected to a refresh that cyclically set for an instant it to 0 and this close the valve making difficult to the user to work Now I solved it creating a time hysteresys cycle but it is not a good solution. Someone is able to explane me why the GroupID variable is sobjected to this refresh and how to stabilize to avoiding it? Thank you in advance, Riccardo
Last updated: 2023-11-10

Post by riccardo on VisuElems.CurrentUserGroupId is not stable CODESYS Forge talk (Post)
Goodmorning TimvH, Thanks for the reply. I don't know if your solution solve my trouble yet, I am going to see the link you sent me. In the mean time I try to explane better what I need to do. I have a turbine system that get in alarm under some condition (E.g low speed of turbine) and block the itself. When the system is stoped there is no speed turbine and the system cannot start. To give to the operetor the possibility to bypass the alarms, there is an acknoledgement alarm pushbutton. This bypass must not work for everyone but only for those client that perform the login by (User Management). Furthermore, if the user perform the (manual or automatic) logout in alarm conditions, the acknowlegment must be annulled and block the system again. To do this, I need to know if an operator is logged in the page and is working to fix the problem; otherwise the syste must autoturn off again. Now I go to study your solution, if I have explaned better and you have another idea tell me please.
Last updated: 2023-11-16

<< < 1 .. 54 55 56 57 58 .. 67 > >> (Page 56 of 67)

Showing results of 1655

Sort by relevance or date