Are you using FA2Sys / FA2Mon? or a hand held programmer? What kinda resolution per inch are you seeking to acheave? 6 ppr is not what one would call high resolution. Where did you get an encoder for 3 bucks?
The code I posted earlier is for a DL240 PLC (AutomationDirect). Also my post only addresses direction sensing since I had assumed that you had the counter already down pat.
I have the software for the Micro 1 but I have not used it in years, and I dont have a Micro 1 manual anymore.
If you have a manual, look up the UP/ Down counter function. Actually this is a small manual, so read the whole thing. After you know a little more about the Micro 1, and the insturction set, it might be easer for someone to help with the code.
Mike