Custom Model Comx 510
Custom Model Comx 510
Custom Models
                             The Com'X 510 supports the use of custom models. A custom model is any model other than
                             a Built-in model from Schneider Electric. To use a custom model, you must first create a new
                             custom model. A custom model can be:
                             If you base a custom model on a previously created custom model, the new model inherits
                             the properties of the underlying model on which it is based. Inheritance simplifies the task of
                             creating a new custom model, because you need only add or edit properties unique to the new
                             custom model in order to create it.
Field Setting
                                    Select model       Select a model type from the list. This selection determines the
                                    type               properties structure of the new custom model.
                                                       Select the basis for the new custom model:
                              4. Click Create. The dialog closes, and the newly created custom model properties page
                                 opens for initial configuration.
Refer to the following topics for a description of custom model properties configurations.
The Com'X 510 is able to communicate with a Modbus serial line custom slave in two ways:
                                          Field                                      Setting
                                    Select model
                                                 Select Modbus RTU or Modbus TCP.
                                    type
                             4. Click Create. The dialog closes, and the newly created custom model properties page
                                opens for initial configuration.
Follow this procedure to add a Modbus generic slave to the custom model created above:
                             1. Select the new model in the model tree view, then click the Slave collapsible menu.
                             2. Select the reading order in the Endianness drop-down list. This setting describes the
                                register order to be used when a variable is formatted with more than one register.
                                 NOTE: The endianness depends on the device and must be selected in the Com'X 510
                                 settings. For example, PM700 is big endian and PM800 is little endian. The endianness
                                 setting is not used if variables are formatted with 16-bit registers.
                                                                                                            System
                              1054           1           R          x10     Hz      INT       0...4000
                                                                                                            frequency
                             When reading the device documentation, it appears that all variables can be read with 1 frame
                             of registers (Function code 03) starting from register 1037 and ending with register 1054
                             (count = 18).
When you click New frame, a new line with default settings appears:
When you finish adding and configuring frame settings, click Save changes.
Click New item to create a new variable, and fill in these different fields:
                             When you finish adding and configuring frame settings, click OK to close the dialog, then
                             click Save changes.
                                                                                                                              Use
                                                                                          Minimum          Maximum
                                  Format                    Description                                                     "Endian"
                                                                                            Value            Value
                                                                                                                             Setting
                                                  1 register with signed integer
                              INT16                                                     –32768           32767             No
                                                  value
                                                  1 register with positive integer
                              UINT16                                                    0                65535             No
                                                  value
                                                  2 registers with signed integer       –2147483648
                              INT32                                                                      2147483647        Yes
                                                  value
                                                  2 registers with positive integer
                              UINT32                                                    0                4294967295        Yes
                                                  value
                                                  2 registers with signed floating
                              FLOAT32             point value coded according to        –1E–10           +1E–10            Yes
                                                  IEEE754 standard
                                                                                                                         Use
                                                                                   Minimum          Maximum
                                 Format                 Description                                                    "Endian"
                                                                                     Value            Value
                                                                                                                        Setting
                              UINT32_         2 registers with positive integer
                                                                                  0               99999999             Yes
                              MOD10K          value from 0 to 9999
                                              4 registers with signed integer
                              INT64                                               –2 (^63)        –2 (^63)–1           Yes
                                              value
                                              4 registers with positive integer
                              UINT64                                              0               –2 (^63)–1           Yes
                                              value
                              UINT64_         4 registers with positive integer                   9 999 999 999
                                                                                  0                             Yes
                              MOD10K          value from 0 to 9999                                999 999
                             l   Count element
                             l   Count unit
                             l   Flow element
                             l   Flow unit
                                            Field                                   Setting
                                     Select model
                                                      Select Pulse Meter.
                                     type
                                                      Select the basis for the new custom model:
                               4. Click Create. The dialog closes, and the newly created custom model properties page
                                  opens for initial configuration.
                              Measure Properties
                              This graphic shows the measure properties for a newly created custom pulse meter model:
                               Field                                         Description
                              Count   Select a measure element from the list, or select Custom and type a
                              element personalized name into the Custom count element field.
                              Count     Select a measure unit from the list, or select Custom and type a personalized
                              unit      unit into the Custom count unit field.
                              Pulse     The pulse counter increases by this value each time a pulse is received. The list
                              weight    is restricted to the values that correspond to the selected meter type.
                              Upper
                                        Defines when the active energy counter rolls back to zero.
                              Range
                              Flow    Select a flow element from the list, or select Custom and type a personalized
                              element name into the Custom flow element field.
                              Flow      Select a flow unit from the list, or select Custom and type a personalized unit
                              unit      into the Custom flow unit field.
                             Measurements Table
                             The measure property selections you make, including customized properties, are reflected in
                             the measurements table. The following example displays customized count and flow
                             elements and units:
                             The Com'X 510 detects the change of state, and the counter increases by the pulse weight
                             value.
                             NOTE: Each instance of a custom KYZ pulse meter needs to be directly connected to the
                             digital inputs of the Com'X 510.
                             Measurement Properties
                             The custom KYZ pulse meter model presents the same Measure Properties and
                             Measurements table items as in Creating a Custom Pulse Meter on page 115.
                             Index Counter
                             This graphic shows the difference between a KYZ pulse meter and a standard pulse meter
                             (pulse weight = 10):
                             l   Count element
                             l   Count unit
                             l   Flow element
                             l   Flow unit
                             The signal properties of the four contact outputs present the same configuration choices as
                             the Schneider Electric standard main meter.
                                        Field                                      Setting
                                  Select model
                                                     Select Main Meter.
                                  type
                               4. Click Create. The dialog closes, and the newly created custom model properties page
                                  opens for initial configuration.
                                  Field                                    Description
                              Count         Select a measure element from the list, or select Custom and enter a
                              element       personalized name into the Custom count element field.
                                            Select a measure unit from the list, or select Custom and enter a
                              Count unit
                                            personalized unit into the Custom count unit field.
                              Pulse         The pulse counter increases by this value each time a pulse is received. The
                              weight        list is restricted to the values that correspond to the selected meter type.
                              Upper
                                            Defines when the active energy counter rolls back to zero.
                              Range
                              Flow          Select a flow element from the list, or select Custom and enter a
                              Element       personalized name into the Custom flow element field.
                                   Field                                          Description
                                                  Select a flow unit from the list, or select Custom and enter a personalized
                              Flow unit
                                                  unit into the Custom flow unit field.
                                   Field                                          Description
                              Signal              Enter the name of this signal, or accept the default name Status Output n,
                              element             where n represents the signal number (1 to 4).
                              Value for 0         Enter the status associated with a value of 0. Default is OFF.
                              Value for 1         Enter the status associated with a value of 1. Default is ON.
                             Measurements Table
                             The measure and signal property selections you make, including customized properties for
                             pulse outputs, are reflected in the measurements table. The following example displays
                             customized count and flow elements and units for the second measure property:
                             When you add a custom main meter, the two pulse outputs are automatically connected to
                             the upstream device. You can connect the four contact outputs as in Connecting a Standard
                             Main Meter on page 122.
