Personal Data

Username:
ton
Joined:
2020-01-17 12:33:24

Projects

  • No projects to display.

User Activity

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

    Hi, I guess you don't have the right xml file. Download Beckhoff_EtherCAT_BKxxx_MDP.zip from https://download.beckhoff.com/download/configuration-files/io/ethercat/xml-device-description and install these in Device Repository.

  • Posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ on CODESYS Forge

    Ich habe das gleiche problem. Losch mal die '.precompile cache’ datei und ΓΆffne dass project. Ich habe dan keine fehler meldung und kann ohne probleme online.

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

    If you use LTIME() you will be very accurate and be able to have a normal task cycle time.

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

    Hi, i guess you want to make a hour counter. You need to store the measured value. Try to use a retain variable, but need a graceful shutdown, or save it your self. see https://forge.codesys.com/forge/talk/Runtime/thread/278e325579/ Succes.

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

    One i wrote this to measure elepse time When xMeasure is true is starts en when false it stops and time is messured. FUNCTION_BLOCK FB_ElapseTime VAR_INPUT xMeasure: BOOL; END_VAR VAR_OUTPUT xRisingEdge: BOOL; xFallingEdge: BOOL; tElapsed: TIME; ltElapsed: LTIME; ltPrev_Elapsed: LTIME; ltElapsedMax: LTIME; END_VAR VAR xLastValue: BOOL; LTIMEStart: LTIME; LTIMEEnd: LTIME; tonReset: TON:= (IN:= TRUE, PT:= TIME#30S0MS); END_VAR ------------------------------------------- xRisingEdge:= (xLastValue XOR...

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

    You have to declare some inputs. declaration: SdoRead_RU01: ETC_CO_SdoRead; wRU01: WORD; code: SdoRead_RU01( xExecute:= , usiCom:= 1, //index of master 1: first ETC master uiDevice:= DRIVE_400U1.PhysSlaveAddr, wIndex:= 16#2C01, bySubindex:= 16#00, udiTimeOut:= 500, pBuffer:= ADR(wRU01), szSize:= SIZEOF(wRU01));

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

    This solution takes a lot of performance. When for example two alarm bits comes at the same time the second has a delay of few seconds. I quess my visu do also get translated, so not a good solution. For now i just take default language.

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

    Hi Kislov, This is what i was looking for. Many thanks!!!

View All