Domat IDE
Home
  • Basic description of the Domat IDE
  • Start the IDE
  • Process station, or controller (PLC)
  • Project
  • HMI editor
  • Software
  • Domat devices
Contact
  • Čeština
  • English
Home
  • Basic description of the Domat IDE
  • Start the IDE
  • Process station, or controller (PLC)
  • Project
  • HMI editor
  • Software
  • Domat devices
Contact
  • Čeština
  • English
  • Basic description of the Domat IDE
    • Frequently asked questions
    • Programming options
    • Communication options
    • Hardware capabilities
    • User prerequisities
    • Definitions of terms necessary for work in Merbon IDE
    • General proceedings to program PLCs
  • Start the IDE
    • NewSolution
    • New Solution in Simple mode
    • Hot keys
    • Mouse control
    • Settings
    • Searching variables - Quick Find
    • Project archiving
  • Process station, or controller (PLC)
    • PLC attachment (and platform type settings)
    • Controller runtime update
    • Update from HW device
    • Uploading of program to a PLC
    • Online changes
    • Controller properties
    • Controller configuration
    • PLC Reboot
    • Time setup
    • Firewall settings
    • Dynamic Changes
    • Connection over a Proxy server
    • Alarms log
    • Profiles
    • PLC task definition
    • Communication channel settings
    • Definition of HW variables for a communication channel
    • Automatic assignment of a Domat device
    • Export of devices
    • Import of devices
    • Coupling IOs
    • Global variables mapping to hardware I/O
    • Access to variables of another PLC
    • SSL Communication
    • Modbus server setup
    • BACnet server setup
    • SSCP serial server settings
    • OPC server
    • Variable transformation, configuration of analogue inputs
    • History, saving data in a database
    • Alarm overview
    • Debugging
    • Licensing PLC
    • Break points
    • Break points window
    • Exceptions
    • Manual mode
    • Properties of hardware platforms
    • System status
    • PLC resource usage
    • Variables backup
    • Modbus Configurator
    • Comparison of local and remote project
    • Syslog Protocol
    • Bulk write to variables
  • Communication protocols description

    • BACnet protocol driver
    • Daikin iTC (.NET) protocol driver
    • Hauser (.NET) protocol driver
    • IEC 60870-5-104 protocol driver
    • IEC 62056-21 protocol driver
    • K-Bus protocol driver
    • Modbus protocol driver
    • M-bus protocol driver
    • SoftPLC Link protocol driver
    • SSCP protocol driver
    • Text Parser (.NET) protocol driver
  • Project
    • New project
    • Variable definition
    • Autogen - Automatic mapping of variables
    • FUPLA editor
    • ST editor
    • Watch
    • Variable browser
    • Charts
    • Port Monitor
    • Results
    • Output
  • HMI editor
    • Description of HMI editor
    • Binary function
    • Work in Simple mode
    • Work in Full mode
    • User policy
    • HMI text editor objects
    • Definition of LCD menu for PLC
    • Terminal text menu definition
    • HMI graphical objects
    • Terminal graphic menu definition
    • Creating styles
    • Web server
    • Service web
    • Controller as external webserver
    • Domat Visual
  • Software
    • New Solution
    • New Solution in Simple mode
    • Programming languages
    • Access to inputs/outputs of inner block
    • Initial values
    • Common elements

      • Identifiers
      • Keywords
      • White space
      • Comments
      • Literals
      • Variables
      • Constants
    • Data types

      • Elementary data types (BOOL, INT, REAL, STRING, etc.)
      • Generic data types
      • Derived (user) data types
      • Implicit conversions for elementary types
      • Inference rules for overloaded functions selection
    • Object oriented programming (OOP)
      • Pointer data type
      • Reference data type
      • Namespace
    • Program organisation unit (POU)
      • Functions
      • Standard functions
      • Function blocks
      • Standard function blocks
      • Programs
    • ST language (Structured Text)

      • ST editor
      • ST language commands
      • ST language operators
      • ST drivers
    • FUPLA language (FUnction PLAn)

      • FUPLA editor
      • FUPLA wires
      • Visibility of inputs and outputs at a function block
    • Libraries

      • Creating a new library
      • Creating user library
      • Library prototypes
      • Basic Analogue Boxes

        • Composition / Decomposition

          • Bit Composition (BD18)
          • Bit Composition 8bit (BD18)
          • Bit Decomposition (BD19)
          • Bit Decomposition 8bit (BD19)
          • Int Composition (BD55)
          • Int Decomposition (BD54)
        • Controllers

          • Direct Acting (cooling)

            • On-Off Control - Cooling (B30)
            • P-Controller - Cooling (B32)
            • PI-Controller - Cooling (B34)
            • PID-Controller - Cooling (B36)
          • Reverse Acting (heating)

            • On-Off Control - Heating (B31)
            • P-Controller - Heating (B33)
            • PI-Controller - Heating (B35)
            • PID-Controller - Heating (B37)
          • Helpers

            • Helper: Multi In Bool 8
            • Helper: Multi In Lint
            • Helper: Multi In Real
            • Helper: Multi Out Bool
            • Helper: Multi Out Bool 8
            • Helper: Multi Out Lint
            • Helper: Multi Out Real
        • Mathematics

          • ABS
          • ADD
          • AVG
          • CEIL
          • DIV
          • FLOOR
          • MAX
          • MIN
          • MOD
          • MUL
          • Smart Average (B48)
          • SUB
          • TRUNC
          • TRUNC_TO_LINT
          • Compare Functions

            • EQ
            • GE
            • GT
            • LE
            • LT
            • NE
          • Logarithm / Exponential Functions

            • EXP
            • EXP10
            • EXP2
            • EXPT
            • LN
            • LOG
            • SQRT
          • Specials

            • ISINFINITY
            • ISNAN
            • ISNEGATIVEINFINITY
            • ISPOSITIVEINFINITY
          • Time

            • ADD_DT_TIME
            • ADD_LDT_LTIME
            • ADD_TOD_TIME
            • ADD_LTOD_LTIME
            • CONCAT_DATE_TOD
            • DIVTIME
            • MULTIME
            • SUB_DATE_DATE
            • SUB_DT_DT
            • SUB_DT_TIME
            • SUB_TOD_TIME
            • SUB_TOD_TOD
          • Trigonometric Functions

            • ACOS
            • ACOSH
            • ASIN
            • ASINH
            • ATAN
            • ATANH
            • COS
            • COSH
            • SIN
            • SINH
            • TAN
            • TANH
        • Sources

          • B3 Sine Wave Generator
          • B4 Saw Wave Generator
        • Specials

          • Analogue Incremental Counter (B107)
          • Analogue Memory (B105)
          • Analogue Shift Register (B110)
          • Integer Memory (B106)
          • Integer Shift Register (B111)
          • Integrator (B113)
          • RAND
        • Switches

          • Analogue Demultiplexer (B10)
          • Integer Demultiplexer (B12)
          • MUX
          • SEL
        • Time Blocks

          • GETDELTATIME
          • GETDELTATIME4
          • GETDSTOFFSET
          • GETEVALTIME
          • GETEVALTIME4
          • GETLOCALTIME
          • GETTIMEZONEOFFSET
          • GETUTCTIME
          • PLC Time (B99)
          • Time+Date to Total Seconds (B97)
          • Total Seconds to Time+Date (B98)
          • Conversions

            • COMPOSEDATETIME
            • CONVERTTOLOCALTIME
            • CONVERTTOUTCTIME
            • DATETOTALDAYS
            • DATETOTALHOURS
            • DATETOTALMILLISECONDS
            • DATETOTALMINUTES
            • DATETOTALSECONDS
            • DECOMPOSEDATE
            • DECOMPOSETIME
            • Time Conversion (B100)
            • TIMETOTALDAYS
            • TIMETOTALHOURS
            • TIMETOTALMILLISECONDS
            • TIMETOTALMINUTES
            • TIMETOTALSECONDS
        • Time Dependent

          • Filter (B86)
          • Pulse Width Modulation (B87)
          • Slew Rate Limit (B84)
          • Variable Slew Rate Limit (B85)
        • Transfer Function

          • LIMIT
          • Limits (B82)
          • Linear Interpolation (B83)
          • Two-Point Function (B80)
          • Four-Point Function (B81)
        • Type Casts

          • BCD_TO_UDINT
          • BCD_TO_UINT
          • BCD_TO_ULINT
          • BCD_TO_USINT
          • DT_TO_DATE
          • DATE_TO_LDATE
          • DATE_TO_DT
          • DATE_TO_LDT
          • DATE_TO_LTOD
          • DATE_TO_TOD
          • DT_TO_LDT
          • DT_TO_LTOD
          • DT_TO_TOD
          • LDATE_TO_DATE
          • LDATE_TO_DT
          • LDT_TO_DATE
          • LDT_TO_DT
          • LDT_TO_LDATE
          • LDT_TO_LTOD
          • LTIME_TO_TIME
          • LTOD_TO_DT
          • LTOD_TO_LDT
          • LTOD_TO_TOD
          • TO_BCD_BOOL
          • TIME_TO_LTIME
          • TO_BCD_BYTE
          • TO_BCD_DWORD
          • TO_BCD_LWORD
          • TO_BCD_WORD
          • TO_BYTE
          • TO_DINT
          • TO_DWORD
          • TO_INT
          • TO_LINT
          • TO_LREAL
          • TO_LWORD
          • TO_REAL
          • TO_SINT
          • TO_STRING
          • TO_UDINT
          • TO_ULINT
          • TO_USINT
          • TO_WORD
          • TOD_TO_LTOD
      • Basic Digital Boxes

        • Counters

          • Pulse Counter (BD30)
          • Down

            • Counter DINT (IEC 61131)
            • Counter INT (IEC 61131)
            • Counter LINT (IEC 61131)
            • Counter UDINT (IEC 61131)
            • Counter ULINT (IEC 61131)
          • Up

            • Counter DINT (IEC 61131)
            • Counter INT (IEC 61131)
            • Counter LINT (IEC 61131)
            • Counter UDINT (IEC 61131)
            • Counter ULINT (IEC 61131)
          • UpDown

            • Counter DINT (IEC 61131)
            • Counter INT (IEC 61131)
            • Counter LINT (IEC 61131)
            • Counter UDINT (IEC 61131)
            • Counter ULINT (IEC 61131)
        • Logical Operations

          • AND
          • NEG
          • NOT
          • OR
          • ROL
          • ROR
          • SHL
          • SHR
          • XOR
        • Sources

          • Pulse Generator (BD2)
        • Specials

          • Alarm Memory Ext. (BD57)
          • Boolean Memory (BD51)
          • Falling Edge Detection (IEC 61131)
          • Flip Flop (BD52)
          • Latch Flip Flop (BD53)
          • Multiple Alarm Memory (BD50)
          • Rising Edge Detection (IEC 61131)
          • RS FlipFlop (IEC61131)
          • Single Alarm Memory (BD49)
          • Single Alarm Memory w. Delay (BD56)
          • SR FlipFlop (IEC61131)
          • Toggle
        • Switches

          • Digital Demultiplexer (BD11)
        • Time Dependent

          • Digital Filter (BD15)
          • Monostable FlipFlop
          • Monostable FlipFlop (Non Resetable)
          • Pulse Encoder (IEC 61131)
          • Switch-Off Delay (BD13)
          • Switch-Off Delay (IEC 61131)
          • Switch-On Delay (BD12)
          • Switch-On Delay (IEC 61131)
          • Switch-On/Off Delay (BD14)
        • Type Casts

          • TO_BOOL
      • Basic String Boxes

        • BYTES_TO_STRING
        • CONCAT
        • DELETE
        • INSERT
        • FIND
        • LEFT
        • LEN
        • LINT_TO_STRING
        • LREAL_TO_STRING
        • MID
        • REPLACE
        • RIGHT
        • STRING_TO_BYTES
        • TO_STRING
      • Communications

        • Emails

          • Send Mail
          • Send Mail Triggered
          • Send Mail Custom
        • Input / Output Functions

          • Close Port
          • Get Port Status
          • Open Port
          • Read Port
          • Write Port
        • SMS

          • Receive SMS
          • Send SMS
          • Send SMS Triggered
      • HVAC

        • Boiler Shifts

          • Bit Rotation (T14)
        • Others

          • E-max - Load shedding (T34)
          • Heat / Cool Recovery Block (T39)
          • Heating Curve (T1)
          • Min / Max Controller (T33)
          • Operating Hours (T32)
          • Power Meter (T36)
          • Pump Switch (T35)
          • Average Power Meter (T37)
        • Physics

          • Dew Point (T28)
          • Enthalpy (T29)
          • Solar Calculator (T40)
        • Time Programs

          • Bool Scheduler (T17)
          • Bool Scheduler Basic (T17)
          • Integer Scheduler (T19)
          • Integer Scheduler Basic (T19)
          • Real Scheduler (T18)
          • Real Scheduler Basic (T18)
        • Valve Controls

          • Three Point Control - Feedback (T6)
          • Three Point Control (T2)
          • Three Point P-Controller (T8)
      • System Function

        • Get Exception Error Code
        • Get Startup Flags
        • Mutex Lock
        • Mutex Unlock
        • Resume Normal Tasks
        • Set System Time
        • Stop Interface Entry Point
        • Dynamic Parameters

          • HwConfiguration

            • DateTime Settings
            • Domat DB Parameters
            • Networking
            • Proxy Parameters
            • Restart PLC
            • SSCP Parameters
            • Storage
            • Users Definition
          • Image

            • Alarm

              • GSM
              • SMTP
            • Device

              • BACnet Client Device
              • BACnet Server Device
              • Daikin iTC Device
              • Mbus Device
              • Modbus RTU Device
              • Modbus TCP Device
              • SoftPLC Link Device
              • SSCP TCP Device
            • Channel

              • Serial Channel
              • TCP/UDP Channel
  • Domat devices
    • PLC

      • mark130.2
      • mark220
      • mark220LX
      • mark320
      • mark320LX
      • mark520
      • markMX
      • markMX.2
      • markMX.3
      • markMXL
      • Windows RT
      • ICIO205.2
      • IMIO105.2
      • IMIO110.2
      • w750-8101
      • w750-8102
      • w751-9301
      • wCIO
      • wCIOcom
      • wMX
      • wMXcom
    • Operator units

      • HT102
      • HT104
      • HT200
      • HT3xx
    • Device

      • ECIO2 - Compact I/O module, Ethernet
      • EPC102 - Heating controller
      • FC010 - Communicative fan coil controller
      • FC013 - Communicative room temperature controller for heating and cooling panels and VAV damper
      • FC015 - Communicative room temperature and CO2 controller for heating and cooling panels and VAV damper
      • FC020 - Communicative fancoil controller
      • FCR010 - Communicative fan coil controller
      • FCR011 - Communicative fan coil controller, powered 230 VAC
      • FCR013 - Communicative room temperature controller for heating and cooling panels and VAV damper
      • FCR015 - Communicative room temperature and CO2 controller for heating and cooling panels and VAV damper
      • M090 - Modbus TCP / DALI converter
      • M100 - Temperature sensor
      • M200 - 4 digital outputs
      • M215 - 8 digital outputs with manual intervention
      • M300 - 8 digital (open collector) output module
      • M312, M313 - Triac output module, PWM
      • M315 - 8 SSR outputs, manual intervention
      • M320 - 16 digital outputs module
      • M325 - 16 digital outputs module, manual intervention
      • M400, M401, M410, M411 - Digital input modules
      • M420 - 16 digital inputs module
      • M430 - 32 digital inputs module
      • M500 - 8 analogue inputs module
      • M504 - Analogue input module
      • M560 - Universal analogue input module
      • M580 - String DC current measuring module
      • M610 - Analogue output module
      • M620 - Analogue 4 current loop output module
      • M710 - Pulse counter module, 4 inputs
      • MC102 - Heating controller
      • MCIO2 - Compact I/O module, Ethernet
      • MLIO - Small distributed I/O module
      • MMIO - Small compact I/O module
      • MT020 - Alarm and fault indicator
      • MTala010 - Alarm indicator
      • MW100 - RFID card interface
      • MW240, MW240-B, MW241 - Small I/O module for lights and sunblind control
      • MW501 - Analogue input module
      • MXIO - Compact I/O module
      • R060 - Converter Modbus TCP, RTU/MP-Bus
      • R065 - Converter Modbus TCP/DMX512
      • R091 - Modbus TCP/DALI convertor
      • R220 - 12 digital outputs
      • R312, R313 - Triac output module, PWM
      • R320 - 16 digital outputs module
      • R330 - 32 digital outputs module
      • R420 - 16 digital inputs module
      • R430 - 32 digital inputs module
      • R500 - Universal analogue input module
      • R560 - Universal analogue input module
      • R610 - Analogue outputs module
      • R710 - Pulse counter module, 4 inputs
      • R800 - 8 AI and 8 AO module
      • RCIO - Compact I/O module, Ethernet
      • RMIO - Small compact I/O module
      • RXIO - Compact I/O module
      • Stelix DIP200 - Motion and light sensor
      • UC102 - Communicative heating controller
      • UC120 - Communicative heating controller, output 0..10V
      • UC150 - Communicative heating controller, Ethernet
      • UC200 - Communicative heating and cooling controller
      • UC210 - Communicative heating and cooling controller
      • UC211 - Communicative heating and cooling controller
      • UC220 - Communicative heating and cooling controller, outputs 0...10V
      • UC250 - Communicative heating and cooling controller, Ethernet
      • UC300 - Communicative floor heating controller
      • UI0xx - Room operation unit
      • UI0xxBL Room operation unit with display backlight
      • UI3xx - Room operation unit
      • UI410 - Module for measuring and monitoring
      • UI415 - Solar irradiation integrator
      • UI5xx - Room operation unit, Ethernet
      • UI6xx - Room operation unit, Ethernet, PoE
      • US100 - Communicative heating controller with sunblind control
      • UX0xx - Communicative room units with sunblind control
      • UI9xx Room operation unit with CO2
      • UI9xxBL Room operation unit with CO2 and display backlight
    • Sensors

      • UT090 - Room temperature and CO2 sensor
    • Wago modules

      • w704-2054 - 16× DI or 16× DO
      • w750-404 - 2× up/down counter
      • w750-404-000-005 - 2× 16-bit up counter
      • w750-450 - 4× AI for resistance/temperature measurement
      • w750-451 - 8× AI for resistance/temperature measurement
      • w750-453 - 4× AI for current 0...20 mA
      • w750-455 - 4× AI for current 4...20 mA
      • w750-457 - 4× AI for voltage 10...10V
      • w750-458 - 8× AI for thermocouples
      • w750-459 - 4× AI for voltage 0...10V
      • w750-496 - 8× AI for current 0...20mA, 4...20mA or 3.6...21mA
      • w750-497 - 8× AI for voltage 0...10V DC or ±10V DC
      • w750-511 - PWM signal generator
      • w750-515 - 4× relay module
      • w750-517 - 2-channel relay output
      • w750-530 - 8× DI
      • w750-553 - 4× AO for current 0...20mA
      • w750-555 - 4× AO for current 4...20 mA
      • w750-556 - 2× AO for voltage ±10 V
      • w750-559 - 4× AO for voltage 0...10V
      • w750-597 - 8× AO for voltage 0...10 V and ±10 V
      • w750-600 - bus termination module
      • w750-602 - internal bus power supply module, 10 A
      • w750-613 - internal bus power supply module, 2 A
      • w750-627 - termination module for bus extension
      • w750-628 - bus extension module
      • w750-638 - binary pulse counter
      • w750-642 - EnOcean radio receiver
      • w750-652 - RS-485, RS-422 or RS-232 module
      • w750-960 - PROFIBUS industrial bus connector
      • w750-1400 - 16× DI
      • w750-1405 - 16× DI
      • w750-1406 - 16× DI

