Activity for alebrije

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi Xenox, well there is a temporary fix, in your information modell you need to take out all the enums (some how are not yet supported by codesys) and also try to use as much as objectype as possible. try it out and let me know if this also fixes your problem! Regards

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello Community, I have a program in which I decide which slaves in my EtherCAT master got to be enabled, but today I have an issue because of a EK1100 which has inside a safety module EL1918, whenever I try to disable the slave with the code: EK1100.enable := FALSE; After I reconfigure my master, the safetylogic and safety app inside this modul is still active, this means, that my EtherCAT master cannot go into operational mode because "some slaves are missing". Can somebody help me out with some...

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Solution: I uninstall the IoT library, and reinstalled. Would be nice still to know the base of this issue... license? wrong installation? 2 versions were installed, is this an issue? Well, will be nice to know Regards!

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I have been using this library since the beginning of the year, and suddenly I started to receive this error: ------ Build started: Application: Device.Application ------- Typify code... [ERROR] UTBOpcUa: C0046: Identifier 'gc_udiMaxValueSize' not defined [ERROR] UTBOpcUa: C0436: String length 'gc_udiMaxValueSize' is no constant value [ERROR] UTBOpcUa: C0046: Identifier 'gc_udiMaxValueSize' not defined [ERROR] UTBOpcUa: C0436: String length 'gc_udiMaxValueSize' is no constant value [ERROR]...

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Update: I mange to create a connection, but as soon as i am connected to the device, after one minute my Codesys Control Win service just stop. each and every time, any ideas why? If anybody has an update also about the certificates and licences that are required to have this kind of communication, I will appreciate any help.

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, So I would like to implement this library into my project, I spent yesterday the whole day before deciding to write in this forum. The situation is as follows: First my setup: Codesys V3.18.20, I'm using Control win x64 V3.18.20, Azure portal and Azure IoT explorer I am using the example project and another empty project with only the function block. First azure. I created my IoT Hub Host name "HotTest.azure-devices.net", and there I created my device "TestDevice" which is enabled and the...

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, So I would like to implement this library into my project, I spent yesterday the whole day before deciding to write in this forum. The situation is as follows: First my setup: Codesys V3.18.20, I'm using Control win x64 V3.18.20, Azure portal and Azure IoT explorer I am using the example project and another empty project with only the function block. First azure. I created my IoT Hub Host name "HotTest.azure-devices.net", and there I created my device "TestDevice" which is enabled and the...

  • alebrije alebrije posted a comment on discussion Forge πŸ‡¬πŸ‡§

    Just to update this. I found a solution to this, in the application tap of the codesys RTE system configuration. The standard logger was disabled. I also update the retain Type to *On Powerfall. Everything is working now!

  • alebrije alebrije posted a comment on discussion Forge πŸ‡¬πŸ‡§

    Hello: I have a pretty complex program, and everything was working fine using Codesys control x64, because of the requirements I moved to use RTE system, with 200Β΅s cycle time. First I was developing everything just fine. but suddenly i start getting the Program loaded Exception, i when I get to look to the logger, I found only this. Sound pretty obvious that I have a SysMem issue, but the question is, how can I restart it? What I tried: -restart pc with soft RTE. -restart the RTE -load an empty...

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello Everyone, I am having a super weird problem when compiling an information model, I know for sure that this information model works because it works in another computers. I wanna ask in this forum because i already tried to uninstall and install codesys again but i am having the same issue... About the ideas that i have, is there the possibility that my compiler broke somehow? that the location of the boot project is messing my compiler? Attach you can fin the information model, a couple of...

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Oh my god! thank you so much Marcel! and also thanks for the fast reply... Its working now, Have a great day Best Regards

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I am doing my first visualization in Codesys, and I am experienced some problems that im sure are quite easy to fix, but I cannot find the solution... Easy, i want to configure a Button, in all the videos you can configure this "onClick" actions or while pressed and so on. but whenever i Add a button, in the input configuration i can only see Toggle and Tap options, how can I add the other ones? lis OnMouseClick? is some library missing? Best regards

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello Everybody, I have the following problem. I have an Opcua communication where I can execute a method from my PLC. As an example we can take the method JogNegative: This command is under Opcua-->MovingUnits(Structure of 10 movingunits)-->MovingUnit1(structure of moving unit signals and methods)-->JogNegative(Method with an output called Result). depending of wich method is calles (movingunit1..2..3..10) i want to write the jog signal in my internal array of structures. Please see the picture.....

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Update: I found that to execute the logic of inherited functions, the command SUPER^(stInOut :=stInOut) can execute the logic of the inherited function

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I am recently working on an project with a lot of OOP, and the use of the ABTRACT keyword is still not clear for me. Here is my example: I have 3 levels of execution and i want that every level write something in an IN_OUT structure. My structure: TYPE St_Test : STRUCT tLevel1 : TIME; xLevel1 : BOOL; tLevel2 : TIME; xLevel2 : BOOL; tLevel3 : TIME; xLevel3 : BOOL; END_STRUCT END_TYPE My fb Level 1 FUNCTION_BLOCK ABSTRACT Level1 VAR_INPUT xEnableAll : BOOL; END_VAR VAR_IN_OUT stInOut : St_Test;...

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi Campbell, Thanks for your fast reply!! sounds pretty interesting. I will try this and give you my feedback on how is going. Regards!

  • alebrije alebrije posted a comment on discussion Forge πŸ‡¬πŸ‡§

    Hello sgronchi, Thank you so much it works!... but i wanted to clarify: There is only the possibility to add 2 times "../" so at the end my solution was: // .. image:: ../../Images/Keypad.png // and my keypad function is in Library/Libname/FunctionBlock/Devices/Keypad/FB_Keypad. I hope this post help people working with custom libraries! Best regards!

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I'm working on a program that I would like to be a master program for several devices, so its needed to have a dynamic hardware configuration... My hardware: see image... The objective is to activate or deactivate my EtherCAT masters depending on a single variable... As example this variable will be an INT received over OpcUa. and it has 3 values 0, 1 or 2... IF 0 THEN Ethercat_master1 is active and the others deactivated ELSIF 1 THEN Ethercat_master2 is active and the others deactivated ELSIF...

  • alebrije alebrije posted a comment on discussion Forge πŸ‡¬πŸ‡§

    Hello everyone, I am working right now creating a new library, and I want it to be a state of the art one, here I describe my problems: I want to add an image to each fb, and I was reading the reStructuredText Directives so, wen my Fb is out of all my folders, I can use the directive image without a problem... see Photo 1. https://docutils.sourceforge.io/docs/ref/rst/directives.html#image But as soon I move my fb inside a subfolder, I cannot access the image anymore, and i got this weird link......

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, you can try to perform a multiple download like this and see if the problem persist.. go online, multiple download and select always perform a full download and release any forced variables Regards!

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello everyone, I am working right now creating a new library, and I want it to be a state of the art one, here I describe my problems: I want to add an image to each fb, and i was reading the reStructuredText Directives so, wen my Fb is out of all my folders, I can use the directive image without a problem... see Photo 1. https://docutils.sourceforge.io/docs/ref/rst/directives.html#image But as soon I move my fb inside a subfolder, I cannot access the image anymore, and i got this weird link......

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Wow! TVM thank you very much this solves exactly what I am trying to do!. I really appreciate your post... my code was as follow VAR sSplitValues : STRING :='='; Out_Parameters : ARRAY[0..GVL.gMaxStructParameters] OF STRING; INIValues1 : POINTER TO ARRAY [0..gvl.gMaxStructParameters] OF STRING; stStructureA : stMyStructure; xExecutionDecode : BOOL; starttime: TIME; ProcessTime : TIME; iFill: INT; iFound: INT; iSplitLocationValue : INT; END_VAR INIValues1:= ADR(stStructureA); IF xExecuteDecode THEN...

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thannk you fajean i replied to you in the folllowing link https://forge.codesys.com/forge/talk/Engineering/thread/b64911d912/?limit=25#0c0f

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks fajean, But probably i need to explain my aplication a little bit more. following ur example: ptr[0].member_1 := ...; I wanted to do ".member" a variable so this way i can fill my structures no mater the size Let's say: For i := 1 to iSizeStructure DO For j := 1 to jSizeChildStructure Do (* programm to find a string inside a longstring And i will get my tempstring*) Ptr[i].[j] := Tempstring; END_FOR END_FOR I wanted to change only the structure pointer so i can fill many different structure...

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks fajean, But probably i need to explain my aplication a little bit more. following ur example: ptr[0].member_1 := ...; I wanted to do ".member" a variable so this way i can fill my structures no mater the size Let's say: For i := 1 to iSizeStructure DO For j := 1 to jSizeChildStructure Do (* programm to find a string inside a longstring And i will get my tempstring*) Ptr[i].[j] := Tempstring; END_FOR END_FOR I wanted to change only the structure pointer so i can fill many different structure...

  • alebrije alebrije posted a comment on discussion Forge πŸ‡¬πŸ‡§

    Hello, I would like to save some values in a structure named Test The structures is TYPE test : STRUCT generalinfo :general; // another structure with 2 variables as string testfreatures : freatures; // another structure with 2 variables as string END_STRUCT END_TYPE I'm using a pointer to the structure test VAR INIValues1 : POINTER TO ARRAY [0..1000] OF STRING; stTest : test; END_VAR Program INIValues1 := ADR(stTest); // I want to write the first value of the first structure inside test as follow...

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I would like to save some values in a structure named Test The structures is TYPE test : STRUCT generalinfo :general; // another structure with 2 variables as string testfreatures : freatures; // another structure with 2 variables as string END_STRUCT END_TYPE I'm using a pointer to the structure test VAR INIValues1 : POINTER TO ARRAY [0..1000] OF STRING; stTest : test; END_VAR ##Program INIValues1 := ADR(stTest); // I want to write the first value of the first structure inside test as follow...

  • alebrije alebrije posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I would like to save some values in a structure named Test The structures is TYPE test : STRUCT generalinfo :general; // 2 variables as string testfreatures : freatures; // 2 variables as string END_STRUCT END_TYPE I'm using a pointer to the struct test VAR INIValues1 : POINTER TO ARRAY [0..1000] OF STRING; END_VAR INIValues1 := ADR(Test); // I want to write the values as follow INIvalues1^[0].^[0] := 'Test'; How can I mange to do this... I would like later only to replace the struct so my...

1