Activity for oguzemretombul

  • oguzemretombul oguzemretombul posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§

    You can not define dynamic size array in codesys. I guess you have an array with static length but you want to now how many elements is not empty. for example you have ' StringArrayVar : ARRAY [1..100] OF STRING ' . you can find like that how many elements is not empty; var StringArrayVar : ARRAY [1..100] OF STRING ; i: byte ; TotalIndex : Byte ; end_var TotalIndex := 0 ; FOR i:=1 TO 100 DO IF StringArrayVar[i] <> '' THEN TotalIndex := TotalIndex + 1 ; END_IF END_FOR

  • oguzemretombul oguzemretombul modified a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hello, Create a html and put video on same location. Call html on browsercontrol element. And you can play video, i attached screenshots. (by the way, your visualizations stays back of html page, whit this way you can not use like background)

  • oguzemretombul oguzemretombul modified a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hello, Create a html and put video on same location. Call html on browsercontrol element. And you can play video, i attached screenshots.

  • oguzemretombul oguzemretombul posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hello, Create a html and put video on same location. Call html on browsercontrol element. And you can play video, i attached screenshots.

  • oguzemretombul oguzemretombul posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§

    FOR vCount := 0 TO 1999 DO something ; end_for vCount already increase 0 to 1999 on every each task sample time. why you add INT_TO_REAL(WORD_TO_INT(vVin)); and why you need this vCount + 1; what you wanna do i couldnt understand but check your vCount value.

  • oguzemretombul oguzemretombul posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§

    https://www.youtube.com/watch?v=yEcr45tfVEU&t=4s check this fb 'CurTimeEx', if your cpu clock can give microsecond time resolution , you can create your timer.

  • oguzemretombul oguzemretombul posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§

    I have 2 visualization pages. And both of them have same configuration. On webvisu.htm file start_visu parameter is plc_visu. But when i try download or rebuild , my main pages xml file not generating and Codesys gives message Warning 1810: The placeholder visualization 'PLC_VISU' is not used by any main visaulization. Therefore, it will not be created for the target visualization or the web visualization. (when i change visualization to master layout on properties of page; its generating, but i...

1