Activity for i-campbell

  • i-campbell i-campbell posted a comment on discussion Forge

    Do you have 'always update variables' set to disabled? If so, you need to use the variables in code before they will be updated.

  • i-campbell i-campbell posted a comment on discussion Deutsch

    Ein SP16 Fehler. Sie müssen SP16 Patch1 verwenden.

  • i-campbell i-campbell posted a comment on discussion Engineering

    Read this page and its four sub-pages. There is a trick with the componentmanager section, the numbers must all be sequential and start from 1. Commented out lines don't count. When still not scanning look at the PLC logs (double click PLC device > Logs) and Profinet Controller logs (double click PN controller device > Log)

  • i-campbell i-campbell posted a comment on discussion Engineering

    The dialog in my screenshot is enabled with Tools > Options > Device Editor > View > Communication page > Classic Mode Then you doubleclick your PLC in the device tree.

  • i-campbell i-campbell modified ticket #7

    Flasher Bits (A bit that turns off and then on)

  • i-campbell i-campbell created ticket #7

    Flasher Bits (A bit that turns off and then on)

  • i-campbell i-campbell posted a comment on discussion Engineering

    Like a public facing router? No ports should ever be forwarded on such a router. Please use the CODESYS Automation Server instead.

  • i-campbell i-campbell posted a comment on discussion Engineering

    you must add "dns:" to the front

  • i-campbell i-campbell posted a comment on discussion Forge

    Hello chj18888, That was the wrong form to use. The form at the bottom of your project is for starting a discussion topic in our Talk forum. You need to upload the package to your project using SVN. Then provide a link to the package on your project home page. Some more details in the Forge Documentation: https://forge.codesys.com/forge/wiki/SCM%20Repositories/ Kind regards, Ian Campbell

  • i-campbell i-campbell posted a comment on discussion Engineering

    So I remember my first time building my own CODESYS application. It wasn't my first CODESYS programming experience, but it easily could have been. Before writing any code, I started by making sure the communication to the IO worked. Of course, without "Always Update Variables" = "Enabled 1" or "Enabled 2", I was frustrated for some time that the inputs remained on zero, and the outputs weren't sent to the device. I have never missed that setting since. Question one: Would I be correct in assuming,...

  • i-campbell i-campbell modified a comment on discussion Visualization

    It is a subset of the (free version of) Application Composer. https://help.codesys.com/webapp/f_application_composer_datalog_manager;product=core_Application_Composer;version=3.5.16.0

  • i-campbell i-campbell posted a comment on discussion Visualization

    It is a subset of the (free version of?) Application Composer. https://help.codesys.com/webapp/f_application_composer_datalog_manager;product=core_Application_Composer;version=3.5.16.0

  • i-campbell i-campbell posted a comment on discussion Visualization

    The trend should be displaying the local time of the PLC's operating system. So adjusting the operating system timezone should sort it.

  • i-campbell i-campbell posted a comment on discussion Runtime

    No system libraries are available for Simulation mode. Specifically that means no file access is possible. You can use CODESYS Control Win V3 which is installed with the IDE, or another real PLC.

  • i-campbell i-campbell posted a comment on discussion Engineering

    Wow, what a fantastic library! Thanks for sharing @nothinrandom!

  • i-campbell i-campbell modified a wiki page

    Home

  • i-campbell i-campbell modified a wiki page

    Home

  • i-campbell i-campbell modified a comment on discussion Engineering

    Can you make node red use address 0xFF? Or 0x00? https://modbus.org/specs.php Modbus TCP "On TCP/IP, the MODBUS server is addressed using its IP address; therefore, the MODBUS Unit Identifier is useless. The value 0xFF has to be used." 0x00 is the broadcast address, so also works.

  • i-campbell i-campbell posted a comment on discussion Engineering

    Can you make node red use address 0xFF? Or 0x00? https://modbus.org/specs.php Modbus TCP "On TCP/IP, the MODBUS server is addressed using its IP address; therefore, the MODBUS Unit Identifier is useless. The value 0xFF has to be used." 0x00 is the broadcast address, so also works.

  • i-campbell i-campbell posted a comment on discussion Visualization

    Probably this nice piece of work. Not exactly via webvisu though. Let us know. https://play.google.com/store/apps/details?id=com.codesys.codesyssensor https://store.codesys.com/codesys-sensor-app-for-android.html

  • i-campbell i-campbell modified a comment on ticket #3

    if i is a DINT you can use __XADD(ADR(i) , 1) for i++

  • i-campbell i-campbell posted a comment on ticket #3

    if i is a DINT( __XWORD??) you can use __XADD(ADR(i) , 1) for i++

  • i-campbell i-campbell posted a comment on discussion Engineering

    Yes, ST has almost all of the things. The Documentation for this function even has an example written in ST. https://help.codesys.com/webapp/nZzsIvNv0ruZ1f6MRyM0e-wgLKU%2FTOF;product=standard;version=3.5.15.0

  • i-campbell i-campbell posted a comment on discussion Engineering

    Language programming? I have not heard of this.

  • i-campbell i-campbell posted a comment on discussion Visualization

    Increase the Image.Bitmap Version by 1 whenever you feel like it

  • i-campbell i-campbell posted a comment on discussion Engineering

    Standard.TOF

  • i-campbell i-campbell posted a comment on discussion Visualization

    CAA File.Copy()? WebBrowser Element?

  • i-campbell i-campbell posted a comment on discussion Engineering

    Try the drop-down "always update variables in bus cycle task" on the IO mapping page

  • i-campbell i-campbell posted a comment on discussion Visualization

    Add the CAA Memory library. VAR Wstr : WSTRING; usintarray : ARRAY [0..3] OF USINT := [16#00, 16#47, 16#0, 16#49]; END_VAR; Wstr[0] := MEM.PackBytesToWord(byHighByte := usintarray[0], byLowByte:= usintarray[1]); Wstr[1] := MEM.PackBytesToWord(byHighByte := usintarray[2], byLowByte:= usintarray[3]); Wstr[2] := 16#0000; //Terminating character

  • i-campbell i-campbell posted a comment on discussion Visualization

    Can you access these (00 48 00 49) as a byte array or word array already?

  • i-campbell i-campbell posted a comment on discussion Visualization

    $ is just an escape character. "$0400" means 'a two byte character, lowbyte is 00, high byte is 04' Might be easier to do: Wstr[0] := %IW0; Wstr[1] := %IW1; etc.

  • i-campbell i-campbell posted a comment on discussion Runtime

    PROGRAM PLC_PRG VAR value : BYTE; position0 : POINTER TO BYTE; index : BYTE; END_VAR position0 := ADR(%IB0); value := position0[index];

  • i-campbell i-campbell posted a comment on discussion Visualization

    Maybe you need to try byteswapping. MemUtils.MemCpy() can copy the bytes from where they are to your WSTRING You then need to find a byteswap function somewhere if required. Maybe MemUtils.Swap or MemForceSwap

  • i-campbell i-campbell posted a comment on discussion Engineering

    https://faq.codesys.com/display/CDSFAQ/Installation+of+several+CODESYS+versions

  • i-campbell i-campbell posted a comment on discussion Runtime

    .Project?

<< < 1 .. 12 13 14 >