Promotic

Parameters - tab of the PmaCommMsg object

Description:
Definition of the communication message parameters.
Configurators:
Message typeSome protocol types have the message type specified in advance and then this item cannot be changed.
Master - The transmission of this message is always activated by the PROMOTIC application (e.g. by calling the Run method). The other side is Slave, i.e. it waits for the message in order to answer.
Slave - The transmission of this message is activated by the other side. This PmaCommMsg object only waits for the message and then answers. The Run method is not called in this case.
AutoRun transfer enabledIf checked, then the Run method will be called automatically.
If not checked, then it is necessary to call the Run method in the script for example in a timer (in the onTick event), after pressing the button (in the onButtonUp event), etc.
This configurator sets the initial value of the AutoRunEnabled property.
This configurator is visible only if message is of the Master type (i.e. if the "Message type" configurator is set to "Master").
If the automated transmissions are enabled and yet the Run method is called in the script, then this calling shifts the timing of the automatic transmission.
Transfer period [ms]The period in milliseconds to be used for automatic transmissions.
This configurator sets the initial value of the AutoRunPeriod property.
This configurator is visible only if the automated transmissions are enabled and only if Message type = Master.
The period may not be kept accurately. For example, if the physical transmission takes longer than the defined period, then the following transmissions are postponed and the period is longer. If the two PmaCommMsg objects use e.g. the same period, then it is not sure that the data transfers will be executed simultaneously.
Initial delay [ms]The delay (in milliseconds) of automatic transfers after the application is launched.
Macro expression can be used for input.
This configurator is visible only if the automated transmissions are enabled and only if Message type = Master.
Data settingAfter pressing here, the variables on the Data-sent and Data-received tabs can be set. The number and the configuration of these variables depend on the message parameters settings. The data setting is enabled only if the specific structure of the message is known (the number of data items and the data types), respectively based on the selected protocol and the setting of the message parameters of the protocol.
Message parametersParameters settings depend on the type of the communication protocol defined in the PmaComm object.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.