Files
ds-628/BaseModules/Hd_SocketModule_SiemensTcp/camera_cfg-snap7.json
T
2024-09-27 14:31:22 +08:00

69 lines
2.1 KiB
JSON
Raw 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.
{
"taskName": "task1",
"save_image": "C:\\930SaveStation3\\",
"savePath": "C:\\930TotalResult\\",
"tablelist": [
{
"table_key": "",
"cName": "机台名:",
"eName": "NG number:",
"value": "外观检测"
},
{
"table_key": "",
"cName": "班次:",
"eName": "Number :",
"value": "白班"
},
{
"table_key": "",
"cName": "工位名:",
"eName": "yield :",
"value": "工位三"
}
],
"showlist": [
{
"show_key": "2D-J93413657-J93413638-K39998967-00K19936732",
"cName": "2D",
"eName": "view1"
},
{
"show_key": "3D-133872-132192-123490-124229",
"cName": "3D",
"eName": "view2"
}
],
"Communicationlist": [
{
"stations": [
"station3"
],
"Communication_key": "Communication",
"Communication_type": "PLC",
"writetype": "ushort",
"Communication_sleeptime": "30",
"Communication_init": "init_127.0.0.1_502_0_1_1", //init初始化指令,"127.0.0.1"IP,"502"端口,"0"管道,"1槽号","1"西门子型号[S1200,S300,S400,S1500,S200smart,S200] S1200=1,S300 = 2,以下类推
"Communication_readAllCmd": "read_byte_M1400_100", //读指令,西门子的寄存器主要以DB块为主,M为测试用,实际写法比如 DB102.0,小数点寄存器也存在 bool类型占0.2个字节,比如 DB102.2
"heartCmd": "write_short_M1003_1", //写指令,同上
"heartTime": "500",
"moduleName": "Hd_SocketModule_Snap7Tcp" //数据类型可选[byte,bool,short,ushort,int,uint,long,ulong,float,double,string];西门子
}
],
"stationlist": [
{
"station_key": "offlineStation1",
"task_thread_num": "0",
"plcread_area": {
"Communication_readAllCmd": "read_byte_M1300_100"
},
"plcwrite_area": {
"snOkCmd": "write_short_M1400_9",
"snErrorCmd": "write_short_M1400_1",
"overOkCmd": "write_short_M1310_9",
"overErrorCmd": "write_short_M1310_1",
"dateCmd": "write_string_M1340_12"
}
}
]
}