beautypg.com

Rockwell Automation 6001-F2E AB STANDARD DRIVER SFTW User Manual

Page 31

background image

Application Program Examples

Appendix A

A-9

/* 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)

*/