Rockwell Automation 6001-F2E AB STANDARD DRIVER SFTW User Manual

Page 29

Advertising
background image

Application Program Examples

Appendix A

A-7

/* Call the Standard Driver Appl() function */

status = Appl_StdDrv( PLC_FCT, &DHP_MSG);

/*status = See 6001–F2E User’s manual appendix D

io_stat[0]: Local & remote I/O status

Hi_byte = DH-485 status

Lo_byte = Local & extended DH-485 status

io_stat[1]: Reply length in bytes (if applicable)

Binary address format: dt_addr[0] = lo_byte, dt_addr[1] = hi_byte

*/

Advertising