7-43至7-45

7-43 判断正整数n是否同时含有奇数和偶数 (10 分)

本题目要求读入1个正整数n,判断正整数n是否同时含有奇数字和偶数字。

输入格式:

输入一个正整数n。

输出格式:

输出此正整数,并输出YES(表示同时含有)或NO(表示不同时含有)。

输入样例:

123

输出样例:

123 YES
#include<stdio.h>
int main()
{
    int a,b=0,c=0,i;
    scanf("%d",&a);
    int k = a;
    do{
        if(a%2==0)
            b++;
        else
            c++;
        a=a/10;
    }while (a!=0);
    printf("%d ",k);
    if(b*c==0)
    printf("NO\n");
    else
    printf("YES\n");
    return 0;
}

 

 

7-44 统计字符个数 (15 分)

本题目要求统计一串字符中英文字符(‘a’-‘z’,‘A’-‘Z’)的个数、数字字符(‘0’-‘9’)的个数和其他字符的个数。

输入格式:

输入一串字符,以回车'&'结束。

输出格式:

letter=英文字符的个数,digital=数字字符的个数,others=其他字符的个数。

输入样例:

I am 26.&

输出样例:

'&'是结束符,&及其后面的字符都不计算在内,注意空格也是字符

letter=3,digital=2,others=3
#include<stdio.h>
int main()
{
    int letter=0,digital=0,others=0;
    char ch[1000];
    gets(ch);
    int i = 0;
    while(ch[i]!='&'){
        if(ch[i]>='0'&&ch[i]<='9') digital++;
        else if(ch[i]>='a'&&ch[i]<='z') letter++;
        else if(ch[i]>='A'&&ch[i]<='Z') letter++;
        else others++;
        i++;
    }
    printf("letter=%d,digital=%d,others=%d",letter,digital,others);
    return 0;
}

 

7-45 推理-找出罪犯 (10 分)

法官审理一起盗窃案时,四名嫌疑犯的a,b,c,d的供述如下: a:罪犯在b,c,d三人之中。 b:我没有作案,是c偷的。 c:在a和d中有一个是罪犯。 d:b说的是事实。 经调查,四人中有两人说了真话,并且罪犯只有1人。请确定真正的罪犯。

输入格式:

输出格式:

The criminal is a,b,c,d之中的一个.

输入样例:

输出样例:

