Long Words

M

Thread Starter

Mirko Filipovic

Could anyone suggest me how to create Double word (32-bits long) from 2 consecutive 16-bit words using VersaPro and GE90-30, CPU364.
Thank you in advance,
 
S

Steve Bailey

It's done automatically, based on the instructions that you use. For example, if you use the function ADD_INT, then all three elements of the function will be 16-bit. If you use the function ADD_DINT or ADD_REAL, they will be 32-bit.

If your problem is viewing them in a reference view table, you need to select the first address that you want to show as a 32-bit value and change the format of the view table to show it the way you want.
 
Top