Siemens plc bits dropping out on start up.

hotrod

Member
Join Date
Aug 2005
Location
ohio
Posts
48
The program seems to be ok, when we go online with the plc and watch the rungs, there are bits dropping out with no explaination, no ryme or reason why, there are five I/O's and 16 drives and a couple inverter drives. ac to dc inverters. In short this is all interfaced with a wire drawing machine built in Italy, custom drives ect. In short I'm getting an alarm for something that isn't true, any advice would be big help, thanks guys.
 
without more info I can only guess, although as the machine comes from Italy, they wouldn't do this.

But a common problem with new users to Siemens is to forget that Siemens is BYTE orientated, that is it the flags are BYTES of 8 bits and to get a WORD they combine two BYTES.

Therefore Memory Word 2 is really a combination of Memory Byte 2 and Memory Byte 3. So if you use a program where you are using M 3.2 as a flag and in that same program you transfer an integer into MW2, then all MB3 bits will be overwritten.

As I say with no real info this is just a guess.
 
If the problem is only on startup and once up and running, everything is OK, then two possibilities are:

1) There is some initialising being done in OB100 (or 101 or 102 if its a 400 CPU)
2) Some of the data has been declared non-retentive, so that the state is lost following a power down

To get any nearer to the answer, we need a bit more detailed info.
 

Similar Topics

Hi everyone, I want to upload the program from my CPU317TF-2 DP to my PC via connecting to CP 343-1 Advanced since it has LAN ports and the CPU...
Replies
1
Views
121
Buona sera, Ho dei problemi nell' interfacciare PLC S5 con HMI 2a Gen. Siemens (ad esempio KTP400) tramite IBH Link S5++. il mio obbiettivo è solo...
Replies
0
Views
60
Hey when I turn on my Siemens PLC CPU 216-2 after runing 10 minute it's stop and showing SF indication after I turn off and some time later turn...
Replies
0
Views
94
Hi Guys, I am trying to establish communication over profinet between Siemens S7-1200 PLC as IO device and codesys plc as IO controller. But I am...
Replies
39
Views
2,062
Hi there! This is something so old and having machine with it....... Last time unit was powered around 3yr ago and it did not work since than...
Replies
5
Views
188
Back
Top Bottom