Application on Control Technology
Programming example in Ladder Logic
Using SFC51 and the System Status List (SSL) to determine a
battery fault
Warranty, liability and support
Using SFC51 and the System Status List
V1.0 2006/05/08 2/6
C
op
yr
ig
ht
©
S
ie
m
en
s
A
G
2
00
6
A
ll
rig
ht
s
re
se
rv
ed
23
33
07
22
_S
FC
51
a
nd
S
S
L
to
d
et
er
m
in
e
a
Ba
tte
ry
F
au
lt.
do
c
Note The application examples are not binding and do not claim to be
complete regarding the circuits shown, equipping and any eventuality.
The application examples do not represent customer-specific solutions.
They are only intended to provide support for typical applications. You
are responsible in ensuring that the described products are correctly
used. These application examples do not relieve you of the responsibility
in safely and professionally using, installing, operating and servicing
equipment. When using these application examples, you recognize that
Siemens cannot be made liable for any damage/claims beyond the
liability clause described. We reserve the right to make changes to these
application examples at any time without prior notice. If there are any
deviations between the recommendations provided in these application
examples and other Siemens publications - e.g. Catalogs - then the
contents of the other documents have priority.
Warranty, liability and support
We do not accept any liability for the information contained in this
document.
Any claims against us - based on whatever legal reason - resulting from the
use of the examples, information, programs, engineering and performance
data etc., described in this application example shall be excluded. Such an
exclusion shall not apply in the case of mandatory liability, e.g. under the
German Product Liability Act (“Produkthaftungsgesetz”), in case of intent,
gross negligence, or injury of life, body or health, guarantee for the quality
of a product, fraudulent concealment of a deficiency or breach of a
condition which goes to the root of the contract (“wesentliche
Vertragspflichten”). However, claims arising from a breach of a condition
which goes to the root of the contract shall be limited to the foreseeable
damage which is intrinsic to the contract, unless caused by intent or gross
negligence or based on mandatory liability for injury of life, body or health
The above provisions does not imply a change in the burden of proof to
your detriment.
Copyright© 2006 Siemens A&D. It is not permissible to transfer or
copy these application examples or excerpts of them without first
having prior authorization from Siemens A&D in writing.
For questions about this document please use the following e-mail address:
mailto:csweb@ad.siemens.de
Warranty, liability and support
Using SFC51 and the System Status List
V1.0 2006/05/08 3/6
C
op
yr
ig
ht
©
S
ie
m
en
s
A
G
2
00
6
A
ll
rig
ht
s
re
se
rv
ed
23
33
07
22
_S
FC
51
a
nd
S
S
L
to
d
et
er
m
in
e
a
Ba
tte
ry
F
au
lt.
do
c
Table of Content
Table of Content ........................................................................................................... 3
Using SFC51 and the System Status List (SSL) ........................................................ 4
1 Check_BAF (FC250): checking the status for a battery fault ..................... 4
2 Calling FC250 (Check_BAF) from your program ......................................... 6
3 Reference information.................................................................................... 6
Reference to Automation and Drives Service & Support
This entry is from the internet application portal of Automation and Drives
Service & Support. The documentation has the entry ID 23330722. Click
the link below to directly display the download page of this document.
http://support.automation.siemens.com/WW/view/en/23330722
All entries referenced in this document are designated by their entry ID and
addressed via the above path.
Using SFC51 and the System Status List (SSL)
Check_BAF (FC250): checking the status for a battery fault
Using SFC51 and the System Status List
V1.0 2006/05/08 4/6
C
op
yr
ig
ht
©
S
ie
m
en
s
A
G
2
00
6
A
ll
rig
ht
s
re
se
rv
ed
23
33
07
22
_S
FC
51
a
nd
S
S
L
to
d
et
er
m
in
e
a
Ba
tte
ry
F
au
lt.
do
c
Using SFC51 and the System Status List (SSL)
to determine a battery fault
In the event of a battery failure, the PLC calls OB81. You can use OB81 to
set or reset signals, depending on whether the failure is incoming or
outgoing. This user-defined signal can then be used to generate a fault
message.
In some applications, the fault reset command writes zeros over all fault
messages, and any fault that is still active will obviously not be overwritten
and will remain on after a fault reset. Because OB81 is called only once, it
would not reactivate the alarm for a battery fault, even if the battery fault is
still active.
The solution to this problem was to generate a static signal that is based
upon the System Status List (SSL or SZL) available in the PLC. The
sample program Battery_Fault shows how to generate a static signal for a
battery fault.
1 Check_BAF (FC250): checking the status for a battery
fault
The Check_BAF function (FC250) has a single-output BAF that is a BOOL
to represent a battery fault. BAF = 0 represents that no battery fault exists,
and BAF = 1 represents that a battery fault exists. The function uses
SFC51 ("RDSYSST”) to read from the SSL for the battery with an SZL_ID
of W#16#392 and an INDEX of W#16#0.
Using SFC51 and the System Status List (SSL)
Check_BAF (FC250): checking the status for a battery fault
Using SFC51 and the System Status List
V1.0 2006/05/08 5/6
C
op
yr
ig
ht
©
S
ie
m
en
s
A
G
2
00
6
A
ll
rig
ht
s
re
se
rv
ed
23
33
07
22
_S
FC
51
a
nd
S
S
L
to
d
et
er
m
in
e
a
Ba
tte
ry
F
au
lt.
do
c
Using SFC51 and the System Status List (SSL)
Calling FC250 (Check_BAF) from your program
Using SFC51 and the System Status List
V1.0 2006/05/08 6/6
C
op
yr
ig
ht
©
S
ie
m
en
s
A
G
2
00
6
A
ll
rig
ht
s
re
se
rv
ed
23
33
07
22
_S
FC
51
a
nd
S
S
L
to
d
et
er
m
in
e
a
Ba
tte
ry
F
au
lt.
do
c
2 Calling FC250 (Check_BAF) from your program
Call he Check_BAF function from OB1 (or from an FC or FB). You can also
define PDiag Monitoring on the BAF output signal for use as an alarm
message.
3 Reference information
For information about RDSYSST and the System Status List (SSL), refer to
the STEP 7 online help or to the STEP 7 - System and Standard Functions
for S7-300 and S7-400 User Manual.
For information about the SSL entries for specific S7 CPUs, refer to the
following manuals:
• S7-300 Programmable Controller Hardware and Installation
• S7-400, M7-400 Programmable Controllers Module Specifications
Table of Content
1 Check_BAF (FC250): checking the status for a battery fault
2 Calling FC250 (Check_BAF) from your program
3 Reference information
本文档为【plc_电池故障Battery_fault23330722_Battery_fault】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑,
图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。