FORUM | LATEST POST | # TOPICS |
---|---|---|
General Discussion Forum about anything you want to talk about. |
How to turn on a GPIO from a device function block by lwalbert 2022-09-29 |
1 |
I'm trying to use an fbMsSQL_compact function to read data from an SQL database. It works with some databases, but there is one database that I can't seem to get it to work on. It's set up the same as the other databases that I've tested with the only difference I see is that the name of the database is cut off in the status message. I'll get a message like "User: User logged out succesfully from database: 12345" But the whole name of the database is something like 1234567.
This solution did not give me peace of mind, so I decided to check other options again, especially since artifacts appear on some controls in WebVis. The solution is to enable the Multitouch handling option in the additional settings tab.
ich meine mich zu erinnern, dass ich schon FB's hatte, die Fehlermeldungen mit löschen des Enable/Execute Bits abgelöscht haben. Dann würde bei dir sobald das Error Bit gesetzt wird, nichts mehr drin stehen. Vielleicht wäre es ein Versuch wert, den String vor dem zurücksetzen des Execute in eine Variable zu speichern, ob dann was drin steht und danach erst ablöschen?
ich meine mich zu erinnern, dass ich schon FB's hatte, die Fehlermeldungen mit löschen des Enable/Execute Bits abgelöscht haben. Dann würde bei dir sobald das Error Bit gesetzt wird, nichts mehr drin stehen. Vielleicht wäre es ein Versuch wert, den String vor dem zurücksetzen des Execute in eine Variable zu speichern, ob dann was drin steht und danach erst ablöschen?
I had this code working in a previous version of CoDeSys to read variables from a GVL that were added to the Symbol configuration. The problem now is that when I get the _IBaseTreeNode_Parent, it returns a valid interface, but none of the methods or properties work. If you monitor the _IBaseTreeNode in the watch window, it does show the correct child count. However, it fails at step 30, where the child count incorrectly returns zero. In the image, you can see that the watch window displays the correct...
Hi everyone, i face the same problem. The G-code doesn’t maintain the feed rate. If you don’t mind. can you share the final code?
Hallo zusammen, ich habe folgendes Problem. Ich möchte mit der Lib Mail_Service_SL ein Mail versenden. Manchmal funktioniert es auch aber nicht zuverlässig. Wenn ich den Funktionsblock sendmail mit den entsprechenden Daten aufrufe bekomme ich die Fehlermeldung CHECK_RESULT_FAILD. Laut Dokumentation sollte im sServerMessage der Grund stehen, dieser ist aber leer. Was kann der Grund hierfür sein? Gibt es eine ander Lib mit der ich Mails versenden kann? Viele Grüße Micky
So, in my case, the solution is to uncheck the option to support client animation and overlay native elements. Visualisation Manager -> Settings -> General Settings
If anybody finds this in the future, I managed to do it like this: scalingValue := EncoderPulseCountPerRev / ABS(AxisName.fScaleFactor); No need to use MC_ReadParameter as I am able to read this value directly from the axis object. Using an absolute value of the fScaleFactor is there in case the axis is set as inverted, in which case it would be a negative value. I was not able to figure out how to get EncoderPulseCountPerRev programatically, but since all my servos use an encoder with pulse count...