Jump to content

Recommended Posts

Posted
Hi, Is it possible to move %I or %Q values to memory more than a bit at a time? so instead of this (one bit at a time) %I1.0 %MW50:X0 ---| |----------( ) %I1.1 %MW50:X1 ---| |----------( ) I've tried using the Operate instruction with the following code added: %MW50:15:= %i1.0:15 to move the status of %I1.0 to 1.15 to %MW50:X0 to X15, But i get a incompatable data type error? Can it be done 16 bits at a time? Either in LAD,ST,IL Hopefully someone can shed some light on this? Thanks Steve
Posted
Hi STL You'd be better off doing %Mw50:=%iw1.0 in that operate block. This is all too commonly required as Modbus does not take direct addressing of I/O's. Perhaps you are right, please check up the bit table syntax in PL-7 help. The Colon notation denotes a bit table. Regards, best wishes Raj S. Iyer
Posted
Prashant, Hi... Hello steve & STL How do you do this in unity-Pro? Kindly look up my question in this forum. I'd seriously appreciate help Regards, best wishes, Raj S. Iyer

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...