Search talk: check object is null

 
<< < 1 .. 12 13 14 15 16 .. 128 > >> (Page 14 of 128)

Post by fmon on Modbus TCP client reconnection problem CODESYS Forge talk (Post)
Hello, I am using codesys Modbus TCP client (4.4.0.0) to communicate with a python modbus server (package pyModbusTCP). I first start my python server on the distant machine. After a fresh codesys compilation, a plc connection/transfer and a PLC run, the modbus connection is OK. Every time in this context the connection is created correctly. When I shut down the server, the modbus connection falls, that is normal. When I restart the python server, impossible to recreate the modbus connexion. With the client autoreconnection, I see on my server that the client tries to connect but unsuccesfully. I have the following message : DEBUG:pyModbusTCP.server:accept new connection from ClientInfo(address='192.168.1.20', port=33476) DEBUG:pyModbusTCP.server:Exception during request handling: NetworkError('recv return null') I tried to stop the codesys client and to restart it with these commands : Modbus_TCP_Client.xStop := True; // Or False Modbus_TCP_Client.Enable := True; // Or False Modbus_TCP_Server.Enable := True; // Or False I tried to confirm the error manually to force reconnection with: Modbus_TCP_Server_Motors.xConfirmError := TRUE; I tried also this command to STOP/RESET/START client and server (codesys side) but nothing happens : status_client := Modbus_TCP_Client.SetCommunicationState(eRequestedState := DED.DEVICE_TRANSITION_STATE.STOP); // .RESET & .START The answer of this function when executed is "status_client = NOT_SUPPORTED". Is it normal ? It seems that is a socket problem, but I do not understand if it is on the client or server side. I tried a modbus simulator called "ananas.exe" and the result is the same. Impossible to get a modbus client reconnection. What is different at the first client connection and at a reconnection attempt ? Thanks for your help
Last updated: 2025-03-17

Post by andre-luis on Check if Codesys runtime is on 'Running' or 'Stopped' state? CODESYS Forge talk (Post)
It's already there, the service get started as default. I missed to say that sometimes it happens w/o even the system get restarted. Anyway, the main issue here is to know the state of the runtime. We collect a lot of informations about the whole system, and it would be nice to have a way to detect the runtime state.
Last updated: 2024-07-02

Post by andre-luis on Device diagnosis ( EtherCAT IO card ) CODESYS Forge talk (Post)
Hi, In our project, it is not rare to have I/O cards issues. I wanted to have a way to check their statuses ( Eg. INIT, OP, PREOP, etc.. ) I was trying to use the GetDeviceDiagnosisInfo method from the IoConfig_Globals, but there is no info available on the Web with a simple example; does someone have a link to some tutorial or anything else ? Kind Regards, Andre.
Last updated: 2025-02-06

Post by mondinmr on Something of strange in the trace CODESYS Forge talk (Post)
I noticed something strange in the trace: one of the variables (specifically parts.servoFeeder.m_pathGen.m_acPos) is showing an absurd or unrealistic value—something around 4E+18. However, when I check the same variable in the watch window, it shows a normal and expected value (around 506). Do you know why there is this discrepancy between the trace and the watch? Could it be a bug in the trace tool? Thanks in advance!
Last updated: 2025-05-16

Post by paro on "You are using inconsistent overlay settings, please check your compiler defines for the current application" error CODESYS Forge talk (Post)
Disable the setting "Support client animations and overlay of native elements" in the Visu Manager. Activating this setting should also set a compiler define (GENERATE_OVERLAY_VISU). Maybe the compiler define is set and the feature is not activated in the visu manager or or the other way round.. rightclick the Application -> Properties -> Build https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_dlg_properties_build.html
Last updated: 2024-05-29

Post by larboardinner on Alarm Table Issues CODESYS Forge talk (Post)
Variable for Selected Alarm ID only updates when the visualization is actually configured to send the alarm’s ID back to the control. On some devices/visualization profiles this isn’t enabled by default. Make sure your Alarm Table element has “Send Selected Alarm ID” activated in the visualization properties. you could check this example: https://store.codesys.com/alarm-manager.html Geometry Dash Lite If that option isn’t available in your version, then unfortunately the “Selected Alarm Group” is the only one that updates reliably in older 3.5.x builds.
Last updated: 2025-11-17

