Search talk: rx error count

 
<< < 1 .. 40 41 42 43 44 .. 48 > >> (Page 42 of 48)

Post by pernockham on Inheritence of struct, CODESYS Forge talk (Post)
Interesting, thanks! Didnt know about ANY before, and will sure find a use-case for it. Im not sure it will help me here though, it seems to me that an ANY will not accept a string assignment? I actually think that the "ALIAS" should work, that was a hard found error. I had a fair bit of scratching my head looking for misdirected pointers before I understood what was (not) happening. I will use the work-around of individual structs instead.
Last updated: 2025-03-08

Post by hismoon on Inheritence of struct, CODESYS Forge talk (Post)
Using a UNION instead of a STRUCT alone should give you that flexibility and only occupy memory once. And if you want to be really elegant, you could use an FB, which only holds PUBLIC VAR. Because a POU can use "EXTENDS"/inheritance. In CODESYS V3, an FB has a lot in common with C++ classes. Using ANY or ALIAS is rarely a good idea. It neither won't be pretty, nor have good readability and requires you to create a lot of error-prone things around it.
Last updated: 2025-03-14

Post by atone on Set DeviceID of an IO-Link Sensor at Runtime CODESYS Forge talk (Post)
I need to be able to change (set) the DeviceID of an IO-Link sensor (see DeviceID.png) at runtime. I tried with both ProfinetCommon.PN_PortConfiguration and ProfinetCommon.IOL_PortConfiguration, but I get an error for both when I try to read the port configuration (see PN_PortConfiguration.png). Does one of those FBs is the right one for my purpose? Do I possibly make a mistake when assigning the parameter IOLD_ID/IOLM_ID?
Last updated: 2025-03-19

Post by agentcousto on (no subject) CODESYS Forge talk (Post)
Hello, I have developed a Python script that I run to import XML files into my project. For this, I use the Python function import_xml(). Everything was working fine when I was using Codesys platform plugins version 2.6.1.2320, but since I upgraded to versions 2.7 and even 2.8, some files are no longer imported correctly. After some research, I identified that all the files containing variables of the type "POINTER TO" are affected. I have attached a screenshot of the error I am encountering. Do you know about this bug? Do you plan to fix it?
Last updated: 2025-03-26

Post by kuegerls on OpC UA server on Raspberry Pi MC SL - Certificate Issue CODESYS Forge talk (Post)
Hello, I have set up an OPC UA server following several guides, including this one: https://revolutionpi.com/documentation/tutorials/opc-ua-codesys-nodered/. The license for the runtime is installed on the device. However, I am unable to create a certificate for the OPC UA server in the security screen. I always get the error message: "The certificate has not been created by the device." Does anyone have an idea what might be causing this issue? Any help would be greatly appreciated! Thanks in advance! Best regards, Stefan
Last updated: 2025-04-02

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 sercan on Does G75 work when SMC_NCInterpreter is used? CODESYS Forge talk (Post)
When a G75 command is received in a SoftMotion+CNC project, SMC_NCInterpreter does not generate any error commands, but the command does not continue execution! There is information about SMC_NCDecoder in the documentation of the G75 command. Is this command only supported by SMC_NCDecoder? Can the G75 command be used with SMC_NCInterpreter? Forexample: G75 ; RUNNING G01 X$Settings.X$ Y$Settings.Y$ Z$Settings.Z$ ; - G75 ; - G01 X100.0 Y200.0 Z300.0 ; -
Last updated: 2025-05-09

Post by sercan on Does G75 work when SMC_NCInterpreter is used? CODESYS Forge talk (Post)
When a G75 command is received in a SoftMotion+CNC project, SMC_NCInterpreter does not generate any error commands, but the command does not continue execution! There is information about SMC_NCDecoder in the documentation of the G75 command. Is this command only supported by SMC_NCDecoder? Can the G75 command be used with SMC_NCInterpreter? Forexample: G75 ; RUNNING G01 X$Settings.X$ Y$Settings.Y$ Z$Settings.Z$ ; - G75 ; - G01 X100.0 Y200.0 Z300.0 ; -
Last updated: 2025-05-09

Post by sercan on Does G75 work when SMC_NCInterpreter is used? CODESYS Forge talk (Post)
When a G75 command is received in a SoftMotion+CNC project, SMC_NCInterpreter does not generate any error commands, but the command does not continue execution! There is information about SMC_NCDecoder in the documentation of the G75 command. Is this command only supported by SMC_NCDecoder? Can the G75 command be used with SMC_NCInterpreter? Forexample: G75 ; RUNNING G01 X$Settings.X$ Y$Settings.Y$ Z$Settings.Z$ ; - G75 ; - G01 X100.0 Y200.0 Z300.0 ; -
Last updated: 2025-05-09

