Post by tk096 on How to set unit in Axis
CODESYS Forge
talk
(Post)
Hi, you have to define how many increments of the drive correspond to one unit in your application. This is done in the Scaling/Mapping Tab in the drive editor.
Last updated: 2024-09-02
Post by reinier-geers on Syssockping hang up V3.5.9.2
CODESYS Forge
talk
(Post)
For data logging on a server i check the connection with Syssockping. When i do that it seems to hang uo the system once a while for 13 seconds. Why ??
Last updated: 2024-09-02
Post by damian177 on OPC UA Client
CODESYS Forge
talk
(Post)
The OPC UA Client Example with webvisu is working. Now I would like to use Datasource to connect to OPC UA Server but some is wrong because nothing to do when I try list tags from server - please find in attachement
Last updated: 2024-09-03
Post by open on (no subject)
CODESYS Forge
talk
(Post)
Hello, I want my button to be attached image ON_Good when variable true but however when i copied the visualization object into a new visualization screen it become attached image ON_Bad. Anyone know how to make it attached image ON_Good? Warmest regards,
Last updated: 2024-09-03
Post by timvh on Help with DynamicTextGetTextW
CODESYS Forge
talk
(Post)
First of all you need to enable "Use unicodestrings" in the Visualization Manager. This function returns a pointer to a WSTRING (not STRING). To get this wstring value, do something like this: VAR myWstringVariable : WSTRING(255); END_VAR myWstringVariable := myResult^; // this is dereferencing the pointer to the WSTRING.
Last updated: 2024-09-03
Post by timvh on Array of Program
CODESYS Forge
talk
(Post)
You cannot create an array of Programs. Create a Function Block for this purpose instead of a program. You can create an array of FB instances and call each instance in a loop.
Last updated: 2024-09-03
Post by thedertom on Help with DynamicTextGetTextW
CODESYS Forge
talk
(Post)
Hi TimvH, thanks for your reply. Yes I got that figured out now. However: in "myWstringVariable" it will only store the first character of the text. How do I get the full text?
Last updated: 2024-09-03
Post by damian177 on Problem with downloading OPC UA tags by Data Source Manager
CODESYS Forge
talk
(Post)
In my OPC UA Server is about 12 thousands tags. Can by possible that downloading tags from OPC UA Server lasts a long time , and when expires about 2 hours (demo license time) that downloading freezes ?
Last updated: 2024-09-04
Post by tk096 on Creating Custom Kinematics
CODESYS Forge
talk
(Post)
Hi, a few questions that you can check regarding your kinematics: * Does your kinematics FB implement the interface ISMKinematicWithInfo2? * Does AxesToCartesian(a, out f) -> CartesianToAxes(f, out aCompare) result in a=aCompare for random positions a? * Do you return a valid rotation matrix f.mR (SMC_Matrix3) in AxesToCartesian()?
Last updated: 2024-09-06
Post by dkugler on CmpCrypto CryptoGenerateHash Not Outputting
CODESYS Forge
talk
(Post)
looks like your _hHash handle is "empty" (00000) at the breakpoint! I don't know if CryptoGetAlgorithmById(...) call in the VAR section is possible? would be good to know.
Last updated: 2024-09-06
Post by dengsberg on Check Connection Status of the OPC-UA Server for Data Source Manager with OPC-UA Client
CODESYS Forge
talk
(Post)
Another question is how to test the quality of the individual variable?
Last updated: 2024-09-07
Post by docker on Webvisu client connection monitoring
CODESYS Forge
talk
(Post)
can you send me some code snippets of the declarations and code need i am unsure of how to set the pointer to the correct visu client. Thanks i appreciate your help.
Last updated: 2024-09-09
Post by dkugler on Webvisu client connection monitoring
CODESYS Forge
talk
(Post)
https://forge.codesys.com/forge/talk/Visualization/thread/b12815b7cd/#877a there was a discussion about this thematic searching in the talk helps to learn from others... good luck, Dave
Last updated: 2024-09-10
Post by esmith on OPTO22 Groov Epic PR2 Modbus Comms Dropping out every 2 hours and 4 Mins
CODESYS Forge
talk
(Post)
I think I am having a similar issue. Have you found out what was causing this problem?
Last updated: 2024-09-10
Post by trycyclepower on EtherCAT drive going into fault mode require power cycle everytime
CODESYS Forge
talk
(Post)
I have EtherCAT servo drive lost communication with PLC everytime it gets faulted, it does not not communicate until I power cycle everything again, how to solve this issue?
Last updated: 2024-09-11
Post by jinlee on IP Camera on the Webvisu
CODESYS Forge
talk
(Post)
Hi guys, I am experiencing the issue that browser element can't show anything other than wbm of my PLC. I am using WAGO PFC200, trying to feed IP camera into web browser element. Can anyone helps me ? Kind regards, Jin
Last updated: 2024-09-12
Post by kuegerls on Lizenz
CODESYS Forge
talk
(Post)
Hallo, wie kann ich eine Lizenz, welche ich irrtümlich auf dem falschen Gerät installiert habe, von diesem wieder entfernen? Mit dem Lizenzmanager kann ich nur Lizenzen installieren. Vielen Dank im Voraus! Liebe Grüße, Stefan
Last updated: 2024-09-13
Post by lefish on Link to MCP23017 DevDescr and Lib dead
CODESYS Forge
talk
(Post)
Hi everyone, Hi Mr. Schwellinger, the Link at the "inofficial device reporitory" from Mr. Schwellinger (https://forge.codesys.com/forge/talk/Runtime/thread/8981ce928a/?limit=25#e15f)to the MCP23017 Library and device.xml is dead unfortunately. Would someone please upload the files? Thanks alot! LeFish
Last updated: 2024-09-15
Post by eschwellinger on Link to MCP23017 DevDescr and Lib dead
CODESYS Forge
talk
(Post)
Hi, it is important to click on 'more posts': https://forge.codesys.com/forge/talk/Runtime/thread/8981ce928a/?limit=25#e15f then scroll down until you are on MCP23017.
Last updated: 2024-09-16
Post by ph0010421 on Stack overflow with really simple function
CODESYS Forge
talk
(Post)
Hello I wouldn't call an FB from inside a FUN; it feels wrong to me. I have had something similar. Try declaring the FB instances as GlobaVars rather than the instance memory.
Last updated: 2024-09-17
Post by kd50 on J1939 manager DM1 message reading
CODESYS Forge
talk
(Post)
Hi, Could you please give me some information about how l can practice on DM1 topic at home? Is there any small product l can buy so that l could practice on it?
Last updated: 2024-09-18
Post by opineiro on Stack overflow with really simple function
CODESYS Forge
talk
(Post)
Hi and thanks for your reply. Could you explain a little bit more what you mean? I think I'm not following you
Last updated: 2024-09-19
Post by jari-koivuluoma on Get text from textlist
CODESYS Forge
talk
(Post)
Are your texts WSTRING? maybe you should try WSTRING versions. I have a vague memory of having to switch to TextListUtils library also.
Last updated: 2024-09-19
Post by alex-at-xana on EThercat Dynamic configuration
CODESYS Forge
talk
(Post)
BTW - I had a chat with a Beckhoff support engineer. He explained that if you use sync0 and sync1, two frames per cycle are expected.
Last updated: 2024-09-19
Post by karel-bas on Loosing connection to emulation running on Linux
CODESYS Forge
talk
(Post)
Ok. I ran the vm twice until it failed and from log it seems like my OPC UA fails becouse I am not able to get HTTPs certificate ? I dont really see any other reason.
Last updated: 2024-09-20
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
.