new paragraph named xdh_60t4_e.c xsdh_60a32_e.c omron_cp1l.c

This commit is contained in:
Wien.b
2023-04-13 19:55:40 -07:00
parent d797a999ae
commit 0a58099c51
28 changed files with 1309 additions and 51 deletions
@@ -20,8 +20,7 @@
#include <control.h>
#include <control_def.h>
ControlProtocolType control_protocol;
//#include "s7.h"
/**
* @description: Control Framework Find certain Protocol
@@ -281,8 +280,21 @@ int ControlFrameworkInit(void)
PrivFree(control_protocol);
goto _out;
}
printf("%u %u\n",control_protocol->recipe->total_data_length,control_protocol->recipe->device_id);
printf("%s ControlPeripheralInit done\n", __func__);
//s7 read
// ret = ReadPlcDataByRecipe(control_protocol->recipe);
// if (ret < 0) {
// printf("%s failed!\n", __func__);
// PrivFree(control_protocol);
// goto _out;
// }
_out:
return ret;