Jump to content

DCAM005-006/DCAM005-006 Command设备指令

From Ning-IoT Wiki
Revision as of 02:00, 1 December 2026 by Admin (talk | contribs) (Import from ShowDoc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1.开启IO3 SOS
<VariCfgSec Action="DEVICE_SET">
<stAlarmIn >
<stAlarmInIO>
<AlarmIO_2 ucIOEnable="1" ucIONumber="0" ucIOLevel="1" ucIOFunc="10" usIOLast="30" />
<
</stAlarmInIO>
</stAlarmIn></VariCfgSec>

<br/>

2.打开CANBUS功能
<VariCfgSec Action="DEVICE_SET"><stSerial>
<stSerialChnPara>
<SerialChn_0 ucFD_DataMode="53" uiBaudRate="9600" ucDataBit="8" ucParity="0" ucStopBit="1" ucCount="2" />
<SerialChn_1 ucFD_DataMode="1" uiBaudRate="2400" ucDataBit="8" ucParity="0" ucStopBit="1" ucCount="2" />
</stSerialChnPara>
</stSerial>
</VariCfgSec>

<br/>

3.打开RFID
<VariCfgSec Action="DEVICE_SET"><stSerial><stSerialChnPara><SerialChn_0 ucFD_DataMode="4" uiBaudRate="9600"/></stSerialChnPara></stSerial></VariCfgSec>

<br/>

4.打开温度传感器
<VariCfgSec Action="DEVICE_SET"><stSerial><stSerialChnPara><SerialChn_0 ucFD_DataMode="2"/></stSerialChnPara></stSerial></VariCfgSec>

<br/>

5.打开UL212-RS232油感(<font color="#FF0000">注意 CMSV6 后台需要开启设备接油感的功能</font>)

  • UL212-RS232, 协议 <font color="#FF0000">12</font>, 波特率<font color="#FF0000">9600</font>, 地址位1

<VariCfgSec Action="DEVICE_SET"><stSerial><stSerialChnPara><SerialChn_0 ucFD_DataMode="4" uiBaudRate="9600"/></stSerialChnPara></stSerial></VariCfgSec>

<br/>

  • UL212-RS232, 协议 <font color="#FF0000">16</font>, 波特率<font color="#FF0000">19200</font>, 地址位1

<VariCfgSec Action="DEVICE_SET"><stSerial><stSerialChnPara><SerialChn_0 ucFD_DataMode="4" uiBaudRate="19200"/></stSerialChnPara></stSerial></VariCfgSec>

<br/>

6.打开3路和4路摄像头
<VariCfgSec Action="DEVICE_SET"><stMainStream ucFD_ExternalAHD="1" ></stMainStream></VariCfgSec>

或者是
<VariCfgSec Action="DEVICE_SET"><stMainStream><stVideoPara><VChn_0 uiFD_DisableVideo="0"/><VChn_1 uiFD_DisableVideo="0"/><VChn_2 uiFD_DisableVideo="0"/><VChn_3 uiFD_DisableVideo="0"/></stVideoPara></stMainStream></VariCfgSec>
<br/>


7.关闭3路和4路摄像头
<VariCfgSec Action="DEVICE_SET"><stMainStream ucFD_ExternalAHD="0" ></stMainStream></VariCfgSec>

<br/>



8.联动IO3上传录像 Gsensor上传录像
<VariCfgSec Action="DEVICE_SET">
<stAlarmLinkage><stAlarmLinkageItem>
<AlarmLinkageItem_2 usAlarmRecordCh="15" usAlarmSendCh="15"></AlarmLinkageItem_2>
<AlarmLinkageItem_31 usAlarmRecordCh="15" usAlarmSendCh="15"></AlarmLinkageItem_31>
</stAlarmLinkageItem>
</stAlarmLinkage></VariCfgSec>

<br/>

9.打开通道编码

<VariCfgSec Action="DEVICE_SET"><stMainStream ><stVideoPara><VChn_0 uiFD_DisableVideo="0"/><VChn_1 uiFD_DisableVideo="0"/><VChn_2 uiFD_DisableVideo="0"/><VChn_3 uiFD_DisableVideo="0"/></stVideoPara></stMainStream></VariCfgSec>
<br/>
DisableVideo="1"是关闭通道编码,DisableVideo="0"是开启通道编码
<br/>
<VChn_0 uiFD_DisableVideo="0"/>表示打开第1路摄像头
<VChn_1 uiFD_DisableVideo="0"/>表示打开第2路摄像头
<VChn_2 uiFD_DisableVideo="0"/>表示打开第3路摄像头
<VChn_3 uiFD_DisableVideo="0"/>表示打开第4路摄像头

<br/>



10.WEB重置密码 Adm_123

<VariCfgSec Action="DEVICE_SET"><stUserSec><stCustomUser><USER_0 strFD_UserPWD="53b3bf700d36858c60a8c4ef15210466dd1bb3af8045b493d920f59e65c64e42" /></stCustomUser></stUserSec></VariCfgSec>
<br/>



11.修改波特率为115200,对接GS501

<VariCfgSec Action="DEVICE_SET"><stSerial><stSerialChnPara><SerialChn_0 ucFD_DataMode="17" uiBaudRate="115200" /></stSerialChnPara></stSerial></VariCfgSec>
<br/>



12.关闭人脸识别

<VariCfgSec Action="DEVICE_SET"><stNetWorkMode usFD_ExtFunBitFlag="0" ></VariCfgSec>
<br/>
usFD_ExtFunBitFlag="2"则是打开人脸识别
<br/>



13.设置卡SD2为子码流录像(解决报警录像上传服务器问题)

<VariCfgSec Action="DEVICE_SET"><stRecord ucFD_SDUsage="3"/></VariCfgSec>