Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Parameters - page of object PmaCommMsg

Description:
Definition of the communication message parameters.
Configuration items:
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 transfer 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 such 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 a button (in the onButtonUp event), etc.

This configurator sets the initial value of the property AutoRunEnabled.

This configurator is visible only if is a Master type message (i.e. if "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 time period in milliseconds to be used for automatic transmissions.

This configurator sets the initial value of the property AutoRunPeriod.

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 transfer takes longer than the defined period, then the following transfers are postponed and the period is longer. If the two PmaCommMsg object 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 starting the application.

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 settingBy pressing here, the variables on Data-sent and Data-received pages 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 this protocol.
Message parametersParameters settings depend on the type of the communication protocol defined in the PmaComm object.
PROMOTIC 9.0.7 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice