Navigation

  • Page 1

    Open CNC PLC development tools Operation manual by : SYNTEC date : 2002/03/26 ver : 1.3

  • Page 2

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 1ª©¥»§ó·s°O¿ý ¶µ¦¸ §ó§ï¤º®e¬ö¿ý §ó§ï¤é´Á§@ªÌ §ó§ï«áª©¥»01 ªìª©©w½Z 2002/03/26 V1.3

  • Page 3

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 2menu ¤@ FUNCTION INDEX 5 ¤G COMMAND INDEXES 7 ¤T EDIT MAIN SCREEN 7 ¥| PARAMETER INPUT FIELD 7 ¤- KEYBOARD OPERATION INDEX 8 MLC element command instruction 9 Normal Open Contact 9 Normal Close ...

  • Page 4

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 3FAST PLC PROGRAM SCAN 24 Valid version 24 Operation instructions 24 LADDER EXAMPLE 26 (¤@) mode selection 26 (¤G ) spindle speed% 27 (¤T ) MPG and INJOG step percentage speed% 28 (¥|) G01 cutting...

  • Page 5

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 4MLC Edit for windos Mlc edit five area CommandCommand edit edit Menu {MB¡G output directly} {M07¡G wait the motion command finish ,and record doing times

  • Page 6

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 5¤@ Function Index 13 functions ¢°. open a new file¡C ¢±. After open the old file¡A the path is the original path¡C ¢². ¢³. Move the cursor to the ...

  • Page 7

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 6 7. Search for next file that key in¡A select this function or click F3¡C 8. Copy signed area¡A and paste to command edit area¡C 9 Consult NO.8 10. Move to where wan...

  • Page 8

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 7 ¤G Command Indexes Command consult the second chapter This software edits contents after choosing element If use B contact of ABIT ,as below¡G Press Contact ,there are many contacts¡C...

  • Page 9

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 8 ¤- Keyboard Operation Index Page up ¡G move cursor to former page at edit window¡C Page Down ¡G move cursor to next page at edit window¡C Home ¡G move cursor to most left side¡C En...

  • Page 10

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 9 MLC element command instruction Normal Open Contact PIC¡G Description¡Gcalled A contact¡C Normal Open Contact is open normal¡Aclose when there is a signal¡C volume¡G point I 512 points¡B p...

  • Page 11

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 10Connector PIC¡G Description¡G connect with other elemant¡C Normal Open Coil PIC¡G Description¡G when input is ON¡A then output ON¡F when input is OFF¡A then output OFF¡C volume¡G point ...

  • Page 12

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 11Description¡G when input signal OFF to NO¡A then output a pulse signal¡C A pulse signal cycle time¡A represent the scan time of the software of PC do a circulate¡C volume¡G point O 512 points...

  • Page 13

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 120~4095¡A each register R use range 0..31 map to bit 0 to bit 31 by part¡A R50.0 for the 50th register bit 0¡C Counter PIC¡G Description¡G when input signal OFF to NO¡A counter upward(do...

  • Page 14

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 13Description¡G when input signal OFF to NO¡A counter upward(downward)once¡A when value of counter reach target value¡A next trigger will back to beginning value¡A keep on counting¡C If output s...

  • Page 15

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 14Description¡G when input signal OFF to ON¡A and keep ON¡A that timer start to count time¡C If the output signal is ON when timer reach to target time¡C Then mapping timer contact is ON¡C When ...

  • Page 16

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 15Volume¡Gmax axis 20¡Arange 1~20¡Aactually axis need depend on usability axis in CNC parameter¡C Operation instructions Setup¡G use C66~C69,C260~C271 to set assigned axis to PLC axis Descript...

  • Page 17

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 16 Description : *.when doing PLC axis program ,please rising edge trigger , to start PLC axis , prevent to do the same PLC axis program many times. PLC axis process program description(# nnnn) : ...

  • Page 18

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 17 Keyboard scan Valid version Fresh version 9.00.21.0 or newer version Release version 8.29 or newer version Related element Description¡G when input signal OFF to ON¡A start keyboard scan...

  • Page 19

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 18R Base + 1, R Base + 2 contiguously; under indirectly addressing mode, this register content is the base register number for scan result. Volume¡G max keyboard 1¡A range 1¡A this function is eff...

  • Page 20

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 19Arithmetic Operation PIC¡G Description¡G when input ON signal¡A do arithmetic operation¡C Each value of data register is integer¡A each value need2 Bytes¡C Range -32768 to 32767¡C Vo...

  • Page 21

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 20Logic Operation PIC¡G Description¡G when input signal ON¡A do logic operation¡C Each value of data register is 32 bit mode¡A each register use 32 bits data¡C In other word each operation...

  • Page 22

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 21 Compare PIC¡G Description¡G when input ON signal¡A do compare operation¡C When result is truth then output ON¡F when result is false output OFF¡C When result is false or in...

  • Page 23

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 22Move PIC¡G Description¡G when input ON¡A then move¡C When move finished output signal is ON¡C Rotate PIC¡G Description¡G when input ON¡A do rotate calculate¡A and output 0 clockwise(CW...

  • Page 24

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 23 Jump PIC¡G Description¡G when input signal ON¡A do Jump¡A program will restart at which mark LABEL¡C Jump Subroutine PIC¡G Description¡G when input signal comes from ON¡A do Jump Subrouti...

  • Page 25

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 24 End PIC¡G Description¡G end the Ladder program¡C Fast PLC program scan PIC¡G Description¡G fast end the Ladder program¡C Valid version Build 662 or newer version Operation instructions ¢...

  • Page 26

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 25example {program below will scan in normal speed} {program below will scan in high speed}

  • Page 27

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 26LADDER example (¤@) mode selection Selection of operation mode is composed by I30¡A I31¡A I32¡A in binary system¡Fbecause using turning logical switch in interface¡A need to recompose the sign...

  • Page 28

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 27(¤G ) spindle speed% spindle speed% is compose by three input signals , I21¡A I22¡A I23¡A use eight steps logical switch in interface¡A and output and input is related with binary transfer to ...

  • Page 29

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 28 (¤T ) MPG and INJOG step percentage speed% speed% is composed by to input signal I26¡A I27 and I28¡A I29¡A use four steps logical switch on interface¡A I26&I28¡A I27&I29 is matched i...

  • Page 30

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 29 (¥|) G01 cutting speed% spindle speed% is composed by three input signal I21¡A I22¡A I23¡A use eight steps logical switch on interface¡A and output and input is related with binary transfer ...

  • Page 31

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 30 PLC basic circuit design 1.single pulse produced circuit when open produce a pulse of One-Scan Cycle signal¡A because A0 and A1 are b contact¡A make A2 ON¡A when scan to second line¡A output of...

  • Page 32

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 312.¦Û«O«ù½u¸ô ¦Û«O«ù½u¸ô¨Ï¥Î¦b¨ã¦³¦³´_Âk«¬«ö§á¶}Ãö¡Athe switch OFF to ON and return to OFF¡C When this I0 circuit OFF to ON¡A because I1 is b contact¡A then ...

  • Page 33

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 324.use MSD to design returned button instead locked circuit if click the P.B(I48)¡A the point O(O30) of cool liquid motor turn ON¡A O30 turn OFF when click again¡C ¢¹ click the button¡AO30 ON ...

  • Page 34

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 33LADDER examples :

  • Page 35

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 34(¤-) MPG Simulation C20 At auto mode¡Athis bit ON¡Aafter process starting¡AG00 G01 G02 G03 FEEDRATE OVERRIDE is decided by MPG rotate speed¡A when speed up the machine move fast¡A MPG sto...

  • Page 36

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 35(¤C ) Optional Stop C44 When this FLAG ON¡A when doing to M01¡A controller goes to pause status(B-STOP)¡A when FLAG not ON¡A when dong to M01¡A controller will ignore M01¡A continue to do ...

  • Page 37

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 36(¤E ) Single Block C40 When FLAG ON¡A G CODE stop when finish doing a BLOCK¡A need to click Cycle Start and start doing next BLOCK¡C (¤Q) Machine Lock C43 When FLAG ON¡A program will run¡...

  • Page 38

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 37(¤Q¤@) spindle turn , reverse and stop Spindle use frequency converter¡A turn to use O6¡A reverse to use O7¡A can’t reverse when turning¡C Spindle can’t turn and need to stop ...

  • Page 39

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 38 (¤Q¤G) direction of chuck and gripper there are ¥~¤ö©M¤º¤ö in lathe grippers¡A so need to set the direction of gripper¡A the setup can use PLC register to set ,usually use R82¡A or...

  • Page 40

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 39 O49 is the direction of gripper {when chuck is close ,use TM3(close) TM4(open)}

  • Page 41

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 40 (¤Q¤T) JOG button on interface Click the direction key on JOG MODE¡A LADDER let FLAG ON¡A controller will produce the movement on this direction¡A there is a fast key C23 in the middle ...

  • Page 42

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 41

  • Page 43

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 42(¤Q¥|) Cycle Start C0 and Feed Hold C1 In Auto mode and MDI¡A C0 ON will start process or do MDI command¡A C0 only receive One short signal¡C Processing S0 will turn ON¡C In the ...

  • Page 44

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 43(¤Q¤-) origin return In origin mode R13 = 7¡A when click JOG button in each axis¡A the controller will use parameter 861~880 to find HOME direction¡A and parameter 821~840 find origin spe...

  • Page 45

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 44(¤Q¤») positive negative limit of XYZ (Over Travel) If the limit of each FLAG ON¡A controller will produce Feed Hold automatically¡A and refuse jog command and MPG command on that direc...

  • Page 46

    SYNTEC Open CNC PLC development tools operation manual ¡Ð ¡Ð 45(¤Q¤K) M CODE When processing program doing to M CODE¡A will put contents of M CODE into R1 Register¡C CNC will send S29 BIT(M code Read) to tell LADDER¡Auntil wait for LADDER(A72) send...

x