WKla Posted December 8, 2006 Report Posted December 8, 2006 This instruction works: MOV D202 D0V1 But when I am trying to use the index register with M type devices: LD M8000 SET M0V1 the next error appears: Error: F0137 Illegal device used or symbol not valid Anyone knows other possibilities to do the same thing (indexing M type devices) ? Thank you. Quote
Gambit Posted December 8, 2006 Report Posted December 8, 2006 Hi That's not possible unless you're using an FX3U CPU. You could use an index on a dataregister and than use the DECO instruction to get the same result. Quote
Sergei Troizky Posted December 8, 2006 Report Posted December 8, 2006 FX-series does not support bit indexing, except FX3U. Use words instead. Use [WOR K1M0Z H1 K1M0Z] instead of [sET M0Z], or [WAND K1M0Z HE K1M0Z] instead of [RST M0Z] Z may be any index register, and no other bits will be affected . 1 Quote
Mandrel Posted April 19, 2014 Report Posted April 19, 2014 Thanks for letting me know that something like Y20Z doesn't work on most Mitsubishi FX PLCs, despite what the programming manual says on Page 4-36. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.