Personal Data

Username:
davidbo
Joined:
2020-01-17 10:57:08

Projects

  • No projects to display.

User Activity

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    I have now and it works. I had the idea that it had something to do with codesyscontrol.cfg, but where can I find a description of all the things you can set in codesyscontrol.cfg and its syntax?

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    I have done: systemctl stop dhcpcd sudo ip addr flush dev eth0 sudo ip link set eth0 up but a call to SysSockSetIpAddressAndNetMask does not give the eth0 an IP address Why?

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    The reason for why CODESYS halts was a CODESYS watchdog exception. 'sudo ip' takes a long time.

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    You never stay in a method. You need a block to do that. Something like: VAR button:BOOL:=FALSE; count:UINT:=0; END_VAR IF button THEN //read pressure count:=count+1; IF count>1 THEN button:=FALSE; count:=0; END_IF END_IF

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    It is stated: "Dynamic ip address, provided by DHCP, BOOTP, etc. Cannot be changed by SysSockSetIpAddressAndNetMask()" Therefore I try to stop dhcpcd and flush the eth0 like this VAR CONSTANT flushIP:STRING:='sudo ip addr flush dev eth0'; stopDHCP:STRING:='sudo systemctl stop dhcpcd'; END_VAR SysProcessExecuteCommand2(pszCommand:=stopDHCP, pszStdOut:=stdout,udiStdOutLen:= SIZEOF(stdout),pResult := ADR(Result)); SysProcessExecuteCommand2(pszCommand:=flushIP, pszStdOut:=stdout,udiStdOutLen:= SIZEOF(stdout),pResult...

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Does it mean that the USB dongle has to be inserted all time in order, for the device running in licensed mode?

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    I am evaluating a Toradex product for use with CODESYS. Toradex and CODESYS are partners, but using "CODESYS Virtual Control for Linux ARM64 SL" together with a carrier board "Verdin mallow" However it doesn't seem to be a soft container for licenses. So how do I install a license

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    When you have a deep object structure where not all values are not exposed to OPC UA, the top object will not have a V check mark but be filled fully out. In that case CODESYS do not always registrate changes to inner object. Solution set a V in the checkbox of the top object, build, download. Now you can browse, but all values in the top object will be selected, then you can deselect the ones you don't want, build, download and it works

View All