Terminal text menu definition

To create a Terminal device, right-click System and select Add terminal

The starting point for Terminal definition is to create a device of Terminal type and to create a new HMI template.

As a Terminal is created, select the appropriate type. "External" creates a Domat Visual (formerly Domat Menu Reader) definition. "HT102" and "HT200" are Domat hardware terminals.

Add the PLC which shall provide data to the terminal to the "terminalChannel". A Terminal device may access more PLCs concurrently. It also can connect to a Data source, which is a PLC defined in another Solution. (A Data source must be added into Solution  - right click on System - in order to be available in the context menu below.)

This operation is very important for the next definition. The objects in terminal menu can only be bound to variables from PLCs which have been added to the  "terminalChannel".

Connection setting to a terminal and PLCs

After a Terminal device has been created, its communication parameters must be set. The parameters are set in Terminal property grid: enter the terminal IP address, TCP port, username and password which will be used to upload the definition into the terminal device.

Next, define connection to devices which the terminal communicates with. Click the PLC which has been assigned to a terminal channel:

A PLC device type acquires the connection data (Endpoint) using one of the following ways:

• HwConfiguration - this reads the IP address and TCP port number from the PLC Properties, Network configuration. The terminal will connect to the IP address of the PLC. This option makes sense if both Terminal and PLC are in the same subnet.

