HIMA学习笔记
- Configuation——Edit Bus中CU:Central Module,1 left CU,2 =Right CU; CM:Coprocessor Module,1~3=First to Third CM according to slot next to the CU
- Resourse Properties
- I/O parameter:
Noise Blanking:
|
1 |
2 |
3 |
Cycle time |
100 ms |
200 ms |
200 ms |
Watchdog time |
300 ms |
500 ms |
500 ms |
Safty time |
1 s |
2 s |
1 s |
Max. number of blanking cycles |
1 |
2 |
0* |
- BUSCOM:
Export:
Here are the basic addresses starting from which a MODBUS master can export variables of the PES with function code 1 (digital (bool)) or 3 (analog (word)).
Import:
Here are the basic addresses starting from which a MODBUS master can import variables of the PES with function codes 5 and 15 (digital (bool)) or 6 and 16 (analog (word)).
Export/Import:
Some control systems are unusual in that they immediately re-export the variables that they import. They only change the function code without changing the basic address, so a separate memory area must be reserved for write/read accesses of this type.
Note:
For H41q/H51q systems the valid address range for BUSCOM is 0 to 2048 and 4096 to 8192.
- 长距离输送管道:
H41q-HRS:
机架B4237-2:H41q-HRS,冗余总线,冗余CPU,SIL3认证;
尺寸:高222mm*深248mm,前端接线臂40mm;
机架后面模块:
-
- 2*Z6011:电源保险和去耦
- 1*Z6018:风扇监控和保险
- 2*Z6013:WD信号电源保险和去耦
- 1*Z6007:跳线
包括以下模块:
-
- 2*F8652X:CU模块
- 2*F7130A:电源模块,24V/5V DC
可选模块:
-
- 2*F8621A:协处理模块
- 2*通讯模块:F8627X(Ethernet)或F8628X(Profibus DP)
- 最多13个IO模块(H41-HRS/B4237-2:7个IO To CU1,6个IO To CU2)
Note:
Operating system/resource type in ELOP II
The assembly kit is usable since operating system BS41q/51q V7.0-8.
Resource type in ELOP II: H41qce-HS/H41qce-HRS.
接线:
XG.24/25:2(L+)
XG.24/25:2(L-)
XG.14:(L-)
XG.6:(L+)
- max. length I/O bus: 12 m
max. length cable BV 7032: 5 m
cable BV 7032 between subracks: max. 0.5 m
- 程序下载:
- Configuration——属性——Busses——Add,添加总线,输入总线名字,选择类型Type——HIBUS;
- 编辑所创建的总线,选中——Edit,添加Station,添加PC,类型PADC,注意BSN选择31,添加以Resause命名的Station,类型Slave,BSN为CU的拨码开关的设定值。
- Resource——属性——PADT(PC),选择通讯类型:Ethernet或Serial,选择串口时,
选择Ethernet时:
-
- Resource——右键——Code Generator,生成代码(编译)
- Resource——右键——Control Panel,选择Download/Reload下载程序。
- Resource——属性——BUSCOM,设定存储空间(Export、Import、Export/Import:只读、只写、可读可写):起始地址
- Resource类型选择H41q——H41qce(两个CU),若选择H41qce-HRS,系统可能会运行一段时间出现IO故障或CU由冗余变为单机运行,Hardware换成H41qce-HS即可解决问题。(样机的CU是F8652E,只能是HS)
- System Variables:
- I/O Error(BOOL):This system variable is TRUE when the operating system has detected one or more testable I/O modules as faulty. Use this system variable to display an I/O error。
- SYSTEM.Single-channel(BOOL): This system variable is TRUE when one central module has failed in a system with two central modules.
- SYSTEM.normal(BOOL): This system variable is TRUE when no errors are present in the system. Use this system variable for a general status display of the system.
- The resource name must have eight characters and the last two characters (Res-ID) must be numbers!
The ID (DIP switches 1 to 7) of the F 865x and the RES-ID of the resource name must be
equal.
The ID_IP (DIP switch) on the communication module must be activated!
- Information to be Called during RUN Operation (The “CPU” and “IO” LEDs are not lighting up).
- Errors in the Central Area (“CPU” LED lights up)
- Errors in the IO Area (“IO” LED lights up)
- H41q之间或H51q之间通信:
每一Project(工程)需做如下配置
-
- 添加Master及Slave,Configuration ——右键——属性:
- 添加Master及Slave,Configuration ——右键——属性:
Busess中添加一个HIBUS,Edith所添加的HIBUS:
添加需要进行通信的Station (resource和 MASTER)。Type分别为ELOP Slave和PES master,BSN分别为Resource的BSN。
-
- 配置每个工程的HIPRO-S:Resource——右键属性:
,点击HIPRO-S,然后点击Add 添加Resource:
,其中,Resource为需要进行通信的Partner,PES master为创建Master。
- 添加变量,Variable Declaration中添加通信的变量,
- 配置每个工程的HIPRO-S:Resource——右键属性:
点击HIPRO-N/S,确定变量是Export还是Import。
两个工程中需做相同的配置,通信的变量名称要一致。
- F8627 拨码开关推荐设置(红色框内):