Home (version 1) discussion
sdilib
wiki
(Thread)
Home (version 1) discussion
Last updated: 2019-10-24
blog Discussion
tamermazen
blog
(Discussion)
Forum for blog comments
Last updated: 2019-10-23
wiki Discussion
tamermazen
wiki
(Discussion)
Forum for wiki comments
Last updated: 2019-10-23
blog Discussion
sdilib
blog
(Discussion)
Forum for blog comments
Last updated: 2019-10-17
wiki Discussion
sdilib
wiki
(Discussion)
Forum for wiki comments
Last updated: 2019-10-17
blog Discussion
smilli
blog
(Discussion)
Forum for blog comments
Last updated: 2019-10-16
wiki Discussion
smilli
wiki
(Discussion)
Forum for wiki comments
Last updated: 2019-10-16
blog Discussion
i-campbell
blog
(Discussion)
Forum for blog comments
Last updated: 2019-10-25
wiki Discussion
i-campbell
wiki
(Discussion)
Forum for wiki comments
Last updated: 2019-10-25
forked-help-wiki Discussion
i-campbell
forked-help-wiki
(Discussion)
Forum for forked-help-wiki comments
Last updated: 2020-04-28
comparestrings Discussion
i-campbell
comparestrings
(Discussion)
Forum for comparestrings comments
Last updated: 2020-05-20
MT Discussion
i-campbell
MT
(Discussion)
Forum for MT comments
Last updated: 2020-08-28
Home
tamermazen
wiki
(WikiPage)
This is the personal project of tamermazen. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2019-10-23
Home
wknbt
wiki
(WikiPage)
This is the personal project of wknbt. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2019-10-25
(no subject)
tamermazen
wiki
(Thread)
Last updated: 2019-10-23
Home (version 1) discussion
tamermazen
wiki
(Thread)
Home (version 1) discussion
Last updated: 2019-10-24
Home (version 1) discussion
wknbt
wiki
(Thread)
Home (version 1) discussion
Last updated: 2020-01-06
(no subject)
wknbt
wiki
(Thread)
Last updated: 2019-10-25
blog Discussion
wknbt
blog
(Discussion)
Forum for blog comments
Last updated: 2019-10-25
wiki Discussion
wknbt
wiki
(Discussion)
Forum for wiki comments
Last updated: 2019-10-25
Home
i-campbell
wiki
(WikiPage)
This is the personal project of i-campbell. To-Do list: Voice Assistant (20% complete) IEC-ST SparkplugB - MQTT (25% complete) CODESYS 4 MAC (95% complete) 4x4x4 Zauberwürfel solving 3D simulator for softmotion (no hardware) (2%) 4x4x4 Zauberwürfel solving robot (hardware) (0%) Convert PLCOpenXML to ASCII Art Ladder for text based compare tools (10%) Voice Assistant (20%) (Mycroft) Online Voice assistant for better speech recognition and text to speech (Mycroft Skill => OPC UA => CODESYS PLC) (Mycroft) Offline Voice assistant for better privacy (Mycroft Skill => OPC UA => CODESYS PLC) (Alexa) Echo => AWS => MQTT => CODESYS (AWS IoT Core Client SL) currently I have a Mycroft set up on a pi4 doing speech to text (STT) offline with deepspeech. IEC-ST SparkplugB - MQTT (25%) Just another fieldbus :P. Actually this one is maybe unique, in that it uses an MQTT message broker rather than talking directly from device to device. First open source collaborative CODESYS project for me. project link CODESYS 4 MAC (95%) Because one needs a windows OS license to run the CODESYS prerequisites (.NET Framework), as with [tol/codesys-4-linux:tickets:2], there is really no point trying to run it on a MAC using Wine instead of a Windows VM. There are also some other bugs running it on Wine for Mac such as Chromium Embedded Framework not working (I think this is why I cannot use the Device Object Viewer). Also as it only runs on 32-bit single core wine (as with many wine programs) the performance is much less than what I should get from a VM. I disabled various background options to improve performance - which helped but not enough. I feel the investment in a Windows OS license at minimum, or Windows PC at most will offset the productivity cost of rebooting CODESYS or waiting a few minutes for the save to finish. The remaining 5% of this project are: Install with VM blog post with steps to install with Wine / with VM 4x4x4 Zauberwürfel solving 3D simulator for softmotion (no hardware) (2%) So it seems CODESYS Depictor is the product for simulation. Made a 2x2x2 cube array to experiment. Looks pretty neat. The free demo version gives me 10 'poses' which just might fit into what I want to do for the simulation. I considered the paid version, as technically each sub-cube with an external face could be a pose (68) + the robot itself. but I think getting it to work with the 10 poses will allow the project to reach (and be maintained by) a wider audience. Have started planning the solver algorithm. Convert PLCOpenXML Ladder to ASCII Art Ladder (10%) Does what it says on the tin. Actually, I am using this as a python learning experience. Yesterday I learned of some undocumented Ladder features in CODESYS, debating whether to support it in this project by giving error messages, support it fully, or not support it at all and just let everything go silently pearshaped.
Last updated: 2020-07-07
Home
i-campbell
forked-help-wiki
(WikiPage)
TEST ONLY Hi, Welcome to the Forge Community Documentation It replicates and links to the Online Help, but also allows forge members to add their documentation. For a template, use [Template] {TODO} To add a new page simply reference it within brackets, e.g.: [SamplePage]. The wiki uses Markdown syntax. [Libraries] + [Standard64] ++ [Standard64.WLEN] + [StringUtils] ++ [StringUtils.StrLenW]
Last updated: 2020-04-28
Standard64.WLEN
i-campbell
forked-help-wiki
(WikiPage)
[Libraries] > [Standard64] Library Documentation > String Functions > WLEN (FUN) Content from Online Help Libraries (3.5.15.0) > Standard64 Library Documentation > String Functions > WLEN (FUN) WLEN (FUN) FUNCTION WLEN : INT String length function. Returns the number of wcharacters in STR. InOut: Scope Name Type Return WLEN INT Input STR WSTRING(255) Click "Details" to expand Forge Community Additional Documentation This function is limited to a WSTRING of 255 words. For longer WSTRINGs you can use [StringUtils.StrLenW] (V3.5.15.40 @i-campbell) This returns the number of WORDs used in the WSTRING, not including the Terminating NULL character. So this is not the actual number of "characters" to for example pad a string for display purposes. As WSTRINGs are UTF-16, WLEN("a") = 1, but WLEN("𐐷") = 2 (V3.5.15.40 @i-campbell) Related Forum Topics Engineering / How long can a WSTRING be in CodeSys V3?
Last updated: 2020-04-28
Libraries
i-campbell
forked-help-wiki
(WikiPage)
Libraries Content from Online Help Libraries are used for preparing POUs and functions for use in CODESYS applications. In addition to the descriptions presented here in the help, always see the documentation included in the library as well. For using libraries in your CODESYS project, see the “Managing Libraries” chapter. To create your own CODESYS libraries, follow the guidelines for library developers. See also Using Libraries Click "Details" to expand Forge Community Additional Documentation [Standard64] [StringUtils]
Last updated: 2020-04-28
Standard64
i-campbell
forked-help-wiki
(WikiPage)
[Libraries] > Standard64 Library Documentation Content from Online Help Standard64 Library Documentation Company: System Title: Standard64 Version: 3.5.15.0 Categories: Application|Common Author: 3S - Smart Software Solutions GmbH Placeholder: Standard64 Description [1] String functions for wide character strings Contents: Atomic Read-Write Functions AtomicReadLInt (FUN) AtomicReadLReal (FUN) AtomicReadLTime (FUN) AtomicReadLWord (FUN) AtomicReadULInt (FUN) AtomicWriteLInt (FUN) AtomicWriteLReal (FUN) AtomicWriteLTime (FUN) AtomicWriteLWord (FUN) AtomicWriteULInt (FUN) String Functions WCONCAT (FUN) WDELETE (FUN) WFIND (FUN) WINSERT (FUN) WLEFT (FUN) WLEN (FUN) WMID (FUN) WREPLACE (FUN) WRIGHT (FUN) Timer LTOF (FB) LTON (FB) LTP (FB) Indices and tables [1] Based on standard64.library, last modified 18.07.2019, 07:47:12. LibDoc 3.5.15.0 The content file standard64.clean.json was generated with CODESYS V3.5 SP15 on 18.07.2019, 07:47:14. Click "Details" to expand Forge Community Additional Documentation [Standard64.WLEN]
Last updated: 2020-04-28