Hello John and thanks for your reply.

Unfortunately, I cannot find the environment branch and any command object. I know that I can add commands to the Workbench but I do not know where to add the command. I would appreciate it if you give me more details about the procedure to do it.

Also, I don't understand why my G code does not work. Do you have any suggestions on how to make it work?  The g code G4 X20.0 should add a 20-second dwell time but it doesn't work. Also, I tried other syntaxes but none of them works.