Post by berkdan on SMC_ReadNCFile2 is always busy
CODESYS Forge
talk
(Post)
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, b3DMode := TRUE, bParenthesesAsComments := TRUE, fDefaultVelFF := RetainVariables.xFastVelocity, fDefaultAccelFF := RetainVariables.xAcc, fDefaultDecelFF := RetainVariables.xDec, ErrorID => gCNC.eErrorId, errorPos => gCNC.eErrorPos, ErrorProgramName => gCNC.eErrorProgName, bBusy => bReadFileBusy, sentences => sentencesss ); Thanks in advance for your help.
Last updated: 2025-06-16
Troubles with using CAN API
CODESYS Forge
talk
(Thread)
Troubles with using CAN API
Last updated: 2023-09-19
Having trouble using the CRC function
CODESYS Forge
talk
(Thread)
Having trouble using the CRC function
Last updated: 2023-02-14
Developing software using OPC server v3.0
CODESYS Forge
talk
(Thread)
Developing software using OPC server v3.0
Last updated: 2012-11-26
Explicit Messaging using Ethernet IP
CODESYS Forge
talk
(Thread)
Explicit Messaging using Ethernet IP
Last updated: 2015-09-25
Library functions using external variables
CODESYS Forge
talk
(Thread)
Library functions using external variables
Last updated: 2022-07-04
Set Action after using input dialog
CODESYS Forge
talk
(Thread)
Set Action after using input dialog
Last updated: 2020-07-16
Visu Login using VisuUserManagement library
CODESYS Forge
talk
(Thread)
Visu Login using VisuUserManagement library
Last updated: 2015-12-04
Atomic operations when using tasks
CODESYS Forge
talk
(Thread)
Atomic operations when using tasks
Last updated: 2018-02-12
Error while using MQTT library
CODESYS Forge
talk
(Thread)
Error while using MQTT library
Last updated: 2022-08-19
Multiple download using python script
CODESYS Forge
talk
(Thread)
Multiple download using python script
Last updated: 2023-03-22
Asymmetric Signature Verification Using CmpCrypto
CODESYS Forge
talk
(Thread)
Asymmetric Signature Verification Using CmpCrypto
Last updated: 2023-06-07
Expose custom CLI using CodeSys
CODESYS Forge
talk
(Thread)
Expose custom CLI using CodeSys
Last updated: 2022-09-16
Communicating to drive using SoMachine
CODESYS Forge
talk
(Thread)
Communicating to drive using SoMachine
Last updated: 2012-11-16
Using Specific Bit of an SHL
CODESYS Forge
talk
(Thread)
Using Specific Bit of an SHL
Last updated: 2016-10-23
Using your own library download server
CODESYS Forge
talk
(Thread)
Using your own library download server
Last updated: 2019-03-07
Asymmetric Signature Verification Using CmpCrypto
CODESYS Forge
talk
(Thread)
Asymmetric Signature Verification Using CmpCrypto
Last updated: 2023-06-06
Using pointer to action/method
CODESYS Forge
talk
(Thread)
Using pointer to action/method
Last updated: 2022-03-03
Industrial Computer using for CODESys
CODESYS Forge
talk
(Thread)
Industrial Computer using for CODESys
Last updated: 2023-06-12
The cost of using STRING ?
CODESYS Forge
talk
(Thread)
The cost of using STRING ?
Last updated: 2017-03-01
CanOpen and EMCY using CIA405.RECV_EMCY
CODESYS Forge
talk
(Thread)
CanOpen and EMCY using CIA405.RECV_EMCY
Last updated: 2021-04-28
Using Siemens CM PtP in Codesys
CODESYS Forge
talk
(Thread)
Using Siemens CM PtP in Codesys
Last updated: 2019-11-01
Codesys code review using Crucible
CODESYS Forge
talk
(Thread)
Codesys code review using Crucible
Last updated: 2016-01-14
Delta Robot using Axis Group
CODESYS Forge
talk
(Thread)
Delta Robot using Axis Group
Last updated: 2019-08-02
1-wire using DS2482-100
CODESYS Forge
talk
(Thread)
1-wire using DS2482-100
Last updated: 2016-03-22
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND
or OR
.