Activity for broos72482

  • broos72482 broos72482 modified a comment on discussion Runtime πŸ‡¬πŸ‡§

  • broos72482 broos72482 posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I found out that when booting from sd-card the usb to ethernet adapter is recognised ok. Only when i boot from usb (using a M.2 Expansion Board voor Argon ONE) different USB to ethernet adapters will not be recognised at boot time.

  • broos72482 broos72482 posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I found out that when booting from sd-card the usb to ethernet adapter is recognised ok. Only when i boot from usb (using a M.2 Expansion Board voor Argon ONE) different USB to ethernet adapters will not be recognised at boot time.

  • broos72482 broos72482 modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    Certainly, You need to execute the following steps: 1. First place the socket variable at a %MD and also xopen and xclose should be placed at a%M. 2. Secondly define some eventroutines when the socket should be closed to prevent it from being reoped / reused. You can do this in Taskconfiguration->System events. 3. Now yo need to define the event routines Start socket server Stop the socket server - called before the application stops Stop the socket server - called before an online change Stop the...

  • broos72482 broos72482 posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Certainly, You need to execute the following steps: 1. First place the socket variable at a %MD and also xopen and xclose should be placed at a%M. 2. Secondly define some eventroutines when the socket should be closed to prevent it from being reoped / reused. You can do this in Taskconfiguration->System events. 3. Now yo need to define the event routines Start socket server Stop the socket server - called before the application stops Stop the socket server - called before an online change Stop the...

  • broos72482 broos72482 posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Thanks for your help. runtime restart was the solution. The problem was that the UGREEN USB 3.0 adapter was NOT on the list of hardware for the Raspberry pi. So I bought a USB 2.0 Belkin adapter, which was on the list of compatible hardware (https://elinux.org/RPi_VerifiedPeripherals). However the're is a problem with both network adapters when booting the Raspberry pi. The are not recognized at boot time. So rebooting was not an option. Using eth0 would probably work. What i tried is using the USB...

  • broos72482 broos72482 posted a comment on discussion Runtime πŸ‡¬πŸ‡§

  • broos72482 broos72482 posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I have a very simple demo application using a: - Raspberry pi 4b. - UGreen 10/100/1000 MB USB 3.0 networkadapter. - Codesys soft-PLC for the raspberry pi (Codesys V3.5 SP17 Patch 2 64-bit). The demo applicatition looks as follows: What have i done: - I've downloaded the xml descriptor files. - Inserted the EtherCAT Master. - Inserted a buscoupler. - Inserted a EL1008 DI module. - Inserted a EL2008 DO module. When start the application i get the following messages from the logging: Scanning doesn't...

  • broos72482 broos72482 posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    I have downloaded an example project for a TCP socket server running on a Raspberry Pi. Code copied from the example for socket communication Linux SL. See the code below: TON1(IN:=xOpen, PT:=TIME#30S); IF hMySocket = SysSocket.SysSocket_Interfaces.RTS_INVALID_HANDLE AND TON1.Q THEN // create a socket for an IPv4 TCP stream hMySocket := SysSockCreate( iAddressFamily := SOCKET_AF_INET, (* SOCKET_AF_INET for ip4 connection. We do it locally, so it is a loopback *) diType := SOCKET_STREAM, diProtocol...

  • broos72482 broos72482 created ticket #153

    Socket remains active on Raspbian OS after stopping / starting the controller

1