Personal Data

Username:
berkdan
Joined:
2025-06-16 14:50:59.898000

Projects

  • No projects to display.

User Activity

  • Modified a comment on discussion Motion 🇬🇧 on CODESYS Forge

    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 -> 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.

  • Posted a comment on discussion Motion 🇬🇧 on CODESYS Forge

    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 => gCNC.eErrorId,...

  • Posted a comment on discussion Motion 🇬🇧 on CODESYS Forge

    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,...

View All