V02.00 | 2021/05
59
// read from Interface COM0
count = 0;
do
{
if ((count += read(fd, currentBuff, 1)) == -1)
printf("can not read...");
*p_InBuff = currentBuff[0];
p+;
}while(currentBuff[0] != 0xfe);
// print:
p_InBuff -= count;
printf("\nData count: %i",count+1);
printf("\nValues: \n");
for(i = 0; i <= count ; i++)
{
printf("%.02x ", *p_InBuff ); p+;
}
// close the Interface
if((close(fd)) == -1)
{
printf("\n can not close interface");
}
}
else
printf("can not open interface\n");
return EXIT_SUCCESS;
}
Содержание 100000897
Страница 1: ...Your Global Automation Partner Instructions for Use TN UHF LNX UHF Reader...
Страница 2: ...2 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com...
Страница 19: ...V02 00 2021 05 19 Right click the Ethernet adapter Start the Topology scan Fig 16 Starting the Topology scan...
Страница 69: ...V02 00 2021 05 69 fclose fh else printf failed on writing n return 1...
Страница 75: ...V02 00 2021 05 75 else printf failed on writing n return 1 return EXIT_SUCCESS...
Страница 91: ...V02 00 2021 05 91 Restart the device to complete the update Click Reboot Fig 65 Restarting the device...
Страница 93: ...V02 00 2021 05 93 Select RS485 RFID and confirm with OK Fig 67 Selecting the RS485 interface...
Страница 97: ...V02 00 2021 05 97 Click the Select BL File button Fig 73 Button selecting a BL file...
Страница 106: ...Over 30 subsidiaries and over 60 representations worldwide www turck com 100003067 2021 05 100003067...