Communication by the
Modbus TCP/IP protocol with
Quido I/O modules.
See also
Communication with meters by the Papouch company (Czechia).
The valid
TCP-IP address must be set for the device according to the corresponding network environment. The configuration is described in the documentation supplied by the manufacturer.
This preconfiguration can be activated when creating a new object (e.g. by
"New object ..." in the context menu of the object or by pressing the
Insert key after selecting the object).
This preconfiguration is included in the
"/ Communication / Protocols and other communications / Modbus" group.
This preconfiguration can be created in the
PmaFolder,
PmaRoot or
PmaPrototype object.
- The preconfiguration is created including the panel (object of the
PmaPanel type) is functional also as
Web panel.
- The panel serves for communication testing and it is not essential for the communication functionality.
In the
PmaComm object named "
Comm" the communication parameters are set (
Network address, ...).
The
PmaCommGroup object named "
data" includes a "
Parameters" tab where
Special Parameters are defined (see
PmModbusMr - Driver for communication by the Modbus Master protocol). On the "
Data" tab, the items are imported by data extension of items defined in the
PmaData object (see
ExtComm).
If the "
Temperature sensor connected" configurator was checked in the preconfiguration, then there will be the temperature meter present in the right part of the panel. In the left part of the panel there are two columns with
PmgBox objects. These objects contain identical
dinx parameter. The parameter specifies the index (order) for connection the
Pmg objects to the correct data, independently for DI and DO. The inserted objects display according to their purpose, the values, names and color status based on the data comming from the communication. The column for digital outputs also contains two ON/OFF buttons that can be used for controlling the digital outputs.
These configurators can be set before the preconfiguration is created:
The name of created object | Name of the object created in the Pma object tree.
The maximum name length is 30 characters.
This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and first character must not be a number.
Default: "CommQuido" |
|
Temperature sensor connected | If the connected I/O module supports temperature measurement and the temperature sensor is connected |
Number of binary inputs | The number of binary inputs of the connected module |
Number of controlled binary outputs | The number of binary outputs of the connected module |
|
Network address | Network address of the remote device (e.g. of the PLC device), to which the communication will be connected.
The address can be entered as:
- IPv4 full address (e.g. "192.168.0.15")
- IPv4 address of this computer (i.e. "127.0.0.1")
- IPv4 computer name (e.g. "server11")
- IPv4 name of this computer (i.e. "localhost")
- IPv6 full address (e.g. "2a02:c38:8136:800a:37a:ab66:6fc9:accd")
- IPv6 address of this computer (i.e. "::1")
Macro expression can be used for input (it is evaluated after the application is launched).
After the preconfiguration is created, the "PmaComm > Setting the parameters of the Ethernet-client > Network address" configurator will be set to this value. |
Close the connection after each transmission | This option sets the following configurators simultaneously:
Not connect until first transfer. See: PmaComm > Setting the parameters of the Ethernet-client > Not connect until first transfer
Close connection after every transfer. See: PmaComm > Setting the parameters of the Ethernet-client > Close connection after every transfer |
Communication refresh rate [ms] | The period in milliseconds to be used for reading the current data by the PROMOTIC application.
After the preconfiguration is created, the "PmaCommGroup > Parameters > Communication refresh rate [ms]" configurator will be set to this value. |
---|