This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
EMS/3.Document/青海能高储能EMS工程/需更新的文件/更新说明.txt

36 lines
1.2 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

1、工控机
ctserver和modbusTCP主要更新驱动可能突发挂掉
ctserver更新到/home/ctstor路径
hiscurv.so更新到/home/plugin路径
modbusTCP直接放工程路径下载更新即可
工控机上更新需要注意:
手动更新操作步骤:
1、ctrl+alt+t打开命令终端
2、killall ctrun
3、killall ctrtdb
4、killall ctserver
5、插u盘
6、把要更新的程序拷贝到相应的路径
如果手动更新ctserver需要对文件进行授权chmod 777 /home/ctstor/ctserver
2、通信管理机
ctrtdb更新控制指令做了缓存
放update勾选更新主程序
3、对时的核对
linux常规操作
cd 路径 //进入目录;
ls //查看当前路径所包含的文件
ps -ef | grep 进程名 //查看进程是否在运行
chmod 777 文件名 //对文件赋执行权限
killall 进程名 //杀死进程,一般在手动调试的时候,需先将需要调试的进程关闭,然后手动运行;
gedit 文件名 //编辑文本
cp 文件 路径 //拷贝文件到路径
逻辑调试:
1、打印信息printf使用
2、延时调试的时候延时尽量拉长