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

Hey guys, I have to take an upload of a program on an S71200 PLC to change a hardware config option and then redownload the program with this...
Replies
3
Views
100
Hello Guys, I want to establish profinet communication between siemens plc and my system using python programming. Which python lib can i use to...
Replies
12
Views
287
When you download a DB, the values get overwritten by what is in the "actual" column in offline DB. Does this happen at the start of the PLC...
Replies
6
Views
137
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
155
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
87
Back
Top Bottom