西门子【Library of Basic Controls (LBC)基本控制库”(LBC) 提供基本控制功能】

AF架构中使用的库

文章目录

Table of contents
Legal information ..............................................................................................................................2
1
Introduction .............................................................................................................................8
1.1
Overview....................................................................................................................8
1.2
General information ...................................................................................................8
1.3
Hardware and software requirements .......................................................................9
1.4
User-defined documentation ...................................................................................10
2
Library Concept ....................................................................................................................11
2.1
Modularization .........................................................................................................11
2.2
Independent of field of application...........................................................................11
2.3
Storage of configuration parameters .......................................................................11
2.4
Diagnostic ................................................................................................................12
2.5
Module interface ......................................................................................................13
3
Program blocks.....................................................................................................................15
3.1
LBC_ControlNode_General (FC / V3.0.0)...............................................................15
3.2
ControlNodes...........................................................................................................17
3.2.1
LBC_AnalogInputCn (FB / V3.0.0) ..........................................................................17
3.2.2
LBC_AnalogOutputCn (FB / V3.0.0) .......................................................................22
3.2.3
LBC_AnalogScaleCn (FB / V3.0.0) .........................................................................27
3.2.4
LBC_Axis16Pos_TecPlcCn (FB / V3.0.0) ...............................................................31
3.2.5
LBC_AxisControl_TecPlcCn (FB / V3.0.0)..............................................................36
3.2.6
LBC_CounterCn (FB / V3.0.0).................................................................................41
3.2.7
LBC_DigitalSignalCn (FB / V3.0.0) .........................................................................44
3.2.8
LBC_MotorStarterCn (FB / V3.0.0) .........................................................................48
3.2.9
LBC_PIDControlCn (FB / V3.0.0)............................................................................53
3.2.10
LBC_PT1FilterCn (FB / V3.0.0)...............................................................................57
3.2.11
LBC_SinaPosCn (FB / V3.0.1) ................................................................................60
3.2.12
LBC_SinaSpeedCn (FB / V3.0.3)............................................................................64
3.2.13
LBC_StarDeltaStarterCn (FB / V3.0.0)....................................................................68
3.2.14
LBC_ThreeWayActuatorCn (FB / V3.0.0) ...............................................................73
3.2.15
LBC_TMPulseDriveCn (FB / V3.0.0).......................................................................79
3.2.16
LBC_TwoHandControlCn (FB / V3.0.0) ..................................................................83
3.2.17
LBC_TwoWayActuatorCn (FB / V3.0.0) ..................................................................86
3.3
FunctionBlocks ........................................................................................................91
3.3.1
LBC_AnalogInput (FB / V3.0.0)...............................................................................91
3.3.2
LBC_AnalogOutput (FB / V3.0.0) ............................................................................96
3.3.3
LBC_AnalogScale (FB / V3.0.0)............................................................................101
3.3.4
LBC_Axis16Pos_TecPlc (FB / V3.0.0) ..................................................................105
3.3.5
LBC_AxisControl_TecPlc (FB / V3.0.0).................................................................113
3.3.6
LBC_Counter (FB / V3.0.0) ...................................................................................122
3.3.7
LBC_DigitalSignal (FB / V3.0.0) ............................................................................126
3.3.8
LBC_MotorStarter (FB / V3.0.0) ............................................................................130
3.3.9
LBC_PIDControl (FB / V3.0.0)...............................................................................135
3.3.10
LBC_PT1Filter (FB / V3.0.0)..................................................................................140
3.3.11
LBC_SinaPos (FB / V3.0.1)...................................................................................143
3.3.12
LBC_SinaSpeed (FB / V3.0.3)...............................................................................149
3.3.13
LBC_StarDeltaStarter (FB / V3.0.0) ......................................................................154
3.3.14
LBC_ThreeWayActuator (FB / V3.0.0) ..................................................................159
3.3.15
LBC_TMPulseDrive (FB / V3.0.0)..........................................................................166
3.3.16
LBC_TwoHandControl (FB / V3.0.0) .....................................................................171
3.3.17
LBC_TwoWayActuator (FB / V3.0.0).....................................................................174
4
PLC data types ....................................................................................................................179
4.1.1
LBC_typeDiagnostics (UDT / V3.0.0)....................................................................179
4.1.2
LBC_typeInterfaceCommands (UDT / V3.0.0)......................................................179
4.2
AnalogSignals........................................................................................................180
4.2.1
LBC_typeAnalogProcessValues (UDT / V3.0.0) ...................................................180
4.3
AnalogSignals / Input.............................................................................................181
4.3.1
LBC_typeAnalogInputConfiguration (UDT / V3.0.0)..............................................181
4.3.2
LBC_typeAnalogInputControlNode (UDT / V3.0.0)...............................................181
4.3.3
LBC_typeAnalogInputControlNodeCommands (UDT / V3.0.0) ............................182
4.3.4
LBC_typeAnalogInputControlNodeMonitoring (UDT / V3.0.0) ..............................182
4.3.5
LBC_typeAnalogInputInterface (UDT / V3.0.0) .....................................................182
4.4
AnalogSignals / Output..........................................................................................183
4.4.1
LBC_typeAnalogOutputConfiguration (UDT / V3.0.0)...........................................183
4.4.2
LBC_typeAnalogOutputControlNode (UDT / V3.0.0) ............................................183
4.4.3
LBC_typeAnalogOutputControlNodeCommands (UDT / V3.0.0)..........................184
4.4.4
LBC_typeAnalogOutputControlNodeMonitoring (UDT / V3.0.0) ...........................184
4.4.5
LBC_typeAnalogOutputInterface (UDT / V3.0.0) ..................................................184
4.5
AnalogSignals / Scale............................................................................................186
4.5.1
LBC_typeAnalogScaleConfiguration (UDT / V3.0.0).............................................186
4.5.2
LBC_typeAnalogScaleControlNode (UDT / V3.0.0)..............................................186
4.5.3
LBC_typeAnalogScaleControlNodeCommands (UDT / V3.0.0) ...........................187
4.5.4
LBC_typeAnalogScaleControlNodeMonitoring (UDT / V3.0.0).............................187
4.5.5
LBC_typeAnalogScaleInterface (UDT / V3.0.0) ....................................................187
4.5.6
LBC_typeAnalogScaleValues (UDT / V3.0.0) .......................................................188
4.6
Axis16Pos..............................................................................................................189
4.6.1
LBC_typeAxis16PosCommandStates (UDT / V3.0.0) ..........................................189
4.6.2
LBC_typeAxis16PosConfiguration (UDT / V3.0.0)................................................189
4.6.3
LBC_typeAxis16PosControlNode (UDT / V3.0.0) .................................................189
4.6.4
LBC_typeAxis16PosControlNodeCommands (UDT / V3.0.0)...............................190
4.6.5
LBC_typeAxis16PosControlNodeMonitoring (UDT / V3.0.0) ................................190
4.6.6
LBC_typeAxis16PosInterface (UDT / V3.0.0) .......................................................192
4.6.7
LBC_typeAxis16PosManualCommands (UDT / V3.0.0) .......................................192
4.6.8
LBC_typeAxis16PosProcessValues (UDT / V3.0.0) .............................................193
4.6.9
LBC_typeAxis16PosSetPosition (UDT / V3.0.0) ...................................................195
4.7
AxisControl ............................................................................................................196
4.7.1
LBC_typeAxisControlCommandStates (UDT / V3.0.0) .........................................196
4.7.2
LBC_typeAxisControlConfiguration (UDT / V3.0.0) ..............................................196
4.7.3
LBC_typeAxisControlInterface (UDT / V3.0.0)......................................................197
4.7.4
LBC_typeAxisControlManualCommands (UDT / V3.0.0)......................................197
4.7.5
LBC_typeAxisControlNode (UDT / V3.0.0) ...........................................................198
4.7.6
LBC_typeAxisControlNodeCommands (UDT / V3.0.0).........................................198
4.7.7
LBC_typeAxisControlNodeMonitoring (UDT / V3.0.0)...........................................199
4.7.8
LBC_typeAxisControlProcessValues (UDT / V3.0.0)............................................201
4.8
Counter..................................................................................................................205
4.8.1
LBC_typeCounterConfiguration (UDT / V3.0.0) ....................................................205
4.8.2
LBC_typeCounterControlNode (UDT / V3.0.0) .....................................................205
4.8.3
LBC_typeCounterControlNodeCommands (UDT / V3.0.0)...................................205
4.8.4
LBC_typeCounterControlNodeMonitoring (UDT / V3.0.0) ....................................206
4.8.5
LBC_typeCounterInterface (UDT / V3.0.0)............................................................206
4.8.6
LBC_typeCounterProcessValues (UDT / V3.0.0)..................................................206
4.9
DigitalSignal...........................................................................................................207
4.9.1
LBC_typeDigitalSignalConfiguration (UDT / V3.0.0).............................................207
4.9.2
LBC_typeDigitalSignalControlNode (UDT / V3.0.0) ..............................................207
4.9.3
LBC_typeDigitalSignalControlNodeCommands (UDT / V3.0.0)............................207
4.9.4
LBC_typeDigitalSignalControlNodeMonitoring (UDT / V3.0.0) .............................208
4.9.5
LBC_typeDigitalSignalInterface (UDT / V3.0.0) ....................................................208
4.9.6
LBC_typeDigitalSignalProcessValues (UDT / V3.0.0) ..........................................208
4.10
MotorStarter...........................................................................................................209
4.10.1
LBC_typeMotorStarterCommands (UDT / V3.0.0)................................................209
4.10.2
LBC_typeMotorStarterCommandStates (UDT / V3.0.0) .......................................209
4.10.3
LBC_typeMotorStarterConfiguration (UDT / V3.0.0).............................................209
4.10.4
LBC_typeMotorStarterControlNode (UDT / V3.0.0) ..............................................210
4.10.5
LBC_typeMotorStarterControlNodeCommands (UDT / V3.0.0)............................210
4.10.6
LBC_typeMotorStarterControlNodeMonitoring (UDT / V3.0.0) .............................210
4.10.7
LBC_typeMotorStarterInterface (UDT / V3.0.0) ....................................................211
4.10.8
LBC_typeMotorStarterProcessValues (UDT / V3.0.0) ..........................................211
4.11
PIDControl .............................................................................................................213
4.11.1
LBC_typePIDControlConfiguration (UDT / V3.0.0) ...............................................213
4.11.2
LBC_typePIDControlControllerStructure (UDT / V3.0.0) ......................................213
4.11.3
LBC_typePIDControlControlNode (UDT / V3.0.0).................................................213
4.11.4
LBC_typePIDControlControlNodeCommands (UDT / V3.0.0) ..............................214
4.11.5
LBC_typePIDControlControlNodeMonitoring (UDT / V3.0.0)................................214
4.11.6
LBC_typePIDControlControlVariableCreation (UDT / V3.0.0) ..............................215
4.11.7
LBC_typePIDControlInterface (UDT / V3.0.0).......................................................215
4.11.8
LBC_typePIDControlParameter (UDT / V3.0.0)....................................................215
4.11.9
LBC_typePIDControlPeripheryScaling (UDT / V3.0.0)..........................................216
4.11.10 LBC_typePIDControlProcessValues (UDT / V3.0.0).............................................216
4.12
PT1Filter ................................................................................................................218
4.12.1
LBC_typePT1FilterConfiguration (UDT / V3.0.0) ..................................................218
4.12.2
LBC_typePT1FilterControlNode (UDT / V3.0.0)....................................................218
4.12.3
LBC_typePT1FilterControlNodeCommands (UDT / V3.0.0) .................................218
4.12.4
LBC_typePT1FilterControlNodeMonitoring (UDT / V3.0.0)...................................218
4.12.5
LBC_typePT1FilterInterface (UDT / V3.0.0)..........................................................219
4.12.6
LBC_typePT1FilterProcessValues (UDT / V3.0.0)................................................219
4.13
SinaPos .................................................................................................................220
4.13.1
LBC_typeSinaPosCommandConfiguration (UDT / V3.0.0)...................................220
4.13.2
LBC_typeSinaPosCommandStates (UDT / V3.0.0) ..............................................220
4.13.3
LBC_typeSinaPosConfiguration (UDT / V3.0.0)....................................................221
4.13.4
LBC_typeSinaPosControlNode (UDT / V3.0.0).....................................................221
4.13.5
LBC_typeSinaPosControlNodeCommands (UDT / V3.0.0) ..................................221
4.13.6
LBC_typeSinaPosControlNodeMonitoring (UDT / V3.0.0)....................................222
4.13.7
LBC_typeSinaPosInterface (UDT / V3.0.0)...........................................................222
4.13.8
LBC_typeSinaPosManualCommands (UDT / V3.0.0)...........................................223
4.13.9
LBC_typeSinaPosProcessValues (UDT / V3.0.0).................................................223
4.14
SinaSpeed .............................................................................................................225
4.14.1
LBC_typeSinaSpeedCommandConfiguration (UDT / V3.0.0)...............................225
4.14.2
LBC_typeSinaSpeedCommandStates (UDT / V3.0.0)..........................................225
4.14.3
LBC_typeSinaSpeedConfiguration (UDT / V3.0.0) ...............................................225
4.14.4
LBC_typeSinaSpeedControlNode (UDT / V3.0.0).................................................226
4.14.5
LBC_typeSinaSpeedControlNodeCommands (UDT / V3.0.0)..............................226
4.14.6
LBC_typeSinaSpeedControlNodeMonitoring (UDT / V3.0.0)................................226
4.14.7
LBC_typeSinaSpeedInterface (UDT / V3.0.0).......................................................227
4.14.8
LBC_typeSinaSpeedManualCommands (UDT / V3.0.0) ......................................227
4.14.9
LBC_typeSinaSpeedProcessValues (UDT / V3.0.0).............................................228
4.15
StarDeltaStarter.....................................................................................................229
4.15.1
LBC_typeStarDeltaStarterCommands (UDT / V3.0.0) ..........................................229
4.15.2
LBC_typeStarDeltaStarterCommandStates (UDT / V3.0.0)..................................229
4.15.3
LBC_typeStarDeltaStarterConfiguration (UDT / V3.0.0) .......................................229
4.15.4
LBC_typeStarDeltaStarterControlNode (UDT / V3.0.0) ........................................230
4.15.5
LBC_typeStarDeltaStarterControlNodeCommands (UDT / V3.0.0)......................230
4.15.6
LBC_typeStarDeltaStarterControlNodeMonitoring (UDT / V3.0.0) .......................230
4.15.7
LBC_typeStarDeltaStarterInterface (UDT / V3.0.0)...............................................231
4.15.8
LBC_typeStarDeltaStarterProcessValues (UDT / V3.0.0) ....................................231
4.16
ThreeWayActuator.................................................................................................233
4.16.1
LBC_typeThreeWayActuatorCommandStates (UDT / V3.0.0) .............................233
4.16.2
LBC_typeThreeWayActuatorConfiguration (UDT / V3.0.0)...................................233
4.16.3
LBC_typeThreeWayActuatorControlNode (UDT / V3.0.0) ....................................234
4.16.4
LBC_typeThreeWayActuatorControlNodeCommands (UDT / V3.0.0)..................234
4.16.5
LBC_typeThreeWayActuatorControlNodeMonitoring (UDT / V3.0.0) ...................234
4.16.6
LBC_typeThreeWayActuatorInterface (UDT / V3.0.0) ..........................................235
4.16.7
LBC_typeThreeWayActuatorManualCommands (UDT / V3.0.0)..........................235
4.16.8
LBC_typeThreeWayActuatorProcessValues (UDT / V3.0.0) ................................236
4.17
TMPulseDrive ........................................................................................................238
4.17.1
LBC_typeTMPulseDriveCommands (UDT / V3.0.0) .............................................238
4.17.2
LBC_typeTMPulseDriveCommandStates (UDT / V3.0.0).....................................238
4.17.3
LBC_typeTMPulseDriveConfiguration (UDT / V3.0.0) ..........................................238
4.17.4
LBC_typeTMPulseDriveControlNode (UDT / V3.0.0) ...........................................239
4.17.5
LBC_typeTMPulseDriveControlNodeCommands (UDT / V3.0.0).........................239
4.17.6
LBC_typeTMPulseDriveControlNodeMonitoring (UDT / V3.0.0)...........................240
4.17.7
LBC_typeTMPulseDriveInterface (UDT / V3.0.0)..................................................240
4.17.8
LBC_typeTMPulseDriveProcessValues (UDT / V3.0.0)........................................240
4.18
TwoHandControl....................................................................................................242
4.18.1
LBC_typeTwoHandControlCommands (UDT / V3.0.0).........................................242
4.18.2
LBC_typeTwoHandControlConfiguration (UDT / V3.0.0)......................................242
4.18.3
LBC_typeTwoHandControlControlNode (UDT / V3.0.0) .......................................242
4.18.4
LBC_typeTwoHandControlControlNodeCommands (UDT / V3.0.0).....................243
4.18.5
LBC_typeTwoHandControlControlNodeMonitoring (UDT / V3.0.0) ......................243
4.18.6
LBC_typeTwoHandControlInterface (UDT / V3.0.0) .............................................243
4.18.7
LBC_typeTwoHandControlProcessValues (UDT / V3.0.0) ...................................244
4.19
TwoWayActuator ...................................................................................................245
4.19.1
LBC_typeTwoWayActuatorCommandStates (UDT / V3.0.0) ................................245
4.19.2
LBC_typeTwoWayActuatorConfiguration (UDT / V3.0.0) .....................................245
4.19.3
LBC_typeTwoWayActuatorControlNode (UDT / V3.0.0).......................................246
4.19.4
LBC_typeTwoWayActuatorControlNodeCommands (UDT / V3.0.0) ....................246
4.19.5
LBC_typeTwoWayActuatorControlNodeMonitoring (UDT / V3.0.0)......................246
4.19.6
LBC_typeTwoWayActuatorInterface (UDT / V3.0.0).............................................247
4.19.7
LBC_typeTwoWayActuatorManualCommands (UDT / V3.0.0).............................247
4.19.8
LBC_typeTwoWayActuatorProcessValues (UDT / V3.0.0)...................................247
5
ProDiag supervision settings ............................................................................................249
5.1
Alarm class ............................................................................................................250
5.2
Supervision settings - Category and alarm text.....................................................250
5.3
Text list for ProDiag Supervisions .........................................................................251
5.4
Structure of an alarm message .............................................................................251
5.5
Display the alarm text in the alarm overview - HMI...............................................252
6
Implementation of Visualization........................................................................................254
7
Quick Start: how to use the example project...................................................................258
8
Overview of the LBC Screen structure .............................................................................261
8.1
Navigation..............................................................................................................261
8.2
Status Icons ...........................................................................................................262
8.3
Changing Configuration Parameter and associated behavior of the PLC ............263
8.4
Navigation in case of special extended view of Axis type modules ......................267
9
Overview of all LBC screens and faceplates ...................................................................268
9.1
Basic view faceplates ............................................................................................268
9.1.1
Interface properties................................................................................................269
9.2
Extended view faceplates......................................................................................278
9.2.1
Calling Extended View from Basic View................................................................278
9.2.2
Compact extended faceplates for Axis type modules ...........................................281
9.3
Tooltip as help information ....................................................................................283
9.4
Screen style...........................................................................................................284
9.5
Overview of basic view faceplates ........................................................................285
9.6
Overview of extended view screens......................................................................288
9.6.1
Monitoring screens ................................................................................................288
9.6.2
Configuration screens............................................................................................293
9.6.3
Manual commands screens...................................................................................303
9.7
Overview of alarm screen......................................................................................307
9.8
Overview of special extended view screens of Axis type modules .......................308
9.8.1
Monitoring screens ................................................................................................308
9.8.2
Configuration screens............................................................................................312
9.8.3
Manual commands screens...................................................................................327
10
Appendix..............................................................................................................................338
10.1
Service and support...............................................................................................338
10.2
Links and Literature ...............................................................................................339
10.3
Change documentation .........................................................................................340
10.4
Change log ............................................................................................................34

概要

        “基本控制库”(LBC) 提供基本控制功能,这些控制功能根据西门子编程风格指南和“ PLC Open
指南进行标准化编程,LBC库的描述意图在于后期为"AF"架构做铺垫,LBC库的优点是对控制接口HMI接口以及报警代码,控制类数据类型,HMI数据类型等做了标准的规划和要求以便规范编程方法和思想和适配后面的AF架构。
Legal information
Use of application examples
        Application examples illustrate the solution of automation tasks through an interaction of several components in
the form of text, graphics and/or software modules. The application examples are a free service by Siemens AG
and/or a subsidiary of Siemens AG ("Siemens"). They are non-binding and make no claim to completeness or
functionality regarding configuration and equipment. The application examples merely offer help with typical
tasks; they do not constitute customer-specific solutions. You yourself are responsible for the proper and safe
operation of the products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the application
examples used by technically trained personnel. Any change to the application examples is your responsibility.
Sharing the application examples with third parties or copying the application examples or excerpts thereof is
permitted only in combination with your own products. The application examples are not required to undergo the
customary tests and quality inspections of a chargeable product; they may have functional and performance
defects as well as errors. It is your responsibility to use them in such a manner that any malfunctions that may
occur do not result in property damage or injury to persons.
Disclaimer of liability
        Siemens shall not assume any liability, for any legal reason whatsoever, including, without limitation, liability for
