Greetings,
I have a very large INIT file and I am wondering if it is possible to split it into several files. For example, I would like to separate the configurations for my 6 axis into a stand alone file. I tried to make a header file, and then use a #include in my init program. Does that sound like it should work? Can the axis configurations be done this way?
This is a small piece of what I put in the header file..
ch0->InputMode=ENCODER_MODE;
ch0->OutputMode=CL_STEP_DIR_MODE;
ch0->Vel=120000;
ch0->Accel=1.29e+006;
ch0->Jerk=2.88e+007;
ch0->P=0;
ch0->I=0.02;
ch0->D=0;
ch0->FFAccel=0;
ch0->FFVel=0;
Thanks,
Scott
Splitting Up My INIT File
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am