Professional Documents
Culture Documents
by : SYNTEC
date : 2002/03/26
ver : 1.3
SYNTEC Open CNC PLC development tools operation manual
版本更新記錄
項次 更改內容紀錄 更改日期 作者 更改後版本
01 初版定稿 2002/03/26 V1.3
-1-
SYNTEC Open CNC PLC development tools operation manual
menu
一 FUNCTION INDEX 5
二 COMMAND INDEXES 7
-2-
SYNTEC Open CNC PLC development tools operation manual
Valid version 24
Operation instructions 24
LADDER EXAMPLE 26
(十八) M CODE 45
-3-
SYNTEC Open CNC PLC development tools operation manual
{MB:output directly}
Command edit
-4-
SYNTEC Open CNC PLC development tools operation manual
一 Function Index
13 functions
1.
new file
open a 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
-5-
SYNTEC Open CNC PLC development tools operation manual
7.
search for next file
Search for next file that key in,select this function or click F3。
8. copy
9
. paste
Consult NO.8
10. Insert
12. delete
-6-
SYNTEC Open CNC PLC development tools operation manual
二 Command Indexes
-7-
SYNTEC Open CNC PLC development tools operation manual
-8-
SYNTEC Open CNC PLC development tools operation manual
PIC:
PIC:
-9-
SYNTEC Open CNC PLC development tools operation manual
Connector
PIC:
PIC:
PIC:
PIC:
-10-
SYNTEC Open CNC PLC development tools operation manual
Description:when input signal OFF to NO,then output a pulse signal。A pulse signal
cycle time,represent the scan time of the software of PC do a circulate。
volume:point O 512 points、point C 512 points、point A 512 points、register R
0~4095,each register R use range 0..31 map to bit 0 to bit 31 by part,R50.0
for the 50th register bit 0。
PIC:
Latch Coil
PIC:
Unlatch Coil
PIC:
-11-
SYNTEC Open CNC PLC development tools operation manual
Counter
PIC:
Ring Counter
PIC:
-12-
SYNTEC Open CNC PLC development tools operation manual
Counter Reset
PIC:
Timer
PIC:
1s timer of 1s timer of
constant setup register setup
-13-
SYNTEC Open CNC PLC development tools operation manual
Description:when input signal OFF to ON,and keep ON,that timer start to count
time。If the output signal is ON when timer reach to target time。Then
mapping timer contact is ON。When input signal is OFF,the timer
stop,if output is OFF。Then mapping timer contact is OFF
There are three kinds of timer:0.01s, 0.1s, 1s。
Volume:256 timers、256 registers。
PLC Axis
Valid version
Build 649 or newer version(no pause function)
M code used fresh version 8.00.6.0 or newer version
MPG simulation fresh version 8.00.14.0 or newer version
Axis movement element fresh version 9.00.16.0 or newer version,release
version 8.17 or newer version
Related element
Run R2 = R1 + R2
Run
And number of program And number of program
assign by numeric is in register R
Stop Move To
-14-
SYNTEC Open CNC PLC development tools operation manual
Volume:max axis 20,range 1~20,actually axis need depend on usability axis in CNC
parameter。
Operation instructions
Description :
*. When serve axis is set to PLC axis , can’t do command to that axis in AUTO
program , or two axial command will add together , appear the wrong move
trajectory .
-15-
SYNTEC Open CNC PLC development tools operation manual
Description :
*.when doing PLC axis program ,please rising edge trigger , to start PLC axis ,
prevent to do the same PLC axis program many times.
z 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)
{use reset to X axle and Y axle ,program under doing will be about}
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
-16-
SYNTEC Open CNC PLC development tools operation manual
Keyboard scan
Valid version
Fresh version 9.00.21.0 or newer version
Release version 8.29 or newer version
Related element
Do keyboard scan
-17-
SYNTEC Open CNC PLC development tools operation manual
Operation instructions
-18-
SYNTEC Open CNC PLC development tools operation manual
Arithmetic Operation
PIC:
R2 = R2 + R1 R2 = R1
R2 + R2
constant
R2 = R2 – R1 R2 = R2 - constant
R2 = R2 × R1 R2 = R2 × constant
R2 = R2 ÷ R1 R2 = R2 ÷ constant
-19-
SYNTEC Open CNC PLC development tools operation manual
Logic Operation
PIC:
R1 R2 result R1 R2 result
ON ON ON ON ON ON
-20-
SYNTEC Open CNC PLC development tools operation manual
R1 R2 result
OFF ON ON
ON OFF ON
ON ON OFF
Compare
PIC:
-21-
SYNTEC Open CNC PLC development tools operation manual
Move
PIC:
Rotate
PIC:
-22-
SYNTEC Open CNC PLC development tools operation manual
Jump
PIC:
Jump Subroutine
PIC:
Return
PIC:
Label
PIC:
-23-
SYNTEC Open CNC PLC development tools operation manual
End
PIC:
Valid version
Operation instructions
-24-
SYNTEC Open CNC PLC development tools operation manual
example
{program below will scan in high speed}
-25-
SYNTEC Open CNC PLC development tools operation manual
LADDER example
-26-
SYNTEC Open CNC PLC development tools operation manual
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
-27-
SYNTEC Open CNC PLC development tools operation manual
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
-28-
SYNTEC Open CNC PLC development tools operation manual
LADDER example
-29-
SYNTEC Open CNC PLC development tools operation manual
{JOG steps(JOG steps and G00 steps us the same turn button)}
-30-
SYNTEC Open CNC PLC development tools operation manual
2.自保持線路
自保持線路使用在具有有復歸型按扭開關,the switch OFF to ON and
return to OFF。
When this I0 circuit OFF to ON,because I1 is b contact,then O0 coil turn
ON。Also let the path of O0 contact , I1 contact and O0 coil turn ON。So if
I0 return to OFF this path is also ON,only can use I1 button to let this
circuit turn OFF。
-31-
SYNTEC Open CNC PLC development tools operation manual
-32-
SYNTEC Open CNC PLC development tools operation manual
LADDER examples :
-33-
SYNTEC Open CNC PLC development tools operation manual
At auto mode,this bit ON,after process starting,G00 G01 G02 G03 FEEDRATE
OVERRIDE is decided by MPG rotate speed,when speed up the machine move
fast,MPG stops,the machine stops,it fits to process test of machine。
-34-
SYNTEC Open CNC PLC development tools operation manual
When FLAG ON,when there is a skip sign ” \ ” in process program,it will skip
this line,do next BLOCK。
-35-
SYNTEC Open CNC PLC development tools operation manual
When FLAG ON,G CODE stop when finish doing a BLOCK,need to click
Cycle Start and start doing next BLOCK。
When FLAG ON,program will run,but the machine does not move,usually use
in the program check。
-36-
SYNTEC Open CNC PLC development tools operation manual
Reversed LADDER is the same as clockwise turn,only different in the mutual lock
point O。
-37-
SYNTEC Open CNC PLC development tools operation manual
there are 外爪和內爪 in lathe grippers,so need to set the direction of gripper,the
setup can use PLC register to set ,usually use R82,or setup from the interface。
Because chuck use 5 port 2 position solenoid valve,therefore open and close to the
O point of chuck need to ON a period of time,use TIME cut OFF。
Gripper use MSD
-38-
SYNTEC Open CNC PLC development tools operation manual
-39-
SYNTEC Open CNC PLC development tools operation manual
-40-
SYNTEC Open CNC PLC development tools operation manual
-41-
SYNTEC Open CNC PLC development tools operation manual
-42-
SYNTEC Open CNC PLC development tools operation manual
In origin mode R13 = 7,when click JOG button in each axis,the controller
will use parameter 861~880 to find HOME direction,and parameter 821~840
find origin speed to find HOME
HOME DOG read from IO,PLC need to set C BIT of each axis。If find
HOME OK,S BIT will ON when controller find Home ok,below next list:
AXIS X axis Y axis Z axis
Home dog C79 C80 C81
Home ok S16 S17 S18
-43-
SYNTEC Open CNC PLC development tools operation manual
-44-
SYNTEC Open CNC PLC development tools operation manual
(十八) M CODE
-45-