Bay Technical Associates V79 PDI-1 Report a Single Buffered Event Command, Event Sample Reporting

Models: V80 PDI-2 V79 PDI-1

1 49
Download 49 pages 39.29 Kb
Page 19
Image 19

4.3.10 REPORT A SINGLE BUFFERED EVENT COMMAND

The Report A Single Buffered Event (RS) command instructs the PDI to report the first event sample stored in the buffer of the selected channel(s). The Report A Single Buffer Sample command has the following format:

RSc<cr>

where c = Channel# (1 to 16 or 0 for all).

4.4EVENT SAMPLE REPORTING

An event is defined as a change-in-state of an input channel and return to the original state. An event may be started on a rising edge (LO to HI) or a falling edge (HI to LO) as determined by the Latch Polarity (see Section 5.1.3). On the PDI-1 switch closure module, an input is considered to be at a "HI" or "1" state when it is closed (continuity) and a "LO" or "0" state when it is open (infinite resistance). On the PDI-2A and PDI-2B optically isolated modules, an input is considered to be at a "HI" or "1" state when there is voltage detected and a "LO" or "0" state whenever there is no voltage detected. An event sample is the actual data associated with an event which is calculated by the PDI module and sent to the host computer/controller. The way an event sample is presented to the host computer/controller is described in Section 4.5.

PDI event sample reporting depends on the Reporting Method used. When using Immediate Reporting Method, the PDI will report an event sample whenever an event occurs. When using Schedule Reporting Method, the PDI will report an event sample whenever a event occurs after the Report Start Time has elapsed (see Section 4.2.2.2). When using Command Reporting Method, the PDI will report an event sample or multiple samples on command only.

15

Page 19
Image 19
Bay Technical Associates V79 PDI-1, V80 PDI-2 owner manual Report a Single Buffered Event Command, Event Sample Reporting