Files
ds-628/BaseModules/Hd_SocketModule_FinsTcp/camera_cfg-finstcp.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_192.168.250.6_9600_251_6_0", //init初始化指令,"127.0.0.1"IP,"502"端口,"251"sA1,"6"dA1,"0"dA2【可先用Hsl助手选择FinsTCP连接,抄下SA1,DA1,DA2默认0】,其中PLC一对多请增加SA1,如"252",
"Communication_readAllCmd": "read_byte_D1400_100", //read读指令,"byte"字节寄存器,"D1400"寄存器位置,"100",连续读100个,如果是"1",则只读1个
"heartCmd": "write_short_D1003_1", //write写指令,"short"16位寄存器,"D1003"寄存器位置,"1"数值,如果是"1,2,3,4,5"则变为连续写5个16位寄存器
"heartTime": "250",
"moduleName": "Hd_SocketModule_FinsTcp" //数据类型可选[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_D1300_100"
},
"plcwrite_area": {
"snOkCmd": "write_short_D1300_9",
"snErrorCmd": "write_short_D1300_1",
"overOkCmd": "write_short_D1310_9",
"overErrorCmd": "write_short_D1310_1",
"dateCmd": "write_string_D1340_12"
}
}
]
}