Post by spareparts on SPI Master not running/MCP3008 Missing driver.
CODESYS Forge
talk
(Post)
Up and running thank you.
Last updated: 2023-09-13
Post by timvh on Automatic xExecute NBS.TCP_write
CODESYS Forge
talk
(Post)
Use e.g. the condition: TCP_Connection_0.xActive AND NOT(TCP_Write_0.xDone)
Last updated: 2024-03-05
Post by rmaas on Direct Pointers in IOMapping for EtherCAT with IoDrvEthercatLib.ETCSlave_Dia
CODESYS Forge
talk
(Post)
Hi, Im not sure if this is what you mean, but i do succesfully use the IoDrvEthercatLib.ETCSlave.InputData and IoDrvEthercatLib.ETCSlave.OutputData to read from and write to beckhoff DI and DO cards. Very convenient as you can make an FB with an VAR_IN_OUT of type IoDrvEthercatLib.ETCSlave and only have to pass the slave reference... So i am not using .ETCSlave_Diag but .ETCSlave...
Last updated: 2024-02-13
Post by dileesha on Codesys device configuration
CODESYS Forge
talk
(Post)
I am new to this and I have a Beijer X2 Control 7 HMI and in my laptop I have installed codesys v3.5, ix developer and codesys gateway control. I have designed a simple PLC programme and Im trying to connect my PC and Beijer HMI via an ethernet cable and scanit in the codesys software. But when I scan it does not show any device.
Last updated: 2023-12-08
Why I need empty the FB to reset them? Even it's I created and there not a empty logic
CODESYS Forge
talk
(Thread)
Why I need empty the FB to reset them? Even it's I created and there not a empty logic
Last updated: 2023-02-14
Why I need empty the FB to reset them? Even it's I created and there not a empty logic
CODESYS Forge
talk
(Thread)
Why I need empty the FB to reset them? Even it's I created and there not a empty logic
Last updated: 2023-02-14
Python Scripting: How to detect and handle "Object reference not set to an instance of an object" error
CODESYS Forge
talk
(Thread)
Python Scripting: How to detect and handle "Object reference not set to an instance of an object" error
Last updated: 2023-08-16
SP16 P5. Does not open the pop-up window from option "Update device" (main PLC) and "add device) Ethernet device or CAN device
CODESYS Forge
talk
(Thread)
SP16 P5. Does not open the pop-up window from option "Update device" (main PLC) and "add device) Ethernet device or CAN device
Last updated: 2023-06-29
Post by xabier on No work Control Torque Codesys with Drivers M751 Control Techniques
CODESYS Forge
talk
(Post)
I want implement a Control torque with limit speed..Now I use the FB SMC_SetTorque and SMC_SetControllerMode and not fine work...not moving
Last updated: 2024-03-13
Post by joschi2804 on Licensing info not available.
CODESYS Forge
talk
(Post)
Hello, I've added some additional log output. Maybe this helps in figuring out the root cause. I've turned logging and verbose mode on for the CodeMeterLin application and I get the error, that some entry is not found.
Last updated: 2024-04-11
Post by lsislsis on Alarm Table rows font size not change
CODESYS Forge
talk
(Post)
When we try to change the font size of alarm table headers change as excpected but timestamps and messages not change and keep one small size from the begining. Is there any solution for that? Regards
Last updated: 2024-10-23
Post by aniket-b on EtherCAT drive not moving
CODESYS Forge
talk
(Post)
I have EtherCAT drive communicating properly without an error but when I use MC_JOG function, it is not moving at all, I can use MC_Power function and drive does respond to that but other functions are not working,. Please suggest what is wrong here.
Last updated: 2024-03-04
Post by svn123 on In Simulation Mode, logic is not executing
CODESYS Forge
talk
(Post)
Please check the attached snapshot. I am converting an int to real and storing in rVlv01_SV and then scaling the value using LIN_TRAFO. In the bottom Status Bar of Codesys, both RUN and SIMULATION are visible. When I enter value 100 as input to INT_TO_REAL instruction and press Ctrl-F7, the value can be seen at the input but the logic seems not to work. I searched for help but could not find anything relevant. What could be the reason. Codesys ver3.5.11 svn
Last updated: 2023-12-25
Post by scarter on Bit / Bool data types in function parameters
CODESYS Forge
talk
(Post)
Any reason BIT and BOOL data types are not interchangeable? Trying to make a function which takes a BOOL IN/OUT parameter (Not allowed to use BIT) In the main logic if I make a DINT variable, and want to use each bit on different functions CODESYS will not allow it.
Last updated: 2024-01-17
Post by talhaali on Persistent variables not working for Control Win
CODESYS Forge
talk
(Post)
Hi everyone, I am facing issues with persistent retain variables. It was working fine. I added a few new Persistent variables and it stopped working. If I do cold reset it holds persistent variable values. But when I close control win gracefully, and opens it again then it does not. Even, it is not saving ret file in application.
Last updated: 2024-09-10
Codesys and smartphone (read and write)
CODESYS Forge
talk
(Thread)
Codesys and smartphone (read and write)
Last updated: 2012-01-14
method GetCurrentVisu and keypad's Max and Min values
CODESYS Forge
talk
(Thread)
method GetCurrentVisu and keypad's Max and Min values
Last updated: 2010-07-27
Weatherstation based on PI and 7" LCD and Sense hat
CODESYS Forge
talk
(Thread)
Weatherstation based on PI and 7" LCD and Sense hat
Last updated: 2017-09-27
Function to Browse and Return File Name and Path
CODESYS Forge
talk
(Thread)
Function to Browse and Return File Name and Path
Last updated: 2012-04-26
Objects and Array Sizes when Extending and Implementing
CODESYS Forge
talk
(Thread)
Objects and Array Sizes when Extending and Implementing
Last updated: 2018-10-11
Virtual Master and virtual slave - MC_CamIN and MC_Halt
CODESYS Forge
talk
(Thread)
Virtual Master and virtual slave - MC_CamIN and MC_Halt
Last updated: 2019-03-20
XOR with four Inputs with OR-, NON- and AND-Operators
CODESYS Forge
talk
(Thread)
XOR with four Inputs with OR-, NON- and AND-Operators
Last updated: 2024-11-05
Post by gepert on parker servo and position
CODESYS Forge
talk
(Post)
Gentleman OMG, I made a huge mistake when i tried and moved shaft by hand i hold cover(as on photo) in my fingers. I was convinced that shaft has key but it there is not key. So when i turn cover it slide on shaft. When i take off cover and drive is in standstill, shaft does not move. So everything works perfectly
Last updated: 2024-08-07
Post by andrax on CodeSys Raspberry pi I2C driver not found
CODESYS Forge
talk
(Post)
Sorry, wrong expression. You have a 64bit system, so do I. You can also use the 64bit runtime, but most bib and commands are 32bit and are not properly supported. I had read somewhere that there are problems with I2C. That's why I recommend switching to PI_SL and using the correct gpio.
Last updated: 6 days ago
CODESYS Control Win SL: Error Preparation was not successful: could not open network adapter
CODESYS Forge
talk
(Thread)
CODESYS Control Win SL: Error Preparation was not successful: could not open network adapter
Last updated: 2023-05-19
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
.