6/10/2010 12:58 PM | |
Joined: 1/17/2007 Last visit: 3/10/2025 Posts: 1557 Rating:
|
You will need to make the slave address of the second scanner different from the slave address of the first scanner (as all slaves on the same bus (network) have to have their own unique slave addresses). You will then have to duplicate the current request telegram that you are sending to scanner 1 and change the slave address in the request to the address of scanner 2. The telegram request(s) are held in the source DB that you must have already parameterised. You point the DB and DBB values (in the send work DB) at the scanner 1 request telegram (in the source DB) and then call the P_SND_RK block, you would then call P_RCV_RK to get the data from scanner 1. You point the DB and DBB values (in the send work DB) at the scanner 2 request telegram (in the source DB) and then call the P_SND_RK block, you would then call P_RCV_RK to get the data from scanner 2. See the top post of page 3 of this thread. |
Programming today is the race between software engineers building bigger and better idiot proof programs, and the universe producing bigger and better idiots. |
|
6/10/2010 2:33 PM | |
Posts: 112 Rating:
|
dear smiffy, thanks for reply.but I am new one for this concept.can i have plc backup for the same?... |
6/14/2010 5:47 AM | |
Posts: 112 Rating:
|
dear smiffy, Here i with attached my modbus programm backup for your reference. Kindly give us reply. Thanks in advance AttachmentModbus_s7300.zip (105 Downloads) |
6/14/2010 5:55 AM | |
Joined: 2/6/2009 Last visit: 1/7/2025 Posts: 939 Rating:
|
DearSolution Riders, Have a look into thisthread. The sample program is created by me, revert back for any clarification.
|
_______________________________________________________________ |
|
Follow us on