kris bishop
Member
Hi Folks,
I have experience in a few languages now but was struggling with Siemens so I decided to teach myself.
I'm a poor teacher.
I mananged to get a program to run and do what I wanted but after doing some unknonw thing my variables stopped retaining.
eg. M1.0 wast the 'run_program' latch, I had used (s) to set the bit and (r) to reset it when I wanted to, this was fine but after doing something it stopped latching that variable and it appeared to reset everytime OB1 ran.
I created a new blank project and put in the same symbols and same code and uploaded, it now works, so I think I must have done something to a setting but I cannot find it,
any help would be appreciated, as I'm also suppose to be teaching the technicians soon.
thanks in advance
Kris
I have experience in a few languages now but was struggling with Siemens so I decided to teach myself.
I'm a poor teacher.
I mananged to get a program to run and do what I wanted but after doing some unknonw thing my variables stopped retaining.
eg. M1.0 wast the 'run_program' latch, I had used (s) to set the bit and (r) to reset it when I wanted to, this was fine but after doing something it stopped latching that variable and it appeared to reset everytime OB1 ran.
I created a new blank project and put in the same symbols and same code and uploaded, it now works, so I think I must have done something to a setting but I cannot find it,
any help would be appreciated, as I'm also suppose to be teaching the technicians soon.
thanks in advance
Kris