the usability, availability, completeness and freedom from defects of the application examples as well as for
related information, configuration and performance data and any damage caused thereby. This shall not apply in
cases of mandatory liability, for example under the German Product Liability Act, or in cases of intent, gross
negligence, or culpable loss of life, bodily injury or damage to health, non-compliance with a guarantee,
fraudulent non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for damages
arising from a breach of material contractual obligations shall however be limited to the foreseeable damage
typical of the type of agreement, unless liability arises from intent or gross negligence or is based on loss of life,
bodily injury or damage to health. The foregoing provisions do not imply any change in the burden of proof to
your detriment. You shall indemnify Siemens against existing or future claims of third parties in this connection
except where Siemens is mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any damage beyond
the liability provisions described.
Other information
        Siemens reserves the right to make changes to the application examples at any time without notice. In case of
discrepancies between the suggestions in the application examples and other Siemens publications such as
catalogs, the content of the other documentation shall have precedence.
The Siemens terms of use ( https://support.industry.siemens.com ) shall also apply.
Security information
        Siemens provides products and solutions with industrial security functions that support the secure operation of
plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement –
and continuously maintain – a holistic, state-of-the-art industrial security concept. Siemens’ products and
solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines and networks.
Such systems, machines and components should only be connected to an enterprise network or the internet if
and to the extent such a connection is necessary and only when appropriate security measures (e.g. firewalls
and/or network segmentation) are in place.
        For additional information on industrial security measures that may be implemented, please visit
        https://www.siemens.com/industrialsecurity .
        Siemens’ products and solutions undergo continuous development to make them more secure. Siemens strongly
recommends that product updates are applied as soon as they are available and that the latest product versions
are used. Use of product versions that are no longer supported, and failure to apply the latest updates may
increase customer’s exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed under
        https://www.siemens.com/cert

整体架构

技术名词

技术细节

 

        Prodiag的相关篇幅将不在赘述,有兴趣的可以自行到西门子官方网站进行学习。

相关连接

https://support.industry.siemens.comicon-default.png?t=O83Ahttps://support.industry.siemens.comhttps://support.industry.siemens.com/cs/ww/en/view/109792175icon-default.png?t=O83Ahttps://support.industry.siemens.com/cs/ww/en/view/109792175https://support.industry.siemens.com/cs/ww/en/view/81318674icon-default.png?t=O83Ahttps://support.industry.siemens.com/cs/ww/en/view/81318674https://support.industry.siemens.com/cs/ww/en/view/109747503icon-default.png?t=O83Ahttps://support.industry.siemens.com/cs/ww/en/view/109747503https://support.industry.siemens.com/cs/ww/en/view/109738702icon-default.png?t=O83Ahttps://support.industry.siemens.com/cs/ww/en/view/109738702

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/893103.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Phi小模型开发教程:用C#开发本地部署AI聊天工具,只需CPU,不需要GPU,3G内存就可以运行,不输GPT-3.5

大家好,我是编程乐趣。 行业诸多大佬一直在说:“‌2025年将是AI应用元年‌”,虽然说大佬的说法不一定对,但AI趋势肯定没错的。 对于我们程序员来说,储备AI应用开发技能,不管对找工作、接项目、创业肯定是…

python-leetcode-存在重复元素 II

219. 存在重复元素 II - 力扣(LeetCode) class Solution:def containsNearbyDuplicate(self, nums: List[int], k: int) -> bool:seen set()for i, num in enumerate(nums):if num in seen:return Trueseen.add(num)if len(seen) > k:seen.remove…

如何将本地 Node.js 服务部署到宝塔面板:完整的部署指南

文章简介: 将本地开发的 Node.js 项目部署到线上服务器是开发者常见的工作流程之一。在这篇文章中,我将详细介绍如何将本地的 Node.js 服务通过宝塔面板(BT 面板)上线。宝塔面板是一个强大的服务器管理工具,具有简洁的…

1月15学习

[SWPUCTF 2018]SimplePHP phar反序列化的三个前提条件 可以上传phar文件 有可以利用的魔术方法 文件操作函数的参数可控 网站中有两个功能:查看文件和上传文件,利用查看文件将源码都先弄下来进行PHP代码审计。 可以看到存在任意文件读取漏洞&#xff0…

【网络 MAC 学习专栏 -- 如何理解 PHY 的 Link Up】

请阅读【嵌入式开发学习必备专栏 Cache | MMU | AMBA BUS | CoreSight | Trace32 | CoreLink | ARM GCC | CSH】 文章目录 OverviewClause 22/Clause 45Clause 22Clause 45 PHY Link 状态的软件实现 转自: 开心果 Need Car 2022年10月20日 09:50 上海 Overview PHY…

慧集通(DataLinkX)iPaaS集成平台-系统管理之用户及权限

系统用户 通过左侧菜单栏【系统管理】→【用户及权限】→【系统用户】进入到系统用户维护的主界面,在该界面我们可以看到已经维护好的系统用户,以及一些关于系统用户的功能按钮,有新建、编辑、删除、停用、启用、解锁等。 新建:在…

【机器学习实战入门】基于深度学习的乳腺癌分类

什么是深度学习? 作为对机器学习的一种深入方法,深度学习受到了人类大脑和其生物神经网络的启发。它包括深层神经网络、递归神经网络、卷积神经网络和深度信念网络等架构,这些架构由多层组成,数据必须通过这些层才能最终产生输出。…

Spring Boot + Apache POI 实现 Excel 导出:BOM物料清单生成器(支持中文文件名、样式美化、数据合并)

目录 引言 Apache POI操作Excel的实用技巧 1.合并单元格操作 2.设置单元格样式 1. 创建样式对象 2. 设置边框 3. 设置底色 4. 设置对齐方式 5. 设置字体样式 6.设置自动换行 7. 应用样式到单元格 3. 定位和操作指定单元格 4.实现标签-值的形式 5.列宽设置 1. 设…

[每周一更]-(第132期):AI工具集对比

文章目录 1.问答互动类(31个)2.图像类**简要对比说明**: **总结**: 3.代码类WindsurfCursor AIGithub Copilot 4.大模型**AlphaFold 的独特性与优势****AlphaFold 的局限性****主要大模型对比** AI的核心目标是通过模拟人类智能来…

PortSwigger靶场练习---第二关-查找和利用未使用的 API 端点

第二关:Finding and exploiting an unused API endpoint 实验:查找和利用未使用的 API 端点 PortSwigger靶场地址: Dashboard | Web Security Academy - PortSwigger 题目: 官方提示: 在 Burp 的浏览器中&#xff0c…

python_在钉钉群@人员发送消息

python_在钉钉群人员发送消息 1、第一种 企业内部机器人群聊实现人接入指南,适用于群机器人接收消息,处理完一系列的动作之后,将消息返回给发消息的人员,同时该人员。 需要在企微后台新建一个自建应用,在自建应用里…

天机学堂5-XxlJobRedis

文章目录 梳理前面的实现:Feign点赞改进 day07-积分系统bitmap相关命令签到增加签到记录计算本月已连续签到的天数查询签到记录 积分表设计签到-->发送RabbitMQ消息,保存积分对应的消费者:**消费消息 用于保存积分**增加积分查询个人今日积…

【Block总结】Conv2Former的Block,结合卷积网络和Transformer的优点|即插即用

背景与动机 Conv2Former是一种新型的卷积神经网络(ConvNet),旨在结合卷积网络和Transformer的优点,以提升视觉识别任务的性能。传统的卷积神经网络在处理局部特征提取方面表现优异,但在建模全局信息和长距离依赖关系时…

智能化植物病害检测:使用深度学习与图像识别技术的应用

植物病害一直是农业生产中亟待解决的问题,它不仅会影响作物的产量和质量,还可能威胁到生态环境的稳定。随着人工智能(AI)技术的快速发展,尤其是深度学习和图像识别技术的应用,智能化植物病害检测已经成为一…

【TCP】rfc文档

tcp协议相关rfc有哪些 TCP(传输控制协议)是一个复杂的协议,其设计和实现涉及多个RFC文档。以下是一些与TCP协议密切相关的RFC文档列表,按照时间顺序排列,涵盖了从基础定义到高级特性和优化的各个方面: 基…

机器学习皮马印第安人糖尿病数据集预测报告

目录 1.项目选题与设计方案 1.1项目选题 1.2设计方案 2.功能实现 2.1 主要功能介绍 2.2 开发环境及平台介绍 2.3 实现过程 2.3.1数据分析 2.3.2算法设计 2.3.3 python代码 3.个人心得体会 1.项目选题与设计方案 1.1项目选题 我国的糖尿病患者初诊时约8&a…

HTML5+Canvas实现的鼠标跟随自定义发光线条源码

源码介绍 HTML5Canvas实现的鼠标跟随自定义发光线条特效源码非常炫酷&#xff0c;在黑色的背景中&#xff0c;鼠标滑过即产生彩色变换的发光线条效果&#xff0c;且线条周围散发出火花飞射四溅的粒子光点特效。 效果预览 源码如下 <!DOCTYPE html PUBLIC "-//W3C//D…

Dart语言

基础篇&#xff1a; 第 1 部分&#xff1a;Dart 的基础语法 1.1 Dart 程序的结构 一个简单的 Dart 程序通常包含一个 main() 函数&#xff0c;这是程序的入口点。所有 Dart 程序都会从 main() 函数开始执行。 void main() {print(Hello, Dart!); } void 表示 main() 函数没…

通过idea创建的springmvc工程需要的配置

在创建的spring mvc工程中&#xff0c;使用idea开发之前需要配置文件包括porm.xml、web.xml、springmvc.xml 1、porm.xml 工程以来的spring库&#xff0c;主要包括spring-aop、spring-web、spring-webmvc&#xff0c;示例配置如下&#xff1a; <project xmlns"http:/…

Ansible实战:如何正确选择 command 和shell模块?

在使用Ansible进行自动化运维时&#xff0c;command 和 shell 模块是我们执行命令的好帮手。虽然它们看起来很相似&#xff0c;但在功能特性和适用场景上其实有着明显的不同。正确选择合适的模块不仅能够提高任务的效率&#xff0c;还能帮助我们规避一些潜在的风险。在这篇文章…