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

FC108

This document contains information about the FC108 function block, including: 1) It summarizes the inputs, outputs, and internal variables of the FC108 block for controlling a spindle. 2) It details 14 networks that make up the logic for manual spindle control, checking operating conditions, and calling the FB89 basic spindle function block. 3) It provides symbol information explaining the meaning and connections of variables used in the networks.

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

FC108

This document contains information about the FC108 function block, including: 1) It summarizes the inputs, outputs, and internal variables of the FC108 block for controlling a spindle. 2) It details 14 networks that make up the logic for manual spindle control, checking operating conditions, and calling the FB89 basic spindle function block. 3) It provides symbol information explaining the meaning and connections of variables used in the networks.

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

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

\FC108 - <offline> 03/16/2005 16:44:39

FC108 - <offline>
""
Name: Family:
Author: Version: 0.1
Block version: 2
Time stamp Code: 2005/03/12 10:11:04Œß‘O
Interface: 2002/06/01 20:32:02Χ΋
Lengths (block/logic/data): 00834 00666 00008

Address Declaration Name Type Initial value Comment


0.0 in Ex_Fwd BOOL
0.1 in Ex_Rvs BOOL
0.2 in Ex_STOP BOOL
0.3 in Ex_ORT BOOL
0.4 in Ex_ORTOFF BOOL
out
in_out
0.0 temp Forward BOOL Spindle Foward Button
0.1 temp Reverse BOOL Spindle Reverse Button
0.2 temp Stop BOOL Spindle Stop Button
0.3 temp Orient BOOL Spindle Orientatin Button
0.4 temp Oriented BOOL Spindle Oriented Button
0.5 temp FB89_FWD_OK BOOL Spindle Foward OK
0.6 temp FB89_REV_OK BOOL Spindle Reverse OK
0.7 temp FB89_STOP_OK BOOL Spindle Stop OK
1.0 temp Ope_OK BOOL Spindle Oriented OK
1.1 temp FB89_ORT_OK BOOL Spindle Oriented OK
1.2 temp Mode_OK BOOL Mode Status Ok
1.3 temp FB89Alarm BOOL
1.4 temp SpCndtn_1 BOOL Spindle start condition 1
1.5 temp SpCndtn_2 BOOL Spindle start condition 2
1.6 temp SpCndtn_3 BOOL Spindle start condition 3

Block: FC108 Spindle Manual Operation

Rev. 2002-4-23 : YSNC

Page 1..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FC108 - <offline> 03/16/2005 16:44:39

Network: 1 Manual Operation Alarm

DB2.DBX191.1: Speed 0 commanded (generated in this FC)


DB2.DBX191.2: Unacceptable Spindle State (generated in this FC)
DB2.DBX191.3: Not reached to Programmed position (generated in this FC)

DB2.DBX191 DB2.DBX191 DB2.DBX191


.1 .2 .6 #FB89Alarm

Symbol information
DB2.DBX191.1 "ALMSG_DB".A7001xx[25] Alarm 700100-700163 (user area 1)
DB2.DBX191.2 "ALMSG_DB".A7001xx[26] Alarm 700100-700163 (user area 1)
DB2.DBX191.6 "ALMSG_DB".A7001xx[30] Alarm 700100-700163 (user area 1)

Network: 2 Spindle start conditin # 1

DB123.DBX2 DB10.DBX11
M3.0 M10.4 .6 5.2 #SpCndtn_1

Symbol information
M3.0 MReady Machine Ready (w/o timer)
M10.4 Alarm2 Alarm 2
DB123.DBX2.6 "OP_MODE".TC Selecting TC Manual or STEP Mode
DB10.DBX115.2 "NC".E_SWCamPlus[10]

Network: 3 Spindle start condition # 2

/M05S & /Tap & /M19S

DB76.DBX0. DB36.DBX84 DB76.DBX2.


5 .3 3 Q2.0 #SpCndtn_2

Symbol information
DB76.DBX0.5 "MDECODE".M5 M05 DECODE
DB36.DBX84.3 "SP".E_Tapping Tapping without compensating chuck
DB76.DBX2.3 "MDECODE".M19 M19 DECODE

Page 2..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FC108 - <offline> 03/16/2005 16:44:39

Q2.0 TCLMPVq Tool Clamp Lamp

Network: 4 Spindle start condition # 3

/FB89 Executing & FB89Alarm & /Program-Test ===> SpCndtn_3

DB126.DBX0 DB21.DBX33
.6 #FB89Alarm .7 #SpCndtn_3

Symbol information
DB21.DBX33.7 "CHAN".E_ProgTest Program test active

Network: 5 Manual Operation Condition

DB144.DBX2
#SpCndtn_1 #SpCndtn_2 #SpCndtn_3 M10.0 .2 #Ope_OK

Symbol information
M10.0 RSTS In reset state
DB144.DBX2.2 "Dr_INLK".Dr_ILK_2 Door Interlock 2

Network: 6 Mode Status

DB123.DBX2.0: HDL mode


DB123.DBX2.1: Jog mode
DB123.DBX2.2: ZRN mode

DB123.DBX2
.0 #Mode_OK

