<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for berkdan</title><link href="https://forge.codesys.com/u/berkdan/activity/" rel="alternate"/><id>https://forge.codesys.com/u/berkdan/activity/</id><updated>2025-06-17T10:43:54.662000Z</updated><subtitle>Recent activity for berkdan</subtitle><entry><title>berkdan modified a comment on discussion Motion 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/81ee3f8be0/?limit=25#a72d" rel="alternate"/><published>2025-06-17T10:43:54.662000Z</published><updated>2025-06-17T10:43:54.662000Z</updated><author><name>berkdan</name><uri>https://forge.codesys.com/u/berkdan/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Motion/thread/81ee3f8be0/?limit=25#a72d</id><summary type="html">Hey tk96 Thank you for your help. I have found the reason why fbreader stuck. It was not the program but it was the gcode itself. G21 command blocks the reader. And multiple G codes in a line also blocks the reader. My code was: N010 G21 G17 G90 -&gt; Blocked the reader When i change it to: N010 G90 N020 G17 Then it worked. The only thing i did not get is why the reader did not thwor error. ErrorId was SMC_NO_ERROR. Anyway, it is now working. Thanks again.</summary></entry><entry><title>berkdan posted a comment on discussion Motion 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/81ee3f8be0/?limit=25#a72d" rel="alternate"/><published>2025-06-17T08:28:20.504000Z</published><updated>2025-06-17T08:28:20.504000Z</updated><author><name>berkdan</name><uri>https://forge.codesys.com/u/berkdan/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Motion/thread/81ee3f8be0/?limit=25#a72d</id><summary type="html">Thank you for answering my question. I am sharing some POU's and the IPO screenshot below. I thing this should do the job. Could you tell me what I am missing? //Interpreter PRG IF gCNC.bCycleStart THEN bOldExecute := TRUE; gCNC.bTaskCompleted :=FALSE; END_IF IF gCNC.bCycleStop THEN bOldExecute := FALSE; gCNC.bTaskCompleted :=TRUE; END_IF //Read File fbReadFile(bExecute := bOldExecute, sFileName := strFileName, fDefaultVelFF := 50.0, fDefaultAccelFF := 30.0, fDefaultDecelFF := 30.0, ErrorID =&gt; gCNC.eErrorId,...</summary></entry><entry><title>berkdan posted a comment on discussion Motion 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/81ee3f8be0/?limit=25#d89f" rel="alternate"/><published>2025-06-16T15:01:43.849000Z</published><updated>2025-06-16T15:01:43.849000Z</updated><author><name>berkdan</name><uri>https://forge.codesys.com/u/berkdan/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Motion/thread/81ee3f8be0/?limit=25#d89f</id><summary type="html">Hello, I’m using CODESYS V3.5 SP18. When I try to use SMC_ReadNCFile2 to read the file /PlcLogic/gcode.nc, the function block's bBusy output remains TRUE indefinitely. Can you help me understand what I might be doing wrong? Here is how I’m calling the function block. The value of strFileName is 'gcode.nc'. fbReadFile( bExecute := bExecute, sFileName := strFileName, bAbort := bCycleStop, fDefaultVel := RetainVariables.xSlowVelocity, fDefaultAccel := RetainVariables.xAcc, fDefaultDecel := RetainVariables.xDec,...</summary></entry></feed>