Beruflich Dokumente
Kultur Dokumente
By: SYNTEC
Date: 2010/07/19
Version: 1.4
版本更新記錄
項次 更改內容紀錄 更改日期 作者 更改後版本
01 初版定稿 2002/03/26 V1.3
02 修改文件格式 2010/07/19 V1.4
Contents
1 MLC Edit For Windows......................................................................................... 1
2 Function Index ....................................................................................................... 2
3 Command Indexes ................................................................................................. 4
4 Edit Main Screen.................................................................................................... 5
5 Parameter input field .............................................................................................. 6
6 Keyboard Operation Index ..................................................................................... 7
6.1 MLC element command instruction ...................................................... 7
6.1.1 Normal Open Contact .................................................................... 7
6.1.2 Normal Close Contact .................................................................... 7
6.1.3 Connector ....................................................................................... 8
6.1.4 Normal Open Coil .......................................................................... 8
6.1.5 Normal Closed Coil ....................................................................... 8
6.1.6 Positive Edge Triggered Coil ......................................................... 8
6.1.7 Negative Edge Triggered Coil ....................................................... 9
6.1.8 Latch Coil....................................................................................... 9
6.1.9 Unlatch Coil ................................................................................... 9
6.1.10 Counter ......................................................................................... 10
6.1.11 Ring Counter ................................................................................ 10
6.1.12 Counter Reset ............................................................................... 11
6.1.13 Timer ............................................................................................ 11
6.1.14 PLC Axis ...................................................................................... 12
6.1.15 Keyboard scan .............................................................................. 14
6.1.16 Arithmetic Operation ................................................................... 16
6.1.17 Logic Operation ........................................................................... 16
6.1.18 Compare ....................................................................................... 17
6.1.19 Move ............................................................................................ 18
6.1.20 Rotate ........................................................................................... 18
6.1.21 Jump ............................................................................................. 18
6.1.22 Jump Subroutine .......................................................................... 18
6.1.23 Return ........................................................................................... 19
6.1.24 Label ............................................................................................ 19
6.1.25 End ............................................................................................... 19
6.1.26 Fast PLC program scan ................................................................ 19
6.2 Valid version ........................................................................................ 20
6.3 Operation instructions .......................................................................... 20
7 LADDER example ............................................................................................... 22
7.1 Mode Selection .................................................................................... 22
7.2 Spindle Speed% ................................................................................... 23
7.3 MPG and INJOG step percentage speed% .......................................... 24
7.4 G01 cutting speed% ............................................................................. 25
7.4.1 PLC basic circuit design .............................................................. 26
7.5 MPG Simulation C20 ........................................................................ 28
7.6 Dry Run C42 ..................................................................................... 28
7.7 Optional Stop C44............................................................................. 29
7.8 Optional Skip C41............................................................................. 29
7.9 Single Block C40 ................................................................................. 29
7.10 Machine Lock C43 ............................................................................ 30
7.11 Spindle turn , reverse and stop ............................................................. 31
7.12 Direction of chuck and gripper ............................................................ 32
7.13 JOG button on interface ....................................................................... 34
7.14 Cycle Start C0 and Feed Hold C1 ........................................................ 35
7.15 Origin return......................................................................................... 35
7.16 Positive negative limit of XYZ (Over Travel) ..................................... 36
7.17 Emergency Stop C36 ........................................................................ 36
7.18 M CODE .............................................................................................. 37
1. MLC Edit For Windows
{MB:output directly}
Command edit
-1-
2. Function Index
2 Function Index
12 functions
1. new file
2. old file
3. save file
Move the cursor to the position where want to add new note and
then click the button,enter new note in the conversation window。
But the note only can be see in the software,can’t be see in the
CNC software
5. cut
6. search
Search for next file that key in,select this function or click F3。
8. copy
-2-
2. Function Index
9. paste
Consult NO.8
10. Insert
11. delete
-3-
3. Command Indexes
3 Command Indexes
Command consult the second chapter
-4-
4. Edit Main Screen
-5-
5. Parameter input field
-6-
6. Keyboard Operation Index
-7-
6. Keyboard Operation Index
6.1.3 Connector
PIC:
-8-
6. Keyboard Operation Index
-9-
6. Keyboard Operation Index
6.1.10 Counter
PIC:
-10-
6. Keyboard Operation Index
6.1.13 Timer
PIC:
1s timer of 1s timer of
constant setup register setup
-11-
6. Keyboard Operation Index
Related element
Run Run
And number of program And number of program
assign by numeric is in register R
Stop Move To
Operation instructions
-12-
6. Keyboard Operation Index
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) :
: this program is under C:\CNC\MACRO
: the file name must use “O” to start , but can’t use “O” in Ladder
: the file name (nnnn ) , must be four number natural number
: RUN command , file name can use R bits to send(the example)
-13-
6. Keyboard Operation Index
description :
*. Program under running can use “FHD” to pause
*. Program under running can use “RST” to break off
*. “# n” in RST command , have no effect in actually run
Related element
Do keyboard scan
-14-
6. Keyboard Operation Index
Operation instructions
-15-
6. Keyboard Operation Index
R2 = R2 + R1 R2 = R2 + constant
R2 = R2 – R1 R2 = R2 - constant
R2 = R2 × R1 R2 = R2 × constant
R2 = R2 ÷ R1 R2 = R2 ÷ constant
-16-
6. Keyboard Operation Index
Volume:4096 registers。
AND truth table OR truth table
R1 R2 result R1 R2 result
ON ON ON ON ON ON
R1 R2 result
OFF ON ON
ON OFF ON
ON ON OFF
6.1.18 Compare
PIC:
-17-
6. Keyboard Operation Index
6.1.19 Move
PIC:
6.1.20 Rotate
PIC:
6.1.21 Jump
PIC:
-18-
6. Keyboard Operation Index
6.1.23 Return
PIC:
6.1.24 Label
PIC:
6.1.25 End
PIC:
-19-
6. Keyboard Operation Index
-20-
6. Keyboard Operation Index
example
{program below will scan in high speed}
-21-
7. LADDER example
7 LADDER example
Input Output
I32 I31 I30 R13
1 1 1 7: HOME
1 1 0 3: MDI
1 0 1 5: INJOG
1 0 0 4: JOG
0 1 1 2: Auto
0 1 0 6: MPG(X: C16)
0 0 1 6: MPG(Y: C17)
0 0 0 6: MPG(Z: C18)
-22-
7. LADDER example
Input Output
(4) (2) (1)
R15
I23 I22 I21
1 1 1 1+0+0+0=1: 50%
1 1 0 1+0+0+1=2: 60%
1 0 1 1+0+2+0=3: 70%
1 0 0 1+0+2+1=4: 80%
0 1 1 1+4+0+0=5: 90%
0 1 0 1+4+0+1=6: 100%
0 0 1 1+4+2+0=7: 110%
0 0 0 1+4+2+1=8: 120%
LADDER example
-23-
7. LADDER example
Input Output
(2) (1)
R14&R18
I26.or.I28 I27.or.I29
1 1 1+0+0=1: *1 F0
1 0 1+0+1=2:*10 25%
0 1 1+2+0=3:*100 50%
0 0 1+2+1=4:*1000 100%
LADDER example
R14
R18
-24-
7. LADDER example
Input Output
(8) (4) (2) (1)
R16&R17
I19 I18 I17 I16
1 1 1 1 1+0+0+0+0=1: 10%
1 1 1 0 1+0+0+0+1=2: 20%
1 1 0 1 1+0+0+2+0=3: 30%
1 1 0 0 1+0+0+2+1=4: 40%
1 0 1 1 1+0+4+0+0=5: 50%
1 0 1 0 1+0+4+0+1=6: 60%
1 0 0 1 1+0+4+2+0=7: 70%
1 0 0 0 1+0+4+2+1=8: 80%
0 1 1 1 1+8+0+0+0=9: 90%
0 1 1 0 1+8+0+0+1=10: 100%
0 1 0 1 1+8+0+2+0=11: 110%
0 1 0 0 1+8+0+2+1=12: 120%
0 0 1 1 1+8+4+0+0=13: 130%
0 0 1 0 1+8+4+0+1=14: 140%
0 0 0 1 1+8+4+2+0=15: 150%
0 0 0 0 1+8+4+2+1=16: 160%
LADDER example
{JOG steps(JOG steps and G00 steps us the same turn button)}
-25-
7. LADDER example
2. 自保持線路
-26-
7. LADDER example
of A10 circuit , the path of b contact of O40 and b contact of A10 circuit,let
output of O40 turn OFF。(C20 is MPG simulation)。
This circuit combine with single pulse wave and 自保線。
if click the P.B(I48),the point O(O30) of cool liquid motor turn ON,
O30 turn OFF when click again。
Ⅰ click the button,O30 ON
Ⅱ loose the button,O30 ON
Ⅲ click the button again,O30 OFF
Ⅳ loose the button again,O30 OFF
LADDER examples :
-27-
7. LADDER example
-28-
7. LADDER example
-29-
7. LADDER example
-30-
7. LADDER example
-31-
7. LADDER example
-32-
7. LADDER example
-33-
7. LADDER example
-34-
7. LADDER example
-35-
7. LADDER example
-36-
7. LADDER example
7.18 M CODE
When processing program doing to M CODE,will put contents of M
CODE into R1 Register。CNC will send S29 BIT(M code Read) to tell
LADDER,until wait for LADDER(A72) send the finish signal and continue
next block。
A70 for M CODE Start
A71 for M CODE Execute
A72 for M CODE Finish
A73 for M CODE Wait,wait some I/O moved,finish M code until any
I point ON
-37-