S
According to 'Modbus/TCP conformance test policy 2.1' it's mentioned that 'conformance test software' will read the "HARD-CODED" line from the test2.1.tst file and pre-defined test cases will be executed. Can we put user defined test cases instead on HARD-CODED line?
In test2.1.tst file one section is to test the read multiple register:
7.5: Read Multiple Registers
7.5.1: Function Code Test
12
00 00 00 00 00 06 UU 03 00 00 00 01
11
00 00 00 00 00 05 UU 03 02 XX XX
7.5.2: Multiple Register Test
HARD-CODED
|+|
Modbus conformance software internally execute the 'read multiple register' function code start from register 1 to max defined register.
According to our register map we are not supporting register 1 to 6 and so we are sending exception code for unsupported register while conformance test software except positive response. So if we execute conformance test with HARD-CODED line read multiple register test will be failed. We would like to know that can we use the user defined test cases instead of HARD-CODED to pass the conformance test?
Thanks in advance,
In test2.1.tst file one section is to test the read multiple register:
7.5: Read Multiple Registers
7.5.1: Function Code Test
12
00 00 00 00 00 06 UU 03 00 00 00 01
11
00 00 00 00 00 05 UU 03 02 XX XX
7.5.2: Multiple Register Test
HARD-CODED
|+|
Modbus conformance software internally execute the 'read multiple register' function code start from register 1 to max defined register.
According to our register map we are not supporting register 1 to 6 and so we are sending exception code for unsupported register while conformance test software except positive response. So if we execute conformance test with HARD-CODED line read multiple register test will be failed. We would like to know that can we use the user defined test cases instead of HARD-CODED to pass the conformance test?
Thanks in advance,