Omron Cx-programmer v9.43 Swap(637)

Tommycai

Member
Join Date
Aug 2011
Location
KY
Posts
120
I am bringing in a string to a W address area, from a camera, then swapping the bytes and transferring the values into a D address area. How can I be sure that this has transferred?

I did an erase value in an auto sequence made before, but sometimes it missed the erasing block and just incremented to the next block until i put into the line check to make sure the block is zero.

Am I too worried or is this a possibly occurrence?
 
Not sure how to post code but this is all supposed to be in the same step.



Step = #-------------------------------Swap(637)
&6
W408

-----------------------------------Xref(070)
#6
W408
D200

-----------------------------------Mov(021)
Next Step #





 
That should work as long as your step number changes immediately but I suggest that you use @SWAP and @XFER so that those instructions can't execute twice.
 

Similar Topics

Hello ! I am trying to use an omron cj2m-cpu33 with a CP1W-CIF01 plug in serial connector to talk to a zebra ZT610 printer. I am getting the data...
Replies
8
Views
369
I am using a function block that has a in/out parameter that is a structure. The structure has an array as one of the elements. I can index the...
Replies
1
Views
732
Is there a way in CX-Programmer to call Ladder Instructions from a structured text program? I can see several functions in the autocomplete...
Replies
3
Views
1,942
Is there a way in CX-Programmer to call functions from a structured text program? I have found this manual that seems to describe the process...
Replies
1
Views
1,047
Is there a way in CX-Programmer to initialise an array? Set all values to zero or false depending on the data type Solutions in Ladder and...
Replies
2
Views
1,269
Back
Top Bottom