Help for this page

Select Code to Download


  1. or download this
    use Protocol::Modbus;
    
    ...
    
    # Pretty-print response on stdout
    print $res . "\n";   # Modbus Response PDU(......)
    
  2. or download this
    use strict;
    use MBclient;
    ...
    # clean exit
    $m->close();
    exit 0;