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

FB156

This document contains the code for a tool clamp and pot control block. It includes 14 networks of logic to control functions like tool pot rotation, return, clamping, and error handling. Inputs and outputs are declared at the beginning for signals such as rotation commands, position switches, and status lights. The networks make use of timers, counters, and memory bits to sequence the various functions.

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)
49 views

FB156

This document contains the code for a tool clamp and pot control block. It includes 14 networks of logic to control functions like tool pot rotation, return, clamping, and error handling. Inputs and outputs are declared at the beginning for signals such as rotation commands, position switches, and status lights. The networks make use of timers, counters, and memory bits to sequence the various functions.

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/ 14

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

\FB156 - <offline> 03/08/2005 17:09:36

FB156 - <offline>
"Tool Clamp/Pot"
Name: Family:
Author: Version: 0.1
Block version: 2
Time stamp Code: 2005/03/08 17:06:17Χ΋
Interface: 2003/09/12 08:30:46Œß‘O
Lengths (block/logic/data): 01106 00902 00002

Address Declaration Name Type Initial value Comment


in
out
in_out
0.0 stat SAIRSG BOOL FALSE Tool Air-Blow signal
0.1 stat MRDY_pls BOOL FALSE ATC Rotate Not finich warning
0.2 stat Pot_Rotate_sw_ILK BOOL FALSE
0.3 stat Pot_rot_pls BOOL FALSE
0.4 stat Pot_rot_swp BOOL FALSE
0.5 stat Pot_Rotate BOOL FALSE
0.6 stat Pot_Return BOOL FALSE
0.7 stat Pot_Ret_Fin BOOL FALSE
1.0 stat Pot_Rot_Fin BOOL FALSE
1.1 stat T_clamp_sw_ILK BOOL FALSE Tool Clamp/Unclamp switch intelock
1.2 stat T_clamp_clamp BOOL FALSE
1.3 stat T_clamp_unclamp BOOL FALSE
1.4 stat T_Clamp_unclampedFIN BOOL FALSE
1.5 stat T_clamp_clampedFIN BOOL FALSE
1.6 stat MRDY_p BOOL FALSE
0.0 temp Pot_Returnd BOOL
0.1 temp Pot_Rotated BOOL
0.2 temp Pot_Err BOOL
0.3 temp T_clamp_unclamped BOOL
0.4 temp T_clamp_clamped BOOL
0.5 temp T_clamp_err BOOL

Block: FB156 Tool Clamp & Pot Contorol Block

Network: 1

DB122.DBX4
M3.0 .6 #MRDY_pls #MRDY_p
P

Page 1..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB156 - <offline> 03/08/2005 17:09:36

Symbol information
M3.0 MReady Machine Ready (w/o timer)

Network: 2 Tool Pot switch interlock

DB121.DBX2.1 : STL
DB36.DBX64.6 : Spindle reversing
DB36.DBX64.7 : Spindle forwarding

DB121.DBX2 DB123.DBX2 DB36.DBX64 DB36.DBX64 DB205.DBX3 #Pot_Rotat


I2.6 .1 .3 .6 .7 .5 M10.0 e_sw_ILK

#Pot_Rotat
e_sw_ILK

Symbol information
I2.6 TPOT Tool Pot ROT/RET
DB123.DBX2.3 "OP_MODE".TCMAN Selecting TC Manual Mode
DB36.DBX64.6 "SP".E_TCMinus Traverse command minus
DB36.DBX64.7 "SP".E_TCPlus Traverse command plus
M10.0 RSTS In reset state

Network: 3 ToolPot Rot_Ret switch

#Pot_Rotat #Pot_rot_p #Pot_rot_s


I2.6 e_sw_ILK ls wp
P

Symbol information
I2.6 TPOT Tool Pot ROT/RET

Page 2..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB156 - <offline> 03/08/2005 17:09:36

Network: 4 Tool Pot rotate command

M82:Tool Pot Rotate


DB205.DBX0.7:ATC arm pot rotate request

#Pot_Retur #Pot_rot_s DB76.DBX10 DB76.DBX10 DB170.DBX3 DB170.DBX3 DB170.DBX3 #Pot_Rotat


