Post by talhaali on Create an alarm list without use of Alarm config
CODESYS Forge
talk
(Post)
Hi, I am trying to access active alarms in code(As alarm count variable updates only when we go to to alarm table frame in visualization). I wrote following code but it is not working: VAR iCountActiveAlarms : INT; parritfActiveAlarms : POINTER TO ARRAY[0..0] OF IAlarm; itfAlarmManagerClientAll : IAlarmManagerClient; END_VAR AlarmManager.g_AlarmHandler.GetActiveAlarms( itfAlarmManagerClient :=itfAlarmManagerClientAll, iCountActiveAlarms => iCountActiveAlarms, parritfActiveAlarms => parritfActiveAlarms); The Value is always 0. Please help.
Last updated: 2024-06-06
Post by talhaali on Create an alarm list without use of Alarm config
CODESYS Forge
talk
(Post)
Hi, I am trying to access active alarms in code(As alarm count variable updates only when we go to to alarm table frame in visualization). I wrote following code but it is not working: VAR iCountActiveAlarms : INT; parritfActiveAlarms : POINTER TO ARRAY[0..0] OF IAlarm; itfAlarmManagerClientAll : IAlarmManagerClient; END_VAR AlarmManager.g_AlarmHandler.GetActiveAlarms( itfAlarmManagerClient :=itfAlarmManagerClientAll, iCountActiveAlarms => iCountActiveAlarms, parritfActiveAlarms => parritfActiveAlarms); The Value is always 0. Please help.
Last updated: 2024-06-06
Post by installwhat on C0077 on one machine but not another
CODESYS Forge
talk
(Post)
https://forge.codesys.com/forge/talk/Engineering/thread/92c913bf7c/ Solved by changing the ethercat master version after reading the thread linked above. I think I need to read up on why this happened. I understand that placeholders should point to a particular version for obvious reasons however what has occurred in this instance is different. The example project was released as a "project archive" but it seems to load differently based on what I've got installed in my repositories. I'm going to dig into that tomorrow but any advice is welcome.
Last updated: 2024-06-11
Post by mozed on Windows 11 and SP17
CODESYS Forge
talk
(Post)
Try to use this version: https://store.codesys.com/de/codesys-installer.html
Last updated: 2024-06-12
Post by thieulam on Codesys access to DICTIONARY OBJECTS of ethercat (CoE ) Servo Drive
CODESYS Forge
talk
(Post)
ok. tnx! best regards.
Last updated: 2024-06-19
Post by thieulam on Codesys access to DICTIONARY OBJECTS of ethercat (CoE ) Servo Drive
CODESYS Forge
talk
(Post)
Last updated: 2024-06-19
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 wollvieh on Trouble Writing Files to External Paths in CODESYS
CODESYS Forge
talk
(Post)
https://content.helpme-codesys.com/de/CODESYS%20Control/_rtsl_windows_win_v3_dynamic_components.html
Last updated: 2024-07-05
Post by disha on SQLITE connection
CODESYS Forge
talk
(Post)
Are you able to do it? Can you please help me out?
Last updated: 2024-07-08
Post by ahuckphin on Issues with Modbus Slave with Raspberry Pi
CODESYS Forge
talk
(Post)
I have a DFRobot RS485 temperature & humidity sensor (SEN0438) connected to my Raspberry Pi via a USB to RS485 adapter. I am able to connect and read the sensor data when running a python code locally. However in Codesys, I encounter this error "A bus error has occurred." and "There was no response in time". Could this be because of Modbus Server Channel and Modbus Server Init configuration on my part? Admittedly I am new to Codesys. To get to this stage, I: 1. added some lines to CODESYSControl_User.cfg 2. added "Modbus_COM" in Codesys and set "Serial Port Configuration" under "General" 3. added "Modbus_Master_COM_Port" in Codesys and checked transmission mode is set to "RTU" 4. added "Modbus_Slave_COM_Port" in Codesys and checked server address is set to 1 (also set 1 in my sensor) 5. added 1 channel and 1 init for "Modbus_Slave_COM_Port" under "Modbus Server Channel" and "Modbus Server Init"
Last updated: 2024-07-10
Post by rafael on Access to user group IDs
CODESYS Forge
talk
(Post)
I had my problem solved.
Last updated: 2024-07-10
Post by rafael on Access to user group IDs
CODESYS Forge
talk
(Post)
I had my problem solved.
Last updated: 2024-07-10
Post by timvh on Send data to USB
CODESYS Forge
talk
(Post)
https://forge.codesys.com/prj/codesys-example/file-utilities/home/Home/
Last updated: 2024-07-22
Post by vladimirsmall on Send data to USB
CODESYS Forge
talk
(Post)
Thank you on support
Last updated: 2024-08-05
Post by trusty-squire on parker servo and position
CODESYS Forge
talk
(Post)
Glad to hear it π
Last updated: 2024-08-07
Post by another on Codesys Visu Update Frame Parameters No Dialog Appears to update
CODESYS Forge
talk
(Post)
Same problem, can anyone help?
Last updated: 2024-08-14
Post by deeksha on RaspberryPi with CoDeSys throwing error
CODESYS Forge
talk
(Post)
I am trying to access Raspberry pi on CoDeSys, but it throws an error says, "No connection to target: An established connection was aborted by the server." I am able to access Raspberry pi via MobXterm, but on CoDeSys, it throws error. Looking for help in resolving this error. Error snap is attached. IP address is scanned here successfully, but when I am trying to install Raspberry pi packet: 4.0.0.0, it throws this error.
Last updated: 2024-08-23
Post by eschwellinger on RaspberryPi with CoDeSys throwing error
CODESYS Forge
talk
(Post)
try to use latest version please. 4.12.0.0
Last updated: 2024-08-26
Post by eschwellinger on problem con file transfer in raspberry
CODESYS Forge
talk
(Post)
you need to ask the Topcon support
Last updated: 2024-09-04
Post by runtimevictor on codesys VLAN tagging
CODESYS Forge
talk
(Post)
Hello yannickasselin, What managed switch did you buy to test it?
Last updated: 2024-09-17
Post by egau on OPC UA C# client connecting to OPC UA CODESYS server
CODESYS Forge
talk
(Post)
any updates on this?
Last updated: 2024-09-18
Post by dogulas on OPC UA C# client connecting to OPC UA CODESYS server
CODESYS Forge
talk
(Post)
sadly, no
Last updated: 2024-09-19
Post by eschwellinger on Loosing connection to emulation running on Linux
CODESYS Forge
talk
(Post)
check the plc log /var/opt/codesys/codesyscontrol.log
Last updated: 2024-09-19
Post by andrebrandt on FB string and naming
CODESYS Forge
talk
(Post)
Hi all. I have a FB written in ST. FUNCTION_BLOCK NTC10k VAR_INPUT Syst:STRING; In:REAL; END_VAR VAR_OUTPUT Out:REAL; OTag:STRING; Out_St:Struct_NTC10K; END_VAR VAR Tag:STRING; InstanceName: STRING; Structure:Struct_NTC10K; END_VAR What i'm trying to do, is to pass data to structure. In structure i want to add a tag with systemnumber and sensorname. '320.001-RT401' In pou i use this RT401: NTC10k;, and tried this RT401: NTC10k(Tag:='RT401'); Anyone done this?
Last updated: 2024-09-26
Post by jtebokkel on Set REFERENCE to 0 (null) when no longer used
CODESYS Forge
talk
(Post)
yes, it works
Last updated: 2024-10-07
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
.