西门子【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

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

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

Golang Gin系列-2:搭建Gin 框架环境

开始网络开发之旅通常是从选择合适的工具开始的。在这个全面的指南中,我们将引导你完成安装Go编程语言和Gin框架的过程,Gin框架是Go的轻量级和灵活的web框架。从设置Go工作空间到将Gin整合到项目中,本指南是高效而强大的web开发路线图。 安装…

Visual Studio Community 2022(VS2022)安装方法

废话不多说直接上图: 直接上步骤: 1,首先可以下载安装一个Visual Studio安装器,叫做Visual Studio installer。这个安装文件很小,很快就安装完成了。 2,打开Visual Studio installer 小软件 3&#xff0c…

《offer 来了:Java 面试核心知识点精讲 -- 原理篇》

在 Java 面试的战场上,只知皮毛可不行,面试官们越来越看重对原理的理解。今天就给大家分享一本能让你在面试中脱颖而出的 “武林秘籍”——《offer 来了:Java 面试核心知识点精讲 -- 原理篇》。 本书详细介绍了Java架构师在BAT和移动互联网公…

1,Linux环境变量基本定义(基于Ubuntu示例进行讲解)

linux环境变量的概念 Linux环境变量(准确说应该是shell变量),是直接存储在操作系统中的一组键值对(dict类型),用于配置系统和应用程序的操作行为。 【有经验的描述】:它们的工作原理很简单&am…

5、docker-compose和docker-harbor

安装部署docker-compose 自动编排工具,可以根据dockerfile自动化的部署docker容器。是yaml文件格式,注意缩进。 1、安装docker-compose 2、配置compose配置文件docker-compose.yml 3、运行docker-compose.yml -f:指定文件,up&…

b站视频(网页加客户端)+本地视频 生成回链

b站视频(网页加客户端)本地视频 生成回链 引言 基于上一篇博客方案 本地视频进度加入笔记根据进度快速锁定视频位置 我想着只有本地的话, 那b站上的视频, 不是每次都得下载下来吗? 如果是一套课程, 直接下载, 然后视频处理成mp3,还好, 如果只是一个视频, 每次这样处理就有点…

mac 安装 node

brew versions node // 安装 node brew versions node14 // 安装指定版本 卸载node: sudo npm uninstall npm -g sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* sudo rm -rf /usr/local/include/node /Users/$USER/.npm su…

电子应用设计方案94:智能AI门禁系统设计

智能 AI 门禁系统设计 一、引言 智能 AI 门禁系统旨在提供更高效、安全和便捷的门禁控制解决方案,结合人工智能技术实现精准的身份识别和智能化的访问管理。 二、系统概述 1. 系统目标 - 实现高精度的人脸识别、指纹识别、虹膜识别等多模态生物识别技术。 - 具备智…

机器学习经典无监督算法——聚类K-Means算法

目录 算法原理 算法步骤 算法API 算法导入 API参数理解 算法实现 算法原理 Kmeans 算法是一种无监督的聚类算法,目的是将数据集中的样本划分到 K 个不同的簇中。 聚类:将数据集中相似的数据点归为一组或一个簇的过程。 数据集:一组相…

Android系统定制APP开发_如何对应用进行系统签名

前言 当项目开发需要使用系统级别权限或frame层某些api时,普通应用是无法使用的,需要在AndroidManifest中配置sharedUserId: AndroidManifest.xml中的android:sharedUserId“android.uid.system”,代表的意思是和系统相同的uid&a…

【机器学习实战入门】使用OpenCV和Keras的驾驶员疲劳检测系统

嗜睡驾驶者警报系统 防止司机疲劳驾驶警报系统 中级 Python 项目 - 司机疲劳检测系统 疲劳检测是一种安全技术,能够预防因司机在驾驶过程中入睡而造成的事故。 本中级 Python 项目的目标是建立一个疲劳检测系统,该系统将检测到一个人的眼睛闭合了一段时…

5 分钟复刻你的声音,一键实现 GPT-Sovits 模型部署

想象一下,只需简单几步操作,就能生成逼真的语音效果,无论是为客户服务还是为游戏角色配音,都能轻松实现。GPT-Sovits 模型,其高效的语音生成能力为实现自然、流畅的语音交互提供了强有力的技术支持。本文将详细介绍如何…

自动化办公|xlwings简介

xlwings 是一个开源的 Python 库,旨在实现 Python 与 Microsoft Excel 的无缝集成。它允许用户使用 Python 脚本自动化 Excel 操作,读取和写入数据,执行宏,甚至调用 VBA 脚本。这使得数据分析、报告生成和其他与 Excel 相关的任务…

JTAG调试器的使用方法

概述: JTAG(联合测试行动组)是基于IEEE 1149.1标准的专用硬件接口。该接口旨在将复杂的芯片和设备连接到标准测试和调试硬件。目前JTAG主要用于: Output control of microcircuits; Testing of printed circuit boards; Flashing of microchips with memory; Chip softwa…

第三次作业:源码编译安装httpd 2.4,提供系统服务管理脚本并测试(两种方法实现)

准备工作 下载httpd软件包进行源码安装 [rootrocky ~]# wget https://archive.apache.org/dist/httpd/httpd-2.4.46.tar.gz 由于进行源码安装,需要对安装对应的编译工具 [rootopen2 ~]# yum install gcc gcc-c make -y 解压文件到指定的目录/usr/local/src下 [root…

Web自动化之验证码识别彻底解决方案

验证码识别解决方案 对于web应用程序来讲,处于安全性考虑,在登录的时候,都会设置验证码,验证码的类型种类繁多,有图片中辨别数字字母的,有点击图片中指定的文字的,也有算术计算结果的&#xff…

第34天:Web开发-PHP应用鉴别修复AI算法流量检测PHP.INI通用过滤内置函数

#知识点 1、安全开发-原生PHP-PHP.INI安全 2、安全开发-原生PHP-全局文件&单函数 3、安全开发-原生PHP-流量检测&AI算法 一、通用-PHP.INI设置 参考: https://www.yisu.com/ask/28100386.html https://blog.csdn.net/u014265398/article/details/109700309 …

C++多态的认识与理解

多态的定义 多态其实就是同一操作在不同的对象上可以有不同的实现方式。 多态的类型 多态分为静态多态和动态多态两种,而静态多态其实我们之前就了解过,今天主要是讲解一下动态多态。 静态多态(编译时多态):静态多态其实就是在…

Ubuntu安装搜狗输入法

Ubuntu安装搜狗输入法 官网完整安装步骤调整默认输入法 官网 搜狗输入法 - 官网:https://shurufa.sogou.com/ 搜狗输入法Linux版 - 首页:https://shurufa.sogou.com/linux 搜狗输入法Linux版 - 安装指南:https://shurufa.sogou.com/linux/gu…

ElasticSearch下

DSL查询 叶子查询:在特定字段里查询特定值,属于简单查询,很少单独使用复合查询:以逻辑方式组合多个叶子查询或更改叶子查询的行为方式 在查询后还可以对查询结果做处理: 排序:按照1个或多个字段做排序分页…