Activity for CODESYS Forge

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

    Hi! I want to read the codesys version into the project, so I can highlight it in the SCADA system. VAR dwVersion : DWORD; END_VAR SysTarget.SysTargetGetVersion(pulVersion := ADR(dwVersion)); This gives me the value 100859909. I tried to search ths up and found som older post (https://forge.codesys.com/forge/talk/Runtime/thread/a55981ff4d/) that said each 4 bytes reads a number in the version. Example is 50662666 = 16#03050D0A which reads to V3.5.13.10 When I run this code I get the value 100859909,...

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

    What do you want to accomplish?

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

    What do you want to accomplish?

  • askic askic modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I have found the following instruction in the online help( https://content.helpme-codesys.com/en/libs/CmpSupervisor/3.5.17.0/SupervisorOperationSetTimeout.html ): Sets a (new) timeout for the given operation Supervision must be disabled to modify the timeout and should be enabled afterwards. However, I don't quite understand how to do this? Where can I disable and later enable Supervision? Is it through Codesys application or device menu? I don't find instructions clear.

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

    Hello, I have found the following instruction in the online help( https://content.helpme-codesys.com/en/libs/CmpSupervisor/3.5.17.0/SupervisorOperationSetTimeout.html ): Sets a (new) timeout for the given operation Supervision must be disabled to modify the timeout and should be enabled afterwards. However, I don't quite understand how to do this? Where can I disable and later enable Supervision? Is it throght Codesys application or device menu? I don't find instructions clear.

  • pablotorres pablotorres posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hi! How did you solve it?

  • ballen ballen modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    Have you had any luck figuring this issue out?

  • ballen ballen posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Have you had any figuring this issue out?

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

    Hi. I want to create a FB with bacnet objects. FUNCTION_BLOCK PT1000 VAR_INPUT System: STRING; In: REAL; Name:STRING; END_VAR VAR_OUTPUT Out: REAL; Out_St: Struct_PT1000; END_VAR VAR {attribute 'instance-path'} {attribute 'noinit'} Tag: STRING; Instance:DINT; //AnalogInn : WagoSysBACnet.FbAnalogInput_large(1); This works. Objectname is AnalogInn. identifier is 1 END_VAR I want to name object based on FB PT1000. In FB P1000, I want to write eUnits, Name and so on. How can i do this???

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

    Hi , Can i monitor a other Canbus and use the data ? Ive got a mobile crane. So i want to add a device with an unused adres. Then Read the Joystick and use some buttons for an optional device

  • Anonymous Anonymous created ticket #188

    Registration not available

  • mattplc mattplc posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    Hallo, bisher war die Benutzung der Symbolkonfiguration für die OPC-UA Variablen recht easy einsetzbar. Im UAExpert Tool konnte man im Klarnamen den String sehen. var1 = client.get_node("ns=4;s=|var|WAGO 750-8212 PFC200 G2 2ETH RS.Application.PLC_PRG.fbTest.StateActual") Die Anbindung an die Python opcua Library hat so eigentlich gut funktioniert. Auch zum debuggen im UAExptert, konnte man den Value so sehen wie die Varibale heißt. In meinem Fall ein Enum. Was seit lÀngerer Zeit nicht mehr funktionier...

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

    UDP has no packet ordering mechanism, and Modbus protocol has no order checking mechanism nor session establishment. I'm sorry but this is false, Modbus IP based have the Transaction Identifier. Transaction Identifier - It is used for transaction pairing, the MODBUS server copies in the response the transaction identifier of the request. Modbus UDP make more sense than Modbus TCP in a local environment.

  • climblinne climblinne modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I am already able to run an OPC UA method in Codesys. Now my question, how can I interact with other tasks (e.g. read an SDO from EtherCAT and return it by the function)? The OPC UA method seems to be called only once (I tried to return BOOL or UINT values). Up to now I only found to do a while loop to wait for the result of the other task. Is there a better way to do it? Is this the way OPC UA functions should be used (for "not too long" function calls) or should I use another mechanism (method:...

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

    Hello, I am already able to run an OPC UA method in Codesys. Now my question, how can I interact with other tasks (e.g. read an SDO from EtherCAT and return it by the function)? The OPC UA method seems to be called only once (I tried to return BOOL or UINT values). Up to now I only found to do a while loop to wait for the result of the other task. Is there a better way to do it? Is this the way OPC UA functions should be used (for "not too long" function calls) or should I use antother mechanism...

  • winki winki posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hello, I am wondering if it is possible to have OPCua Server with Control for linux ARM64. Indeed I am not able to add symbol configuration.

  • Gustavo Antonio Banchetti Brucatori Gustavo Antonio Banchetti Brucatori posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Here is the archive of the simulation project: https://drive.google.com/file/d/1n74Qy-1yLPpI2OK4FaZO5q50y2uTa0Wr/view?usp=drive_link

  • greenwood greenwood posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    Hallo, Wenn ich meine Projekte im Simulations - Modus laufen lasse bekomme ich für alle devices die Meldung "No driver found". Auf meinem Raspberry Pi laufen sie aber. Ich kann nicht genau sagen seit wann dies auftritt, bin mir aber recht sicher, dass es mal funktioniert hat. Ich habe Codesys 3.5 SP20 Patch 4. Ich würde mich freuen, wenn jemand helfen kânnte. Danke und viele Grüße.

  • andrax andrax posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    Die GerΓ€te Bibliothek von Stefan Dreyer ist dafΓΌr gedacht, um Treiber fΓΌr deine Sensoren zu erstellen, damit sie an einem MUX-Board betrieben werden kΓΆnnen. Auch ist ein Betrieb ohne MUX-Board mΓΆglich. Der Aufbau ist relativ einfach und besteht aus folgenden Komponenten: -Initialize (hier wird die .devdesc.xml eingelesen) -BeforeWriteOutputs (ruft initDevice auf und ist fΓΌr ausgehende Signale gedacht) -initDevice (initialisiert den Sensor) -AfterReadInputs (SelbsterklΓ€rend, Werte einlesen und Signalkonversation)...

  • teichhei teichhei posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    After correspondence with Mr Schwellinger from Codesys the resolution for this was to uninstall the SL 4.14 and install SL 4.13 on the device. Once this was done the licensing worked as expected. I noted that the container then showed a Version 3.00 and not 0.00.

  • Gustavo Antonio Banchetti Brucatori Gustavo Antonio Banchetti Brucatori modified a comment on discussion Motion πŸ‡¬πŸ‡§

    No errors in any condition. The function terminate correctly with the 'done' bit. Now I leave the machine and I don't know when I will be there again. The assumption you made I had considered. The operational limits of the axis are all fit for purpose, and this function should operate virtually without even noticing the motion limits. In fact in practice with the axis at low speed the function corrects any numerical value of the position in the range 0 ... 360Β° without any problem whatsoever in a...

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

    Hello, I have two warning on my code, and I would like to understand why. C0540: Attribut 'no_assign' missing for the 'FB_MOdbusReadHolding'. The type of the variable clientTcp is set to 'no_assign'. In this FB, I have done: clientTcp : ModbusFB.ClientTCP; clientRequest : ModbusFB.ClientRequestReadHoldingRegisters; The error comes from clientTcp : ModbusFB.ClientTCP; I am using ModbusFB 4.4.0.0. Thx a lot

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

    Hello, I have two warning on my code, and I would like to understand why. C0540: Attribut 'no_assign' missing for the 'FB_MOdbusReadHolding'. The type of the variable clientTcp is set to 'no_assign'. In this FB, I have done: clientTcp : ModbusFB.ClientTCP; clientRequest : ModbusFB.ClientRequestReadHoldingRegisters; The error comes from clientTcp : ModbusFB.ClientTCP; I am using ModbusFB 4.4.0.0. Thx a lot

  • Gustavo Antonio Banchetti Brucatori Gustavo Antonio Banchetti Brucatori posted a comment on discussion Motion πŸ‡¬πŸ‡§

    No errors in any condition. The function terminate correctly with the 'done' bit.

  • winki winki posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Thx for your help, I just Uninstall and install again codesys. I did it as admnistrator and now it is working... I did not change anything into the target configuration. Only my codesys on my computer. Loic,

  • winki winki posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Thx for your help, I just Uninstall and install again codesys. I did it as admnistrator and now it is working... I did not change anything into the target configuration. Only my codesys on my computer. Loic,

  • Gustavo Antonio Banchetti Brucatori Gustavo Antonio Banchetti Brucatori posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi gseidel, before moving to HW implementation, I had created the same program in simulation mode with virtual drives and, as far as I remember, everything worked fine simulating process and the few useful inputs. So it does not seem to be a SoftMotion library problem, but rather a problem with dynamics or physical axis adjustments. What escapes me, however, is the fact that this function is supposed to perform a position shift virtually, in fact without interfering with the axis itself, thus independent...

  • askic askic posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hello I need this same information, but it is not available online anymore and the link is down. I'm not able to find this information in the online help. Does anybody know how to disable OPCUA server if not needed?

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

    Hello, I'm using Codesys 3.5.20.0 version and I noticed that even with the most basic standard project create, there are error messages like shown in the acttached picture. The similar questions are already asked here on the CODESYS Forge Talk, but remained unanswered. Exact screenshot is attached, but essentially I would like to know which component in the Codesys has CmpID = 0x00000019 and what this Timeout means?

  • askic askic modified a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hello, In my projects, I'm following this recommendation about the rule names in Codesys https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_rules.html, so I always use backtick identifiers, not only for variables, but also for the object names. However, I have noticed that in the current version of Codesys, when adding Visu object, it is not allowed to used these identifiers in the name. This is very different from all other objects like, folder names, POU names, Variable list...

  • askic askic posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hello, In my projects, I'm following this recommendation about the rule names in Codesys https://content.helpme-codesys.com/en/CODESYS%20Development%20System/cdsrules.html, so I always use backtick idenfiers, not only for variables, but also for the object names. However, I have noticed that in the current version of Codesys, when adding Visu object, it is not allowed to used these identifiers in the name. This is very different from all other objects like, folder names, POU names, Variable list...

  • gseidel gseidel posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi Gustavo, can you reduce the problem to a project that reproduces the issue without the real servo drives? (You could set the servo drives to virtual and strip away as much as possible from the application.) If you can attach a project, we will have a look. Best regards, Georg

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

    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.

  • trusty-squire trusty-squire posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Just a stab in the dark, but you might want to check the Dynamic Limits (accel, decel, velocity, jerk) in the Codesys SoftMotion device configuration, as well as checking similar limits on your servo drive? Are you seeing any errors, or does the MC_SetPosition FB get marked as complete?

  • trusty-squire trusty-squire modified a comment on discussion Motion πŸ‡¬πŸ‡§

    @imdatatas, thanks for the info, I increased DSP402.uiHomingMinCycles to 10 and have a good feeling that will solve the issue of "false" homings. It's an intermittent issue so I'll report back once it's confirmed. @bruno-roth, also good info. According to my documentation, bit 14 is used to indicate the homed status. I did a test and the bit always stays true after it's been homed once (eg. even if I initiate a new homing procedure then hit the the e-stop mid homing), so I need to take that into...

  • srouse srouse posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I am trying to add a Softmotion license to my Weintek HMI. The HMI is already licensed for Codesys and I have already purchased a Softmotion license as well. When using the License Manager I get an error saying the licensing info is not available. I am fairly new to working with Codesys so I am at a bit of a loss and there seems very little information online about troubleshooting this specific issue. I have attached the error message below. If there are any ideas of how to troubleshoot this better...

  • trusty-squire trusty-squire modified a comment on discussion Motion πŸ‡¬πŸ‡§

    @imdatatas, thanks for the info, I increased DSP402.uiHomingMinCycles to 10 and have a good feeling that will solve the issue of "false" homings. It's an intermittent issue so I'll report back once it's confirmed. @bruno-roth, also good info. According to my documentation, bit 14 is used to indicate the homed status. I did a test and the bit stays true even if I initiate a new homing procedure then hit the the e-stop mid homing, so I need to take that into consideration, but I can work with that....

  • trusty-squire trusty-squire posted a comment on discussion Motion πŸ‡¬πŸ‡§

    @imdatas, thanks for the info, I increased DSP402.uiHomingMinCycles to 10 and have a good feeling that will solve the issue of "false" homings. It's an intermittent issue so I'll report back once it's confirmed. @bruno-roth, also good info. According to my documentation, bit 14 is used to indicate the homed status. I did a test and the bit stays true even if I initiate a new homing procedure then hit the the e-stop mid homing, so I need to take that into consideration, but I can work with that. ...

  • Gustavo Antonio Banchetti Brucatori Gustavo Antonio Banchetti Brucatori posted a comment on discussion Motion πŸ‡¬πŸ‡§

    CoDeSys 3.5.19.7 Target Berghof MX6 In a simple SoftMotion programme with two stepperless modular axes from CMZ, one is simply controlled in speed, but a spot must perform a positioning. I use the function MC_SetPosition() both to reference the axis at power-up and also to correct the actual position to a fixed machine reference detected with proximity. The function has only one instance and I actually use a booelan variable to control the β€˜Execute’ input. Well, I cannot correctly change the axis...

  • sean-barton sean-barton posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I've created a very basic version of this problem as a project. Please see attached. One of the libraries in conflict is different from that described above, but the problem is the same. My development environment is 32bit v3.5.16.70 using v3.5.11.0 compiler.

  • sean-barton sean-barton posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I am trying to install the MQTT Client SL in an existing project I have been working on for years. After adding the library to the project, and without adding any other code, upon building I get a C0180: Ambiguous namespace 'MBM' error between the memory block manager (MBM) in the NetBaseSrv dependency of the MQTT Client SL library and the memory block manager (MBM) in the CAA CanL2 dependency of the 3S CANopen stack library. I have tried: * setting "Only allow qualified access to all identifiers."...

  • mattplc mattplc modified a comment on discussion Engineering πŸ‡¬πŸ‡§

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

    Same for me. I have problems with UAExpert too. Can't see the Current Value of Enum and can't control. Did some Tests with Python opcua library. Not working with the communication manager so far.

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

    Same for me. I have problems with UAExpert too. Can't see the Current Value of Enum and can't control. Did some Tests with Python opcua library. Not working with the communication manager so far.

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

    Same for me. I have problems with UAExpert too. Can't see the Current Value of Enum and can't control. Did some Tests with Python opcua library. Not working with the communication manager so far.

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

    Same for me. I have problems with UAExpert too. Can't see the Current Value of Enum and can't control. Did some Tests with Python opcua library. Not working with the communication manager so far.

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

    Same for me. I have problems with UAExpert too. Can't see the Current Value of Enum and can't control. Did some Tests with Python opcua library. Not working with the communication manager so far.

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

    Same for me. I have problems with UAExpert too. Can't see the Current Value of Enum and can't control. Did some Tests with Python opcua library. Not working with the communication manager so far.

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

    Same for me. I have problems with UAExpert too. Can't see the Current Value of Enum and can't control. Did some Tests with Python opcua library. Not working with the communication manager so far.

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

    Same for me. I have problems with UAExpert too. Can't see the Current Value of Enum and can't control. Did some Tests with Python opcua library. Not working with the communication manager so far.

  • micik micik posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Thanks Tim, I suspected this is the reason, but want to confirm this.

  • TimvH TimvH posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    At the top of the Visualisation Properties View, you can enable the "Advanced" options. This will give you access to more properties than what you currently see. There might be a variable linked to the "advanced" colour property where the fill colour is determined by the value of this variable (dword).

  • TimvH TimvH posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Probably the enum from the library doesn't have text support. In that case you need to add your own TextList to the application. In the rectangle you should use the property "dynamic text" to link this object to the textlist which you have created yourself and then link the text index to your enum variable.

  • TimvH TimvH posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    A Task is a standard IEC 61131-3 object, so logically that you can export the VISU_TASK. A visualization is no standard IEC 61131-3 object, so not compatible with other IEC tools. Just use the standard export / import functionality. These files are not IEC compatible and can only be used in CODESYS. But these do support visu objects.

  • Thomas@Moba Thomas@Moba posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, we have the same problem. What is it all about?

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

    I have the same problem, it seems like there is no solution.

  • teichhei teichhei modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    Update, installed 3.5.19.70 with the same result. The error message is as useful as a chocolate fire guard. The container SN is in the 130-xxx range which should work. The Version, Chip, Rev number don't mean anything to me. There is no SD Card installed. I've also reinstalled a fresh Wago FW22 image, Deployed PFC200 SL and Edge for Linux, still the same result.

  • teichhei teichhei posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Update, installed 3.5.19.70 with the same result. The error message is as useful as a chocolate fire guard. The container SN is in the 130-xxx range which should work. The Version, Chip, Rev number don't mean anything to me. There is no SD Card installed.

  • teichhei teichhei posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Don't I need a browser on the device for web depot? Could work on the Pi but not the Wago controller. Maximum I have is SSH.

  • yannickasselin yannickasselin posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Not sure this will help you but I had the same issue and was able to activate the license on a Windows PC using the Web Depot in a web browser. https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_installing_license.html

  • lanouar lanouar posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I'm also having the same problem with raspberry 4

  • hboertz hboertz posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi @niallel, it is currently not possible to create periodic cams using SMCB.BoundImplicit(). If you want to create a periodic cam which does not start/end with all slaves values equal to zero, then you must specify the boundary conditions explicitly using SMCB.Bound(). When you finished your cam, you can check via CamBuilder.CheckContinuity(), if the cam fulfills the continuity requirements for a periodic cam (see input isPeriodic). But you are right, it should be possible to create periodic cams...

  • teichhei teichhei posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hi, When trying to activate a control Basic L license on a Wago PFC200 750-8203 the error The selected container ... does not fit your ticket comes up and won't allow licensing. I have deleted the /var/opt/codesys/cmact_license/ content 3 times and the container number changed each time after a reboot, but the problem persists. Not a happy first time experience with those weird application based licenses. IDE is 19.20. This was a e!Cockpit FW22 PLC and I used Deploy Control SL to make the green web...

  • bruno-roth bruno-roth posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hello, the information if your axis is already homed you could only find out direct from your Slave. In DS402 status there is no Bit defined. But some manufacturer of Drives use some optional bits or status. E.g. if you have Schneider Electric LXM32 Servo you will find this information in Bit 15. You have to check the manual of your used Servo-Drive f this information is provided in any object and then read it out with SDO.

  • imdatatas imdatatas modified a comment on discussion Motion πŸ‡¬πŸ‡§

    Hello, I have experienced such situations with some servo drive devices in the past. The home completion information is reported to the upper controller by the slave drive with the states of the relevant bits in the StatusWord (for example; 6041h Bit10, Bit12 in Home mode). If the states of these bits are correct in terms of number and state but the motor does not actually perform the action; You can contact the slave drive manufacturer. There may be a problem with the device firmware. Another area...

  • imdatatas imdatatas modified a comment on discussion Motion πŸ‡¬πŸ‡§

    Hello, I have experienced such situations with some servo drive devices in the past. The home completion information is reported to the upper controller by the slave drive with the states of the relevant bits in the StatusWord (for example; 6041h Bit10, Bit12 in Home mode). If the states of these bits are correct in terms of number and state but the motor does not actually perform the action; You can contact the slave drive manufacturer. There may be a problem with the device firmware. Another area...

  • imdatatas imdatatas modified a comment on discussion Motion πŸ‡¬πŸ‡§

    Hello, I have experienced such situations with some servo drive devices in the past. The home completion information is reported to the upper controller by the slave drive with the states of the relevant bits in the StatusWord (for example; 6041h Bit10, Bit12 in Home mode). If the states of these bits are correct in terms of number and state but the motor does not actually perform the action; You can contact the slave drive manufacturer. There may be a problem with the device firmware. Another area...

  • imdatatas imdatatas posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hello, I have experienced such situations with some servo drive devices in the past. The home completion information is reported to the upper controller by the slave drive with the states of the relevant bits in the StatusWord (for example; 6041h Bit10, Bit12 in Home mode). If the states of these bits are correct in terms of number and state but the motor does not actually perform the action; You can contact the slave drive manufacturer. There may be a problem with the device firmware. Another area...

  • trusty-squire trusty-squire posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi, Is there a way to read the homed status from the EtherCAT drive directly? I am currently flagging the homed status on the succesful completion of the MC_Home function block, but I have had false triggers where the drive didn't actually execute the homing procedure but the MC_Home FB is marked as complete without error. I looked at other MC/SMC function blocks but the closest I can find is the "Homing" bit from MC_ReadStatus FB, but this doesn't show if the drive is succesfully homed, only that...

  • eschwellinger eschwellinger posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    should work, could you please check on the target: top if the the gateway is running -> you should see codesysedge.bin and cat /var/opt/codesysedge/codesysedge.log

  • winki winki posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hello, I used to connect into my gateway using control SL tool 4.13, (it was called Update Linux.) I formated my computer, so today I install the new version of codesys and all package. Now I am not able to connect to my PLC using control SL. It says, check the status. Normally it used to worked perfectly before that.

  • conny-nm conny-nm posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    Hallo Markl, gibt von Stefan Dreyer auf Git Hub Biblioteken fΓΌr BMP280 und BME280, laufen aber nur in 32Bit auf dem Raspberry. BME680 kann man mit Node Red auslesen und mit mqtt zu Codesys ΓΌbertragen.

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

    I know it's been a while, but I did find this: system.commands['staticanalysis','config'].execute() It opens the UI to select your settings, but I haven't figured out how to load the .CSA yet.

  • jeroenaero jeroenaero posted a comment on discussion Motion πŸ‡¬πŸ‡§

    For what it is worth taking into account on version 4.18: Softmotion 4.17 doesn't work with the SMC_TRAFO_Scara2. Very small numbers come out of dA and dB. Going back to version 4.16 solves the issues.

  • micik micik posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    I have noticed that Codesys doesn't provide option to Export any Visualization objects even though there is option to check to export VISU_TASK, which is strange because when Import in another empty project, user will end up with build errors. I understand that probable reason for this is that PLCOpenXML specification includes only "PLC" parts of the project (POU, PRG, variable lists, device ....), but not sure about it. Perhaps, there is some option to include visu objects also in the plcopen xml...

  • durallymax durallymax posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Uninstalling and deleting all ProgramData manually, then re-installing appears to have fixed it.

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

    Ok, for the sake of completeness in case anyone else has this problem. I can tell you that what finally worked for me was to change the line: // create an ExtensionObject to wrap the value to be written ExtensionObject extensionObject = new ExtensionObject( new ExpandedNodeId("GVL_StructA", 5), structAData ); to: // create an ExtensionObject to wrap the value to be written ExtensionObject extensionObject = new ExtensionObject( new ExpandedNodeId("GVL_StructA|defaultbinary", 5), structAData ); I'm...

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

    3.5,18,30 The Weintek HMI Runs a dual core CPU.. one for the HMI and one "real time OS" for Running Codesys.

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

    which runtime version and dies this device has an realtime kernel?

  • Dave_T Dave_T modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Its Running on a Weintek CMT HMI. the program is not huge, just controlling a few pumps. plc is at 1%

  • Dave_T Dave_T modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    see attached I don't have watchdog enabled in tasks?

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

    see attached

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

    Its Running on a Weintek CMT HMI. the program is not huge, just controlling a few pumps.

  • eschwellinger eschwellinger posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    which plc in which version do you use?

  • mtnkyr mtnkyr posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I have to use Keyence IV-500MA Camera for a project. Actually I can use physical connection but I tried to connect using Ethernet protocol so I added its EDS file but I took a lot of errors. Could you help me to solve this problem?

  • mtnkyr mtnkyr posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I have to use Keyence IV-500MA Camera for a project. Actually I can use physical connection but I tried to connect using Ethernet protocol so I added its EDS file but I took a lot of errors. Could you help me to solve this problem?

  • arcadium arcadium posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hello, Maybe someone could help with this. When I add ENUM to a text field I get the number instead of the text. For my own ENUM variable I have declared and enabled text list value is displayed as text, but I need enum text displayed from softMotion and other internal FB's. In the picture I have one of desired ENUM variable setup, but in the visu I have number, but in the watch window it's text. There is probably some checkbox to tick, but was looking for an hour, can't find a solution. Would apreciate...

  • arcadium arcadium posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hello, Maybe someone could help with this. When I add ENUM to a text field I get the number instead of the text. For my own ENUM variable I have declared and enabled text list value is displayed as text, but I need enum text displayed from softMotion and other internal FB's. In the picture I have one of desired ENUM variable setup, but in the visu I have number, but in the watch window it's text. There is probably some checkbox to tick, but was looking for an hour, can't find a solution. Would apreciate...

  • gseidel gseidel posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi pmanuele, while I don't have firsthand experience with the EL7041 and the step motor AS1060, there are two things you can check: If you use an external encoder, please make sure you use the alternative device description calles "EL7041 1Ch. Stepper motor output stage (50V, 5A) Rev24 with external Encoder". The SoftMotion driver will set the feedback type automatically, and use the correct object for the actual position (16#6010:21 instead of 16#6010:20) If you have problems with changing the controller...

  • gseidel gseidel posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi Stefan, we will update our driver to support the EL7037 in our next release of SoftMotion. In case you are interested to test a pre-release, please contact our support and mention this forum post. Best regards, Georg

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

    Ciao, here same question https://forge.codesys.com/forge/talk/Engineering/thread/2538729618/ in this post https://forge.codesys.com/forge/talk/Engineering/thread/4586a90290/?limit=25#d531 i find : keep in mind that all files which are generated / or read should be exist in the iecfilepath this means: for Windows (Control Win as example) c:\ProgramData\CODESYS\CODESYSControlWinV3x64\268E8ADF\PlcLogic for Linux /var/opt/codesys/PlcLogic I never use codesys on windows but im sure on linux we can manipulate...

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

    Dear All, i am using Runtime CODESYS Control Win V3 - X64 Version 3.5.20.40, by using CAA file library (3.5.19.0) seems not fasible to open a file n 'C:\ciao.txt' or others absolute path. The error on File Open is 5114 File Operation Danied.. here below the implemented code and the windows file's properties. I use to implement codesys in RPI and this operation is immediate... Can someone help me in it?? Thanks in advance Dagi89

  • dom4u dom4u posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Some findings on this issue: PEAK CAN Driver is the same as in every PCI card from PEAK. I updated the inf file. Here are my steps: 1. Include right VendorID into the *.inf file 2. Disable Windows driver check (Disable WHQL check). This you need because 3S driver is not certified. You will find steps via google or ask chatgpt :) 3. Select: Select driver from a list and navigate to the folder. Say yes to install an uncertified driver. 4. Driver installed and device without errors I did the same with...

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

    Hi, This is with Combivis Studio. I thought you need a license from KEB to create a boot project.

  • imdatatas imdatatas posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Dear @gseidel, Thank you for your response. I will be looking forward to the release of new version. Best Regards, Imdat

  • gseidel gseidel posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi Imdat, thanks for your effort! We could reproduce the error and will fix it in the next release (4.18.0.0). Best regards, Georg

  • imdatatas imdatatas posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi @tk096, Thank you for your response. Here is example project file and some screenshot for your analysis regarding this matter. In order to reproduce the problem on your side and make it independent of the hardware, I simulated the encoder counter incrementally for the master in this example. I configured a virtual axis as the slave motion axis. The problem occurs in the same way in the real hardware configuration (servo drive connected to Ethercat and hardware incremental encoder) in MC_CamIn....

  • totorovic totorovic modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    I continue this topic by myself, I'm very happy with the Codesys support / community ;-) This information (Download time) should be stored in the compileinfo : https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_cmd_load.html But the file is not text-readable (see attached file) so how to solve if download time is empty?

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

    I continue this topic by myself, I'm very happy with the Codesys support / community ;-) This information (Download time) should be stored inthe compileinfo : https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_cmd_load.html But the file is not text-readable (see atached file).

  • edvard-munch edvard-munch modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    This is from 10 years ago, I know. But I have been using (SLAVE_DEVICE.iChannelIndex = CHANNEL_NUMBER) AND (SLAVE_DEVICE.xDone) I suppose that it shows xDone for the channel that shows up in the iChannelIndex at the same cycle? It seems to be working properly for two devices that I have been using it before But now I have another device and using two write channels, for one register each. One channel works properly and returns DONE flag When another channel is triggered, I see that it shows up in...

<< < 1 .. 46 47 48 >