Personal Data

Username:
ryusoup
Joined:
2022-11-14 09:16:35

Projects

  • No projects to display.

User Activity

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

    Hello, I'm looking for a way to set my client certificate, not one which self-signed cert generated with CODESYS, for OPC UA connection via datasource linking. Does anyone know how to archive that? BR,

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

    Hello, I am trying to implement a FB to make JSON formatted WSTRING type message using JSON Utilities 1.9.0.0 included in the IIoT library. In my case, I want to set some objects or arrays and set values to them later. But when I wrote as the sample below, // init builder builder(pJsonData:=pJsonData, diRootObj=>diRootObj); // set the 1st key to root diKey1 := builder.SetKeyWithArray(wsKey:="key1", diParentIndex:=diRootObj, eError=>eError); // set a value to the 1st key wsValue:="value01"; builder.SetValue(Value:=wsValue,...

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

    Your issue seems to be the same as mine: the display range does not exceed the recording trend range. This appears to be a limitation of the current method... In my case, I verified the date range in the trend storage and compared it with the 'timestampfrom' and 'timestampto'. If the requested range falls outside the recorded data, I activated a message to notify the user.

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

    You firstly tried as followings but it doesn't work, right? pDT := pbNewValue; dTemp := pDT^; It worked in my case. CODESYS 3.5.17.30 and CODESYS Visualization 4.2.0.0 is my environment. Actually, a date time picker element calls the event handler for several times while changing operation, but it triggers the event with desired value on the last call. Doesn't it?

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

    I resolved it myself. To achieve this, create a FB which implements VisuElems.IValueChangedListener and Implement the method "ValueChanged". METHOD ValueChanged : BOOL VAR_INPUT itfVisualization : VisuElems.IVisualisation; ... pbNewValue : POINTER TO BYTE; ... END_VAR VAR instIDateRangeSelectorClient:VisuElemTrace.IDateRangeSelectorClient; instITimeSelectorClient:VisuElemTrace.ITimeSelectorClient; i:INT; pArrElems:POINTER TO ARRAY[0..10] OF VisuElems.IVisualElement; icount:INT; liTimestampFrom:LINT;...

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

    I resolved it myself. To achieve this, create a FB which implements VisuElems.IValueChangedListener and Implement the method "ValueChanged". METHOD ValueChanged : BOOL VAR_INPUT itfVisualization : VisuElems.IVisualisation; ... pbNewValue : POINTER TO BYTE; ... END_VAR VAR instIDateRangeSelectorClient:VisuElemTrace.IDateRangeSelectorClient; instITimeSelectorClient:VisuElemTrace.ITimeSelectorClient; pinstVisuFbFrame:POINTER TO VisuElems.VisuFbFrame; instVisu:VisuElems.IVisualisation; elementInfo:VisuElems.Visu_StructElementInfo;...

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

    Self resolved. Changing readLen := SysFileRead(hFile:=hFile, pbyBuffer:=pbyBuffer, ulSize:=udiMaxNrBytes, pResult:=ADR(error)); to readLen := SysFileRead(hFile:=hFile, pbyBuffer:=pbyBuffer, ulSize:=udiMaxNrBytes-10, pResult:=ADR(error)); cleared the problem. But still, I don't understand why that happens.

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

    Hello, I am working on downloading a file exists on remote controller over WebVisu. Following the file transfer example , I prepared a FB implements IVisuStreamReader to use file transfer feature on Visu as the screenshot attached, and it works with some small files enough to read whole content in 1 scan. But with larger file, downloaded file contains only the end part of the original file. Does anyone know how to fix this? Best regards,

View All