0% found this document useful (0 votes)
107 views

FB130

This document contains a logic block program for a PLC that controls various functions of a CNC machine tool. The program contains 14 networks that handle operations such as generating pulse signals for machine functions, detecting cycle end signals, gathering alarm statuses, controlling outputs based on operating modes, and monitoring probe signals. The networks reference database addresses to monitor inputs and control outputs for the machine tool.

Uploaded by

Hoangvinh Duong
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
107 views

FB130

This document contains a logic block program for a PLC that controls various functions of a CNC machine tool. The program contains 14 networks that handle operations such as generating pulse signals for machine functions, detecting cycle end signals, gathering alarm statuses, controlling outputs based on operating modes, and monitoring probe signals. The networks reference database addresses to monitor inputs and control outputs for the machine tool.

Uploaded by

Hoangvinh Duong
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

SIMATIC N3883001\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...

\FB130 - <offline> 10/28/2004 12:53:21

FB130 - <offline>
"Basic 2"
Name: Family:
Author: Version: 0.1
Block version: 2
Time stamp Code: 04/02/05 14:41:05Χ΋
Interface: 02/05/20 19:07:17Χ΋
Lengths (block/logic/data): 00470 00336 00002

Address Declaration Name Type Initial value Comment


0.0 in startup BOOL FALSE
out
in_out
2.0 stat M2_M30_FIN BOOL FALSE M2 or M30 decode with delay
2.1 stat M2_M30_Hold BOOL FALSE
2.2 stat Cycle_End BOOL FALSE Cycle End Pulse
2.3 stat alm_clr BOOL FALSE
0.0 temp Alarms BOOL

Block: FB130 Basic Functions 2

Rev. 2002-4-23 : YSNC

1: M2/M30 Pulse Signal with delay


2: Cycle end pulse
3: Alarm status
4: Handle mode output
5: Spindle zero speed output
6: PMON1~5 output, Orientation in-pos output

Page 1..
SIMATIC N3883001\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB130 - <offline> 10/28/2004 12:53:21

Network: 1 M2 or M30 Pulse Signal with delay

DB76.DBX0. T20 #M2_M30_FI


2 S_ODT N
S Q
DB76.DBX3. DB120.DBW4
6 2 TV BI
R BCD
#M2_M30_Ho #M2_M30_FI
ld N #M2_M30_Ho
ld

Symbol information
DB76.DBX0.2 "MDECODE".M2 M02 DECODE
DB76.DBX3.6 "MDECODE".M30 M30 DECODE

Network: 2 Cycle End Pulse


(M00/M01 & PLC-MD) or M02 or M30 ===> Cycle_End

DB21.DBX32 DB120.DBX2
.5 48.0 M3.0 #Cycle_End

DB76.DBX0.
2

DB76.DBX3.
6

Page 2..
SIMATIC N3883001\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB130 - <offline> 10/28/2004 12:53:21

Symbol information
DB21.DBX32.5 "CHAN".E_M01 M0/M1 active
DB76.DBX0.2 "MDECODE".M2 M02 DECODE
DB76.DBX3.6 "MDECODE".M30 M30 DECODE
M3.0 MReady Machine Ready (w/o timer)

Network: 3 Alarms
All of alarms should be gathered!!! T.K

DB21.DBX36
.7 #Alarms

DB21.DBX36
.6 M10.2

DB10.DBX10
3.7

DB10.DBX10
9.7

DB10.DBX10
9.6

DB10.DBX10
9.5

Symbol information
DB21.DBX36.7 "CHAN".E_NCKalarmStop NCK alarm with processing stop present
DB21.DBX36.6 "CHAN".E_NCKalarmChan Channel-specific NCK alarm present
DB10.DBX103.7 "NC".E_MMCBatt MMC 101/102 battery alarm
DB10.DBX109.7 "NC".E_BattAlarm NCK battery alarm
DB10.DBX109.6 "NC".E_ATempAlarm Air temperature alarm
DB10.DBX109.5 "NC".E_HTempAlarm Heat sink temperature alarm NCU 573
M10.2 Alarm Alarm State

Page 3..
SIMATIC N3883001\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB130 - <offline> 10/28/2004 12:53:21

Network: 4 Alarm status # 1


DB2.DBX2.0: Axis Stop
DB2.DBX2.1: Servo Off
DB2.DBX6.0: Read in Disable

#Alarms M10.3

DB2.DBX2.0

DB2.DBX2.1

DB2.DBX6.0

Symbol information
DB2.DBX2.0 "ALMSG_DB".C1.FDD_RID_5101xx[0] Feed and read-in disable A.no.510100-510131
DB2.DBX2.1 "ALMSG_DB".C1.FDD_RID_5101xx[1] Feed and read-in disable A.no.510100-510131
DB2.DBX6.0 "ALMSG_DB".C1.RID_5102xx[0] Read-in disable A.no.510200-510231
M10.3 Alarm1 Alarm 1