n wp .3 .5 M3.0 .1 .2 .0 e

#Pot_Rotat #Pot_Retur M1.1


e n

DB205.DBX0 DB205.DBX3
.7 .5

DB76.DBX10
.2

DB76.DBX10
.4

#MRDY_p I12.3

Symbol information
DB76.DBX10.2 "MDECODE".M82 M82 DECODE
DB76.DBX10.4 "MDECODE".M84 M84 DECODE
DB76.DBX10.3 "MDECODE".M83 M83 DECODE
DB76.DBX10.5 "MDECODE".M85 M85 DECODE
I12.3 SQ42 Pot Rotate End
M3.0 MReady Machine Ready (w/o timer)
DB170.DBX3.1 "ATC signal handlar".Ms_Roteing
DB170.DBX3.2 "ATC signal handlar".Ms_Rot_FIN
M1.1 AlwaysON Always on signal
DB170.DBX3.0 "ATC signal handlar".Ms_Rot_req

Page 3..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB156 - <offline> 03/08/2005 17:09:36

Network: 5 Tool Pot return command

M83:Tool Pot Return


DB171.DBX0.0:ATC arm pot retate request

#Pot_Retur #Pot_rot_s DB76.DBX10 DB76.DBX10 DB205.DBX0 #Pot_Retur


n wp M3.0 .2 .4 .7 n

#Pot_Rotat #Pot_Retur
e n

DB170.DBX3 DB205.DBX3
.0 .5

DB76.DBX10
.3

DB76.DBX10
.5

#MRDY_p I12.2

Symbol information
DB170.DBX3.0 "ATC signal handlar".Ms_Rot_req
DB76.DBX10.3 "MDECODE".M83 M83 DECODE
DB76.DBX10.5 "MDECODE".M85 M85 DECODE
I12.2 SQ41 Pot Return End
M3.0 MReady Machine Ready (w/o timer)
DB76.DBX10.2 "MDECODE".M82 M82 DECODE
DB76.DBX10.4 "MDECODE".M84 M84 DECODE

Network: 6

#Pot_Rotat #Pot_Retur
e n Q8.7

Page 4..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB156 - <offline> 03/08/2005 17:09:36

Symbol information
Q8.7 PROTV Pot Rotate Valve

Network: 7

#Pot_Rotat #Pot_Retur
e n Q8.6

Symbol information
Q8.6 PRETV Pot Return Valve

Network: 8 Tool Pot tatus: return

DB120.DBX253.2: 1=Pot with a LS to monitor return status

#Pot_Retur
I12.2 nd

DB120.DBX2
53.2

Symbol information
I12.2 SQ41 Pot Return End

Network: 9 Tool Pot status: rotate

DB120.DBX253.3: 1=Pot with a LS to monitor rotate status

#Pot_Rotat
I12.3 ed

DB120.DBX2
53.3

Page 5..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB156 - <offline> 03/08/2005 17:09:36

Symbol information
I12.3 SQ42 Pot Rotate End

Network: 10 Tool Pot Returnnig complettion

DB170.DBX3.4:Tool pot return finished

#Pot_Retur T80 #Pot_Ret_F


nd Q8.6 S_ODT in
S Q

DB120.DBW9 Q1.7
6 TV BI

R BCD DB170.DBX3
.4

Symbol information
Q8.6 PRETV Pot Return Valve
Q1.7 TPTRL Tool Pot Return Lamp
DB170.DBX3.4 "ATC signal handlar".Tool_pot_Up

Network: 11 Tool Pot Rotating complettion

DB170.DBX3.5:Tool pot rotate finished

#Pot_Rotat T81 #Pot_Rot_F


ed Q8.7 S_ODT in
S Q

DB120.DBW9 DB170.DBX3
8 TV BI .5

R BCD

Symbol information
Q8.7 PROTV Pot Rotate Valve
DB170.DBX3.5 "ATC signal handlar".Tool_pot_Down

Page 6..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB156 - <offline> 03/08/2005 17:09:36

