Post by gseidel on MC_CamIn did not work properly with SMC_FreeEncoder on SoftMotion 4.17.0.0
CODESYS Forge
talk
(Post)
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
Last updated: 2024-12-19
Post by imdatatas on MC_CamIn did not work properly with SMC_FreeEncoder on SoftMotion 4.17.0.0
CODESYS Forge
talk
(Post)
Dear @gseidel, Thank you for your response. I will be looking forward to the release of new version. Best Regards, Imdat
Last updated: 2024-12-20
Post by jeroenaero on MC_CamIn did not work properly with SMC_FreeEncoder on SoftMotion 4.17.0.0
CODESYS Forge
talk
(Post)
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.
Last updated: 2025-01-07
Post by teichhei on The selected container ... does not fit your ticket
CODESYS Forge
talk
(Post)
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.
Last updated: 2025-01-08
Post by mattplc on Opaque NodeId in the OPC UA server
CODESYS Forge
talk
(Post)
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.
Last updated: 2025-01-09
Post by mattplc on Opaque NodeId in the OPC UA server
CODESYS Forge
talk
(Post)
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.
Last updated: 2025-01-09
Post by mattplc on Opaque NodeId in the OPC UA server
CODESYS Forge
talk
(Post)
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.
Last updated: 2025-01-09
Post by mattplc on Opaque NodeId in the OPC UA server
CODESYS Forge
talk
(Post)
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.
Last updated: 2025-01-09
Post by mattplc on Opaque NodeId in the OPC UA server
CODESYS Forge
talk
(Post)
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.
Last updated: 2025-01-09
Post by mattplc on Opaque NodeId in the OPC UA server
CODESYS Forge
talk
(Post)
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.
Last updated: 2025-01-09
Post by mattplc on Opaque NodeId in the OPC UA server
CODESYS Forge
talk
(Post)
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.
Last updated: 2025-01-09
Post by winki on Not Possible to connect using control SL
CODESYS Forge
talk
(Post)
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,
Last updated: 2025-01-10
Post by winki on Not Possible to connect using control SL
CODESYS Forge
talk
(Post)
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,
Last updated: 2025-01-10
Post by reinier-geers on Monitor a Can J1939
CODESYS Forge
talk
(Post)
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
Last updated: 2025-01-15
Post by rckalex on Changing Trace Variable at Runtime
CODESYS Forge
talk
(Post)
Is it possible to change the variable being traced during runtime? I would like to use the CURRENTCLIENTID in combination with an array of real numbers to alter the traced variable in a display window, without needing to create separate visualizations for each variable.
Last updated: 2025-01-22
Post by timvh on Device diagnosis ( EtherCAT IO card )
CODESYS Forge
talk
(Post)
You can get the state by just using the name of your node (same name as in device tree): VAR etcState: IoDrvEthercatDriverLib.ETC_SLAVE_STATE; END_VAR etcState := EJ1100.wState; Alternatively, you can iterate through the device tree to get the status of all (Ethercat) nodes. See here an example (no guarantee it works, just give as suggestion): PROGRAM P_IO_State VAR CONSTANT uiMAX_NR_OF_TERMINALS : UINT := 100; END_VAR VAR // general device diagnosis // can only be used when the Device - PLC Settings - Advanced settings - enable diagnosis for devices is enabled // this will add the DED library coupler: DED.INode; terminal: DED.INode; aDeviceState: ARRAY[0..uiMAX_NR_OF_TERMINALS - 1] OF DED.DEVICE_STATE; uiTerminalCount : UINT; uiIndex : UINT; // for each terminal check if it implements device diagnostics xQueryResult: BOOL; itfDevice : DED.IDevice2; xDiagAvailable: BOOL; eError: DED.ERROR; xEverythingOK: BOOL; END_VAR uiTerminalCount := 0; // start at the top of the device tree with the first EtherCAT coupler coupler := EtherCAT_Master.FirstChildNode; WHILE coupler <> 0 DO // for each coupler that is found start at the first terminal terminal := coupler.FirstChildNode; WHILE terminal <> 0 AND uiTerminalCount < uiMAX_NR_OF_TERMINALS - 1 DO // for each terminal that is found get the status through the device diagnosis interface xQueryResult := __QUERYINTERFACE(terminal, itfDevice); IF xQueryResult THEN aDeviceState[uiTerminalCount] := itfDevice.GetDeviceState(xDiagnosisInfoAvailable => xDiagAvailable, eError => eError); uiTerminalCount := uiTerminalCount + 1; END_IF terminal := terminal.NextSiblingNode; END_WHILE coupler := coupler.NextSiblingNode; END_WHILE uiIndex := 0; xEverythingOK := TRUE; WHILE uiIndex < uiTerminalCount DO IF aDeviceState[uiIndex] <> DED.DEVICE_STATE.RUNNING THEN xEverythingOK := FALSE; EXIT; END_IF uiIndex := uiIndex + 1; END_WHILE
Last updated: 2025-02-06
Post by rmaas on TCP Server
CODESYS Forge
talk
(Post)
Hi George, I am no expert but recently tried and got it working using this example project: https://forge.codesys.com/prj/codesys-example/nbs/home/Home/#example-for-tcp-server-tcp-client BR, Rinie
Last updated: 2025-02-20
Post by francois68 on CLEARING STORED ALARMS FROM ALARM MANAGER
CODESYS Forge
talk
(Post)
Solution: VAR itfAlarmConfig: AlarmManager.IAlarmConfiguration; itfAlarmConfig7: AlarmManager.IAlarmConfiguration7; SCRIPT itfAlarmConfig := AlarmGlobals.g_AlarmHandler.GetAlarmConfiguration(0); IF __QUERYINTERFACE(itfAlarmConfig, itfAlarmConfig7) THEN itfAlarmConfig7.ClearHistory(FALSE); END_IF Works perfectly for me.
Last updated: 2025-02-21
Post by bingo on PLC Shell commands via ST Code
CODESYS Forge
talk
(Post)
For a permanent change, you may need to update the PLC configuration file or set the IP at startup using retained variables.
Last updated: 2025-03-02
Post by codesysbeginner on Enable and Disable Project IO programmatically
CODESYS Forge
talk
(Post)
@eschwellinger Somehow this code doens't work for me in Codesys V3.5.19. Is this code supposed to work in simulation mode as well?
Last updated: 2025-03-03
Post by pernockham on Engineering IDE from linux?
CODESYS Forge
talk
(Post)
Started playing with the idea of ditching windows for linux, one of the obstacles would be Codesys development. Alternatives: - linux with wine? - Run windows/codesys through virtual machine I guess a vm is the way to go? Anyone out there that could share their experience?
Last updated: 2025-03-05
Post by felipemsgarcia on DELTA PLC AS228T
CODESYS Forge
talk
(Post)
Hello, You can create a program in ST for AS228T using either DELTA ISPSoft or DELTA DIADesigner. The only DELTA PLCs/Controllers I know of compatible with CODESYS are AX-3 and AX-8 series. You will need to install the proper packages, though. Cheers!
Last updated: 2025-03-07
Post by trusty-squire on Help for a newbie
CODESYS Forge
talk
(Post)
Try watching this video in it's entirety, looks like it should have what you need to get running. https://www.youtube.com/watch?v=kyj36oRpA04
Last updated: 2025-03-11
Post by libichj on Raspberry Pi: List of available drivers / libraries
CODESYS Forge
talk
(Post)
Is it possible to renew the urls in your post? Especially fo "Arduino UNO IO Device Description and Library"? Thank you for reply.
Last updated: 2025-03-15
Post by peterkcontrols on Codesys Network driver install for Codesys Control RTE x64
CODESYS Forge
talk
(Post)
Sorry to clarify the issues say as per the attached image. I copied and pasted the unresolved issues from someone else who had a similar problem.
Last updated: 2025-03-18
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND
or OR
.