Clay B.
Lifetime Supporting Member
What I have is a S7-300 PLC talking to a Rice Lake Controller thru ProfibusDP. My problem is The S7 talks faster than the Rice Lake can respond. So somtimes I get my value from my first request as data on my second request. With what I am trying to do this is not a good thing.
What I need to do is delay my requests so that I get the right responce. To the right Comand. I need to create some sort of pause between my message sending.
My other problem. I suck at programing Siemens. I know I need to build a time controlled sequencer but the how eludes me.
I can not get my mind around how IEC Timers work in Siemens. My tought is to create a pulse timer that triggers a counter and then use the counter accumlator valve to send my various messages.
I have 8 unique recipe messages, 6 modes, 2 product data blocks, and I need to read batch modes from the Rice Lake so I can control some feed valves.
Note: you can only send 8 bytes of data to the rice lake in a message
The First word is your comand what you want the Rice Lake to do the Second word is the parameter you want to use and the last is you value which is always a float.
If anybody has any ideas I would appriciate the help.
Right now I am kind of stuck
What I need to do is delay my requests so that I get the right responce. To the right Comand. I need to create some sort of pause between my message sending.
My other problem. I suck at programing Siemens. I know I need to build a time controlled sequencer but the how eludes me.
I can not get my mind around how IEC Timers work in Siemens. My tought is to create a pulse timer that triggers a counter and then use the counter accumlator valve to send my various messages.
I have 8 unique recipe messages, 6 modes, 2 product data blocks, and I need to read batch modes from the Rice Lake so I can control some feed valves.
Note: you can only send 8 bytes of data to the rice lake in a message
The First word is your comand what you want the Rice Lake to do the Second word is the parameter you want to use and the last is you value which is always a float.
If anybody has any ideas I would appriciate the help.
Right now I am kind of stuck