adding modicon encoder/decoder