Member Login
member
passwd
remember me on this computer.

- join now -

Search

Neat Stuff

Visit our shop for nerds in control lifestyle products.

Cool stuff
Select a topic of interest:
...and press:
Fortune
I just asked myself... what would John DeLorean do?
-- Raoul Duke
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
from the humorous department...
Modbus/TCP Conformance Test policy 2.1
Communications topic
advertisement
Posted by sachin mehta on 9 May, 2008 - 10:18 pm
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,

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2008 Reed Business Information. Subject to its Terms of Use.

Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2008 Control Technology Corporation. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, PostgreSQL and Apache. Be happy.

Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!