Bay Technical Associates V80 PDI-2, V79 PDI-1 owner manual

Page 20

The PDI module can observe, record, and report when an event happened, how long the event lasted, and how many events occurred for each individual channel. The initial occurrence of an event will set the event latch bit and store the associated time in the latch buffer. You may read the state of the initial event and the time it was recorded (if time tagging is enabled) by issuing the RL or RR commands.

Each occurrence of an event starts the duration counter and increments the event counter. The duration counter measures event duration time in milliseconds with a maximum time of 65,535 stored. You may read the duration of the last recorded event by issuing the RD command.

NOTE: Duration measurements are not de-bounced. If the input circuit cycles between active and inactive before settling, only the settled value is reported. Therefore, if a PDI module is connected to a relay or switch that has "dirty" contacts, the total measurement will be less than the actual activation duration of the circuit by the amount of time spent settling.

The event counter reflects the total number of events that have occurred since the event counter was last cleared using the CC or RO command. You may read the current event counter value by sending the RC or RO command. The event counter will trigger on the rising edge of an event when LO to HI Latch Polarity is selected or on the falling edge of an event when HI to LO Latch Polarity is selected. Examples of using the event counter would include counting items moving on a conveyor belt and process control where a pre-determined number of events must take place before a defined action may take place.

NOTE: An event must have a duration greater than one millisecond plus the current debounce delay time to increment the event counter.

16

Image 20
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 Installation CablingPDI-2 AC Input Setup Operation USER-PROGRAMMABLE Features Sampling SetupReporting Setup Reporting MethodHost Address Report Start TimeReport Interval Terminating Characters Dynamic ConfigurationData Commands Take a single sample for Ports Clear Event Latch Data Clear Event Buffer CommandClear Event Counter Command Report Event Duration Command Report ALL Buffered Events Command Report Event Counter Command Report Event Latch Data and Reset Command Report Event Latch Data CommandReport Event Counter and Reset Command Report a Single Buffered Event Command Event Sample ReportingPage Event Sample Presentation 115,1 1320 11/18/93 Configuration MENU-DRIVEN 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 Time TAG Command Debounce Delay CommandReporting Method 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