f117 Member F Join Date Oct 2007 Location ath Posts 26 Nov 21, 2007 #1 Hello, i am using siemens s7-300 and i am facing a little problem. In Hitachi plcs you can difine the value of a Bit 1 or 0 in a box..... how i can do this with siemens? thank youD
Hello, i am using siemens s7-300 and i am facing a little problem. In Hitachi plcs you can difine the value of a Bit 1 or 0 in a box..... how i can do this with siemens? thank youD
L D[AR2P#0.0] Lifetime Supporting Member L Join Date Nov 2006 Location UK Posts 6,694 Nov 21, 2007 #2 One typical method is to define two marker bits to always be 0 or 1 e.g. M0.0=0 M0.1=1 Then use them throughout the rest of you program: Code at start of OB1 would be SET R M0.0 S M0.1
One typical method is to define two marker bits to always be 0 or 1 e.g. M0.0=0 M0.1=1 Then use them throughout the rest of you program: Code at start of OB1 would be SET R M0.0 S M0.1