YASKAWA MP920 User Manual page 281

Machine controller
Table of Contents

Advertisement

Appendix C C Language Sample Programs
C.1.1 TCP (When Using Extended MEMOBUS Protocol (SFC = 09))
}
// Checks the number of registers.
if (( rbuf[18] != 0x0A ) || (rbuf[19] != 0x00))// Not 10 words.
{
rc = -8;
return( rc );
}
// Reads the register data rbuf[20] and the data that follows.
return( rc );
C-6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents