From 8e9eadc193c669a17b46bfb04b48101701f7b734 Mon Sep 17 00:00:00 2001 From: Baocheng Su Date: Mon, 4 Dec 2023 11:31:42 +0800 Subject: [PATCH] iot2050-eio-manager: sm1238: Hide E0-E3 module version temporarily When selecting Ex as module version, the data variant range is from 0x81 - 0x84 in TIA portal, which is not coverred by the module manual. Currently clarification is under going, meanwhile let's hide these module versions before any feedback is received. Signed-off-by: Baocheng Su --- .../schema-sm1238-em-480vac.yaml | 42 +------------------ .../mlfb-6ES7238-5XA32-0XB0.yaml | 4 -- 2 files changed, 1 insertion(+), 45 deletions(-) diff --git a/recipes-app/iot2050-eio-manager/files/config-schema/schema-sm1238-em-480vac.yaml b/recipes-app/iot2050-eio-manager/files/config-schema/schema-sm1238-em-480vac.yaml index b6384fa38..f97b04e71 100644 --- a/recipes-app/iot2050-eio-manager/files/config-schema/schema-sm1238-em-480vac.yaml +++ b/recipes-app/iot2050-eio-manager/files/config-schema/schema-sm1238-em-480vac.yaml @@ -17,7 +17,7 @@ properties: const: "6ES7238-5XA32-0XB0" module_version: - enum: [32, 112, 224, 225, 226, 227] + enum: [32, 112] con_type: enum: [0x00, 0x0B, 0x0C, 0x0E, 0x0F, 0x10] @@ -151,46 +151,6 @@ allOf: 0xF5, 0xF0, 0xEF, 0xE2, 0xE1, 0xE0, 0x9F, 0x9E, 0x9D, 0x9C] - # EE@Industry measured data e0 - - if: - properties: - module_version: - const: 224 - then: - properties: - data_variant: - const: 0xE0 - - # EE@Industry measured data e1 - - if: - properties: - module_version: - const: 225 - then: - properties: - data_variant: - const: 0xE1 - - # EE@Industry measured data e2 - - if: - properties: - module_version: - const: 226 - then: - properties: - data_variant: - const: 0xE2 - - # EE@Industry measured data e3 - - if: - properties: - module_version: - const: 227 - then: - properties: - data_variant: - const: 0xE3 - required: - mlfb - module_version diff --git a/recipes-app/iot2050-eio-manager/files/config-template/mlfb-6ES7238-5XA32-0XB0.yaml b/recipes-app/iot2050-eio-manager/files/config-template/mlfb-6ES7238-5XA32-0XB0.yaml index 7439b1d0e..f97747d9b 100644 --- a/recipes-app/iot2050-eio-manager/files/config-template/mlfb-6ES7238-5XA32-0XB0.yaml +++ b/recipes-app/iot2050-eio-manager/files/config-template/mlfb-6ES7238-5XA32-0XB0.yaml @@ -25,10 +25,6 @@ description: | value options: - 32: 32 bytes I/ 12 bytes O - 112: 112 bytes I/ 12 bytes O - - 224: EE@Industry measurement data profiles e0 - - 225: EE@Industry measurement data profiles e1 - - 226: EE@Industry measurement data profiles e2 - - 227: EE@Industry measurement data profiles e3 - con_type: Connection type of the phases