Siemens 200 Reading Parameters, Global Index Method P782 =, Examples are, Types of values are

Models: 200

1 282
Download 282 pages 42.81 Kb
Page 113
Image 113

Reading Parameters

To read parameter values, follow the steps listed in either the Global or the Parameter Specific Index Method that follow. You must be able to program your HMI or SCADA system before completing these methods.

Global Index Method (P782 = 0)

Global format method sets index values for all parameters simultaneously. Use this method to read multiple values set to the same index values.

1.Write the primary index value into R43,999.

This is a value between 0 and 40 which specifies the input or output indexed by the parameter.

Examples are:

Transducer 1 is index 1

Discrete input 2 is index 2

Relay 5 is index 5

2.Write the secondary index value into R43,998.

This is a value between 0 and 40 that specifies the secondary index on the parameter. This value is usually 0.

3.Write the desired format value into the appropriate format register. Because the primary and secondary indexes are already specified, these portions of the format word are ignored and only the last digit is significant.

See Format Registers on page 115 for details.

4.Read the value from the appropriate parameter register.

Types of values are:

Numeric Values, on page 107

Bit Values, on page 107

Split Values, on page 108

Text Messages, on page 109

Relay Function Codes (P111 Only), on page 110

A value of 22,222 indicates that an error has occurred. Specify a different format type and try again.

Parameter Specific Index Method (P782 = 1)

The Parameter Specific index method sets the index values for each parameter independently. Use this method to read multiple parameters with different index values.

1.Write the primary index, secondary index, and data format values into the appropriate format register.

For example, to read the following information:

measured level (P921)

in units with three decimal places

7ML19981FB06

MultiRanger 100/200 – INSTRUCTION MANUAL

Page 103

Modbus Register Types

Page 113
Image 113
Siemens 200 Reading Parameters, Global Index Method P782 =, Parameter Specific Index Method P782 =, Examples are