Guys, I have an issue that i dont understand and am hoping that someone has an idea.
I have a Lauer PCS950C HMI communicating with a Siemens 315-2DP CPU. The machine is a labeller putting plastic labels on a PET bottle.I am trying to adjust a cam setting (glue roller in)this is normally done on the HMI but this hasnt worked in a long while i have been informed. My boss said that my predecesor pluged in to the PLC and changed things to adjust cams!
The value i want to adjust if things were normal is a value of 150 on the HMI. The HMI is sending this to DB50 in BCD form. The value in DB50 however is prefixed W#16#150. I thought this was a Hex number. When i modified the value to something else the plc crashed and told me that it is looking for a BCD number in Accu1.The next step in the program is the value from DB50 gets processed as below:-
L DB50.DBW450
BTI
L 1000
*I
T DB11.DBD 0
DB11 then has it a DINT L#225000.(what does the L# mean?)
The cam card is a FM352 if this helps
Any help much appreciated please.
Kev
I have a Lauer PCS950C HMI communicating with a Siemens 315-2DP CPU. The machine is a labeller putting plastic labels on a PET bottle.I am trying to adjust a cam setting (glue roller in)this is normally done on the HMI but this hasnt worked in a long while i have been informed. My boss said that my predecesor pluged in to the PLC and changed things to adjust cams!
The value i want to adjust if things were normal is a value of 150 on the HMI. The HMI is sending this to DB50 in BCD form. The value in DB50 however is prefixed W#16#150. I thought this was a Hex number. When i modified the value to something else the plc crashed and told me that it is looking for a BCD number in Accu1.The next step in the program is the value from DB50 gets processed as below:-
L DB50.DBW450
BTI
L 1000
*I
T DB11.DBD 0
DB11 then has it a DINT L#225000.(what does the L# mean?)
The cam card is a FM352 if this helps
Any help much appreciated please.
Kev