| FORUM | LATEST POST | # TOPICS |
|---|---|---|
|
General Discussion Forum about anything you want to talk about. |
No posts yet | 0 |
This code works well: PROGRAM PLC_PRG VAR execute : BOOL; abort : BOOL; doMDI : BOOL; manualDataInput : STRING(1024) := 'N5 G01 X0.00 Y200.00 N6 G01 X200.00 Y200.00 N7 G01 X200.00 Y0.00 N8 G01 X0.00 Y0.00'; stringStreamArray: ARRAY[0..NUMBER_OF_CHAINS-1] OF SMC_StringStream2 ; i : UDINT; readNCFromStream : SMC_ReadNCFromStream; sentencesFromStringSteam : SMC_GSentenceQueue ; interpreter : SMC_NCInterpreter; interpreterGeoInfoBuffer: ARRAY[1..GEO_INFO_BUFFERS_SIZE] OF SMC_GeoInfo; roundPath : SMC_RoundPath;...
Ok that explains things, thanks.
Masters, I need your help. I can explain in different way. I can get the name and comment of parameter if i use "VARINFO", but right now I want to get name and comment of FB from inside one. I can get the name to use the "{attribute 'reflection'}" but I don't understand how to get comment? Do you have any idea how to do it? Thanks
THANK you !!! I finally find ou... may be not with same thing " use template" , so will looks your way of doing, maybe it's more properly done anyhow thank you
Create an array of STRING and 1 INT variable, e.g.: asMyString : ARRAY[0..9] OF STRING; iIndex : INT; Then place a "Table" object in the visualization: - link this to the string array variable. - Check the option "Use Template" - Then in the Input Configuration - add the "Write Variable" command Somewhere else add a "Combobox, array" - link this to the same array. - And link the index to the INT variable. In the Combobox, you can then select one of the strings from the array. The index variable will...
Hi @bertus I have a similar situation: just like in your case I can see that rounding works correctly only for the first element, additionally in my case on a path made of lines where I am testing this every second line is skipped. The interpolator jumps to every second iActObjectSourceNo.
Hello Everybody, Hope you're all doing good for this new year. Since a time, I'm looking on how to use the KeyPad in vizualization to fill a textlist or something similar. my application is : In one window, I would need to be able to writte a string linked to an Numeric Values. => I can't use a std text list inside my software, as per this would be custom by customer. then from another windows I would need a "text box" to be able to select any of this String. I hope it's clear enought. thankyou for...
Hallo zusammen, vorweg: ich habe sehr sehr wenig Ahnung von Codesys, industrieller Kommunikation etc ... Ich soll für ein Seminar mithilfe der Library SysSocket eine HTTP Verbindung zwischen PC und und der Wago PFC200 herstellen, die wir hier im Labor haben. Ich habe mir unterschiedliche Examples von Codesys angeschaut, ChatGPT gepromptet etc. aber komme nicht in die Nähe von irgendwas, das funktioniert. Kann mir jemand ganz einsteigerfreundlich erklären, welche Bausteine ich benötige und was mit...