How can I change an integers lets say 1040 to 40, 2356 to 365, 5001 to 1 and so on(no by substracting 1000, 2000, 5000)? I think there is a combination of rotational functions slw and srw that make this. Or maybe it can be done in other way?
but somethngs is wrong here, its always red.SimonGoldsworthy said:AD DW#16#FFF //mask all but last 3 digits
Peter Nachtwey said:Doesn't the S7 have a MOD operater?
Depending on setting for language and mnemonics (Simatic or International), it could be that AD (And Double) has to be translated to UD (Und Doppelwort). Just a thought.martin3885 said:Yes, I did it exaxtly as you. cut and paste. do you work with english oder german version of Step7? but this instruction are identical in both.