結果 : how to program an encoder with plc