Presentation

In a Quantum Ethernet I/O system, the GET_TS_EVT_Q function is used to get the time stamped data in a Modicon X80 remote drop.

The two following examples get the time stamped data in a:

  • BMX CRA 312 10 module for the first example,

  • BMX ERT 1604 T module located in a Modicon X80 remote drop for the second example.

GET_TS_EVT_Q Implementation Example 1

Example of implementation that reads the events in a BMX CRA 312 10 module:

In this example the function block addresses a BMX CRA 312 10 module in a Modicon X80 remote drop. The ADDMX IN parameter value (‘1.4.1{192.168.10.2}’) means the following:

  • 1: the 140 CRP 312 00 module (Ethernet remote I/O head) is in local rack number 1

  • 4: the 140 CRP 312 00 module is in local slot number 4

  • 1: the 140 CRP 312 00 module channel must be set to 1

  • {192.168.10.2}: IP address of the BMX CRA 312 10 module in the Ethernet remote I/O drop

NOTE: In physical drops, slot numbering depends on the drop:
  • In a Quantum physical drop, the slot number starts at 1.

  • In a Modicon M340 physical drop, the slot number starts at 0.

GET_TS_EVT_Q Implementation Example 2

Example of implementation that reads the events in a BMX ERT 1604 T module located in a Modicon X80 remote drop:

In this example, to reach the BMX ERT 1604 T module in the Modicon X80 remote drop, the first part of the ADDMX IN parameter addresses the BMX CRA 312 10 module (1.4.1{192.168.10.2}) as in GET_TS_EVT_Q_1 example. Then, it addresses the BMX ERT 1604 T module (\\0.3.0) as follows:

  • 0: the module is in remote Modicon X80 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