pasteleiro
Member
Hey
I come before you to ask your help about a problem I'm having with a program for S7-300.
Any ideas how to change the first bit of a word (or double word) to "1", then rotate it left until it reaches bit 15, then send that bit to another word, rotate, send and so on?
The idea is that the "1" goes through a series of words till it reaches a specific bit inside a specific word.
My questions: How do I adress a single bit inside a word? To write and read from it? How to rotate through a "n" number of words?
I'm new to Siemens so plz excuse me if I'm not seeing this right
Thank you all in advance
I come before you to ask your help about a problem I'm having with a program for S7-300.
Any ideas how to change the first bit of a word (or double word) to "1", then rotate it left until it reaches bit 15, then send that bit to another word, rotate, send and so on?
The idea is that the "1" goes through a series of words till it reaches a specific bit inside a specific word.
My questions: How do I adress a single bit inside a word? To write and read from it? How to rotate through a "n" number of words?
I'm new to Siemens so plz excuse me if I'm not seeing this right
Thank you all in advance