CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

SMC_Gcodeviewer
https://forum.codesys.com/viewtopic.php?f=6&t=8711
Page 1 of 1

Author:  Peter.skokanek [ Tue Mar 20, 2018 10:32 am ]
Post subject:  SMC_Gcodeviewer

Hello, I am stuck in my project where I need to read an actual line of interpolated G-Code. I used the function block SM_GCodeViever. I am afraid that I am competly lost in declaration of FB variables. Exacly variable:
Gcode: ARRAY [0..c_uiLines] OF STRING; (please see attached part of my project)
Is there available some example of using SM_GCodeViever?
Peter

Author:  Edwin Schwellinger [ Thu Mar 22, 2018 7:29 am ]
Post subject:  Re: SMC_Gcodeviewer

Hi,
guess there is simply missing the namespace... in the declaration

asGCode : ARRAY[0..viewer.c_uiLines] OF STRING ;

BR
Edwin

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/