def make_modbusmap_channel(i, chan, device_type_name):
    """Make a channel object for a row in the CSV."""
    json_obj = {'ah': '', 'bytary': None, 'al': '', 'vn': chan['subTitle'],
        'ct': 'number', 'le': '16', 'grp': str(chan[
        'guaranteedReportPeriod']), 'la': None, 'chn': chan['name'], 'un':
        '1', 'dn': device_type_name, 'vm': None, 'lrt': '0', 'da': '300',
        'a': chan['helpExplanation'], 'c': str(chan['change']), 'misc_u':
        str(chan['units']), 'f': '1', 'mrt': str(chan['minReportTime']),
        'm': 'none', 'm1ch': '2-{}'.format(i), 'mv': '0', 's': 'On', 'r':
        '{}-{}'.format(chan['min'], chan['max']), 't': 'int'}
    return json_obj