The criminal is a(或b,c,d,给出真正的犯罪).
#include<stdio.h>
int funA(int a,int b,int c,int d)
{
    return b+c+d;
}
int funB(int a,int b,int c,int d)
{
    return c;
}
int funC(int a,int b,int c,int d)
{
    return a+d;
}
int funD(int a,int b,int c,int d)
{
    return funB(a,b,c,d);
}
int main()
{
    char ch;
    if(funA(1,0,0,0)+funB(1,0,0,0)+funC(1,0,0,0)+funD(1,0,0,0)==2)
        ch = 'a';
    else if(funA(0,1,0,0)+funB(0,1,0,0)+funC(0,1,0,0)+funD(0,1,0,0)==2)
        ch = 'b';
    else if(funA(0,0,1,0)+funB(0,0,1,0)+funC(0,0,1,0)+funD(0,0,1,0)==2)
        ch = 'c';
    else if(funA(0,0,0,1)+funB(0,0,0,1)+funC(0,0,0,1)+funD(0,0,0,1)==2)
        ch = 'd';
    printf("The criminal is %c.",ch);
    return 0;
}

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
1. jboss各主要版本特性 3 1.1. jboss4特性 3 1.2. jboss5特性 5 1.3. jboss6特性 6 1.4. jboss7特性 7 2. 为什么JBoss AS7 这么快 8 3. JBoss AS7中的新概念-域 10 3.1. 域(Domain)的概念及其与群集(Cluster)的区别 10 3.2. 实验 11 1.1.1. 准备工作 11 1.1.2. 配置 12 3.2.1.1. Master上面的配置 14 3.2.1.1.1. domain.xml 14 3.2.1.1.2. host.xml 15 3.2.1.2. Slave上面的配置 16 3.2.1.2.1. domain.xml 16 3.2.1.2.2. host.xml 16 3.3. AS 7.1的安全补充说明 17 3.4. 部署 20 3.5. 小结 25 4. JBoss7配置 26 4.1. 目标听众 26 4.1.1. 开始之前 26 4.1.2. 手册中的示例 26 4.2. 客户端 26 4.2.1. web接口 26 4.2.1.1. HTTP管理接入点 26 4.2.1.2. 访问管理控制台 27 4.2.1.3. 对管理控制台进行加密 27 4.2.2. 命令行接口 27 4.2.2.1. Native管理接入点 28 4.2.2.2. 运行命令行管理工具 28 4.2.2.3. 管理求 29 4.2.2.3.1. 管理资源的地址 30 4.2.2.3.2. 操作类型和操作描述列表 30 4.2.2.4. 命令行历史信息 32 4.2.2.5. 批处理 32 4.2.3. 配置文件 33 4.3. 核心管理概念 34 4.3.1. 运行模式 34 4.3.1.1. 单服务器模式 34 4.3.1.2. 管理域 34 4.3.1.2.1. Host(主机) 35 4.3.1.2.2. 主机控制器(HostController) 35 4.3.1.2.3. Domain Controller(域控制器) 36 4.3.1.2.4. Server Group (服务器组) 37 4.3.1.2.5. Server (服务器) 38 4.3.1.3. 决定运行在单独服务器或者管理域上 38 4.3.2. 通用的配置概念 39 4.3.2.1. Extensions (扩展) 39 4.3.2.2. Profile和subsystem(子系统 ) 40 4.3.2.3. Paths( 路径) 40 4.3.2.4. nterfaces (接口) 42 4.3.2.5. socket binding(socket绑定)和socket binding group(socket绑定组) 43 4.3.2.6. System Properties( 系统属性) 43 4.3.3. Management resources( 管理资源) 44 4.3.3.1. Address (地址) 44 4.3.3.2. operations( 操作) 45 4.3.3.3. Attributes( 属性) 47 4.3.3.4. Children(子节点) 49 4.3.3.5. Descriptions(描述) 51 4.3.3.6. 和JMX Beans相比 53 4.3.3.7. 管理资源树的基本结构(management resource trees) 53 4.3.3.7.1. 单服务器模式(Standalone server) 53 4.3.3.7.2. 管理域模式 (managed domain) 54 4.4. 管理任务 56 4.4.1. 网络接口和端口 56 4.4.1.1. 网络接口声明 56 4.4.1.2. Socket Binding Groups 58 4.4.2. 管理接口的安全性 59 4.4.2.1. 初始化设置 60 4.4.2.2. 快速配置 61 4.4.2.3. 详细配置 63 4.4.2.3.1. 管理接口 63 4.4.2.3.2. 安全域 64 4.4.2.3.3. Outbound connections(外部连接) 68 4.4.2.4. 问题 68 4.4.3. JVM设置 68 4.4.3.1. 管理域 69 4.4.3.2. 单独运行服务器 70 4.4.4. 命令行参数 70 4.4.4.1. 系统属性 71 4.4.4.2. 单独运行模式( Standalone) 71 4.4.4.3. 管理域模式 (Managed Domain) 72 4.4.4.4. 其他命令行参数 72 4.4.4.4.1. 单服务器模式( Standalone) 73 4.4.4.4.
Table of Contents Preface 1 Chapter 1: Getting Started with WordPress and e-Commerce 7 Why WordPress 8 WordPress is free (as in money) 8 WordPress is free (as in speech) 8 WordPress is widely used 9 WordPress is flexible and extensible 9 About the WP e-Commerce plugin 9 Site and business possibilities 10 Photography shop 10 Music shop with digital downloads 11 Clothing shop 12 Accessory shop 14 WP e-Commerce feature overview 15 Organization and layout 16 Products and merchandising 17 Checkout and payments 18 Marketing tools 20 Test platform 20 Summary 21 Chapter 2: Getting Ready to Sell 23 Installing the WP e-Commerce plugin 23 Installing from the WordPress Dashboard 24 Manual installation 25 Plugin activation 26 Installing third-party themes 26 Installing themes through the WordPress Dashboard 27 Uploading themes via FTP 28 Download at Wow! eBook WWW.WOWEBOOK.COM Table of Contents [ ii ] Activating third-party themes 29 Enabling and disabling comments 31 Disabling comments globally 32 Disabling comments on individual posts and pages 33 Removing comment traces from your theme 33 Setting up a static front page 36 Using widgets 37 Creating text widgets 39 Complementary plugins 41 Akismet 41 All in One SEO Pack 42 Google XML Sitemaps 42 WP-DB-Backup 43 WP-Polls 44 Adding a contact form 45 WordPress SpamFree contact form 45 Contact Form 7 46 cforms II 46 Adding a business blog 46 Summary 48 Chapter 3: Configure Your e-Commerce Settings 49 General Settings 50 Base Country/Region, Tax Settings, and Language 50 Default language 51 Currency Settings 52 Presentation Settings 52 Button Settings 53 Product Settings 54 Product Page Settings 56 Shopping Cart Settings 60 Cart Location 61 Use Sliding Cart 62 Display "+ Postage & Tax" 62 Product Group Settings 63 Show Product Group Description 63 Show Product Group Thumbnails 64 Show Product Count per Product Group 64 Thumbnail Settings 64 Pagination settings 65 Comment Settings 66 Admin Settings 66 Digital downloads 67 Download at Wow! eBook WWW.WOWEBOOK.COM Table of Contents [ iii ] Purchases 68 E-mail settings 70 URL Settings 72 Checkout settings 72 Summary 73 Chapter 4: Managing Your Product Catalog 75 Creating new products 76 Creating a new physical product 76 Creating a new digital product 79 Groups, categories, and tags 80 Groups and categories 81 Deleting categories and groups 85 Product Categories widget 86 Tags 87 Price and Stock Control 88 Variations 89 Advanced Options 92 Custom Meta 93 Merchant Notes 93 Personalisation Options 93 Summary 94 Chapter 5: User Accounts: Customers and Staff 95 Enabling user registrations 96 Understanding WordPress roles 97 Administrator 97 Editor 97 Author 98 Contributor 98 Subscriber 98 Staff accounts 98 Creating staff users 99 Manual registration 99 Self-registration 100 Customer accounts 101 Creating a test customer account 103 Dealing with the WordPress Dashboard 104 Redirect customer logins with 'Peter's Login Redirect' 104 Dominate logins with 'Theme My Login' 106 Purchase history 109 Summary 110 Download at Wow! eBook WWW.WOWEBOOK.COM Table of Contents [ iv ] Chapter 6: Checkout and Payment Setup 113 Planning the checkout process 114 Payment gateway versus merchant account 114 Integration and checkout seamlessness 115 Available payment gateways 116 Chronopay 117 Google Checkout 118 Manual Payment / Test Gateway 119 PayPal Payments Standard 120 PayPal Express Checkout 121 PayPal Payments Pro 121 Authorize.net 121 Setting up PayPal Standard 122 Playing in the sandbox 123 WP e-Commerce Payment settings 124 Setting up IPN 125 Set up Auto Return 127 The test transaction 128 Setting up Google Checkout 129 Playing in Google's sandbox 131 WP e-Commerce Payment settings 133 Google integration settings 134 The test transaction 135 Summary 137 Chapter 7: Shipping, Taxes, and Processing Orders 139 Locations and tax setup 140 Shipping Options and Calculators 141 General Shipping Settings 142 Shipping Modules 143 Flat Rate 144 Table Rate 146 Weight Rate 147 Using an external Shipping Calculator 149 UPS Calculator 149 USPS Calculator 150 Processing a test order 152 E-mails sent to the customer 154 E-mails sent to you 155 Sales log 156 Summary 157 Download at Wow! eBook WWW.WOWEBOOK.COM Table of Contents [ v ] Chapter 8: Themes and Design Elements 159 WP e-Commerce included widgets 159 Latest Products widget 160 Price Range widget 161 Product Donations widget 161 Product Tags widget 162 Product Categories widget 163 Product Specials widget 164 Shopping Cart widget 164 Shortcode and PHP tags 164 Display default products 165 Display shopping cart 165 List categories 166 Display products from a specific group 166 Add to Cart / Buy Now 166 WP e-Commerce theme engine 168 Creating a new e-Commerce theme 169 Tweaking your WordPress theme 170 CSS basics 171 CSS selectors 172 Class and ID selectors 174 CSS properties and values 175 Changing the header image 177 Replacing the theme fonts 179 Changing the theme colors 181 Additional CSS tutorials 182 Additional WP e-Commerce themes 182 WP e-Commerce tips 182 Change the appearance of the shopping cart widget 183 Use a custom Add to Cart image 184 Remove the sidebar Google Checkout button 186 Summary 187 Chapter 9: Deploy, Secure, and Maintain Your Shop 189 Getting ready to deploy 189 Necessary WordPress adjustments 190 Your WordPress database 191 Database export via phpMyAdmin 191 Database export via command line 194 Hosting and domain names 194 Download at Wow! eBook WWW.WOWEBOOK.COM Table of Contents [ vi ] Uploading your shop 196 Setting up a new database 196 Importing your WordPress database 197 Uploading your WordPress files 198 Editing your WordPress config file 199 Man the hatches—essential site security 200 User passwords 200 Rename or replace the admin user 201 WordPress and plugin updates 203 SSL for Dashboard login 203 Eliminate directory browsing 204 Backups—preparing for disasters 205 Database backup and restoration 205 Server data backup and restoration 206 Summary 208 Chapter 10: Alternative e-Commerce Plugins 209 YAK (Yet Another Kart) 210 What YAK offers 210 Basic YAK setup and usage 210 Adding a new product with YAK 212 eShop 214 What eShop offers 214 Basic eShop setup and usage 215 Adding a new product with eShop 216 Shopp 218 What Shopp offers 218 WordPress Simple PayPal Shopping Cart 218 What WordPress Simple PayPal Shopping Cart offers 219 Basic WordPress Simple PayPal Shopping Cart setup and usage 219 Adding a new product with WPSPSC 221 Market Theme 222 What the Market Theme offers 223 Summary 223 Chapter 11: Marketing Your Shop 225 Coupons and discounts 226 Cross sales 230 'Share This' plugin 231 Purchasing advertising 232 Google AdWords 232 Microsoft adCenter 234 Download at Wow! eBook WWW.WOWEBOOK.COM Table of Contents [ vii ] E-mail, newsletters, and blogging 235 E-mail/newsletters 235 Option 1: Spreadsheet only 235 Option 2: Find a plugin for WordPress 237 Option 3: A third-party service 237 Business blogging 238 Summary 238 Appendix A: Gold Cart Module Extendibility 241 Purchasing and installing the Gold Cart module 242 Installing the Gold Cart files 243 Grid View 246 Multiple image upload 246 Product search option 247 Additional payment gateways 248 DropShop and other modules 248 Summary 249 Appendix B: Setting Up a WAMP Testing Platform 251 Download and install WampServer 252 Overview and configuration 254 Enable the rewrite module 254 Running a test server 255 Install WordPress 256 Summary 257 Index 259
1 2/3维图像分割工具箱 2 PSORT粒子群优化工具箱 3 matlab计量工具箱Lesage 4 MatCont7p1 5 matlab模糊逻辑工具箱函数 6 医学图像处理工具箱 7 人工蜂群工具箱 8 MPT3安装包 9 drEEM toolbox 10 DOMFluor Toolbox v1.7 11 Matlab数学建模工具箱 12 马尔可夫决策过程(MDP)工具箱MDPtoolbox 13 国立SVM工具箱 14 模式识别与机器学习工具箱 15 ttsbox1.1语音合成工具箱 16 分数阶傅里叶变换的程序FRFT 17 魔方模拟器与规划求解 18 隐马尔可夫模型工具箱 HMM 19 图理论工具箱GrTheory 20 自由曲线拟合工具箱ezyfit 21 分形维数计算工具箱FracLab 2.2 22 For-Each 23 PlotPub 24 Sheffield大学最新遗传算法工具箱 25 Camera Calibration 像机标定工具箱 26 Qhull(二维三维三角分解、泰森图)凸包工具箱 2019版 27 jplv7 28 MatlabFns 29 张量工具箱Tensor Toolbox 30 海洋要素计算工具箱seawater 31 地图工具箱m_map 32 othercolor配色工具包 33 Matlab数学建模工具箱 34 元胞自动机 35 量子波函数演示工具箱 36 图像局域特征匹配工具箱 37 图像分割graphcut工具箱 38 NSGA-II工具箱 39 chinamap中国地图数据工具箱(大陆地区) 40 2D GaussFit高斯拟合工具箱 41 dijkstra最小成本路径算法 42 多维数据快速矩阵乘法 43 约束粒子群优化算法 44 脑MRI肿瘤的检测与分类 45 Matlab数值分析算法程序 46 matlab车牌识别完整程序 47 机器人工具箱robot-10.3.1 48 cvx凸优化处理工具箱 49 hctsa时间序列分析工具箱 50 神经科学工具箱Psychtoolbox-3-PTB 51 地震数据处理工具CREWES1990版 52 经济最优化工具箱CompEcon 53 基于约束的重构分析工具箱Cobratoolbox 54 Schwarz-Christoffel Toolbox 55 Gibbs-SeaWater (GSW)海洋学工具箱 56 光声仿真工具箱K-Wave-toolbox-1.2.1 57 语音处理工具箱Sap-Voicebox 58 贝叶斯网工具箱Bayes Net Toolbox(BNT) 59 计算机视觉工具箱VFfeat-0.9.21 60 全向相机校准工具箱OCamCalib_v3.0 61 心理物理学数据分析工具箱Palamedes1_10_3 62 生理学研究工具箱EEGLAB 63 磁共振成像处理工具箱CONN 18b 64 matlab 复杂网络工具箱 65 聚类分析工具箱FuzzyClusteringToolbox 66 遗传规划matlab工具箱 67 粒子群优化工具箱 68 数字图像处理工具箱DIPUM Toolbax V1.1.3 69 遗传算法工具箱 70 鱼群算法工具箱OptimizedAFSAr 71 蚁群算法工具箱 72 matlab优化工具箱 73 数据包络分析工具箱 74 图像分割质量评估工具包 75 相关向量机工具箱 76 音频处理工具箱 77 nurbs工具箱 78 Nurbs-surface工具箱 79 grabit数据提取工具箱 80 量子信息工具箱QLib 81 DYNAMO工具箱 82 NEDC循环的整车油耗量 83 PlotHub工具箱 84 MvCAT_Ver02.01 85 Regularization Tools Version 4.1 86 MatrixVB 4.5(含注册) 87 空间几何工具箱 matGeom-1.2.2 88 大数计算工具箱 VariablePrecisionIntegers 89 晶体织构分析工具包 mtex-5.7.0 90 Minimal Paths 2工具箱 91 Matlab数学建模工具箱
1. 使用CPU 315F和ET 200S时应如何避免出现“通讯故障”消息? 4 2. 当DP从站不可用时,PROFIBUS上S7-300 CPU的监控时间是多少? 4 3. 如何判断电源或缓冲区出错,如:电池故障? 4 4. 为S7 CPU上的I/O模块(集中式或者分布式的)分配地址时应当注意哪些问题? 4 5. 在S7 CPU中如何进行全局数据的基本通讯?在通讯时需要注意什么? 4 6. 可以将S7-400存储卡用于CPU 318-2DP吗? 4 7. 尽管LED灯亮,为什么CPU 31xC不能从缺省地址 124 和 125 读取完整输入? 4 8. 配置CPU 31x-2 PN/DP的PN接口时,当PROFINET接口偶尔发生通信错误时,该如何处理? 4 9. 在硬件配置编辑器中,“时钟”修正因子有什么含义呢? 5 10. 如何通过PROFIBUS DP用功能块实现在主、从站之间实现双向数据传送? 5 11. 可以从S7 CPU中读出哪些标识数据? 5 12. 在含有CPU 317-2PN/DP的S7-300上,如何编程可加载通讯功能块FB14("GET")和FB15("PUT")用于数据交换? 5 13. 对于紧凑CPU 313C-2 PtP和CPU 314-2 PtP作业同步处理需要注意什么? 5 14. 可以将MICROMASTER 420到440作为组态轴(位置外部检测)和CPU 317T一起运行吗? 5 15. 如何在已配置为DP从站的两个CPU模块间组态直接数据交换(节点间通信)? 5 16. 如何使用SFC65,SFC66,SFC67 和 SFC68 进行通信? 5 17. 什么是自由分配 I/O 地址? 6 18. 诊断缓冲器能够干什么? 6 19. 诊断缓冲器中的条目包括哪些? 6 20. 如何确定MMC的大小以便完整地存储STEP 7项目? 6 21. CPU全面复位后哪些设置会保留下来? 6 22. 为什么不能通过MPI在线访问CPU? 6 23. 错误OB的用途是什么? 7 24. 在DP从站或CPU315-2DP型主站里应该编程哪些“故障 OBs”? 8 25. 为什么在某些情况下,保留区会被重? 8 26. 为何不能把闪存卡的内容加载入S7 300 CPU? 8 27. 当把 CPU315-2DP 作为从站,把 CPU315-2DP 作为主站时的诊断地址 8 28. 需要为S7-300 CPU的DP从站接口作何种设置,才可以使用它来进行路由选择? 9 29. 为什么当使用S7-300 CPU的内部运行时间表时,没有任何返回值? 9 30. 变量是如何储存在临时局部数据中的? 9 31. 进行I/O的直接访问时,必须注意什么? 9 32. SM321模块是否需要连接到 DC 24V 上? 9 33. 在 STEP 7 硬件组态中如何规划模拟模块 SM374?在硬件目录中如何找到此模块? 9 34. 当测量电流时,出现传感器短路的情况,模块6ES7 331-1KF0.-0AB0的模拟量输入I+是否会被破坏? 10 35. 如果切断CPU,则 2 线制测量变送器是否继续供电? 10 36. 用S7-300模拟量输入模块测量温度(华氏)时,可以使用模块说明文档中列出的绝对误差极限吗? 10 37. 为什么用商用数字万用表在模拟输入块上不能读出用于读取阻抗的恒定电流? 10 38. 为什么S7-300 模拟输出组的电压输出超出容差?端子S+和S-作何用途? 10 39. 如何连接一个电位计到6ES7 331-1KF0-0AB0? 11 40. 如何把一个PT100温度传感器连接到模拟输入模块SM331? 11 41. 可以将 HART 测量转换器连接到 SIMATIC S7-300 系列常规的模拟输入模块吗? 12 42. 为什么在FM350-1中选24V编码器,启动以后,SF灯常亮,FM350-1不能工作? 12 43. FM350-1的锁存功能是否能产生过程中断? 12 44. 在FM350-1中,怎样触发一个比较器输出? 12 45. 在FM350-2中,工作号的作用是什么? 12 46. 如果对于4-20 mA模拟量输入模块来说,小于4 mA后转换的数字量是多少? 12 47. 怎样对模拟量进行标准化和非标准化? 13 48. S7系列PLC之间最经济的通讯方式是什么? 13 49. 整个系统掉电后,为什么CPU在电源恢复后仍保持在停止状态? 13 50. 在点到点通信中,协议 3964(R)和RK 512 之间的区别是什么? 13 51. 当一个DP从站出故障,如何在输入的过程映像被清成“0”以前保存它们? 13 52. 加密的300PLC MMC处理方法 13 53. 以314C为例计数时如何清计数器值? 14 54. CP342-5能否用于PROFIBUS FMS协议通讯? 14 55. 为什么CP342-5 FO无法建立通讯?如何配置? 14 56. CP342-5的3中工作方式有什么区别? 14 57. CP342-5 最多能完成多少数据交换? 14 58. 如何实现在从站断电、通讯失败或从站通讯口损坏等现象出现时,主站能够不停机? 14 59. CP342-5连接上位机软件或操作面板时应该选择什么工作模式? 15 60. 为什么系统上电后,即使CP342-5开关已经拨至Run,但始终处于STOP状态? 15 61. 如何用CP342-5组态PROFIBUS从站? 15 62. 如何用CP342-5组态PROFIBUS主站? 15 63. 采用CP342-5的DP通讯口与采用CPU集成的DP通讯口进行通讯有什么不同,这两种通讯口功能有什么不同? 15 64. 功能块DP_SEND、DP_RECV"的返回值代表什么意思,如何理解? 16 65. DP从站,CP模板以及CPU之间的数据通讯过程是如何进行的? 16 66. 通过CP342-5,如何实现对PROFIBUS网络和站点的诊断功能? 16 67. 为什么当CP342-5模块作为PROFIBUS DP主站,而ET200(如IM151-1或IM153-2)作为从站时,CP342-5上的SF等不停闪烁? 16 68. 在STEP7中打开一些对象时出错是什么原因? 16 69. 如果想通过上位或触摸屏对PLC中S5TIME类型的参数进行设定,有什么方法? 17 70. STEP 7中相关时间处理和转换的功能块有哪些? 17 71. 如何实现带电拔出或插入模板,即热插拔功能? 18 72. 我如何做到对自己的程序块进行加密保护? 19 73. 我如何做到对自己的程序块进行jie密? 19 74. 如何判断电源出错,如:电池故障? 19 75. 如何诊断模拟量模板? 19 76. 对于小功率输入的触发器,如何避免线路损坏? 20 77. 如何为S7 318-2 CPU进行操作系统更新? 20 78. 模拟量模板的信号转换时间如何计算? 20 79. 是否可能在两个DP从站之间运行一个DP网络? 21 80. 对于有些模拟量输入模板你可以使用STEP 7 设定模拟值的平滑指数,它能起到什么作用? 21 81. 模拟信号电缆应该单端接地还是2端接地? 21 82. 模拟量信号为:7FFFH,是什么原因? 21 83. 防止静电放电危险一般有哪些措施? 21 84. 应用软件冗余当一个长度错误出现导致CPU处于STOP模式应该作些什么? 22 85. 在S7程序中,有许多FC、FB块, 我怎样对其中的一些块进行保护, 而其它的块可以是开放的呢? 22 86. SFB41,SFB42,SFB43和FB41,FB42,FB43的区别? 22 87. 如何在多例兼容功能块中找到变量地址? 23 88. 怎样才能访问上一函数的本地数据? 23 89. 怎样在DB内进行间接寻址? 23 90. 下面是一个在STEP7软件中实现简单指针寻址的例子程序,您可以参考它的结构实现您的指针寻址功能? 24 91. 绝对地址和符号寻址的定义和区别是什么? 24 92. S7-300/400系统存储区域共有多少种? 24 93. 如何把一个DATE_AND_TIME变量转换为STRING变量? 25

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值