You are on page 1of 11

SI MATI C FB2 3/ 24/ 2014 7: 43: 18 PM

Page 1 of 11
FB2 - <offline>
" Uni _Mot or " Uni di r ect i onal _Mot or
Name: UNI _MOT Family:
Author: A. Gabr y Version: 1. 1
Block version: 2
Time stamp Code:
Interface:
4/ 15/ 2011 1: 12: 54 PMPM
4/ 12/ 2011 5: 57: 41 PMPM
Lengths (block/logic/data): 01514 01204 00016
Name Dat a Type Addr ess I ni t i al Val ue Comment
I N 0. 0
SYS_CMD Wor d 0. 0 W#16#0 Command Wor d f r omSyst emBl ock
START Bool 2. 0 FALSE
SA_I NL Bool 2. 1 FALSE Saf et y I nt er l ock " 1" Heal t hy, " 0" I s Faul t
OP_I NL Bool 2. 2 FALSE
Oper at i onal I nt er l ock, " 1" Enabl e Oper at i on,
" 0" Di sabl e Oper at i on
ST_I NL Bool 2. 3 FALSE
St ar t I nt er l ock, " 1" Enabl e St ar t , " 0" Di sabl e
St ar t
RED Bool 2. 4 FALSE Mot or Ready ( Ci r cui t Br eaker Cl osed)
AUT Bool 2. 5 FALSE Mot or I n Aut omat i c Oper at i on
LSTRT Bool 2. 6 FALSE Local St ar t Command
LSTP Bool 2. 7 FALSE Local St op Command
RET Bool 3. 0 FALSE Ret ur n ( Feed_Back, Cont act or _ON)
OL Bool 3. 1 FALSE Over l oad " 1" I s heal t hy, " 0" i s Faul t
T1 Ti mer 4. 0 Feed Back Check Ti mer
T1_VAL S5Ti me 6. 0 S5T#2S T1_Val ue
T2 Ti mer 8. 0 St op Check Ti mer
T2_VAL S5Ti me 10. 0 S5T#0MS T2_Val ue
T3 Ti mer 12. 0 St oppi ng Ti me
T3_VAL S5Ti me 14. 0 S5T#2S T3_Val ue
OUT 0. 0
STAT Wor d 16. 0 W#16#0
DC Bool 18. 0 FALSE
Run Bool 18. 1 FALSE
M_FLT Bool 18. 2 FALSE
I N_OUT 0. 0
STAT 0. 0
S_CMD Byt e 20. 0 B#16#0
STRT_Fl ag Bool 21. 0 FALSE
OL_ST_P Bool 21. 1 FALSE
FB_ST_P Bool 21. 2 FALSE
START_LATCH Bool 21. 3 FALSE
DC_STAT Bool 21. 4 FALSE
FB_ACK_FLAG Bool 21. 5 FALSE
S_FB_ERR Bool 21. 6 FALSE
S_OL Bool 21. 7 FALSE
OL_ACK_FLAG Bool 22. 0 FALSE
SSTRT_LATCH Bool 22. 1 FALSE
TEMP 0. 0
CMD_0_0 Bool 0. 0
CMD_0_1 Bool 0. 1
CMD_0_2 Bool 0. 2
CMD_0_3 Bool 0. 3
SI MATI C FB2 3/ 24/ 2014 7: 43: 18 PM
Page 2 of 11
Name Dat a Type Addr ess I ni t i al Val ue Comment
CMD_0_4 Bool 0. 4
CMD_0_5 Bool 0. 5
CMD_0_6 Bool 0. 6
CMD_0_7 Bool 0. 7
CMD_REM Bool 1. 0
CMD_S_CTRL Bool 1. 1
CMD_LTP Bool 1. 2
CMD_CRSTP Bool 1. 3
CMD_ACK Bool 1. 4
CMD_RST Bool 1. 5
CMD_1_6 Bool 1. 6
CMD_1_7 Bool 1. 7
STAT_ST Bool 2. 0
STAT_STRTI NG Bool 2. 1
STAT_STPNG Bool 2. 2
STAT_AUTO Bool 2. 3
STAT_RUN Bool 2. 4
STAT_RED Bool 2. 5
STAT_2_6 Bool 2. 6
STAT_2_7 Bool 2. 7
OL_ACK Bool 3. 0
FB_ACK Bool 3. 1
STAT_OL Bool 3. 2
STAT_FB_ERR Bool 3. 3
STAT_Not _RED Bool 3. 4
STAT_SA Bool 3. 5
STAT_LRUN Bool 3. 6
STAT_LTP Bool 3. 7
S_CMD_STRT Bool 4. 0
S_CMD_STP Bool 4. 1
S_CMD_ACK Bool 4. 2
S_CMD_RST Bool 4. 3
S_CMD_4_4 Bool 4. 4
S_CMD_4_5 Bool 4. 5
S_CMD_4_6 Bool 4. 6
S_CMD_4_7 Bool 4. 7
ACK Bool 5. 0
RST Bool 5. 1
FLT Bool 5. 2
OL_R Bool 5. 3
FB_R1 Bool 5. 4
FB_R Bool 5. 5
Block: FB2 UNI_Motor
Thi s bl ock per f or ms t he uni di r ect i onal mot or l ogi c
SI MATI C FB2 3/ 24/ 2014 7: 43: 19 PM
Page 3 of 11
Net wor k: 1 Load Command Wor d
Thi s net wor k l oad command wor k i nt o t emp memor y ar ea.
L W#16#0
T LW 0
T LW 2
L B#16#0
T LB 4
T LB 5
L #SYS_CMD
T LW 0
L #S_CMD
T LB 4
Net wor k: 2
=
>=1
#CMD_ACK
#S_CMD_ACK
#ACK
Net wor k: 3 Ready Al ar m
=
>=1
#CMD_RST
#S_CMD_RST
#RST
Net wor k: 4
N
#OL_ST_P
#OL
=
&
SR
&
#OL_ACK
#RST
#S_OL
S
R Q
#OL
#OL_R
=
SR
#OL_ACK_FL
AG
S
#ACK R Q
#OL_ACK
Net wor k: 5
=
&
#FB_ACK_FL
AG
#OL_ACK
#STAT_OL
#FB_ACK
SI MATI C FB2 3/ 24/ 2014 7: 43: 19 PM
Page 4 of 11
Net wor k: 6
=
&
&
S_ODT
#T1
#DC S
#T1_VAL TV
R
BI
BCD
Q
#RET
&
S_ODT
#T2
#DC S
#T2_VAL TV
R
BI
BCD
Q
#RET
#FB_R1
Net wor k: 7
N
#FB_ST_P
#FB_R1
=
&
SR
&
#S_OL
#RST
#FB_ACK
#S_FB_ERR
S
R Q
#FB_R1
#FB_R
SR
&
#ACK
#OL_ACK
#FB_ACK_FL
AG
S
R Q
Net wor k: 8
=
&
#OL_R
#OL_ACK
#FB_ACK
#STAT_OL
SI MATI C FB2 3/ 24/ 2014 7: 43: 19 PM
Page 5 of 11
Net wor k: 9
=
&
#FB_R
#STAT_OL
#OL_ACK
#FB_ACK
#STAT_FB_E
RR
Net wor k: 10
=
&
#RED
#OL_ACK
#FB_ACK
#STAT_OL
#STAT_FB_E
RR
#STAT_Not _
RED
Net wor k: 11
=
&
#SA_I NL
#STAT_OL
#STAT_FB_E
RR
#OL_ACK
#FB_ACK
#STAT_Not _
RED
#STAT_SA
Net wor k: 12
=
&
#CMD_LTP
#DC_STAT
#RET
#STAT_SA
#STAT_OL
#STAT_FB_E
RR
#OL_ACK
#FB_ACK
#STAT_Not _
RED
#STAT_LRUN
SI MATI C FB2 3/ 24/ 2014 7: 43: 19 PM
Page 6 of 11
Net wor k: 13
=
&
#CMD_LTP
#STAT_SA
#STAT_OL
#STAT_FB_E
RR
#OL_ACK
#FB_ACK
#STAT_Not _
RED
#STAT_LRUN
#STAT_LTP
Net wor k: 14
=
&
#AUT
#STAT_SA
#STAT_OL
#STAT_FB_E
RR
#OL_ACK
#FB_ACK
#STAT_Not _
RED
#STAT_LTP
#STAT_LTP
#DC_STAT
#STAT_LRUN
#CMD_REM
#STAT_AUTO
SI MATI C FB2 3/ 24/ 2014 7: 43: 19 PM
Page 7 of 11
Net wor k: 15
=
&
#ST_I NL
#STAT_SA
#STAT_OL
#STAT_FB_E
RR
#OL_ACK
#FB_ACK
#STAT_Not _
RED
#STAT_LTP
#STAT_AUTO
#STAT_RUN
#STAT_STPN
G
#STAT_STRT
I NG
#STAT_ST
SI MATI C FB2 3/ 24/ 2014 7: 43: 19 PM
Page 8 of 11
Net wor k: 16 Feead Back Al ar m
=
&
>=1
&
SR P
#STRT_Fl ag
#START
#START_LAT
CH
S
#DC_STAT R Q
#OP_I NL
#ST_I NL
#CMD_REM
&
S_ODT
#T3
#START S
#T3_VAL TV
R
BI
BCD
Q
#DC_STAT
#OP_I NL
#CMD_REM
SR
&
#S_CMD_STR
T
#CMD_S_CTR
L
>=1
#FLT
#CMD_S_CTR
L
#S_CMD_STP
#CMD_CRSTP
#SSTRT_LAT
CH
S
R Q
&
>=1
#LSTRT
#DC_STAT
#CMD_LTP
#LSTP
#RED
#OL_R
#FB_R
#SA_I NL
#CMD_CRSTP
#DC_STAT
Net wor k: 17
=
>=1
#RED
#S_OL
#S_FB_ERR
#FLT
SI MATI C FB2 3/ 24/ 2014 7: 43: 19 PM
Page 9 of 11
Net wor k: 18
=
&
>=1
#CMD_REM
#CMD_S_CTR
L
#STAT_ST
#STAT_SA
#STAT_OL
#STAT_FB_E
RR
#OL_ACK
#FB_ACK
#STAT_Not _
RED
#STAT_LTP
#STAT_AUTO
#STAT_RUN
#STAT_STPN
G
#DC
#RET
#STAT_STRT
I NG
Net wor k: 19
=
&
>=1
&
#START
#RET
#CMD_REM
&
>=1
#S_CMD_STP
#STAT_STPN
G
#CMD_S_CTR
L
#RET
#FLT
#STAT_SA
#STAT_OL
#STAT_FB_E
RR
#OL_ACK
#FB_ACK
#STAT_Not _
RED
#STAT_LTP
#STAT_STPN
G
SI MATI C FB2 3/ 24/ 2014 7: 43: 19 PM
Page 10 of 11
Net wor k: 20
=
&
#DC
#RET
#STAT_LTP
#STAT_LRUN
#STAT_STPN
G
#STAT_RUN
Net wor k: 21
=
>=1
&
#DC_STAT
#AUT
#CMD_REM
&
#DC_STAT
#CMD_LTP
&
#DC_STAT
#CMD_S_CTR
L
#DC
Net wor k: 22
=
&
#RED
#STAT_SA
#STAT_OL
#STAT_FB_E
RR
#OL_ACK
#FB_ACK
#STAT_Not _
RED
#STAT_LTP
#STAT_AUTO
#STAT_RUN
#STAT_STPN
G
#STAT_STRT
I NG
#STAT_ST
#STAT_LTP
#STAT_LRUN
#STAT_RED
SI MATI C FB2 3/ 24/ 2014 7: 43: 19 PM
Page 11 of 11
Net wor k: 23
= &
#STAT_RUN
#Run
Net wor k: 24
L LW 2
T #STAT
AN #FLT
= #M_FLT