Activity for i-campbell

  • i-campbell i-campbell posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    in your CODESYSControl.cfg file, add an entry like this to the SysFile section [SysFile] PlaceholderFilePath.1=/mnt/USBDevice/persistance, $ac_persistence$ PlaceholderFilePath.1.Volatile=1 PlaceholderFilePath.1.View=1 Note that the .1 should be unique for any other placeholder file paths in your .cfg file. Volatile means that the folder is not created on startup if it doesn't yet exist. This would be important for USB disks, as if they are not plugged in, the runtime will create the folder itself....

  • i-campbell i-campbell posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Try DTU.DTSplit

  • i-campbell i-campbell posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    You might need dynamic Function Blocks, Option B.) from: https://help.codesys.com/webapp/fb_factory;product=LibDevSummary;version=3.5.15.0 The examples are in the standard CODESYS Library Template.

  • i-campbell i-campbell posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    From your screenshot, if you click Device > Manage Favourite Devices > Add, you will get a blue tip about using "dns:" to prefix your dns address. you might be able to just type "dns:myplc.mydomain.com" into the Device box, but you won't get the helpful blue tip about the syntax.

  • i-campbell i-campbell posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    VAR_GLOBAL PERSISTENT RETAIN aAuthData : ARRAY[0..300] OF AuthData; udiInsertIndex : UDINT := 300; udiReadIndex : UDINT := 300; processed : BOOL := TRUE; END_VAR //Adding a value: IF xNewData THEN udiInsertIndex := (udiInsertIndex+1) MOD 301; aAuthData[udiInsertIndex] := newAuthData; xNewData := FALSE; END_IF //Checking for new values: IF udiReadIndex <> udiInsertIndex AND processed THEN udiReadIndex := (udiReadIndex+1) MOD 301; processed := FALSE; END_IF //Process the new value IF NOT processed...

  • i-campbell i-campbell posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    If the requirement is really not to lose any then the file-based persistence manager may be too slow for you. Use a controller with non-volatile ram setup for retain data. Then use a circular array stored in VAR PERSISTENT. The array size should be as big as the maximum number of userids you intend to buffer.

  • i-campbell i-campbell modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    From your first screenshot, lines 2, 3 and 4 contain the possible causes: 1 Bugs in CODESYS SVN ==> Use the latest version 2 Files in the project directory which were not commited with CODESYS SVN/ other repository manipulation outside of CODESYS SVN. With CODESYS SVN you can only use the CODESYS SVN to manipulate the repository. Sounds like you manually copied some folders / structs using tortoise SVN? If so, to fix it you could: With CODESYS SVN check out the last known good revision of /trunk/...

  • i-campbell i-campbell modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    From your first screenshot, lines 2, 3 and 4 contain the possible causes: Bugs in CODESYS SVN ==> Use the latest version Files in the project directory which were not commited with CODESYS SVN/ other repository manipulation outside of CODESYS SVN. With CODESYS SVN you can only use the CODESYS SVN to manipulate the repository. Sounds like you manually copied some folders / structs using tortoise SVN? If so, to fix it you could: With CODESYS SVN check out the last known good revision of /trunk/ With...

  • i-campbell i-campbell posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    From your first screenshot, lines 2, 3 and 4 contain the possible causes: 1. Bugs in CODESYS SVN Use the latest version Files in the project directory which were not commited with CODESYS SVN/ other repository manipulation outside of CODESYS SVN. With CODESYS SVN you can only use the CODESYS SVN to manipulate the repository. Sounds like you manually copied some folders / structs using tortoise SVN? If so, to fix it you could: With CODESYS SVN check out the last known good revision of /trunk/ With...

  • i-campbell i-campbell posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Do the second third and fourth lines of the error message give any clues as to what may have caused the broken repository?

  • i-campbell i-campbell modified a wiki page

    Home

  • i-campbell i-campbell posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    If I install the latest package from: https://www.weintek.com/globalw/Download/Download.aspx# i get 1.0.0.4. This is still not 1.0.0.5, so you would need to ask Weintek for their 1.0.0.5 library.

  • i-campbell i-campbell posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi cedric, Have you installed also the Weintek .package? If 1.0.0.5 is an earlier version than the package you have installed, you could perhaps go to Library Manager > placeholders and select a different version of that library. If not, you might get it here: https://global.weintek.com/globalw/Download/Download.aspx search for package

  • i-campbell i-campbell posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    With SP16 there was multicore introduced for OPC UA. By default it works across all cores. You can limit the number of cores it uses with this setting in the CODESYSControl_User.cfg file, where 1 is the number of cores you want to use. Setting it to 0 or less will use all available cores: [OPCUAServer] NumOfWorkerTasks=1 I am not 100% sure though, which core it will run in. Are you using an RT-preempt patch? Normally the lower priority OPC UA task should be interrupted. It is possible though, that...

  • i-campbell i-campbell created ticket #9

    Encrypt and Decrypt using AES_128_CFB algorithm

  • i-campbell i-campbell posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    Es verwendet ssh. Die Meldungen sagt das pi ist nicht erreichbar ΓΌber ssh.

  • i-campbell i-campbell posted a comment on discussion Forge πŸ‡¬πŸ‡§

    You have six error messages. Two of those are Build messages. You have Build selected in the drop-down box. The other four messages will be on the other views listed in the drop-down box.

  • i-campbell i-campbell posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§

    It is not possible to jump from a position in one method to another method. You can call the other method with a Box with EN/ENO

  • i-campbell i-campbell posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    There are no pros one over the other. Yes, you can use either. You cannot use a Box, because in Ladder, all elements need a boolean in and a boolean out. If the first VAR INPUT and first VAR OUTPUT of your POU or Method is a BOOL, then you can use a Box. In this case, it will be called every scan regardless of the rung state.

  • i-campbell i-campbell posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I am not 100% sure what your JSP does. It is either labels or boxes. Labels will jump and not come back. Boxes will jump and then return. Labels Right click the rung and 'Insert Label'. To jump to the label, either Ctrl+L or drag a Jump from the Toolbox>General>Jump. Box with EN/ENO Right click your PRG in the Tree. Select Add Object > Method In the PRG either Ctrl+Shift+E, or drag your new method from Toolbox>POUs>

  • i-campbell i-campbell posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Chuck, You need to find the CODESYSControl_User.cfg file, usually in /etc/ on the PLCNext and add this to it: [SysSocket] Adapter.0.Name="eth0" Adapter.0.EnableSetIpAndMask=1

  • i-campbell i-campbell posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    "Modbus RTU over TCP" isn't really one of the Modbus standards. I don't know how to help you further, sorry.

  • i-campbell i-campbell posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Is there a user-manual? Is there a part number?

  • i-campbell i-campbell posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Damian, I read on the moxa website that they have linux tty drivers : https://www.moxa.com/en/products/industrial-edge-connectivity/serial-device-servers/general-device-servers/nport-5400-series#resources You could try getting that working. once you have a tty address, you just have to add the appropriate tty address to your /etc/CODESYSControl_User.cfg file: [SysCom] Linux.Devicefile.1=/dev/ttyMOXA Linux.Devicefile.4=/dev/ttyMAYBEANOTHERNAME The number after the dot is the COM number to use in CODESYS....

  • i-campbell i-campbell posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    Hallo euch, Ihr mΓΌsst eine CSR bauen, exportieren, signieren, und importieren. 1. Device > PLC Shell 2. Typ cert-getapplist. Speichern Sie die App Number des CmpOPCUAServer. 3. Typ cert-createcsr 0. Tauschen 0 fΓΌr die App Number aus cert-getapplist. 4. Device > Files 5. An der rechts, navigieren nach cert/export und nehmen die 0_CmpOPCUAServer.csr 6. Signieren das csr wie Sie wollen. z.B. schicken nach Ihren CA. 7. Leigen die signierte Zertifikat unter Device > Files > cert/import 8. In Device >...

<< < 1 .. 8 9 10 >