Network: 12 Tool Pot Error

DB120.DBX253.2: 1=Pot with a LS to monitor rotate status


DB120.DBX253.3: 1=Pot with a LS to monitor return status

DB120.DBX2 #Pot_Rotat
53.2 ed Q8.6 #Pot_Err

DB120.DBX2 #Pot_Retur
53.3 nd Q8.7

Symbol information
Q8.6 PRETV Pot Return Valve
Q8.7 PROTV Pot Rotate Valve

Network: 13 Tool Pot Sensor Time-out Error

#Pot_Rotat T82 DB2.DBX183


Q8.7 ed M10.1 S_ODT .5
S Q
#Pot_Retur DB120.DBW1
Q8.6 nd 00 TV BI

R BCD
#Pot_Err

DB2.DBX183
.5

Symbol information
Q8.7 PROTV Pot Rotate Valve
Q8.6 PRETV Pot Return Valve
DB2.DBX183.5 "ALMSG_DB".A7000xx[29] Alarm 700000-700063 (user area 0)
M10.1 Alm_RST Alarm Resetting State

Page 7..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB156 - <offline> 03/08/2005 17:09:36

Network: 14 M82FIN

DB76.DBX10 #Pot_Rot_F DB2.DBX183 DB76.DBX10


.2 in .5 .2
R

Symbol information
DB76.DBX10.2 "MDECODE".M82 M82 DECODE
DB2.DBX183.5 "ALMSG_DB".A7000xx[29] Alarm 700000-700063 (user area 0)

Network: 15 M83FIN

DB76.DBX10 #Pot_Ret_F DB2.DBX183 DB76.DBX10


.3 in .5 .3
R

Symbol information
DB76.DBX10.3 "MDECODE".M83 M83 DECODE
DB2.DBX183.5 "ALMSG_DB".A7000xx[29] Alarm 700000-700063 (user area 0)

Network: 16 Tool Clamp switch interlock

DB120.DBX247.5: 1= 1 switch controls clamp/unclamp.


DB121.DBX2.1 : STL

DB121.DBX2 DB123.DBX2 DB36.DBX64 DB36.DBX64 #T_clamp_s


I1.4 I0.7 M4.6 .1 .3 .6 .7 M10.0 w_ILK

#T_clamp_s DB120.DBX2
w_ILK 52.2

I12.0

Symbol information
I1.4 TUCLP Tool Unclamp

Page 8..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB156 - <offline> 03/08/2005 17:09:36

I0.7 TCLMP Tool Clamp


M4.6 ORT_FIN Orientation finish signal (SPOS=0)
I12.0 SQ39 Tool Unclamp End
DB123.DBX2.3 "OP_MODE".TCMAN Selecting TC Manual Mode
DB36.DBX64.6 "SP".E_TCMinus Traverse command minus
DB36.DBX64.7 "SP".E_TCPlus Traverse command plus
M10.0 RSTS In reset state

Network: 17 Tool clamp command

#T_clamp_s DB76.DBX8. #T_clamp_c


I0.7 w_ILK M3.0 M12.4 5 lamp

#T_clamp_c #T_clamp_u
lamp nclamp

DB76.DBX8.
4

#MRDY_p

Symbol information
I0.7 TCLMP Tool Clamp
DB76.DBX8.4 "MDECODE".M68 M68 DECODE
M3.0 MReady Machine Ready (w/o timer)
M12.4 Arm_RUN
DB76.DBX8.5 "MDECODE".M69 M69 DECODE

Network: 18 Tool unclamp command

#T_clamp_s DB76.DBX8. #T_clamp_u


I1.4 w_ILK M3.0 M12.4 4 nclamp

#T_clamp_c #T_clamp_u
lamp nclamp

DB76.DBX8.
5

Page 9..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB156 - <offline> 03/08/2005 17:09:36

Symbol information
I1.4 TUCLP Tool Unclamp
DB76.DBX8.5 "MDECODE".M69 M69 DECODE
M3.0 MReady Machine Ready (w/o timer)
M12.4 Arm_RUN
DB76.DBX8.4 "MDECODE".M68 M68 DECODE

