Project

General

Profile

Feature #220

株洲PaPisCCTV接口协议开发

Added by yufeng wu over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
-
Start date:
08/03/2019
Due date:
08/03/2019
% Done:

0%

Estimated time:
Defect version:

Description

20190802与接口厂家调整确定的协议接口文本
ftp服务器上位置 /upload/株洲无人驾驶仿真/接口

株洲无人驾驶ISCS仿真实验室建设
modbus_pisZhu.dll
0x10功能码控制包总长158+13=171bytes
ehgraph界面脚本配置函数void cctv (int RtuNo, int Func, int Val, int Cam, int Mon, int Line, int Sta, int Mult, int Win, int Wall, int Task, int Res)
ehgraph界面脚本配置函数说明:
cctv(rtuno,0,0,camID对应code,cctv4L对应监视器code,0,sta,0,0,paID,pisID,0)
举例:
cctv(1,席位id,0,"MLL_C_1_ZT","MONITOR_01",0,1,0,0,3,4,0)//对车站控制
cctv(1,席位id,0,"MLL_C_1_ZT","MONITOR_02",0,0,0,0,3,4,0)//对车载控制
cctv设备对照表--翻译摄像头和监视器的对应值,监视作为轮询设置值
RTU配置的地址设置为2
席位id==1-5
camID==0不设置,1-4车载,5-8车站
cctv4L==0不设置,1单画面轮播,24轮播
sta==0车载,1车站
paID==0不设置,255复位,紧急广播id=1-10
pisID==0不设置,255复位,紧急pis预录id=1-99

CCTV设备对照表中
MONITOR_03==1
MONITOR_03==255
MLL_C_1_ZT==6
MLL_C_2_ZT==4
界面脚本发
cctv(1,2,0,"MLL_C_1_ZT","MONITOR_01",0,1,0,0,3,4,0)
对应规约发
Tx:3C 24 00 00 00 A5 01 10 00 00 00 4F 9E 00 31 00 32 00 02 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
界面脚本发
cctv(1,3,0,"MLL_C_2_ZT","MONITOR_03",0,1,0,0,3,255,0)
对应规约发
Tx:3E 13 00 00 00 A5 01 10 00 00 00 4F 9E 00 31 00 32 00 03 00 00 00 00 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 FF 00 00 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

History

#1

Updated by yufeng wu over 5 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF