Sign in to follow this  
Followers 0
nikos

Bit level access in CQM1H with Hostlink

1 post in this topic

Hi, Got back to this old project and using HL to talk to the plc. AFAIU, read/writes are words This works for me to read the word in IR101, where my relays are attached @00RR0101000141*<CR> When I want to toggle a coil, I have to store the response (existing state of coils), change to binary, toggle the bit, change back to hex and send it back, since the manual says writes are also word based and in hex. I did not see anyway of having direct bit level writes. So I have to do this every time I want to write a coil? Is this correct, if tedious? regards, nikos PS I see that modbus supports bit level writes, but seems this plc needs macros and I'm getting in deeper...

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0