DB123.DBX2
.1

Symbol information
DB123.DBX2.0 "OP_MODE".HDL Selecting Handle Mode
DB123.DBX2.1 "OP_MODE".JOG Selecting Jog Mode

Page 3..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FC108 - <offline> 03/16/2005 16:44:39

Network: 7 Forward Button

DB120.DBX2 DB36.DBX64 DB126.DBX0


I2.4 49.0 I2.5 #Mode_OK #Ope_OK .6 .0 #Forward
P
#Ex_Fwd

Symbol information
I2.4 SPFOR Spindle Forward
I2.5 *SPSP Spindle Stop
DB36.DBX64.6 "SP".E_TCMinus Traverse command minus

Network: 8 Reverse Button

DB120.DBX2 DB36.DBX64 DB126.DBX0


I2.4 49.0 I2.5 #Mode_OK #Ope_OK .7 .0 #Reverse
P
#Ex_Rvs

Symbol information
I2.4 SPFOR Spindle Forward
I2.5 *SPSP Spindle Stop
DB36.DBX64.7 "SP".E_TCPlus Traverse command plus

Page 4..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FC108 - <offline> 03/16/2005 16:44:39

Network: 9 Stop Button

(Spindle-Stop & /Spindle-Forward & Mode_OK & Ope_OK)


or (Ex_OrtOff & Exact-Stop & n<nmin & Position-loop)
or (Ex_Stop)
===pulse===> Stop

DB126.DBX0
I2.5 I2.4 #Mode_OK #Ope_OK .2 #Stop
P
DB36.DBX60 DB36.DBX61 DB36.DBX61
#Ex_ORTOFF .6 .4 .5

#Ex_STOP

Symbol information
I2.5 *SPSP Spindle Stop
I2.4 SPFOR Spindle Forward
DB36.DBX60.6 "SP".E_ExactCoarse Position reached with exact stop coarse
DB36.DBX61.4 "SP".E_Stat Axis/spindle stationary (n<nmin)
DB36.DBX61.5 "SP".E_PositContr Position controller active

Network: 10 Orientation Button

#Ex_ORT #Orient

Page 5..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FC108 - <offline> 03/16/2005 16:44:39

Network: 11 Oriented Button or Command

DB126.DBX0
#Orient .3 #Oriented
P

MOVE
EN ENO

0.000000e+
000 IN OUT DB126.DBD4

Network: 12 Call FB89

DB89
FB89
EN ENO

#Forward M3_Req DB126.DBX0


Exec_FC18 .6
#Reverse M4_Req
#FB89_FWD_
#Stop M5_Req M3_ok OK

CW_Req #FB89_REV_
M4_ok OK
#Oriented M19_Req
#FB89_STOP
DB36.DBD88 SPEED M5_ok _OK

SPEED_CW CW_ok

DB126.DBD4 M19_POS #FB89_ORT_


M19_ok OK
DB101.DBX0
.0 RESET DB126.DBX0
fc18error .4

fc18state DB126.DBW2

Symbol information
FB89 Basic_Spindle_Function Spindle control and positioning function
DB36.DBD88 "SP".E_SFunct S function (REAL) for spindle

Page 6..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FC108 - <offline> 03/16/2005 16:44:39

DB101.DBX0.0 "PRESET".P_RESET Panel Reset Signal

Network: 13 Spindle Command Error

The error codes in FB89 are the same as FC18's.


Refer to Page 1-805 in "Connectting Manual: Function" /P3/.
Code# 111: speed 0 commanded
Code# 115: not reached to the programmed position

DB126.DBX0 DB2.DBX191
.4 CMP ==I .1
S

DB126.DBW2 IN1

111 IN2
DB2.DBX181
CMP ==I .6
S

DB126.DBW2 IN1

115 IN2
DB2.DBX191 DB2.DBX191 DB2.DBX191
.1 .6 .2
S

Symbol information
DB2.DBX191.1 "ALMSG_DB".A7001xx[25] Alarm 700100-700163 (user area 1)
DB2.DBX181.6 "ALMSG_DB".A7000xx[14] Alarm 700000-700063 (user area 0)
DB2.DBX191.6 "ALMSG_DB".A7001xx[30] Alarm 700100-700163 (user area 1)
DB2.DBX191.2 "ALMSG_DB".A7001xx[26] Alarm 700100-700163 (user area 1)

Page 7..
SIMATIC N3883002\SIMATIC 300(1)\PLC315-2DP M/S 2AF03\...\FC108 - <offline> 03/16/2005 16:44:39

Network: 14

DB101.DBX0 DB2.DBX191
.0 .1
R
DB2.DBX191
.2
R
DB2.DBX181
.6
R

Symbol information
DB101.DBX0.0 "PRESET".P_RESET Panel Reset Signal
DB2.DBX191.1 "ALMSG_DB".A7001xx[25] Alarm 700100-700163 (user area 1)
DB2.DBX191.2 "ALMSG_DB".A7001xx[26] Alarm 700100-700163 (user area 1)
DB2.DBX181.6 "ALMSG_DB".A7000xx[14] Alarm 700000-700063 (user area 0)

Page 8

You might also like