Moving Data In Siemens Ladder Logic

Join Date
Jan 2015
Location
Houston, Texas
Posts
31
I'm having a heck of a time figuring out how to efficiently move the decimal value 1150 into MW20.

Can this be done using the MOVE command? Does the MOVE command support moving decimal values? Is it really that simple?
 
Based on PS' previous posts it must be TIA.
Use the online help in TIA.

MOVE moves constants or variables into variables.
In TIA, MOVE does not require that the type of the variables involved match if "IEC check" is turned off. In TIA MOVE can move entire ARRAYs and STRUCTs. In this case the type and size must match. (In STEP7 Classic, MOVE does not check source and destination type at all).
MOVE moves the bitpattern. No conversion takes place between different types.
If MOVE moves a bitpattern into a smaller size destination than the source, the highest bits are lost.
 
Based on PS' previous posts it must be TIA.
Use the online help in TIA.

MOVE moves constants or variables into variables.
In TIA, MOVE does not require that the type of the variables involved match if "IEC check" is turned off. In TIA MOVE can move entire ARRAYs and STRUCTs. In this case the type and size must match. (In STEP7 Classic, MOVE does not check source and destination type at all).
MOVE moves the bitpattern. No conversion takes place between different types.
If MOVE moves a bitpattern into a smaller size destination than the source, the highest bits are lost.

Life is so much simpler in Allen-Bradley land...
A MOV instruction puts a copy of the source data into the destination, and automatically performs any data conversion that may be needed. No check boxes to forget, no configuration needed, it just does it....

Although to be fair, if Siemens is what you've got to work with, get used to reading the "help" files...
 
Life is so much simpler in Allen-Bradley land...
A MOV instruction puts a copy of the source data into the destination, and automatically performs any data conversion that may be needed. No check boxes to forget, no configuration needed, it just does it....

Although to be fair, if Siemens is what you've got to work with, get used to reading the "help" files...

I think I now better understand why Siemens has had such difficulty gaining market share in the US. Their product is robust and flexible, but often terribly counterintuitive and unfriendly.

Here's another dummy question. I have searched to the ends of the earth and cannot find where the scaling function in the Siemens HMI is. My co-workers tell me it does exist, but will not tell me precisely where it is located in the HMI programming interface (hazing the newbie of course). Google gets me nowhere, just like the Siemens support website.

Good grief Siemens support is just horrendously bad. If you don't have a co-worker to show you what you need to know you are really and truly on your own to somehow intuit your way through the pitch black fog, which often means literally guessing your way through some of the most arcane interfaces and terminology I have ever seen in my life.

Thus far, simply refusing to give up has been my only consistently effective survival strategy.
 
I downloaded & was going to print out the Step 7 Pro manual (as I have for RSLogix 500, 5000 & 5) but then noticed the file was 10,066 pages - just a few reams of paper!

Not something anyone was ever going to read completely.
 
I think I now better understand why Siemens has had such difficulty gaining market share in the US. Their product is robust and flexible, but often terribly counterintuitive and unfriendly.

Here's another dummy question. I have searched to the ends of the earth and cannot find where the scaling function in the Siemens HMI is. My co-workers tell me it does exist, but will not tell me precisely where it is located in the HMI programming interface (hazing the newbie of course). Google gets me nowhere, just like the Siemens support website.

Good grief Siemens support is just horrendously bad. If you don't have a co-worker to show you what you need to know you are really and truly on your own to somehow intuit your way through the pitch black fog, which often means literally guessing your way through some of the most arcane interfaces and terminology I have ever seen in my life.

Thus far, simply refusing to give up has been my only consistently effective survival strategy.

If my memory is correct you find the scaling in the tag table, in the properties of the tag.

And regardning your concerns I can say that for me that has learned to program PLCs using Siemens. I have the same problem you have but I have it with AB. TIA portal is like a ferrari for me while working with RSlogix is like learning how to ride a bike :p
 
Having to switch constantly between the two platforms, I find both have strengths and weaknesses. I find a bigger gap when it some to using safety PLCs and components; the programming edge going to RA but Siemen's product line is more thorough. RA's weakness in safety is their drives - way behind.

Siemen's telephone support has gotten very good. I prefer RA when given a choice but Siemens no longer scares me like it did 10 years ago.
 
If my memory is correct you find the scaling in the tag table, in the properties of the tag.

And regardning your concerns I can say that for me that has learned to program PLCs using Siemens. I have the same problem you have but I have it with AB. TIA portal is like a ferrari for me while working with RSlogix is like learning how to ride a bike :p

In the properties of the tag! Aha! Many, many thanks for the tip.
 
I downloaded & was going to print out the Step 7 Pro manual (as I have for RSLogix 500, 5000 & 5) but then noticed the file was 10,066 pages - just a few reams of paper!

Not something anyone was ever going to read completely.

I've noticed this as well. I do understand and appreciate that the documentation is being written more or less by engineers for engineers but it would be helpful if they would also provide condensed, more practical guides for those of us just getting started. The 600, 1000, or 10,000 page manuals just aren't practical for somebody who needs answers in a reasonable amount of time.

Thanks again to the veterans here willing to share their knowledge and experience and tolerate rookies like me who are floundering around just trying to get a foothold in the industry. I guess if it was easy, everybody would be doing it, right?
 

Similar Topics

I'm a Siemens person, and this is one of my first AB programs. The customer wants everything programmed in Ladder. I have a lot of data (3...
Replies
14
Views
220
I have run into a wall. I have one PLC where I have an array of data d_postdetectJobQueue Dint[50] Under d_postdetectJobQueue[6] is the carrier...
Replies
3
Views
1,878
Hello all, I work with internet of things and am not a PLC expert at all - that's why I need your help. I have a customer who's running a mix of...
Replies
31
Views
14,367
Hey guys!! I have never used ANY-pointers or configured larger areas to be moved. As you see, i want to copy whats inside DB1, 256 byte long and...
Replies
16
Views
4,527
Need a little help with a better way to copy data. I am saving data in an array and I want to move the data from the second oldest to the oldest...
Replies
5
Views
1,503
Back
Top Bottom