Presentation

GET_TS_EVT_M is used to get the time stamped data in a BMX ERT 1604 T moduleconfigured in a Modicon M340 or in a Modicon M580 PLC. The BMX ERT 1604 T module can be configured in a local rack or in a drop.

The following example gets the time stamped data in a BMX ERT 1604 T module configured in a local rack, if your module is configured in a drop use the ADDMX function (for instance if the BMX ERT 1604 T module is in the slot 4 of drop which ethernet IP address is 192.168.10.3 the ADDMX input will be ‘0.0.3{192.168.10.3}\\0.4.0’) instead of ADDM function.

GET_TS_EVT_M Implementation Example

Example of implementation that reads the events in BMX ERT 1604 T buffer repeatedly:

In this example the function block addresses a BMX ERT 1604 T module in the local drop. The ADDM IN parameter value (‘0.3.0.SYS’) means the following:

  • 0: the module is in local rack number 0

  • 3: the module is in slot number 3

  • 0: communication port number, always set to 0 in a BMX ERT 1604 T module

  • SYS: keyword used to stipulate the module server system (not necessary)

NOTE: The ENABLE pin should send zero pulse timely (eg. per minute) in case of STATUS of GET_TS_EVT_M equals to 0 or 1. Please refer to Operating Mode of Enable, Active, Done, and Error Parameters for details.