Network: 19

#T_clamp_c #T_clamp_u
lamp nclamp M19.5

Symbol information
M19.5 TCLPV Tool Clamp Valve

Network: 20

#T_clamp_u #T_clamp_c
nclamp lamp M19.4

Symbol information
M19.4 TULPV Tool Unclamp Valve

Network: 21 Tool Clamp status: unclamp

DB120.DBX253.0: 1=Clamp with a LS to monitor unclamp status

#T_clamp_u
I12.0 nclamped

DB120.DBX2
53.0

Page 10..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB156 - <offline> 03/08/2005 17:09:36

Symbol information
I12.0 SQ39 Tool Unclamp End

Network: 22 Tool Clamp status: clamp

DB120.DBX253.1: 1=Clamp with a LS to monitor clamp status

#T_clamp_c
I12.1 lamped

DB120.DBX2
53.1

Symbol information
I12.1 SQ40 Tool Clamp End

Network: 23 Clamp 2 clamping complettion

#T_Clamp_u
#T_clamp_u T83 nclampedFI
nclamped S_ODT N
S Q

DB120.DBW8 Q2.1
6 TV BI

R BCD

Symbol information
Q2.1 TUCLPV Tool Unclamp Lamp

Page 11..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB156 - <offline> 03/08/2005 17:09:36

Network: 24 Tool clamping complettion

#T_clamp_c T84 #T_clamp_c


lamped S_ODT lampedFIN
S Q

DB120.DBW8 Q2.0
8 TV BI

R BCD

Symbol information
Q2.0 TCLMPVq Tool Clamp Lamp

Network: 25

DB120.DBX253.1: 1=Clamp1 with a LS to monitor clamp status


DB120.DBX253.0: 1=Clamp1 with a LS to monitor unclamp status

DB120.DBX2 #T_clamp_c #T_clamp_e


53.1 lamped M19.4 rr

DB120.DBX2 #T_clamp_u
53.0 nclamped M19.5

Symbol information
M19.4 TULPV Tool Unclamp Valve
M19.5 TCLPV Tool Clamp Valve

Page 12..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB156 - <offline> 03/08/2005 17:09:36

Network: 26 Clamp 2 Sensor Time-out Error

#T_clamp_c T85 DB2.DBX183


M19.5 lamped M10.1 S_ODT .4
S Q
#T_clamp_u DB120.DBW9
M19.4 nclamped 0 TV BI

R BCD
#T_clamp_e
rr

DB2.DBX183
.4

Symbol information
M19.5 TCLPV Tool Clamp Valve
M19.4 TULPV Tool Unclamp Valve
DB2.DBX183.4 "ALMSG_DB".A7000xx[28] Alarm 700000-700063 (user area 0)
M10.1 Alm_RST Alarm Resetting State

Network: 27

#T_Clamp_u
nclampedFI DB123.DBX7 DB2.DBX189
N .6 M10.0 .2

DB2.DBX189 #T_clamp_c
.2 lampedFIN

Symbol information
DB123.DBX7.6 "OP_MODE".ZRN_pls
DB2.DBX189.2 "ALMSG_DB".A7001xx[10] Alarm 700100-700163 (user area 1)
M10.0 RSTS In reset state

Page 13..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FB156 - <offline> 03/08/2005 17:09:36

Network: 28 M68 FIN

DB76.DBX8. #T_clamp_c DB2.DBX183 DB76.DBX8.


4 lampedFIN .4 4
R

Symbol information
DB76.DBX8.4 "MDECODE".M68 M68 DECODE
DB2.DBX183.4 "ALMSG_DB".A7000xx[28] Alarm 700000-700063 (user area 0)

Network: 29 M69 FIN

#T_Clamp_u
DB76.DBX8. nclampedFI DB2.DBX183 DB76.DBX8.
5 N .4 5
R

Symbol information
DB76.DBX8.5 "MDECODE".M69 M69 DECODE
DB2.DBX183.4 "ALMSG_DB".A7000xx[28] Alarm 700000-700063 (user area 0)

Page 14

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy