Motion Control ASDA-B3 1. Read / write with panel: Write to data array Read from data array Set the address for writing the Write P5.011 = 11 7 first data P5.013 Not writable with panel 2. Read / write with communication To read from or write to the data array through Modbus, use the communication command 0x10 to write consecutively, 0x06 to write single data, and 0x03 to read consecutively. First, use a consecutive writing command to write 100 to Data array #11, 200 to Data array #12, and 300 to Data array #13. When reading, use a single data writing command to set the start address as Data array #11, then use a consecutive reading command to read P5.011 - P5.013 (Data array #11 and #12).
This reads two values, so P5.011 is incremented by 2 and then it reads Data array #13.
7-60 Set the address Write for reading the P5.011 = 11 first data Read Read Read Data array #11 P5.012 = 100 P5.013 = 100 Value o P5.011 (reading (reading address) remains ad P5.011 = 11 P5.01 Write P5.011 = 12 Read Read Data array #12 P5.013 = 200 Read P5.012 = 200 Value o P5.011 (reading (rea address) remains address P5.011 = 12 P5.0 Write P5.011 = 13 Read Read Data array #13 P5.013 = 300 Read P5.012 = 300 Read P5.013 = 100 Value o (reading ad P5.01 Read P5.013 = 200 Value o (rea address P5.0 Write P5.011 = 13 Read P5.013 = 300 Read Data array #13 Read P5.012 = 300 Write 100 to Data array #11 Write P5.012 = 100 Value of P5.011 (writing address) adds 1 P5.011 = 12 Write 200 to Data array #12 Write P5.012 = 200 Value of P5.011 (writing address) adds 1 P5.011 = 13 Write 300 to Data array #13 Write P5.012 = 300 Read Data array #11 Read P5.012 = 100 Writing to the data array Packet Communi- cation Cmd Start address Data length P5.011 P5.012 P5.013 Low bit High bit Low bit High bit Low bit High bit 1 0x10 P5.011 6 words 11 0 100 0 200 0 2 0x10 P5.011 6 words 13 0 300 0 0 0 Reading the data array Packet Communi- cation Cmd Start address Data length P5.011 P5.012 P5.013 Low bit High bit Low bit High bit Low bit High bit 4 0x06 P5.011 - 11 0 - - - - 5 0x03 P5.011 6 words 11 0 100 0 200 0 6 0x03 P5.011 6 words 13 0 300 0 0 0