oley

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 83 total)
  • Author
    Posts
  • in reply to: Ignoring special values #18085
    oley
    Participant

    Hi,

    sorry for late answer, too much to do…
    Those are set points channels, e.g. active power of the plant.
    If I do not set any value, which is ok – full power, or after restart of the controller, it have this special values 0x7FFF or 0x7FFFFFFF, which are presented in the SCADA. This does not look like real value (it is not).
    @manjej73 advice works well. Thanks!

    in reply to: Text as a link to the channel #18070
    oley
    Participant

    Hi,

    it shows me the value and unit of the channel.
    Text is set as a label of the switch, e.g. Q1.

    in reply to: Embedded mimic does not work #18035
    oley
    Participant

    Faceplate as embedded component in a mimic does not work (because I do not now how to bind properties properly for pictures).
    If I create a mimic with the exact content of the faceplate (multiple pictures), it works.

    in reply to: Embedded mimic does not work #18028
    oley
    Participant

    Hi,

    all the images are part of the faceplate file.
    I have a channel with switch state 0, 1, 2, 3 and images for every state:

    <Conditions isArray="true">
            <Item>
              <ComparisonOper1>Equal</ComparisonOper1>
              <ComparisonArg1>0</ComparisonArg1>
              <LogicalOper>None</LogicalOper>
              <ComparisonOper2>LessThan</ComparisonOper2>
              <ComparisonArg2>0</ComparisonArg2>
              <ImageName>active_el04_0.png</ImageName>
            </Item>
            <Item>
              <ComparisonOper1>Equal</ComparisonOper1>
              <ComparisonArg1>1</ComparisonArg1>
              <LogicalOper>None</LogicalOper>
              <ComparisonOper2>LessThan</ComparisonOper2>
              <ComparisonArg2>0</ComparisonArg2>
              <ImageName>active_el04_1.png</ImageName>
            </Item>
            <Item>
              <ComparisonOper1>Equal</ComparisonOper1>
              <ComparisonArg1>2</ComparisonArg1>
              <LogicalOper>None</LogicalOper>
              <ComparisonOper2>LessThan</ComparisonOper2>
              <ComparisonArg2>0</ComparisonArg2>
              <ImageName>active_el04_2.png</ImageName>
            </Item>
            <Item>
              <ComparisonOper1>Equal</ComparisonOper1>
              <ComparisonArg1>3</ComparisonArg1>
              <LogicalOper>None</LogicalOper>
              <ComparisonOper2>LessThan</ComparisonOper2>
              <ComparisonArg2>0</ComparisonArg2>
              <ImageName>active_el04_3.png</ImageName>
            </Item>
          </Conditions>

    Every <Picture> has input channel defined (and for some of them also output).
    If I copy the faceplate into standalone mimic diagram it works well.
    If the faceplate is embedded in another mimic the pictures shows only default image.

    @manjey73
    provide an example for binding properties for a simple text, but my case is a bit more complex.

    in reply to: Embedded mimic does not work #18026
    oley
    Participant

    Hi Mikhail,

    I can, of course, create a new topic, but this topic was related to embedded faceplates in mimics diagrams and the frame issue came because it was present in my screenshots.
    The real problem now is a faceplate with multiple dynamic images embedded in a mimic diagram.

    in reply to: Embedded mimic does not work #18020
    oley
    Participant

    I would appreciate any additional guidance.
    The example with the text on a faceplate was just a simple illustration of my problem.
    My faceplates contain several images that represent the status of the switches: on, off, and undefined.
    In the faceplate, I define an input channel (and sometimes an output channel for a command), and in the conditions, I have set the appropriate images for the channel values.

        <Picture>
          <ID>3</ID>
          <BackColor />
          <Border>
            <Color>Gray</Color>
            <Width>0</Width>
          </Border>
          <ClickAction>
            <ActionType>SendCommand</ActionType>
            <CommandArgs>
              <ShowDialog>True</ShowDialog>
              <CmdVal>0</CmdVal>
            </CommandArgs>
          </ClickAction>
          <Conditions isArray="true">
            <Item>
              <ComparisonOper1>Equal</ComparisonOper1>
              <ComparisonArg1>0</ComparisonArg1>
              <LogicalOper>None</LogicalOper>
              <ComparisonOper2>LessThan</ComparisonOper2>
              <ComparisonArg2>0</ComparisonArg2>
              <ImageName>active_el04_0.png</ImageName>
            </Item>
            <Item>
              <ComparisonOper1>Equal</ComparisonOper1>
              <ComparisonArg1>1</ComparisonArg1>
              <LogicalOper>None</LogicalOper>
              <ComparisonOper2>LessThan</ComparisonOper2>
              <ComparisonArg2>0</ComparisonArg2>
              <ImageName>active_el04_1.png</ImageName>
            </Item>
            <Item>
              <ComparisonOper1>Equal</ComparisonOper1>
              <ComparisonArg1>2</ComparisonArg1>
              <LogicalOper>None</LogicalOper>
              <ComparisonOper2>LessThan</ComparisonOper2>
              <ComparisonArg2>0</ComparisonArg2>
              <ImageName>active_el04_2.png</ImageName>
            </Item>
            <Item>
              <ComparisonOper1>Equal</ComparisonOper1>
              <ComparisonArg1>3</ComparisonArg1>
              <LogicalOper>None</LogicalOper>
              <ComparisonOper2>LessThan</ComparisonOper2>
              <ComparisonArg2>0</ComparisonArg2>
              <ImageName>active_el04_3.png</ImageName>
            </Item>
          </Conditions>
          <DefaultImage>active_el04_0.png</DefaultImage>
          <DeviceNum>4101</DeviceNum>
          <Enabled>True</Enabled>
          <Font>
            <Inherit>True</Inherit>
          </Font>
          <HoverState>
            <BackColor>Blue</BackColor>
            <ForeColor />
            <BorderColor />
            <Underline>False</Underline>
          </HoverState>
          <ImageName>active_el04_0.png</ImageName>
          <ImageStretch>None</ImageStretch>
          <InCnlNum>410804</InCnlNum>
          <Location>
            <X>80</X>
            <Y>80</Y>
          </Location>
          <Name>1Q1</Name>
          <ObjNum>41</ObjNum>
          <OutCnlNum>0</OutCnlNum>
          <Size>
            <Width>40</Width>
            <Height>40</Height>
          </Size>
          <Tooltip>1Q1</Tooltip>
          <Visible>True</Visible>
        </Picture>
    
    in reply to: Embedded mimic does not work #18019
    oley
    Participant

    Thanks, I will try with the same address/url and evtl. port.

    in reply to: Showing units in table view #18018
    oley
    Participant

    Thanks, it would be useful. I have channels of the same quantity but different units: kWh, MWh, GWh.

    in reply to: Embedded mimic does not work #18009
    oley
    Participant

    What is the purpose of <DataSource>Tri</DataSource>?

    in reply to: Embedded mimic does not work #18006
    oley
    Participant

    Hi,

    Thanks! I’ll take a look at it.
    It’ll bring back memories of my primary school days, when I was learning Russian. 🙂

    in reply to: Format enum with custom values #18000
    oley
    Participant

    Thanks, I thought about some script but want to ask if there is another option.

    in reply to: Embedded mimic does not work #17996
    oley
    Participant

    Simple example:

    mimic.mim:

    <?xml version="1.0" encoding="utf-8"?>
    <Mimic editorVersion="6.0.2.0">
      <Dependencies>
        <Faceplate typeName="Face" path="ProjTECH\PV\PV Szczecinek 5\Face.fp" />
      </Dependencies>
      <Document />
      <Components>
        <Text>
          <ID>1</ID>
          <AutoSize>True</AutoSize>
          <BackColor />
          <Blinking>False</Blinking>
          <BlinkingState>
            <BackColor />
            <ForeColor />
            <BorderColor />
            <Underline>False</Underline>
          </BlinkingState>
          <Border>
            <Width>0</Width>
            <Color />
          </Border>
          <CheckRights>False</CheckRights>
          <ClickAction>
            <ActionType>None</ActionType>
            <ChartArgs />
            <CommandArgs>
              <ShowDialog>True</ShowDialog>
              <CmdVal>0</CmdVal>
            </CommandArgs>
            <LinkArgs>
              <Url />
              <UrlParams>
                <Enabled>False</Enabled>
                <Param0 />
                <Param1 />
                <Param2 />
                <Param3 />
                <Param4 />
                <Param5 />
                <Param6 />
                <Param7 />
                <Param8 />
                <Param9 />
              </UrlParams>
              <ViewID>0</ViewID>
              <Target>Self</Target>
              <ModalWidth>Normal</ModalWidth>
              <ModalHeight>0</ModalHeight>
            </LinkArgs>
            <Script />
          </ClickAction>
          <Conditions isArray="true" />
          <CornerRadius>
            <TopLeft>0</TopLeft>
            <TopRight>0</TopRight>
            <BottomRight>0</BottomRight>
            <BottomLeft>0</BottomLeft>
          </CornerRadius>
          <CssClass />
          <DefaultText />
          <DeviceNum>1302</DeviceNum>
          <DisabledState>
            <BackColor />
            <ForeColor />
            <BorderColor />
            <Underline>False</Underline>
          </DisabledState>
          <Enabled>True</Enabled>
          <Font>
            <Inherit>True</Inherit>
            <Name />
            <Size>16</Size>
            <Bold>False</Bold>
            <Italic>False</Italic>
            <Underline>False</Underline>
          </Font>
          <ForeColor />
          <HoverState>
            <BackColor />
            <ForeColor />
            <BorderColor />
            <Underline>False</Underline>
          </HoverState>
          <InCnlNum>131014</InCnlNum>
          <Location>
            <X>40</X>
            <Y>40</Y>
          </Location>
          <Name />
          <ObjNum>0</ObjNum>
          <OutCnlNum>0</OutCnlNum>
          <Padding>
            <Top>0</Top>
            <Right>0</Right>
            <Bottom>0</Bottom>
            <Left>0</Left>
          </Padding>
          <PropertyBindings isArray="true" />
          <Script />
          <Size>
            <Width>100</Width>
            <Height>100</Height>
          </Size>
          <Text>Text</Text>
          <TextAlign>TopLeft</TextAlign>
          <TextDirection>Horizontal</TextDirection>
          <Tooltip />
          <Visible>True</Visible>
          <WordWrap>False</WordWrap>
        </Text>
        <Face>
          <ID>2</ID>
          <Blinking>False</Blinking>
          <CheckRights>False</CheckRights>
          <ClickAction>
            <ActionType>None</ActionType>
            <ChartArgs />
            <CommandArgs>
              <ShowDialog>True</ShowDialog>
              <CmdVal>0</CmdVal>
            </CommandArgs>
            <LinkArgs>
              <Url />
              <UrlParams>
                <Enabled>False</Enabled>
                <Param0 />
                <Param1 />
                <Param2 />
                <Param3 />
                <Param4 />
                <Param5 />
                <Param6 />
                <Param7 />
                <Param8 />
                <Param9 />
              </UrlParams>
              <ViewID>0</ViewID>
              <Target>Self</Target>
              <ModalWidth>Normal</ModalWidth>
              <ModalHeight>0</ModalHeight>
            </LinkArgs>
            <Script />
          </ClickAction>
          <DeviceNum>1302</DeviceNum>
          <Enabled>True</Enabled>
          <InCnlNum>0</InCnlNum>
          <Location>
            <X>0</X>
            <Y>100</Y>
          </Location>
          <Name />
          <ObjNum>13</ObjNum>
          <OutCnlNum>0</OutCnlNum>
          <PropertyBindings isArray="true" />
          <Size>
            <Width>100</Width>
            <Height>100</Height>
          </Size>
          <Visible>True</Visible>
        </Face>
      </Components>
      <Images />
    </Mimic>

    Face.fp:

    <?xml version="1.0" encoding="utf-8"?>
    <Faceplate editorVersion="6.0.2.0">
      <Dependencies />
      <Document>
        <Size>
          <Width>100</Width>
          <Height>100</Height>
        </Size>
      </Document>
      <Components>
        <Text>
          <ID>1</ID>
          <AutoSize>True</AutoSize>
          <BackColor />
          <Blinking>False</Blinking>
          <BlinkingState>
            <BackColor />
            <ForeColor />
            <BorderColor />
            <Underline>False</Underline>
          </BlinkingState>
          <Border>
            <Width>0</Width>
            <Color />
          </Border>
          <CheckRights>False</CheckRights>
          <ClickAction>
            <ActionType>None</ActionType>
            <ChartArgs />
            <CommandArgs>
              <ShowDialog>True</ShowDialog>
              <CmdVal>0</CmdVal>
            </CommandArgs>
            <LinkArgs>
              <Url />
              <UrlParams>
                <Enabled>False</Enabled>
                <Param0 />
                <Param1 />
                <Param2 />
                <Param3 />
                <Param4 />
                <Param5 />
                <Param6 />
                <Param7 />
                <Param8 />
                <Param9 />
              </UrlParams>
              <ViewID>0</ViewID>
              <Target>Self</Target>
              <ModalWidth>Normal</ModalWidth>
              <ModalHeight>0</ModalHeight>
            </LinkArgs>
            <Script />
          </ClickAction>
          <Conditions isArray="true" />
          <CornerRadius>
            <TopLeft>0</TopLeft>
            <TopRight>0</TopRight>
            <BottomRight>0</BottomRight>
            <BottomLeft>0</BottomLeft>
          </CornerRadius>
          <CssClass />
          <DefaultText />
          <DeviceNum>1302</DeviceNum>
          <DisabledState>
            <BackColor />
            <ForeColor />
            <BorderColor />
            <Underline>False</Underline>
          </DisabledState>
          <Enabled>True</Enabled>
          <Font>
            <Inherit>True</Inherit>
            <Name />
            <Size>16</Size>
            <Bold>False</Bold>
            <Italic>False</Italic>
            <Underline>False</Underline>
          </Font>
          <ForeColor />
          <HoverState>
            <BackColor />
            <ForeColor />
            <BorderColor />
            <Underline>False</Underline>
          </HoverState>
          <InCnlNum>131014</InCnlNum>
          <Location>
            <X>30</X>
            <Y>40</Y>
          </Location>
          <Name />
          <ObjNum>13</ObjNum>
          <OutCnlNum>0</OutCnlNum>
          <Padding>
            <Top>0</Top>
            <Right>0</Right>
            <Bottom>0</Bottom>
            <Left>0</Left>
          </Padding>
          <PropertyBindings isArray="true" />
          <Script />
          <Size>
            <Width>100</Width>
            <Height>100</Height>
          </Size>
          <Text>Text</Text>
          <TextAlign>TopLeft</TextAlign>
          <TextDirection>Horizontal</TextDirection>
          <Tooltip />
          <Visible>True</Visible>
          <WordWrap>False</WordWrap>
        </Text>
      </Components>
      <Images />
    </Faceplate>

    Result:

    https://ibb.co/ptBKTd6
    https://ibb.co/Tqgs8Zzr

    in reply to: Embedded mimic does not work #17993
    oley
    Participant

    Yes, exactly. Standalone mim works, but does not bind data as embedded in another mim.

    in reply to: Embedded mimic does not work #17989
    oley
    Participant

    The frames at the right side with urls works fine. I have a service, which generates web pages on localhost.

    The problem is at the left side, that my faceplate does not react with channel data.
    If I take this faceplate as a standalone mimic view, it works fine.

    The faceplate embedded in another mimic view does not work (no channel data in or picture controls).

    in reply to: Embedded mimic does not work #17978
    oley
    Participant

    Hi,

    Screenshots:

    https://ibb.co/rRQNPVqK
    https://ibb.co/d0M3Rp12
    https://ibb.co/CyX0dzR
    https://ibb.co/PZLc83Jz
    https://ibb.co/qYb0g2gS

    It works partially – for example, it opens the chart for the correct channel – but the input channel isn’t working, meaning it doesn’t display the value in the Text field or the corresponding image in the Picture field.

Viewing 15 posts - 1 through 15 (of 83 total)