Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Parameters - page of object PmCommMsg

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 PmCommMsg object only waits for the message and then answers. The Run is not called in such case.
AutoRun transfer enabledIf checked, then the Run method will be called automatically. If the automatic transmitting is not enabled, then it is necessary to call the Run method in script for example in a timer (in the onTick event), after a button is pressed (in the onButtonUp event), etc.

This configurator sets the initial value of the property AutoRunEnabled.

This configurator is available only for Master messages (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 time period in milliseconds to be used for automatic transmissions.

This configurator sets the initial value of the property AutoRunPeriod.

This configurator is available 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 PmCommMsg object use the same period, it is not sure that the the data transfers will be executed simultaneously.

Initial delay [ms]The delay (in milliseconds) of automatic transfers after the application launch.

Macro expression can be used for input.

This configurator is available only if the automated transmissions are enabled and only if Message type = Master.

Data setingsBy pressing here, the variables on Data-sent and Data-received pages are set. The number and the configuration of these variables depend on the message parameters settings. The data setting is enabled only when 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 PmComm object.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice