In Siemens S7-300 PLC, what is funtion and funtion block ?
What is the difference between them ? When to use function
and when to use function block
Answers were Sorted based on User's Feedback
Answer / divya
Please note Function and Function Block both are subroutine
in case of s7-300 & 400. Whenever you are writing
structured program you make use of them.
The basic difference between them is Fuction(FC) don't
require addition memory block they can exist on their own.
Whereas Function Block(FB) compulsorialy require a memory
dedicated to it called as Data Block(DB). This data block
is called as Instance Data block as only that particulcar
FB can use it.
Function Block is used when after each call operation in
initial /input value needs to be changed.
| Is This Answer Correct ? | 30 Yes | 1 No |
support.automation.siemens.com
you may approach them for your answer if it is related to
specific equipment used by yourself.
vi S7 Standard Functions Part 2 C79000-G7076-C113-02 The
following functions and function blocks are described in
this manual:
Function or Function Block
Number
Page
oftware Timer On Delay—Retentive (TONR) FC80 5-2 Indirect
Block Move (IBLKMOV) FC81 4-2 Reset Range of Outputs (RSET)
FC82 1-2 Set Range of Outputs (SET) FC83 1-6 Add to Table
(ATT) FC84 2-2 First In/First Out Unload Table (FIFO) FC85
2-4 Table Find (TBL_FIND) FC86 2-6 Last In/First Out Unload
Table (LIFO) FC87 2-9 Table (TBL) FC88 2-11 Move Table to
Word (TBL_WRD) FC89 2-13 Word Shift Register (WSR) FC90 3-2
Word to Table (WRD_TBL) FC91 2-15 Bit Shift Register (SHRB)
FC92 3-4 Seven Segment Decoder (SEG) FC93 6-2 ASCII to Hex
(ATH) FC94 6-4 Hex to ASCII (HTA) FC95 6-6 Encode Binary
Position (ENCO) FC96 6-8 Decode Binary Position (DECO) FC97
6-9 Ten’s Complement (BCDCPL) FC98 6-10 Sum Number of Bits
(BITSUM) FC99 6-11 Reset Range of Immediate Outputs (RSETI)
FC100 1-4 Set Range of Immediate Outputs (SETI) FC101 1-8
Standard Deviation (DEV) FC102 7-2 Correlated Data Table
(CDT) FC103 2-18 Table to Table (TBL_TBL) FC104 2-21
Scaling Values (SCALE) FC105 6-12 Unscaling Values
(UNSCALE) FC106 6-14 Lead/Lag Algorithm (LEAD_LAG) FB80 6-
16 Discrete Control Alarm Timer (DCAT) FB81 5-4 Motor
Control Alarm Timer (MCAT) FB82 5-7 Index Matrix Compare
(IMC) FB83 8-2 Scan Matrix Compare (SMC) FB84 8-6 Event
Maskable Drum (DRUM) FB85 5-10 Pack Data (PACK) FB86 4-4
| Is This Answer Correct ? | 5 Yes | 7 No |
we have a rewind motor of 2Hp,2800Rpm, 220Volt AC. how can we choose the running capacitor for this motor, any formula for that?
generally the electrical equipments not to be operated at leading power factor, why?
can anyone send me some sample question regarding power grid corp
how do u gauge the size of the cable ?for eg. consider a 300 sqmm L.T Cable.How do u determine the size of the cable seeing it pratically?
0 Answers Bhel, Jai Balaji, Rashmi Group,
Which of the following statements is incorrect?(a) 1N = 1 kgm/s2(b) 1V = 1 J/C(c) 30mA = 0.03A(d) 1 J = 1N/m
New istallation how many eathing have one transformer? Names of earthing connect places?
how to calculate the no. of earth pits required for an electrical installation?
what is phase voltage and phase current what is line current and line phase
which one is rotating transformer-single phase induction motor or 3 phase squirrel cage motor?
In sub-station how to find multifactor of panel?
How to select AC3 duty contactor for DOL & Star-Delta starters
what is ratio of copper wire size and current ?
Civil Engineering (5086)
Mechanical Engineering (4453)
Electrical Engineering (16638)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)