duckie112
Member
I use CPU313C-2DP as master and CPU315-2DP as a slave and theyre connecting with each other with a profibus cable. The software for it that I used is from http://support.automation.siemens.co...ard&viewreg=WW
My only problem is that I cant seem to get the outputs high in the variable table and also the inputs wont show on the variable table as on when I switch them on (sm374 card on slave). So far I don't see anything wrong in my software and setup and used this example.
Also forcing the outputs on the master PLC isn't working. I want to know if theres anything that need to be done first aswell in order to force outputs in a master slave system.
//receiving data
DB14.DBD 0 HEX DW#16#0000FF00
DB14.DBD 4 HEX DW#16#00000000
//sending data
DB15.DBD 0 HEX DW#16#0000FFFF DW#16#0000FFFF
DB15.DBD 4 HEX DW#16#FFFF0000 DW#16#FFFF0000
This is what I get when testing sending and receiving. When I force the values at the sending part it will receive. So I have no clue why I cant force outputs.
This is my project file. I see nothing wrong inside this so I hope I forgot something in order to watch the outputs and inputs and turn them on and off.
My only problem is that I cant seem to get the outputs high in the variable table and also the inputs wont show on the variable table as on when I switch them on (sm374 card on slave). So far I don't see anything wrong in my software and setup and used this example.
Also forcing the outputs on the master PLC isn't working. I want to know if theres anything that need to be done first aswell in order to force outputs in a master slave system.
//receiving data
DB14.DBD 0 HEX DW#16#0000FF00
DB14.DBD 4 HEX DW#16#00000000
//sending data
DB15.DBD 0 HEX DW#16#0000FFFF DW#16#0000FFFF
DB15.DBD 4 HEX DW#16#FFFF0000 DW#16#FFFF0000
This is what I get when testing sending and receiving. When I force the values at the sending part it will receive. So I have no clue why I cant force outputs.
This is my project file. I see nothing wrong inside this so I hope I forgot something in order to watch the outputs and inputs and turn them on and off.
Last edited: