Skip Menu |

This queue is for tickets about the Modbus-Client CPAN distribution.

Report information
The Basics
Id: 87445
Status: new
Priority: 0/
Queue: Modbus-Client

People
Owner: Nobody in particular
Requestors: tbrandon [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Bug in Modbus Client.pm exception table
Date: Tue, 30 Jul 2013 09:46:51 -0600
To: bug-Modbus-Client [...] rt.cpan.org
From: Tyler Brandon <tbrandon [...] gmail.com>
In Modbus/Client.pm my @exception = ("", # 0 == no exception "ILLEGAL FUNCTION", "ILLEGAL DATA ADRESS", "ILLEGAL DATA VALUE". <-- Bug here (see the dot) "SLAVE DEVICE FAILURE", "ACKNOWLEDGE", "SLAVE DEVICE BUSY", "NEGATIVE ACKNOWLEDGE", "MEMORY PARITY ERROR", ); Also this table is inaccurate regarding Modbus exceptions. The table should be: my @exception = ("", # 0 == no exception "ILLEGAL FUNCTION", # 01 "ILLEGAL DATA ADRESS", # 02 "ILLEGAL DATA VALUE", # 03 "SLAVE DEVICE FAILURE", # 04 "ACKNOWLEDGE", # 05 "SLAVE DEVICE BUSY", # 06 "UNKNOWN", # 07 "MEMORY PARITY ERROR", # 08 "UNKNOWN", # 09 "GATEWAY PATH UNAVAILABLE", # 0A "GATEWAY TARGET FAILED TO RESPOND", # 0B ); Thanks.