Post by gseidel on MC_Phasing state explenation CODESYS Forge talk (Post)
Hi kenth1973, MC_Phasing has been improved in recent versions. I would recommend to install the latest version of SoftMotion (4.20.1.0) and test whether the problem still exists, and if so, what the error identifier is. (Also check the PLC log in this case, it might contain additional information.) Setting the internal state of the FB is not recommended, it could lead to malfunction of the FB and unintended movements of the drive. Best regards, Georg
Last updated: 2025-11-28

Post by trusty-squire on How to revert to previous version library CODESYS Forge talk (Post)
Hi, I'm experiencing a bug with the latest version of SoftMotion CNC library (4.17), where the 3DPath object in Visu is missing all the important properties. I've verified that a previous app I was working on with library version 4.16 did not have this issue and the issue is duplicated in that project when I update it to 4.17. I've already submitted a bug report, but for the time being I need to revert the project I'm currently working on back a revision. I've tried right clicking on the library but the option to select the version is greyed out. Can anyone help me?
Last updated: 2024-09-05

Post by dohy on Version 2.5 SP18 -> Visualisation Elements missing Input Configuration Options CODESYS Forge talk (Post)
It's appeared after you check "advanced" upper right side.
Last updated: 2024-09-12

Post by eschwellinger on Automation server - trends stop recording - need to manually reconnect CODESYS Forge talk (Post)
Hi Trent, yes should work without, let me check. Regards Edwin
Last updated: 2024-10-23

Post by eschwellinger on Persistence Manager: Config File not found? CODESYS Forge talk (Post)
I would check with the CODESYS file browser if these files exits on your system (PlcLogic directory)
Last updated: 2024-11-02

Post by dkugler on SP20 Visualization Element Dynamic Colors CODESYS Forge talk (Post)
check the filter settings at properties menue bar and select "all categories" good luck1
Last updated: 2025-02-20

Post by eschwellinger on CODESYS Installer does't open CODESYS Forge talk (Post)
please check the windows event log for errors. Try to install it again from the CODESYS store. stanalone setup CODESYS installer
Last updated: 2025-04-01

Post by eschwellinger on Creating, using an external Function. CODESYS Forge talk (Post)
you need the check the plclog if the the component have been loaded on startup of th plc.
Last updated: 2025-04-19

Post by eschwellinger on CODESYS control on RPi starts, shortly runs, then exits CODESYS Forge talk (Post)
let me check - had a similar case today
Last updated: 2025-09-03

Post by eschwellinger on Hydraulic Axis Controller CODESYS Forge talk (Post)
I would check this example: "c:\Program Files\CODESYS 3.5.19.X\CODESYS\CODESYS SoftMotion\Examples\Tutorial\PosControl.project"
Last updated: 2023-12-09

Post by eschwellinger on Error while using UpdateConfiguredIPSettings to change IP address CODESYS Forge talk (Post)
check the plclog for the error on doing this
Last updated: 2023-12-12

Post by eschwellinger on SM Drive license error CODESYS Forge talk (Post)
goto the licensing metrix tab in CODESYS an check which license ...or send us a screenshot of it here
Last updated: 2024-01-10

Post by kuuki on WAGO PLC 200 750-8216 Ethernet connection to Codesys 3.5 CODESYS Forge talk (Post)
Check your firmware version on PFC200.
Last updated: 2024-02-06

Post by eschwellinger on Problems with simulation in Window 10 CODESYS Forge talk (Post)
I would give a try to check the content here: c:\ProgramData\CODESYS\CODESYSControlWinV3x64
Last updated: 2024-03-18

Post by rajshaswat on OPC-UA and other communication questions CODESYS Forge talk (Post)
check this if it helps : https://youtu.be/Hdpbsp2jG3Q?si=NTwK13c_YOSZXM3v
Last updated: 2024-04-06

Post by eschwellinger on Problem retain values Weidmuller UC20-WL2000 CODESYS Forge talk (Post)
I would recommend to check the plc log to have more detailed information.
Last updated: 2024-04-11

Post by mos89p on Codesys Soft PLC OPC UA server CODESYS Forge talk (Post)
Hi did you check the log of OPCUA expert Client?
Last updated: 2024-06-27

Post by eschwellinger on Modbus TLS Kommunikation CODESYS Forge talk (Post)
aktuell bin ich mir nicht sicher ob das Modbus/TCP Security Protocol unterstützt, ich check das mal. Hast du ein Handbuch zu der Wallbox?
Last updated: 2025-11-06

<< < 1 .. 12 13 14 15 16 .. 128 > >> (Page 14 of 128)

Showing results of 3197

Sort by relevance or date