Siemens — Write Block

Word 7: Secondary Index, SPA Specifies the secondary index for the parameter in word 5. This word is ignored for parameters that don’t use multiple indexes. See Parameter Indexes on page 17 for more information. Application Layer Word 8: Value, SPA This word contains the value written to the specified parameter and index. The format of this word is specified by words 9 to 10. To write a value, ensure word 11 = 1 and word 12 =1. See also Data Types on page 42. Word 9: Decimal Place, SPA This word specifies the number of decimal places for the value in word 8 of the Write Block and word 38 of the Read Block.

Positive values indicate that the decimal place shifts to the left, and negative values indicate that the decimal place shifts to the right. For example: word 9 = 1: all returned values have the decimal place shifted 1 space to the left and a returned value of 5,213 is interpreted as 521.3. word 9 = –1: a returned value of 5,213 is interpreted as 52,130. Word 10: Format, SPA This word sets the format for the value in word 8 of the Write Block and word 38 of the Read Block. 0 = normal 1 = percent Word 11: Read/Write Flag, SPA This word instructs the read/write application of word 8.

0 = read parameter as described by words 5, 6, 7, 9 and 10; word 8 ignored 1 = set parameter to the value described by words 5 to 10 Word 12: Operating Mode, SPA This word sets the operating mode of the Siemens Milltronics SmartLinx instrument. The operating mode can get out of sync if the remote instrument resets back to run mode locally. This can happen due to a time-out or through local programming. The mode is always reported correctly through the Read block. (See bit 10 of Word 0: Instrument Status on page 31.) To reset the instrument to program mode, write 0 to synchronize the SmartLinx module with the instrument and then write 1 to set the instrument to program mode.

0 = run mode 1 = program mode 7ML19981BH02 SmartLinx DeviceNet – INSTRUCTION MANUAL Page 29