CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sun Dec 16, 2018 4:17 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: SMC_Gcodeviewer
PostPosted: Tue Mar 20, 2018 10:32 am 
Offline

Joined: Wed Jan 27, 2016 10:51 pm
Posts: 40
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


You do not have the required permissions to view the files attached to this post.


Top
   
 Post subject: Re: SMC_Gcodeviewer
PostPosted: Thu Mar 22, 2018 7:29 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3019
Hi,
guess there is simply missing the namespace... in the declaration

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

BR
Edwin


You do not have the required permissions to view the files attached to this post.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited