步科触摸屏宏调用plc 数组 调用不了
int MacroEntry()
{
int buf[10]={0};
ReadLocal("D", 1000, 10, (void*)buf, 0);
WriteLocal("LW", 500, 10, (void*)buf, 0);
}
就是想将d1000后的10个数据写入到触摸屏lw500后十个数据
步科触摸屏宏调用plc 数组 调用不了
int MacroEntry()
{
int buf[10]={0};
ReadLocal("D", 1000, 10, (void*)buf, 0);
WriteLocal("LW", 500, 10, (void*)buf, 0);
}
就是想将d1000后的10个数据写入到触摸屏lw500后十个数据
int MacroEntry()
{
short i;
for (i=0;i<15;i++) //在15组用户密码中对比
{
//LW500[i]=i;
D300[i]=LW500[i];
}
return 0;
}
HAOLE