lordloverocket
Member
- Join Date
- Dec 2003
- Posts
- 24
Hi guys,
I hope somebody can offer me some help with a problem I am trying to track down. I have an old machine with a small FXon PLC that is breaking down on a regular basis. To help trace the fault I want to create a log of the state of the inputs (X0 to X7) whenever coil M115 (machine running) switches off. I would like to store the last 10 events with the latest at the top of the stack. No expert on mitsubishi programming but can make program changes. I can find the instruction SFTL but it looks like a bit instruction and I want to shift a whole data word. I think the instruction i want to use to load the data from the inputs would be something like:
MOV K2 X000 D001
then need the data shifting around. The datawords that I want to use as a store are D100 to D109. Hope that makes sense. I am useing an old version of Medoc as it is the only Mits software we have.
Any help greatly appreciated
Alex.
I hope somebody can offer me some help with a problem I am trying to track down. I have an old machine with a small FXon PLC that is breaking down on a regular basis. To help trace the fault I want to create a log of the state of the inputs (X0 to X7) whenever coil M115 (machine running) switches off. I would like to store the last 10 events with the latest at the top of the stack. No expert on mitsubishi programming but can make program changes. I can find the instruction SFTL but it looks like a bit instruction and I want to shift a whole data word. I think the instruction i want to use to load the data from the inputs would be something like:
MOV K2 X000 D001
then need the data shifting around. The datawords that I want to use as a store are D100 to D109. Hope that makes sense. I am useing an old version of Medoc as it is the only Mits software we have.
Any help greatly appreciated
Alex.