Modicon TSX57 Memory Insight needed

Manglemender

Member
Join Date
Jul 2007
Location
Lancashire
Posts
1,295
I'm in need of some insight regarding the memory structure of a Modicon PLC.

In the program %M130 is being SET and RESET in ladder logic but elsewhere in the program %MW130 is also referred to in an "OPERATE" instruction.

How is the memory organised? Does setting %M130 set all bits in %MW130 to 1?

Please see attached code.

Thanks in advance,

Nick
 
%M130 is a bit, %MW130 is a word.
They are not related. The format for the bits in a word are for example %MW100:X0 as being the least significant bit, and %MW130:X15 is most significant.

The operate instructions in your case are table instructions.
To describe the following:

%MW130:10:=%MW120:10

The contents of a table 10 words long, starting at %MW120 is transferred or moved to a table 10 words long starting at %MW130.

contents of %MW120 to %MW130,
contents of %MW121 to %MW131,
etc.


Deciphering the following instruction:

%MW110:10:=0

Value of 0 transferred or moved to a table, 10 words long, starting at %MW110, meaning %MW110 to %MW119 are loaded with the value 0

One of my favourite all time machines, the TSX57.
If you need any more help, just let me know.
 
Liam, Thanks very much for your reply, it was most helpful. We are converting an old Modicon system to Siemens Step7. We'll continue to try and understand the oroginal code.

Nick
 

Similar Topics

I have a Modicon TSX57 and am using PL7 Pro. I can not connect to the PLC through citect, I receive this error message..."Not possible to...
Replies
1
Views
4,106
A lifetime ago I built a couple systems with Modicon Micro84 controllers that are still running. But today one of those died and they reached out...
Replies
2
Views
26
Everything was working fine, but suddenly CPU went into error mode, and the ERR and TER LEDs lit up. Now I can't download or connect with the PLC...
Replies
0
Views
54
Hello All, Was hoping I could get a little help with Modicon ladder logic. This is the first time I have seen Modicon logic and currently trying...
Replies
6
Views
293
I have a 170AAO92100 card that I am interested in using as a 10 volt output. Is there setup that I have to do in order to change output or simply...
Replies
0
Views
92
Back
Top Bottom