TISOFT Set reset bit

karivelm

Member
Join Date
Nov 2006
Location
Quebec
Posts
66
If I set a bit using SET C, if this bit is used by another function will it be able to go back to '0' value. Or must I absolutely Reset the bit with RST to make it go back to 0.

In my program, the bit will be used by a shift bit function as well as a Set function. So if I set the bit to 1 and then shift a 0 bit in the bit will it be 0.

I am using TISOFT TI505
 
I THINK it will got to zero. However, the best thing to do is set up some dummy logic, that doesn't have anything to do with your project, and test.

Have a rung that sets a bit, then have a rung that logically clears it, (not a reset).

I suggest you use a couple of timers, so that you can see what's happening.
Have a self resetting timer that sets the bit every 4 seconds. Then have a timer that times when the bit is true, with a preset of 2 seconds. Then If I'm correct, the first timer will set the bit, after 2 seconds, the second timer will clear it, (use the (/) instruction after the timer ),then two seconds later the first timer will set it again.

Sometimes when you're unsure how an instruction really works, you just have to test and see what happens. Then you will always know exactly what's what.
 

Similar Topics

Hi. I have 2 files where I would like to see the ladder logic differences (similar to the Rockwell compare function). I am using TISoft Siemens...
Replies
1
Views
1,266
Any old TI545 boys or girls reading this? Something I never figured out. We have one RS232 serial connection between our PC and the 545 Port 1...
Replies
6
Views
1,331
Hi, Just looking for a quick pointer. I want to upload an old program out of a Texas 305 PLC. The program was last downloaded in the 90s so...
Replies
10
Views
2,034
Hello all. I have got some Siemens TI305 PLC's with a 330 CPU. I am attempting to back up the software on them, connecting via D3-232-DCU with a...
Replies
4
Views
1,781
I have a TI 505 Program .V5P sent to me with no comments. I was then sent the .CMT file and I am wondering how to have the program update with...
Replies
2
Views
1,390
Back
Top Bottom