Commit 7cc9194a LN

配置修改

1 个父辈 4925708c
......@@ -39,7 +39,7 @@
<!--流水线监听端口-->
<add key="TCPServerPort" value="5246" />
<!--AGV调度服务器地址-->
<add key="AgvServerIp" value="10.85.160.20" />
<add key="AgvServerIp" value="10.85.199.20" />
<!--IO配置-->
<add key="DIMS" value="60" />
<add key="DOMS" value="300" />
......@@ -50,7 +50,7 @@
<add key="OpenRFIDWrite" value="1" />
<add key="DefaultPWD" value="123456" />
<!--当前调试的设备ID,分号分割-->
<add key="DebugDeviceId" value="302" />
<add key="DebugDeviceId" value="0" />
<add key="Server_Log_Open" value="0" />
<add key="CodeCount" value="3" />
<add key="DefaultTrayNum" value="0" />
......@@ -111,7 +111,4 @@
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<runtime>
<gcConcurrent enabled="false"/>
</runtime>
</configuration>
\ No newline at end of file
......@@ -9,8 +9,8 @@ PRO,0,上料流水线出口AGV小车站号名称,AgvOutName,C6,,,,,
,,,,,,,,,
AXIS,0,轴二提升上料轴,Batch_Axis,1,COM3,0,,,
PRO,0,提升上料轴上升待机点 P1,BatchAxisP1,6504500,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,-48000,,,,,
PRO,0,提升上料缓慢上升目标位置P3,BatchAxisP3,5914000,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,-54000,,,,,
PRO,0,提升上料缓慢上升目标位置P3,BatchAxisP3,5964000,,,,,
PRO,0,提升上料轴目标速度,BatchAxis_TargetSpeed,4000,,,,,
PRO,0,提升上料轴加速度,BatchAxis_AddSpeed,400,,,,,
PRO,0,提升上料轴减速度,BatchAxis_DelSpeed,400,,,,,
......@@ -25,7 +25,7 @@ PRO,0,提升上料轴高度转换系数(1mm对应的脉冲),Height_ChangeValue,11000,,,,,
AXIS,0,轴一移栽上下轴,UpDown_Axis,2,COM3,0,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,69200,,,,,
PRO,0,移栽上下轴P2移栽机构下降位置,UpDownP2List,0=69200;8=116000;48=29000;12=93000;16=86000;24=74000;32=53000;44=28000;56=11000,,,,,
PRO,0,移栽上下轴P3取料位置,UpDownAxisP3,281000,,,,,
PRO,0,移栽上下轴P3取料位置,UpDownAxisP3,280000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
PRO,0,移栽上下轴加速度,UpdownAxis_AddSpeed,400,,,,,
PRO,0,移栽上下轴减速度,UpdownAxis_DelSpeed,400,,,,,
......
......@@ -9,7 +9,7 @@ PRO,0,上料流水线出口AGV小车站号名称,AgvOutName,C4,,,,,
,,,,,,,,,
AXIS,0,轴二提升上料轴,Batch_Axis,3,COM3,0,,,
PRO,0,提升上料轴上升待机点 P1,BatchAxisP1,6515100,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,-35000,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,-50000,,,,,
PRO,0,提升上料缓慢上升目标位置P3,BatchAxisP3,5926000,,,,,
PRO,0,提升上料轴目标速度,BatchAxis_TargetSpeed,4000,,,,,
PRO,0,提升上料轴加速度,BatchAxis_AddSpeed,400,,,,,
......@@ -25,7 +25,7 @@ PRO,0,提升上料轴高度转换系数(1mm对应的脉冲),Height_ChangeValue,11000,,,,,
AXIS,0,轴一移栽上下轴,UpDown_Axis,4,COM3,0,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,82000,,,,,
PRO,0,移栽上下轴P2移栽机构下降位置,UpDownP2List,0=-25000;8=88000;48=-23150;12=61900;16=63500;24=34880;32=23300;44=-7700,,,,,
PRO,0,移栽上下轴P3取料位置,UpDownAxisP3,275000,,,,,
PRO,0,移栽上下轴P3取料位置,UpDownAxisP3,280000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
PRO,0,移栽上下轴加速度,UpdownAxis_AddSpeed,400,,,,,
PRO,0,移栽上下轴减速度,UpdownAxis_DelSpeed,400,,,,,
......
......@@ -9,8 +9,8 @@ PRO,0,上料流水线出口AGV小车站号名称,AgvOutName,C2,,,,,
,,,,,,,,,
AXIS,0,轴二提升上料轴,Batch_Axis,5,COM3,0,,,
PRO,0,提升上料轴上升待机点 P1,BatchAxisP1,6495000,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,0,,,,,
PRO,0,提升上料缓慢上升目标位置P3,BatchAxisP3,6007100,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,-1000,,,,,
PRO,0,提升上料缓慢上升目标位置P3,BatchAxisP3,5950000,,,,,
PRO,0,提升上料轴目标速度,BatchAxis_TargetSpeed,4000,,,,,
PRO,0,提升上料轴加速度,BatchAxis_AddSpeed,300,,,,,
PRO,0,提升上料轴减速度,BatchAxis_DelSpeed,300,,,,,
......
......@@ -9,7 +9,7 @@ PRO,0,上料流水线出口AGV小车站号名称,AgvOutName,C8,,,,,
,,,,,,,,,
AXIS,0,轴二提升上料轴,Batch_Axis,7,COM3,0,,,
PRO,0,提升上料轴上升待机点 P1,BatchAxisP1,6508000,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,-113800,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,-118000,,,,,
PRO,0,提升上料缓慢上升目标位置P3,BatchAxisP3,5573900,,,,,
PRO,0,提升上料轴目标速度,BatchAxis_TargetSpeed,4000,,,,,
PRO,0,提升上料轴加速度,BatchAxis_AddSpeed,400,,,,,
......
......@@ -6,7 +6,7 @@ PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,,,,
,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,15,COM3,0,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=203600;12=155000;16=150000;24=153000;32=129000;44=107000;56=95000,,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=203600;12=155000;16=153000;24=153000;32=129000;44=107000;56=95000,,,,,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=150000;8=150000;12=150000;16=150000;24=150000;32=140000;44=120000;56=100000,,,,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
......
......@@ -6,7 +6,7 @@ PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,2,,,,,
,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,16,COM3,0,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=189200;12=172000;16=165000;24=155000;32=133000;44=115000;56=90000,,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=189200;12=172000;16=168000;24=155000;32=133000;44=115000;56=90000,,,,,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=150000;8=150000;12=150000;16=150000;24=150000;32=140000;44=115000;56=80000,,,,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
......
......@@ -6,7 +6,7 @@ PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,,,,
,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,9,COM3,0,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=185000;12=183000;16=185000;24=176000;32=154000;44=134000;56=112000,,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=185000;12=185000;16=185000;24=176000;32=154000;44=134000;56=112000,,,,,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=150000;8=150000;12=150000;16=150000;24=150000;32=150000;44=115000;56=78000,,,,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
......@@ -18,4 +18,4 @@ PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,,,,
PRO,0,移栽上下轴走到待机点P1速度,UpdownAxis_P1Speed,1500,,,,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,1501,,,,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,1200,,,,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,0X0=8000;,,,,,
\ No newline at end of file
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,13X16=184000;15X16=183000;11X16=184500;7X16=185000,,,,,
......@@ -6,7 +6,7 @@ PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,2,,,,,
,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,10,COM3,0,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=80000;8=228000;12=228000;16=220000;24=206000;32=185000;44=160000;56=140000,,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=80000;8=228000;12=228000;16=224000;24=206000;32=185000;44=160000;56=140000,,,,,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=90000;8=160000;12=160000;16=160000;24=160000;32=160000;44=140000;56=110000,,,,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
......@@ -18,4 +18,4 @@ PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,,,,
PRO,0,移栽上下轴走到待机点P1速度,UpdownAxis_P1Speed,1500,,,,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,1501,,,,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,1200,,,,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,0X0=8000;,,,,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,7X8=228000;7X12=228000;7X16=224000;15X8=200000;15X12=200000;15X16=200000;15X24=170000;15X32=150000;15X44=140000;15X56=120000;13X12=220000;13X16=210000;13X24=200000;13X32=180000;13X44=150000;13X56=130000,,,,,
......@@ -345,7 +345,7 @@ namespace OnlineStore.DeviceLibrary
ConfigIO config = IOManager.GetDI(CheckDI, subType);
if (config.IO_IP.Equals(ioIP) && config.GetIOAddr().Equals(index))
{
LogUtil.info("收到DIChangeDelegate[" + ioIP + "][" + index + "][" + oldValue + "][" + newValue + "],更新CheckDIHigh=true ");
LogUtil.debug("收到DIChangeDelegate[" + ioIP + "][" + index + "][" + oldValue + "][" + newValue + "],更新CheckDIHigh=true ");
CheckDIHigh = true;
}
}
......
......@@ -328,7 +328,7 @@ namespace Asa.IOModule
{
Thread.Sleep(SEND_SLEEP);
if (!IsConn) continue;
byte[] buff;
byte[] buff = null;
if (Upload) //主动上传
{
......@@ -392,9 +392,12 @@ namespace Asa.IOModule
}
}
}
if (buff != null)
{
SendToDevice(buff);
}
}
}
private bool SendToDevice(byte[] buff)
{
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!