Back to top

Is it possible to merge two different programs that was development over platform KAS IDE ?

0 votes
+ vote
Vote up!

Hello we are development a four axis machine, including its process control,  the machine programing is development by 2 programmers,
one of them is creating motion control section and other one is doing process control  section, we are trying to export and import programs  but seem that not handle properly  global variables,

image   

is it possible to marges programs successfully ? 

source codes programs are 4x-10d.kas  and h1_15_Nov.kas

image

 

   

0 Comments

2 Answers

0 votes
+ vote
Vote up!

When i Imported variables from other program, the I/O directions at ethercat coupler are not signed to any variable.  so 

how can linked imported variables to ethercat Couplers I/O slices ??

 

see images 

Comments

The screenshot you attached shows the correct screen. When you scan devices they get shown under the EtherCAT section of the project explorer. Each I/O slice can be opened to see the properties tab on the main window and can choose which variables to map to each I/O point. Cannot make changes while a Project is running though.

Joe Parks - Tue, 11/17/2020 - 06:04
Log in or register to post comments

0 votes
+ vote
Vote up!

Individual programs and be exported from one project and imported to another in the KAS IDE software. When you export and then import, only local variables to that project are brought along so any global variables used that are not declared in the new project would cause compile errors.

There is another feature that makes it easy to Transfer global variables from one project to another. In the dictionary can right click a section and choose "Edit Variables as text". This will open that section of the dictionary in a text editor that you can copy/paste or edit all parameters instead of having to do from individual popup windows for each variable. Can copy all the global variables as text from one project to another quickly than instead of one by one.

0 Comments
ANSWER THIS QUESTION
You may login with either your assigned username or your e-mail address.
The password field is case sensitive.

If you do not have an account, click here to register.