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 Thu Dec 13, 2018 4:38 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Dec 04, 2018 1:14 pm 
Offline

Joined: Thu Apr 26, 2018 2:31 am
Posts: 6
I have some problem, I use the SMC_CNC_REF in my cnc compile mode
Image

and I try to key the G code to CNC editor
N0 G01 X$GVL.g_x$ Y0 F50 E30 E-30
N10 G01 X0 Y$GVL.g_y$
N20 G01 X0 Y0

but compile occur some error massage, It's called
Image

but in my globe list, I declare two var ...
Image
please help me to solve the problem


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


Top
   
PostPosted: Wed Dec 05, 2018 8:02 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3015
Hi,
see screenshot...

BR
Edwin


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


Top
   
PostPosted: Fri Dec 07, 2018 9:20 am 
Offline

Joined: Thu Apr 26, 2018 2:31 am
Posts: 6
Edwin Schwellinger wrote:
Hi,
see screenshot...

BR
Edwin


oh, I see
The variable is showed by CNC's offline variable
But I have question, I set initial value in globe
see my screenshot ...however cnc's variable must be set value again...
g_x: REAL:=100;
g_y:REAL:=50;
why don't automatically set value to cnc's offline variable form globe ...?
please help me ..


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  [ 3 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


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