markn Posted October 4, 2019 Report Posted October 4, 2019 Hi Guys How do I enter a comparison instruction in GX Developer v8 thanks
Gambit Posted October 4, 2019 Report Posted October 4, 2019 CMP D0 D1 M0 unless you're using an System Q than you schould use the and= What's the problem you couldn't find the instruction or how to use the instruction?
markn Posted October 4, 2019 Author Report Posted October 4, 2019 Gambit, Thanks for the reply. I have found and studied the instruction and understand how it works. I enter [ CMP C235 K500 M0] and i get an error. I'll try again. maybe a typo
Gambit Posted October 4, 2019 Report Posted October 4, 2019 C235 is a Highspeed counter so 32 bits. You should use the highspeed instructions DHSC .... etc
Ron_S Posted October 5, 2019 Report Posted October 5, 2019 (edited) Or DCMP Edited October 5, 2019 by Ron_S
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now