• Deploy - this reads the IP address and TCP port number  from PLC Connection parameters.  This is used if the PLC is connected over a router with NAT, or, in general, over the Internet, and the connection does not follow to the local IP address of the PLC.

• Custom - the IP address and TCP port must be entered manually.

To use a proxy connection to the PLC, select the "Custom" endpoint.

A Data Source device only has two options:

• Deploy - this reads the IP address and TCP port number  from Connection parameters of the Data source.

• Custom - the IP address and TCP port must be entered manually.

Creating a text template for Terminal

Then enter the name of the new template, display type, template type, and the terminal for which the definition is created. The display type is either  "Text" - text template for a terminal with a tree menu, or "Graphic" - graphic template with panels for a graphic terminal. A text template then is created using Text display type:

The "HMI import" selector has a special function here. If the PLC which has been added to the "terminalChannel" already has a LCD menu definition, the"HMI Import" selection uses this definition and automatically creates an item for this PLC in the terminal definition. The complete definition which was used for the PLC will be automatically imported also into the terminal definition.

The part of definition taken over from the PLC will be greyed out. This means that the definition is locked: all changes executed on the PLC template will automatically appear also on the Terminal template. This part can be unlocked, which releases the template instance from the original PLC template.

The Unlock command only unlocks the PLC template, while all other embedded templates, like function block templates, will keep locked. The Unlock recursively command unlocks the PLC template and all embedded templates, and releases them from dependence on the source templates. A recursively unlocked template is fully editable. However, there are no bindings to the source template anymore, and any changes executed on the source template (e.g. on a PLC template) are not manifested in this template.

