Sign in to follow this  
Followers 0
monpaulo

Reading status of input if it is ON or OFF using CJ1M

4 posts in this topic

i have a background in VB. and i just downloaded the CMODE hostlink here... it works very well...i can turn on my outputs on and off. my problem is........i have photosensor in my input..(address is : 0.00) i want to create a program that monitor the sensor status...if it is ON or OFF. using VB program...

Share this post


Link to post
Share on other sites
Use the IR AREA READ command (RR). 0.00 indicates channel '0'. bit '00'. Since you can turn bits on and off I would assume that you already learned how to build your command string.

Share this post


Link to post
Share on other sites
i already done it, but it seems nothing happend...i only received same response form plc....im just wondering do i need to switch to monitor mode to monitor my input if it 0 or 1?

Share this post


Link to post
Share on other sites
Post the actual string and the response that you are sending and receiving.

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