s7 swap bytes in a word

Werner

Member
Join Date
Apr 2005
Location
IJsselstein
Posts
336
Maybe a stupid question:

Is there a simple way (instruction) to swap the bytes in a word. (S7-300)

So more clever then:

L MB 0
T DB1.DBB0
L MB 1
T MB 0
L DB1.DBB0
T MB 1

I was looking at TAK?
 

Similar Topics

New to Mitsubishi. Please help me with the following. What's the easiest way to swap bytes with GX Works2. QCPU03D. Reading data from a load cell...
Replies
12
Views
4,010
Thought this would be a built in instruction but can only find SWAPB that only works on one word at a time.
Replies
5
Views
2,419
So I have an interesting question. I work with sites that don't have controls tech's and wanted to know if its possible for a processor to be...
Replies
10
Views
1,214
I had a 1746-HSCE go suspected bad. have to swap the card in the morning. Other than dip switch settings is there any configuration to do?
Replies
1
Views
1,023
I feel a little silly asking this, but can you “hot swap” a battery on a 1756-L55 processor?
Replies
5
Views
1,234
Back
Top Bottom