How To Create a Digitizing Axis From Code
Following is a method for creating digitizing axes without using the GUI"Graphical User Interface" A GUI is a type of user interface which allows people to interact with a computer and computer-controlled devices.
- The MC_CreatePLCAxis function block is used to create the axis.
- The MC_InitAxisFeedback function is used to initialize the feedback.
(* ----- Create PLCopenA vendor -and product- independent worldwide association active in Industrial Control and aiming at standardizing PLC file formats based on XML axis 'Digit1' *)
MC_CreatePLCAxis( 'Digit1', 'EtherCATDriver', 1001, 3, 1, 1, 1, 1, LREAL#0, 4 );
MC_InitAxisFeedback( 3, 24804, 2, 32 );