beautypg.com

B&B Electronics MODSCAN32 - Manual User Manual

Page 42

background image

42

//

ignore the data and only verify proper quantity returned

//
Verify Input Status,1,2,100,100,0,D
//
//
// Forth Test:
//

Check Slave Response to request for 1000 registers

//

(Should probably generate an exception response)

//
Test Exception 2,1,3,100,1000,0,2
//
// Fifth Test:
//

Check Slave Response to bad CRC

//
Invalid Request,1,1,100,1,0,C
//
// Sixth Test:
//

Query an unknown device & expect no response

//
Query Device 73,73,1,1,1,0,R
//
// Seventh Test:
//

Write 6 Holding Registers with data

// (Each floating point number represents
//

two registers -- The NAME field on the

//

continuation line is ignored)

//
Write Floats,1,16,100,6,1.00,\
,2.00,3.00,,,,T
//
// Eighth Test:
//

Verify Test Seven by reading back the Registers

//
Read Floats,1,3,100,6,1.00,\
,2.00,3.00,,,,T
//
// END OF SCRIPT
end