Ways to create a template

There are two ways how to create a terminal text template. They can be combined deliberately.

1. Using text HMI objects

Work with text HMI objects is very similar to this with the previous generation of HMI Editor. There are 12 object types with different properties. The objects can be dragged and dropped to the HMI template, or inserted using a double click. Then a variable to display must be attached to the object instance.

Together with the variable attached, there are more properties which can be configured. The object properties are listed in "Text HMI objects".

2. Inserting variables directly into the text menu editor

Another way is inserting variables directly into the text menu editor. Right-click the working area and select "Add variable". In the following dialog there are all elements to choose from, be it variables or function blocks.

Select one or more variables using mouse and Ctrl / Shift keys.

3. Creating levels

Under the "Login", "Static text", "Analog Indicator" and "Digital" objects "You can insert objects by selecting the object in the template and by clicking on "Move in" or. "Move out" in the top menu.

Or drag and drop objects onto "Login", "Static text", "Analog Indicator" and "Digital." Indicator ". The object will turn red when nested by dragging.

Importing a template from an external HMI editor

If you have created a template for the ht200 or ht102 z terminal external HMI editor, which was part of Domat IDE ver. 2.3.0.x and lower, so To import this template into the report, right-click HMI project and select "Import HMI template from older version".

In the dialog, choose a template name, choose a template type, Terminal ke to which the template will be assigned and the path to the file created terminal menu.

Attaching a template to a Terminal

After a template is created, it must be attached to the Terminal in the Terminal properties. In the lower part there are Text menu parameters. Select the template to be used here. A *.txt file, which will be uploaded to the Terminal, is generated automatically.

Right-click the Terminal and select Show preview. If there is a template selected in the Terminal properties, a preview will be launched.

If PLCs are online in your network, the preview works as a full-size control panel. The display is the same as on a HT200 terminal.

Prev
Definition of LCD menu for PLC
Next
HMI graphical objects