Page 4..
SIMATIC N3883001\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB130 - <offline> 10/28/2004 12:53:21

Network: 5 Alarm status # 2


DB2.DBX2.0: Axis Stop
DB2.DBX2.1: Servo Off
DB2.DBX6.0: Read in Disable

DB120.DBX2
DB2.DBX2.0 48.7 M10.4

DB2.DBX2.1

DB2.DBX6.0

DB121.DBX2
#Alarms .1

Symbol information
DB2.DBX2.0 "ALMSG_DB".C1.FDD_RID_5101xx[0] Feed and read-in disable A.no.510100-510131
DB2.DBX2.1 "ALMSG_DB".C1.FDD_RID_5101xx[1] Feed and read-in disable A.no.510100-510131
DB2.DBX6.0 "ALMSG_DB".C1.RID_5102xx[0] Read-in disable A.no.510200-510231
M10.4 Alarm2 Alarm 2

Page 5..
SIMATIC N3883001\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB130 - <offline> 10/28/2004 12:53:21

Network: 6 Handle mode output


Handle, TC-Manual, Jog, ZRN modes ===> Q10.1

DB123.DBX2
.0 Q10.1

DB123.DBX2
.3

DB123.DBX2
.1

DB123.DBX2
.2

Symbol information
DB123.DBX2.0 "OP_MODE".HDL Selecting Handle Mode
DB123.DBX2.3 "OP_MODE".TCMAN Selecting TC Manual Mode
DB123.DBX2.1 "OP_MODE".JOG Selecting Jog Mode
DB123.DBX2.2 "OP_MODE".ZRN Selecting Zero Return Mode
Q10.1 HMODE Hand Mode

Network: 7 Spindle zero speed output

DB36.DBX61
.4 Q10.0

Symbol information
DB36.DBX61.4 "SP".E_Stat Axis/spindle stationary (n<nmin)
Q10.0 SPZER Spindle Speed Zero

Page 6..
SIMATIC N3883001\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB130 - <offline> 10/28/2004 12:53:21

Network: 8 PLC Message Clear Condition


Messsage Clear Condition:
- Initial booting up
- Panel Reset Signal
- Message Clear Signal

#startup #alm_clr

DB101.DBX0
.0

DB19.DBX20
.2

Symbol information
DB101.DBX0.0 "PRESET".P_RESET Panel Reset Signal
DB19.DBX20.2 "MMC".E_Cancel Cancel

Network: 9 PMON1

DB10.DBX11 DB10.DBX11
1.2 5.2 M4.1

Symbol information
DB10.DBX111.2 "NC".E_SWCamMinus[10]
DB10.DBX115.2 "NC".E_SWCamPlus[10]
M4.1 PMON1 ATC area

Page 7..
SIMATIC N3883001\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB130 - <offline> 10/28/2004 12:53:21

Network: 10 PMON2

DB10.DBX11 DB10.DBX11
1.3 5.3 M4.2

Symbol information
DB10.DBX111.3 "NC".E_SWCamMinus[11]
DB10.DBX115.3 "NC".E_SWCamPlus[11]
M4.2 PMON2 ORT-OFF, AirBlow-ON, ToolManageTriger

Network: 11 PMON3

DB10.DBX11 DB10.DBX11
1.4 5.4 M4.3

Symbol information
DB10.DBX111.4 "NC".E_SWCamMinus[12]
DB10.DBX115.4 "NC".E_SWCamPlus[12]
M4.3 PMON3 Z-axis 2nd-Home in Manual mode

Network: 12 PMON4

DB10.DBX11 DB10.DBX11
1.5 5.5 M4.4

Page 8..
SIMATIC N3883001\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB130 - <offline> 10/28/2004 12:53:21

Symbol information
DB10.DBX111.5 "NC".E_SWCamMinus[13]
DB10.DBX115.5 "NC".E_SWCamPlus[13]
M4.4 PMON4

Network: 13 PMON5

DB10.DBX11 DB10.DBX11
1.6 5.6 M4.5

Symbol information
DB10.DBX111.6 "NC".E_SWCamMinus[14]
DB10.DBX115.6 "NC".E_SWCamPlus[14]
M4.5 PMON5 AirBlow-Off

Network: 14 Orientation In Position

DB10.DBX11
5.7 M4.6

Symbol information
DB10.DBX115.7 "NC".E_SWCamPlus[15]
M4.6 ORT_FIN Orientation finish signal (SPOS=0)

Page 9

You might also like