init files
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"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_1", //init初始化指令,"127.0.0.1"IP,"502"端口,"1"从站ID
|
||||
"Communication_readAllCmd": "read_byte_1400_100", //read读指令,"byte"字节寄存器,"1400"寄存器位置,Modbus的地址没有前缀D或M,"100",连续读100个,如果是"1",则只读1个
|
||||
"heartCmd": "write_short_1003_1", //write写指令,"short"16位寄存器,"M1003"寄存器位置,"1"数值,如果是"1,2,3,4,5"则变为连续写5个16位寄存器
|
||||
"heartTime": "250",
|
||||
"moduleName": "Hd_SocketModule_ModbusTcp" //数据类型可选[byte,short,ushort,float,double,string]
|
||||
}
|
||||
],
|
||||
"stationlist": [
|
||||
{
|
||||
"station_key": "offlineStation1",
|
||||
"task_thread_num": "0",
|
||||
"plcread_area": {
|
||||
"Communication_readAllCmd": "read_byte_1300_100"
|
||||
},
|
||||
"plcwrite_area": {
|
||||
"snOkCmd": "write_short_1300_9",
|
||||
"snErrorCmd": "write_short_1300_1",
|
||||
"overOkCmd": "write_short_1310_9",
|
||||
"overErrorCmd": "write_short_1310_1",
|
||||
"dateCmd": "write_string_1340_12"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user