Rockwell Automation 5370 Color CVIM Communications Manual User Manual
Page 137
Advertising
![background image](/manuals/580695/137/background.png)
Chapter 5
Using the RS–232 Ports
5–69
{
_bios_serialcom(_COM_SEND,portnum–1,DLE);
_bios_serialcom(_COM_SEND,portnum–1,NAK);
message_started = 0;
err = 0;
length = 0;
df1_bcc = 0;
msg = msg_start_ptr;
}
else
{
*msg++ = ( ch & 0xFF );
df1_bcc += ( ch & 0xFF );
}
}
}
*len = length;
return (err);
}
Advertising