copycat Git repository
copycat
SYSGIT
(Git Repository)
Last updated: 2023-09-19
Home (version 1) discussion
horatiu
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-19
Home (version 1) discussion
waclaw
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-19
Home (version 1) discussion
geenst
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-19
Home (version 1) discussion
alexm
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-19
Home (version 1) discussion
mauri
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-19
speed-cube-solver Git repository
speed-cube-solver
code
(Git Repository)
Last updated: 2023-09-19
CasCdsGitTest Git repository
CasCdsGitTest
code
(Git Repository)
Last updated: 2023-09-19
c2iec Git repository
c2iec
code
(Git Repository)
Last updated: 2023-09-19
Post by timvh on Detect "Cancel" Press in FileOpenSave Dialog
CODESYS Forge
talk
(Post)
Maybe there is a better way, but a long time ago I created a test application that worked like this: With a button I opened the dialog and I added a "Input configuration - OnDialogClosed" "Execute ST-Code" action to this same button which called the following Function when the dialog was closed: F_OnFileDialogClosed(pClientData); Below this Function which handled the result: // This function is called from the visualization when the dialog is closed. FUNCTION F_OnFileDialogClosed : BOOL VAR_INPUT pClientData : POINTER TO VisuElems.VisuStructClientData; END_VAR VAR dialogMan : VisuElems.IDialogManager; FileOpenCloseDialog : VisuElems.IVisualisationDialog; result : VisuElems.Visu_DialogResult; _sFileName : STRING(255); END_VAR // the DialogManager is provided via the implicitly available VisuManager dialogMan := VisuElems.g_VisuManager.GetDialogManager(); IF dialogMan <> 0 AND pClientData <> 0 THEN FileOpenCloseDialog := dialogMan.GetDialog('VisuDialogs.FileOpenSave'); // gets the FileOpenSave dialog IF FileOpenCloseDialog <> 0 THEN result := FileOpenCloseDialog.GetResult(); // gets the result (OK, Cancel) of the dialog IF result = VisuElems.Visu_DialogResult.OK THEN // Original code gvlFile.FileListProvider(); _sFileName := CONCAT(gvlFile.FileListProvider._stDirectory, gvlFile.FileListProvider.stFile); // do something with this file name... END_IF END_IF END_IF
Last updated: 2023-09-19
Post by timvh on Troubles with using CAN API
CODESYS Forge
talk
(Post)
In the example project, you can see that a CAN.CANAreaReceiver is used which has an VAR_IN_OUT reference to a RECEIVER_AREA structure. This structure has a dwIdStart and dwIdEnd to filter a range of ID's and process them through the referenced msgProcessor.
Last updated: 2023-09-19
Home (version 44) discussion
co🔗e: A Linked List Solution
home
(Thread)
Home (version 44) discussion
Last updated: 2023-09-19
Troubles with using CAN API
CODESYS Forge
talk
(Thread)
Troubles with using CAN API
Last updated: 2023-09-19
Linux SL Integration with other software Git repository
Linux SL Integration with other software
c-code
(Git Repository)
Last updated: 2023-09-19
TestGit Git repository
TestGit
codes
(Git Repository)
Last updated: 2023-09-19
Post by rossanoparis on Upgrading CODESYS runtime from v4.7 to v4.9 using a bash script leads to lose the licences stored in the soft container
CODESYS Forge
talk
(Post)
System information - Controller: KUNBUS RevPi CONNECT-S - OS: Linux buster 32bit 5.10.103-rt62-v7l #1 SMP PREEMPT_RT armv7l GNU/Linux - CODESYS v3.5 SP19 Patch 2 I'm facing a problem related to codesys licences using a procedure based on a bash script. Such bash script detect the presence of new .deb files and install them on system. My automation solution don't allow to be maintained by dedicated personal, thus even the CODESYS runtime SW must be installed using an "automatic" procedure instead of using the CODESYS tool. remark I've been using the following procedure since the runtime v4.5 without any issue. Before installing the new runtime packages, I need to copy the file CODESYSControl_User.cfg (here attached) because of new section which is necessary to add in order to allow some folders to be written by CODESYS runtime v4.9 Up to now, this has been unnecessary, this is the main difference between my previos bash file and the new one. remark If I skip this action, everythings goes fine, but my CODESYS application can't work as it needs to access some folders on controller's file system. Process - Before the procedure: the licenses are OK (see attached file lic-01.png) - After the procedure: the new CODESYS runtime version is correctly installed, but the software container with v1.19 and all licences disappear (see attached file lic-02.png) This is the synthetic content of bash script I'm using. # Stop runtime sudo service codesyscontrol stop sudo service codesysedge stop # Move the new CODESYSControl_User.cfg file # New configuraton with folders declared sudo mv -f CODESYSControl_User.cfg /etc # Install runtime package echo N | sudo apt-get install -y --allow-downgrades codesyscontrol_raspberry_4.9.0.0_armhf.deb # Install edge gateway package echo N | sudo apt-get install -y --allow-downgrades codesysedge_edgearmhf_4.9.0.0_armhf.deb # Reboot controller sudo reboot Thanks in advance
Last updated: 2023-09-19
Upgrading CODESYS runtime from v4.7 to v4.9 using a bash script leads to lose the licences stored in the soft container
CODESYS Forge
talk
(Thread)
Upgrading CODESYS runtime from v4.7 to v4.9 using a bash script leads to lose the licences stored in the soft container
Last updated: 2023-09-19
Home (version 1) discussion
markusef3
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-19
Home (version 1) discussion
chris--o
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-19
Home (version 1) discussion
andi1995
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-19
Home (version 1) discussion
shinxis
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-19
Home (version 1) discussion
mehlers
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-19
WebvisuDetection Git repository
WebvisuDetection
code
(Git Repository)
Last updated: 2023-09-19
Home (version 3) discussion
Rockwell 1734 AENT Configuration
home
(Thread)
Home (version 3) discussion
Last updated: 2023-09-19