The first way is from the properties collapsible menu of the standard main meter:
The second way is from the properties area of the upstream device:
                              The device tree view shows that the standard main meter is connected to an additional digital
                              input.
                                           Field                                     Setting
                                     Select model
                                                     Select either Contactor or Impulse Relay.
                                     type
                                                     Select the basis for the new custom model:
                                       Field                                       Setting
                                  Default value
                                                   Select a default value for how the new model is used
                                  of usage
                             4. Click Create. The dialog closes, and the newly created custom model properties page
                                opens for initial configuration.
                             Measurement Properties
                             This table shows the measurement properties of a contactor or impulse relay:
                                   Field                                     Description
                              Signal element   Enter the element being monitored, or accept the default Status Output.
                              Value for 0      Enter the state represented by a value of 0, or accept the default OFF.
                              Value for 1      Enter the state represented by a value of 1, or accept the default ON.
                             Measurement Table
                             This graphic shows the measurement table interface:
                              l   4...20 mA
                              l   0...10 V
                             Each custom analog sensor model monitors a single point. You can create a customized
                             analog sensor model by entering customized settings for the following properties:
                              l   Count element
                              l   Count unit
                                        Field                                     Setting
                                    Select
                                               Select either 4-20 mA Sensor or 0-10 V Sensor.
                                    model type
                                                  Select the basis for the new custom model:
                                    Create
                                    model
                                                  l   New
                                                  Enter the name of the new custom model, or accept the default name,
                                    Type          either Sensor 4-20mA_Custom or Sensor 0-10V_Custom,
                                                  depending on the selected model type.
                                    Default
                                    value of  Select a default commodity the new model measures.
                                    commodity
                                    Default
                                    value of      Select a default value for how the new model is used
                                    usage
                              4. Click Create. The dialog closes, and the newly created custom model properties page
                                 opens for initial configuration.
                                 Field                                      Description
                                             Select a monitoring element from the list, or select Custom and enter a
                              Element
                                             personalized name into the Custom element field.
                                             Select a monitoring unit from the list, or select Custom and enter a
                              Unit
                                             personalized unit into the Custom unit field.
                              LowerBound
                                             The value mapped as the minimum monitored value.
                              UpperBound
                                             The value mapped as the maximum monitored value.
                             Measurements Table
                             The monitoring property selections you make, including customized properties, are reflected
                             in the measurements table. The following example displays a customized count elements
                             and unit: