Siemens — Single Parameter Access (SPA)

Writing a Parameter 1. Set the Read/Write flag in the output table (Write Block) to 0, “Read”. 2. Write the Parameter Number, Primary Index, Secondary Index, Decimal Place, and Format in the correct locations. 3. Write the new value of the parameter into the correct location of the output memory (Write Block) 4. Verify the unit is in program mode (not needed for BW500, BW500/L and SF500). For Level see bit 10 of status word in Read Block. 5. If the unit is not in program mode, write a 1 to the operating mode word in the output memory (Write Block). Please note that writing a 1 will only work if the word is currently a 0:

if not, you need to change it to 0 before writing a 1 so it can take effect. 6. Set the Read/Write flag in the output table (Write Block) to a 1 “write”. 7. Monitor the Input table of the PLC (Read Block) and watch for the values you wrote to appear in the appropriate locations. 8. Set Read/Write flag back to 0. 9. Place unit in Run mode. Application Layer Note: Parameters for Level Products should only be written to while the unit is in PROGRAM mode. If the level instrument is still in RUN mode, the written value might be ignored. 7ML19981AQ03 SmartLinx PROFIBUS DP – INSTRUCTION MANUAL Page 23