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

Page 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

Image 19
Contents BayTech Publication #U140E105 Page Table of Contents Reporting Method General V79 PDI-1 Module Specifications V79 PDI-1 Switch Input Status Module V80 PDI-2 Optically Isolated Input Module Cabling InstallationPDI-2 AC Input Setup Operation Reporting Method USER-PROGRAMMABLE FeaturesSampling Setup Reporting SetupReport Interval Report Start TimeHost Address Data Commands Dynamic ConfigurationTerminating Characters Take a single sample for Ports Clear Event Counter Command Clear Event Buffer Command Clear Event Latch Data Report Event Counter Command Report ALL Buffered Events CommandReport Event Duration Command Report Event Counter and Reset Command Report Event Latch Data CommandReport Event Latch Data and Reset Command Event Sample Reporting Report a Single Buffered Event CommandPage Event Sample Presentation 115,1 1320 11/18/93 MENU-DRIVEN Configuration ConfigurationPage Configuration Main Menu Module Status SET Latch Polarity Select Reporting Method Report Start Time Report Interval Enable / Disable Time Tagging Dynamic Configuration Commands Exit Dynamic Configuration Procedure and Commands Reporting Method Command Debounce Delay CommandTime TAG Command Front Panel Configuration Appendix a DATA/CONFIGURATION Command Summary Appendix B Eprom Upgrade Appendix C V79 PDI-1 Mechanical Layout Page Page Appendix D V80 PDI-2 Mechanical Layout Page Page Appendix E Index Fifo Page