Host Engineering Forum

General Category => DirectSOFT => Topic started by: ddwilson on January 22, 2008, 03:52:15 PM

Title: move a constant
Post by: ddwilson on January 22, 2008, 03:52:15 PM
Is there a way to move a constant value to an address exa: v2000 to bring up a message on a display unit. RSlogix uses a the mov command. The way I am reading the help file on the commands it does not appear to work the same with this software.

Title: Re: move a constant
Post by: franji1 on January 22, 2008, 04:15:53 PM
There is the MOVEW IBox.  Or just do LD Kxxxx OUT V2000

Note that K's are in hexadecimal/BCD, so if you are doing binary/decimal, you need to know its hex equivalent (e.g. 10 decimal is KA in hex)