beautypg.com

Rockwell Automation 5370 CVIM Communications Manual User Manual

Page 133

background image

Chapter 5

Using the RS-232 Ports

5–63

length = 0;

df1_bcc = 0;

msg = msg_start_ptr;

}

else

{

*msg++ = ( ch & 0xFF );

df1_bcc += ( ch & 0xFF );

}

}

}

*len = length;

return (err);

}