Post by sercan on Does G75 work when SMC_NCInterpreter is used? CODESYS Forge talk (Post)
When a G75 command is received in a SoftMotion+CNC project, SMC_NCInterpreter does not generate any error commands, but the command does not continue execution! There is information about SMC_NCDecoder in the documentation of the G75 command. Is this command only supported by SMC_NCDecoder? Can the G75 command be used with SMC_NCInterpreter? Forexample: G75 ; RUNNING G01 X$Settings.X$ Y$Settings.Y$ Z$Settings.Z$ ; - G75 ; - G01 X100.0 Y200.0 Z300.0 ; -
Last updated: 2025-05-09

Post by sercan on Does G75 work when SMC_NCInterpreter is used? CODESYS Forge talk (Post)
When a G75 command is received in a SoftMotion+CNC project, SMC_NCInterpreter does not generate any error commands, but the command does not continue execution! There is information about SMC_NCDecoder in the documentation of the G75 command. Is this command only supported by SMC_NCDecoder? Can the G75 command be used with SMC_NCInterpreter? Forexample: G75 ; RUNNING G01 X$Settings.X$ Y$Settings.Y$ Z$Settings.Z$ ; - G75 ; - G01 X100.0 Y200.0 Z300.0 ; -
Last updated: 2025-05-09

Post by glutenaron on Safety drive EL6900 and mitsubishi CODESYS Forge talk (Post)
Hi, Im wokring to get my servo mitsubishi mr-j5-g40-rnj1 working with my safety drive. I have as you can se in the picture Ek1100 koppler and EL6900 as safety plc. My questien is how do i connect the safety_drive to the SM3_Drive_ETC_Mitsubishi_MelServo_J5_Axis1 down below? I get the error ((Logical I/Os]: The logical device 'Safety_Drive' is not mapped to any physical device.)) but how do i map this? regard
Last updated: 2025-05-13

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 lbouchard on CANOpen SIL2 error: UNSAFESTACK_NOT_OPERATIONAL CODESYS Forge talk (Post)
Update: I still have no idea what was causing my issues, but it went away as soon as I identified that another device on the CAN was generating a Sync message at 16#7F. Changing this to be on 16#80 made the problem go away. I have no idea why this solves the problem and would love to hear from anyone who knows why these two things might be related.
Last updated: 2025-05-26

Post by wbj0t on Update project from SP20 to SP21 CODESYS Forge talk (Post)
Hello everyone. I have a problem: I installed new version of codesys IDE. When I try open project in this new version, I have many errors about Visu: rectalnge/button/frame/etc does not exist. How update properly project? 20+ pages of visu pages from 100+ frames and all visu elems looks like "Error image". It is not problem of SP20->SP21. Any update has problems from visu side.
Last updated: 2025-06-09

Post by berkdan on SMC_ReadNCFile2 is always busy CODESYS Forge talk (Post)
Hey tk96 Thank you for your help. I have found the reason why fbreader stuck. It was not the program but it was the gcode itself. G21 command blocks the reader. And multiple G codes in a line also blocks the reader. My code was: N010 G21 G17 G90 -> Blocked the reader When i change it to: N010 G90 N020 G17 Then it worked. The only thing i did not get is why the reader did not thwor error. ErrorId was SMC_NO_ERROR. Anyway, it is now working. Thanks again.
Last updated: 2025-06-17

Post by arwie on Use MC_Home without enabling the drive for homing method 35 CODESYS Forge talk (Post)
Is it possible to use MC_Home without enabling the drive (MC_Power)? On the drive the homing method 35 (Homing on current position) has to be executed. The drive has to stay disabled due to safety. This is explicitly allowed by the drive. Unfortunately MC_Home reports the error SMC_REGULATOR_OR_START_NOT_SET when executed. Are there other options to start homing, if not with MC_Home?
Last updated: 2025-06-25

Post by nguyenkhoi on Omron R88D-KN08H-ETC with a raspberry on top... (over ethercat) CODESYS Forge talk (Post)
hi everyone, continuing the part about omron g5 axis and nx-ecc201 omron, but i have a problem with not being able to scan with "model with Z code suffix of omron china", it seems that the available softmotion file is not fully compatible mapping, often causing ethercat communication error DC distributed clock after every 10-12 hours of continuous running! omron driver: R88D-KN08H-ECT-Z
Last updated: 2025-07-01

Post by hickan on safety cpu cannot go online CODESYS Forge talk (Post)
Hi! I am using abb ac500 in automation builder v2.7 I have a problem with a new project. In the normal mode I have no problems, but in safety mode i cannot go online. I get 'Communication Error (#0) Logout Performed' message. I have tried changing the adress (level 1) in communication parameters. I tried 0.0.0.0.0 and 0.1.0.0.0 and 1.1.0.0.0 but it did no difference. What do you think could be causing this? Thanks!
Last updated: 4 days ago

