-
-
紫茎泽蓝 发表于 2008/7/30 9:52:35
加密指令,是用来防止程序被人看到用的。2楼 回复本楼
只要在程序头加一条这样的指令
FUN49
0
0
#????
三个参数前两个用0,第三个参数设置密码,编写完程序后下载到PLC里再断电上电就能对程序实现加密。
引用 紫茎泽蓝 2008/7/30 9:52:35 发表于2楼的内容
-
-
guochunyi 发表于 2008/7/30 17:46:07
加密指令,是用来防止程序被人看到用的。3楼 回复本楼
只要在程序头加一条这样的指令
FUN49
0000
0000
#????【?是数字0--9或字母A--F的任意数字和字母】原来的PLC密码是4位数,现在有的PLC已经是8位数了。
三个参数前两个用0,第三个参数就是设置的密码,编写完程序后下载到PLC里。点击编程软件工具栏右上角的那个加锁图标。会提示UM区读保护。断电后在接通电源就可以加密程序了。
引用 guochunyi 2008/7/30 17:46:07 发表于3楼的内容
-
引用 218hty 2008/7/31 19:46:28 发表于4楼的内容
-
-
comorg 发表于 2008/8/5 9:46:06
Variations:
Differentiated variant available.
Purpose:
FUN49 is used to control the following 4 operating parameters:
1. The battery check in system error checks. If FUN49 is executed and bit 00 of OPR1 is ON, the battery check will be excluded from system error checks when PLC power is turned ON.2. The initial operating mode. If FUN49 is executed and bit 01 of OPR1 is ON, the PLC will enter MONITOR mode when PLC power is turned ON (see Initial Operating Mode below).
3. The Force Status Hold Bit (SR 25211). If FUN49 is executed and bit 06 of OPR1 is ON, the Force Status Hold Bit (SR 25211) will be effective when PLC power is turned ON.
4. The I/O Status Hold Bit (SR 25212). If FUN49 is executed and bit 07 of OPR1 is ON, the I/O Status Hold Bit (SR 25212) will be effective when PLC power is turned ON.
Operand Data Areas:
OPR1 Parameters # nnnn or 0 (IR0)
OPR2 Online switch # nnnn or 0 (IR0)
OPR3 Password # nnnn or 0 (IR0)
Availability:
C200H, C200HS, C1000H, C2000H, CPM1, CPM2*-S*, CQM1, IDSC and C200HX Family.
甈roperty of Omron Corporation 1999-2001 All rights reserved.
引用 comorg 2008/8/5 9:46:06 发表于5楼的内容