8/31/2017 5:50 PM | |
Joined: 9/27/2006 Last visit: 3/26/2025 Posts: 12344 Rating:
|
Hello nomolina; Ifound the following document on the AZL5 Modbus communications that can show you where to find the Modbus registers you want to read and write from your burner system: AZL... Modbus User Documentation - Siemens Starting on page 9 you will find all available reg9sters your Modbus master can call from the slave, starting at offset 0, "Phase"; use Modbus function 3 to call base address 40001, offset 0 and you will get "Phase". The following manual was written for the same S7-300m famiy with a CP 3141, but programmed in Step 7 v5.5 insteadmof TIA Portal; it contains a description of the FCs and DBs used in the sample program you are studying, even though this was developped on TIA Portal you might find the information useful. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 8/31/2017 5:56:03 PM |
|
9/4/2017 7:54 PM | |
Posts: 40 Rating:
|
Thanks for your quick response. |
9/5/2017 3:19 PM | |
Joined: 9/27/2006 Last visit: 3/26/2025 Posts: 12344 Rating:
|
Hello nomolina; Frst, there are already TIA Portal versions of the Modbus master programs (for CP 4341): Sample program MODBUS Master (standard block) zXX21_04_PtP_Com_MODMA.zip for STEP 7 (TIA Portal) Second, there is a very important manual that you must become familiar with if you want to program the CP 341 as a Modbus master: To setup a Modbus read job in the CPu program, one of the steps is to prepare a Source send DB (in the sample progrm, this is DB42); this DB is where the programmer prepares the information for the Modbus Master read job: the slave address, the Modbus Function (Function 03 calls registers at Modbus address 4000x), the number of registers and he start offset. Look at the attachment below, and study smiffy's excellent presentation on Modbus basics ("Modbus General description", in the Conference Communications). If you ant to read more than one register with the same start address, change the value in DB42. If you want to read starting at 40010, chang the start address value in DB 42. If you want to read from another slave, craete another Source SendDB with a new slave address, start address and number of registers and call it in a new Modbus master job.. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 9/5/2017 3:26:19 PM |
|
9/5/2017 5:11 PM | |
Posts: 40 Rating:
|
Thank you so much.
|
9/6/2017 10:36 PM | |
Posts: 40 Rating:
|
Good evening dear Daniel. AttachmentAttachment.zip (262 Downloads) |
Last edited by: The Helping Hand at: 9/8/2017 1:25:02 PM |
|
9/8/2017 5:17 PM | |
Posts: 40 Rating:
|
Dear Daniel,
|
Follow us on