Post by toffeebonbon on EL7041-0052 - does it run with EL7041 SoftMotion? CODESYS Forge talk (Post)
Good morning everyone. In my setup I am trying to use a couple of EL7041-0052 (the EL7041 variant without terminals for an encoder) to run stepper motors without feedback. When using the softmotion drivers for the EL7041 (Rev22 and Rev24, even selecting external feedback type doesn't work) the device log shows warnings for the corresponding hardware: "SDO write error 0x1 -> 0x8012:0x08 eError 0x1 AbortCode 0x6090011". 0x8012:0x08 is the register for the Feedback Type. My best guess was setting the the register value in the start parameters to zero, but the result is the same. What else can I try to get the hardware to work? I have screenshots attatched showing the running fieldbus and the log messages. EDIT: One clarification: the "device log" that shows the error is the PLC, not the ethercat terminal. The log of the terminal itself shows neither errors nor warnings. BR Robert
Last updated: 2023-11-29

Post by ragarcia on Error while using UpdateConfiguredIPSettings to change IP address CODESYS Forge talk (Post)
Hello everyone, I am trying to change dynamically by code the IP address of a Weidmuller controller. So I am basically using IoDrvEthernet library to use UpdateConfiguredIPSettings function but I am getting constantly the 'INVALID_STATE' error. Even though I am following a procedure it should work: * First I added on the config file of codesys the following: [SysSocket] Adapter.0.Name="eth0" Adapter.0.EnableSetIpAndMask=1 Adapter.1.Name="eth1" Adapter.1.EnableSetIpAndMask=1 * Secondly I am first disabling the ethernet interface by using Ethernet_0.Enable = FALSE and then executing DED.Reconfigure. After that, I run the Ethernet_1.updateConfiguredIPSettings Code: Ethernet_1.Enable:= EnableDisable; Reconfigure(xExecute:= TRUE, itfNode:= Ethernet_1, xError=> ErrorReconfigure, eError=> ErrorCodeReconfigure); IF Reconfigure.xDone THEN ErrorCodeIP:= Ethernet_1.UpdateConfiguredIPSettings(IPAddress:= newIP, SubnetMask:= newMask, Gateway:= newGW); END_IF IF Reconfigure.xDone OR Reconfigure.xError THEN Reconfigure(xExecute:= FALSE); END_IF Ethernet_1.Enable:= TRUE; Reconfigure(xExecute:= TRUE, itfNode:= Ethernet_1); IF Reconfigure.xDone OR Reconfigure.xError THEN Reconfigure(xExecute:= FALSE); END_IF Can someone help me? Thank you. All I am trying is to find a way to change dynamically with code, the IP addresses of my controller (2 ethernet ports).
Last updated: 2023-12-11

Post by chalk on No source code available CODESYS Forge talk (Post)
Hello, This is my first time using Codesys, I am trying to add EtherNetIP communication to a Raspberry PI. I’ve added the EtherNetIP Adapter configured the network setting and added some modules to the pi but when I download the project it generates the following error: “There is no source code available for the object because it is in the compiled library ‘cip object, 4.5.1.0 (3s – smart software solution gmbh)’. Do you want to browse for the original library in order to display the source code? There are 2 errors in the log which are: SOURCEPOSITION App=[Application] area=3, offset=332760 EXCEPTION [Application] occurred: App=[Application], Task=[ENIPAdapterServiceTask] I can’t for the life of me work out how to get around this. I can’t find the source code anywhere or any information regarding this error. I’m using Codesys V3.5 SP19 Patch 3, the version of the Ethernet adapter is 4.5.1.0 and the version of the modules is 4.1.0.0. Any help on this will be greatly appreciated. Thanks
Last updated: 2024-02-02

Post by tim-roelant on Profinet fault with codesys control V3 - Receive packet error CODESYS Forge talk (Post)
I have set up a brandnew Beckhoff panel pc with a codesys control runtime V3. I configured it together with 2 profinet field devices: a 16in/16out IO module from Turck and an MTS linear encoder. The machine works fine untill all of a sudden the communication breaks and the profinet participants become unreachable. At that point I can still ping the device, but the profinet master does not find them anymore: When i do a scan they are not found. When i do a cold restart, the profinet master becomes active again and the devices are found again. In the log i get Ethercat packet receive error: sysethernet. I am a little confused, there is no ethercat device in the device tree. I already set the send clock and the reduction ratio to higher values, but without result. Can codesys be configured, so that the communication re-establishes without doing the cold reset? This is very annoying and is causing a lot of prodution losses. regards Tim
Last updated: 2024-02-27

Post by tim-roelant on Profinet fault with codesys control V3 - Receive packet error CODESYS Forge talk (Post)
I have set up a brandnew Beckhoff panel pc with a codesys control runtime V3. I configured it together with 2 profinet field devices: a 16in/16out IO module from Turck and an MTS linear encoder. The machine works fine untill all of a sudden the communication breaks and the profinet participants become unreachable. At that point I can still ping the device, but the profinet master does not find them anymore: When i do a scan they are not found. When i do a cold restart, the profinet master becomes active again and the devices are found again. In the log i get Ethercat packet receive error: sysethernet. I am a little confused, there is no ethercat device in the device tree. I already set the send clock and the reduction ratio to higher values, but without result. Can codesys be configured, so that the communication re-establishes without doing the cold reset? This is very annoying and is causing a lot of prodution losses. regards Tim
Last updated: 2024-02-27

<< < 1 .. 40 41 42 43 44 .. 48 > >> (Page 42 of 48)

Showing results of 1181

Sort by relevance or date