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 am new to Siemens plc programming and i am in need of some help. yesterday we had an S7-1200 CPU 1214C fail to turn on an output to...
Replies
8
Views
258
Hello, good morning, I have been having two problems with the Tia Portal software. The first is that I have installed it on my computer and...
Replies
5
Views
197
The past week we received a new piece of equipment from Germany which utilizes siemens controls. Typically in our company we use A.B. controls for...
Replies
12
Views
357
i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
174
Good morning fellow sea captains and wizards, I am being asked to do the above and obtain 4 values from each slave, I know about the MRX and MWX...
Replies
32
Views
958
Back
Top Bottom