Triggered data collection (mot), Triggered data collection (mot) -6 – Rockwell Automation 2092-DAx Ultra1500 Host Commands for Serial Communication Reference Manual User Manual

Page 18

Advertising
background image

Publication 2092-RM001A-EN-P — March 2005

2-6

Command Reference

Triggered Data Collection (MOT)

Command:

MOT

Description:

Sets, watches, and reads trigger monitor

Format:

STX ID # MOT Ch1 Ch2 Src SP Num Mode Pos Level : BSS ETX

Data:

Argument

Description

Ch1, Ch2

Input signals, See Appendix A (variables 0x00 to
0x0F
only)

Src

Trigger Source (0x000 to 0x009, 0x101to 0x10C)

0x000 to 0x009: Refer to Monitor Variables on

page A-3 for the list of variables.

0x101 to 0x108: DI#1 to DI#7, EStop
0x109 to 0x10C: DO#1 to DO#3, Fault

SP

Sample Period, Range: 0x01 to 0x64 (0.2 to 20
msec)

Num

Number of data points * 10, Range: 0x01 to 0x1E
(1 to 30)

Mode

Trigger mode

1 = Positive Edge
2 = Negative Edge

Pos

Trigger Position (1 to 9)
The percentage of data to be received before the
trigger point.
For example, if Pos = 3 then 30% of data received
before the trigger point and 70% of data received
after the trigger point.

Level

Trigger level/threshold; the value of the Trigger
Source. Values are 4 or 8 bytes signed.

Usage Note:

This command variant sets up the trigger monitoring. It is sent to
the drive prior to monitoring or reading the Triggered Data
Collection (MOT)
command variants below. See Figure 2-2 for
command examples.

Response:

ACK

Next Command:

MOT

Format:

STX ID # MOT : BSS ETX

Usage Note:

This command is sent to the drive to verify data is available.

Response:

If data is not ready: STX ID $ BSY : BSS ETX

or

If data is ready: STX ID $ TOK : BSS ETX

Next Command:

MOT

Format:

STX ID # MOT NumD : BSS ETX

Data:

Argument

Description

NumD

Data Point to retrieve the data from; Range: 00 to
(Num-1)

Usage Note:

This command can be used when previous command returned TOK.
Send ESC to stop data collection.

Response Format: STX ID $ MOT V1&V2&...V20 : BSS ETX

Advertising