background image

12

4.3.1

CLEAR EVENT BUFFER COMMAND

The Clear Event Buffer (CB) command is used to clear all stored event samples
from the buffer of the selected channel(s).  The Clear Event Buffer command has
the following format:

CB

n<cr>

where 

c

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

4.3.2

CLEAR EVENT COUNTER COMMAND

The Clear Event Counter (CC) command is used to reset the event counter for one
or more channels to zero without reading the value of the event counter.  The
function of the event counters is discussed in 

Section 4.4

.  The Clear Event

Counter command has the following format:

CC

c

<cr>

where 

c

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

4.3.3

CLEAR EVENT LATCH DATA

The Clear Event Counter (CR) command is used to clear the event latch buffer. 
Latched data is discussed more in 

Section 4.4

.  The Clear Event Counter command

has the following format:

CR

c

<cr>

where 

c

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

Summary of Contents for V79 PDI-1

Page 1: ...OWNER S MANUAL ________________ MODEL V79 PDI 1 AND V80 PDI 2 SWITCH INPUT AND OPTICALLY ISOLATED INPUT MODULES BayTech Publication U140E105 ...

Page 2: ...ces that provide port sharing and expansion networking port contention buffered and non buffered printer sharing network print servers and statistical multiplexing If you would like information on any of these models please contact BayTech Customer Service We welcome any comments you may have about our products And we hope that you will continue to look to BayTech for your data collection and comm...

Page 3: ...RT INTERVAL 9 4 2 2 4 HOST ADDRESS 9 4 2 2 5 TIME TAG 9 4 2 2 6 TERMINATING CHARACTER S 10 4 2 3 DYNAMIC CONFIGURATION 10 4 3 DATA COMMANDS 10 4 3 1 CLEAR EVENT BUFFER COMMAND 12 4 3 2 CLEAR EVENT COUNTER COMMAND 12 4 3 3 CLEAR EVENT LATCH DATA 12 4 3 4 REPORT ALL BUFFERED EVENTS COMMAND 13 4 3 5 REPORT EVENT COUNTER COMMAND 13 4 3 6 REPORT EVENT DURATION COMMAND 13 4 3 7 REPORT EVENT LATCH DATA C...

Page 4: ...S 27 5 1 4 5 TIME TAG 27 5 1 4 6 TERMINATING CHARACTER S 28 5 1 5 DYNAMIC CONFIGURATION 28 5 1 6 EXIT 29 5 2 DYNAMIC CONFIGURATION PROCEDURE AND COMMANDS 30 5 2 1 DEBOUNCE DELAY COMMAND 31 5 2 2 REPORTING METHOD COMMAND 31 5 2 3 TIME TAG COMMAND 31 5 3 FRONT PANEL CONFIGURATION 32 APPENDIX A DATA CONFIGURATION COMMAND SUMMARY 33 APPENDIX B EPROM UPGRADE 34 APPENDIX C V79 PDI 1 MECHANICAL LAYOUT 35...

Page 5: ...imit switch status and the monitoring of relay status All events detected by either module are recorded as an event sample and sent to a host computer controller connected to a V71 host module The current status of input channels may be provided to the host computer controller upon request Event samples or input channel status may be provided with a time stamp or Time Tag which is available throug...

Page 6: ... when a change in state is observed Momentary changes in an input s condition can be monitored and latched into memory for post action analysis The reporting of false or transient events can be prevented by selection of programmable debounce times Input connections to the PDI 1 are made through a standard DC 37F connector 1 2 V80 PDI 2 MODULE The primary feature of the PDI 2 series is sixteen micr...

Page 7: ... are made through a standard DC 37F connector 2 SPECIFICATIONS 2 1 V79 PDI 1 SWITCH INPUT STATUS MODULE typical for 25 o C unless otherwise noted INPUTS 16 with individual ground returns or common single point ground DRIVE DISTANCE Up to 1000 Ohms cable resistance for example AWG 36 2400 ft AWG 24 15000 ft AWG 22 62000 ft POWER REQUIREMENTS 5VDC 40 ma typical provided by M16 M8 pwr supply DEBOUNCE...

Page 8: ...RN ON CURRENT 8ma 8ma MAX TURN ON TIME 1ms 1ms MAX TURN OFF TIME 1ms 1ms VOLTAGE ISOLATION 500V 500V Input to Input and Input to ground POWER REQUIREMENTS 5VDC 40 ma typical provided by M16 M8 pwr supply DEBOUNCE TIME 0 to 60000 ms software selectable ENVIRONMENTAL Operating temperature range 0 o to 70 o C Storage temperature range 40 o to 85 o C Humidity 5 to 95 non condensing ...

Page 9: ...nd V80 connections respectively Circuit Pin Circuit Circuit Pin Circuit Connection Connection Connection Connection Input 1 1 20 Ground 10 Input 1 1 20 Return 10 Ground 1 2 21 Input 11 Return 1 2 21 Input 11 Input 2 3 22 Ground 11 Input 2 3 22 Return 11 Ground 2 4 23 Input 12 Return 2 4 23 Input 12 Input 3 5 24 Ground 12 Input 3 5 24 Return 12 Ground 3 6 25 Input 13 Return 3 6 25 Input 13 Input 4 ...

Page 10: ... 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 1 10 2 11 3 12 4 13 5 14 6 15 7 16 8 Table 1 Dip switch SW1 1 8 provides filtering control for channels 1 8 while SW2 1 8 controls channels 9 16 Refer to Table 1 to determine which switch corresponds to a particular channel A port is configured for AC operation by positioning the corresponding switch to ON position NOTE The default setting for SW 1 8 and SW2 1 8 ...

Page 11: ...he actual data associated with an event which is calculated by the PDI module and sent to the host computer controller Individual PDI channels can be programmed to report event samples upon request via data commands Command Reporting Method at a specific date time Schedule Reporting Method or as the event occurs Immediate Reporting Method Multiple events may be stored for later retrieval and analy...

Page 12: ...I to LO input The latch information is retained in memory until recalled by the user The default Debounce Delay time is 100 milliseconds and the default Latch Polarity is a HI to LO transition 4 2 2 REPORTING SETUP Reporting Setup allows you to program how the PDI reports event samples to the host module The items you may program in the Reporting Setup include Reporting Method Report Start Time Re...

Page 13: ...has elapsed The PDI will report until the buffer is empty and then report again after the specified Report Interval has expired The default Report Interval is 00 00 every 24 hours 4 2 2 4 HOST ADDRESS Host Address is the designated host module where event samples are sent when using Immediate or Schedule Reporting Method The Host Address consists of the Unit Number 1 to 32 Module Number 1 to 16 an...

Page 14: ...mands through a host module to perform single operations while temporarily overriding the module s current operating configuration Some data commands apply to all types of DAC modules while others apply to specific modules Data commands may be entered repeatedly to get specific event samples You may issue a single data command to obtain event samples from multiple channels Data commands must be us...

Page 15: ...or Ports 1 8 SA1 2 4 8 cr Take a single sample for Ports 1 3 4 5 6 7 and 8 3 After you have sent the desired data commands to the PDI module you may disconnect from the PDI by sending BT cr You may disconnect from the PDI and select a different module or the base unit by sending BTX cr where X is the desired module number or 0 for the base unit IMPORTANT If the PDI is operating in self reporting m...

Page 16: ... used to reset the event counter for one or more channels to zero without reading the value of the event counter The function of the event counters is discussed in Section 4 4 The Clear Event Counter command has the following format CCc cr where c Channel 1 to 16 or 0 for all 4 3 3 CLEAR EVENT LATCH DATA The Clear Event Counter CR command is used to clear the event latch buffer Latched data is dis...

Page 17: ...ort how many times an event has occurred for one or more channels since the last time a counter reset command was issued This command does not reset the event counter The Report Event Counter command has the following format RCc cr where c Channel 1 to 16 or 0 for all 4 3 6 REPORT EVENT DURATION COMMAND The Report Event Duration RD command instructs the PDI to report how long the most recent recor...

Page 18: ...eset RO command instructs the PDI to report how many times an event has occurred for one or more channels and then reset the event counter to zero The Report Event Counter and Reset command has the following format ROc cr where c Channel 1 to 16 or 0 for all 4 3 9 REPORT EVENT LATCH DATA AND RESET COMMAND The Report Event Latch Data and Reset RR command instructs the PDI to report the active state...

Page 19: ... 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 presente...

Page 20: ...ettling 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 r...

Page 21: ...the PDI Channel Number 1 channel status is closed PDI 1 or has voltage applied PDI 2 0 channel status is open PDI 2 or has no voltage applied PDI 2 MM is the month if Time Tag enabled DD is the day if Time Tag enabled YY is the year if Time Tag enabled HH is the hour if Time Tag enabled MM is the minute if Time Tag enabled SS is the second if Time Tag enabled The following example shows event samp...

Page 22: ... If you issue the RC1 cr command Report Event Counter for Channel 1 the module will respond with a message showing the Event Counter similar to the following 1 15 1 823 11 18 93 09 12 22 where 1 15 1 represents Unit 1 Module 15 Channel 1 823 indicates the number of recorded events is 823 times and 11 18 93 09 12 22 is the time tag If you issue the RS1 cr command Report Single Buffered Event for Ch...

Page 23: ...on commands from a host module as described in Section 5 2 You may view the current configuration from the front panel see Section 5 3 5 1 MENU DRIVEN CONFIGURATION To access the menu driven configuration mode of the PDI 1 or PDI 2 from any host module use the following procedure 1 Configure the host terminal s serial parameters to match those of the host module From the factory the host module is...

Page 24: ...ands must be in uppercase To access the menu driven configuration mode of the PDI from the service port use the following procedure 1 Connect a terminal to the EIA 232 service port and configure the terminal s serial parameters to 9600 baud rate 8 word size 1 stop bit and no parity 2 Connect to the PDI by sending BAYTECH the desired module number 2 to 16 and Carriage Return or Line Feed 3 Access c...

Page 25: ... the configuration main menu for the PDI 1 or PDI 2 modules is the second line in the header showing the module type All subsequent menus are the same for both modules The configuration menus shown in the following sections are depicted with factory default settings and may vary slightly in presentation Enter the number corresponding to your desired choice Each choice will invoke a sub menu Each s...

Page 26: ...mic Configuration DISABLED Press a key to continue or X to Exit 5 1 3 SAMPLING SETUP By responding to the Enter Selection message at the end of the Configuration Main Menu see Section 5 1 1 with 2 Sampling Setup you may program the Debounce Delay and Latch Polarity The PDI will respond with the following menu SAMPLING SETUP Debounce Delay 1 Latch Polarity 2 Exit X Enter Selection You may program t...

Page 27: ...nitial events for individual inputs based on a positive going LO to HI or negative going HI to LO input 5 1 4 REPORTING SETUP By responding to the Enter Selection message at the end of the Configuration Main Menu see Section 5 1 1 with 3 Reporting Setup you may program how the PDI reports event samples to the host device The items you may program are Reporting Method Report Start Time Report Inter...

Page 28: ...orting Method sub menu as follows SELECT REPORTING METHOD Reporting Method COMMAND Command 1 Immediate When Event Occurs 2 Schedule 3 Exit X Enter Selection The PDI provides three Reporting Methods These are Command via data commands only Immediate upon exiting configuration and Schedule where reporting begins at a specified time When Command Reporting Method is selected the PDI will report event ...

Page 29: ...g Schedule Reporting Method The PDI will respond with the Report Start Time menu as follows REPORT START TIME Reporting Start Time HH MM Current Date and Time MM DD YY HH MM SS Enter Hours 0 24 cr or X to Exit Enter Minutes 0 59 cr or X to Exit This menu shows the current Reporting Start Time Current Date and Time as reported by the base unit s time of day clock when the reporting start time entry...

Page 30: ...NTERVAL By responding to the Enter Selection message at the end of the Reporting Setup Menu on page 23 with 3 Report Interval you may program the time interval between reporting periods when using Schedule Reporting Method The PDI will respond with the Report Interval menu as follows REPORT INTERVAL Report Interval HH MM Enter Hours 0 24 cr or X to Exit Enter Minutes 0 59 cr or X to Exit Enter the...

Page 31: ...umber 1 to 16 and Port Number 1 to 4 where the designated host module is located Each entry should be followed by ENTER If there is a single M Series unit in service the Host Address would typically be Unit 1 Module 1 Port 1 NOTE The Host Address must be supplied to direct self reporting event samples to the desired destination If the Host Address is incorrect self reporting event samples will be ...

Page 32: ...acter menu as follows ENTER TERMINATING CHARACTER Terminating Character s 0D0A Enter 1 or 2 Terminating Characters in Hex Format i e 0D0A for CR LF cr or X to Exit Type the hexadecimal representation of the desired terminating character s For example Carriage Return would be represented by 0D Hex and Line Feed would be represented by 0A Hex NOTE Only ASCII characters A F and 0 9 are acceptable 5 1...

Page 33: ...e to any configuration parameter the PDI will respond with Save Changes as Defaults Y N If you reply in the affirmative Y the settings are saved as the permanent power up defaults That is if the M16 M8 loses power for any reason the settings saved as defaults become the power up settings If you reply in the negative N your selections are saved as current temporary operating settings but are lost u...

Page 34: ...ct an PDI Module located in slot 15 of a non cascaded unit using the default port select code send BT15 cr 2 Once the PDI is selected it will go into Command Mode and allow you to send dynamic configuration commands The PDI configuration commands begin with two capital letters designating the specific command and are terminated with a Carriage Return Most configuration commands require a number be...

Page 35: ...rmat DBn cr where n 0 to 65535 milliseconds 5 2 2 REPORTING METHOD COMMAND The Reporting Method RM command programs the PDI Reporting Method see Section 4 2 2 1 and Section 5 1 4 1 The Reporting Method command has the following format RMn cr where n 1 to 3 1 Command 2 Immediate and 3 Schedule 5 2 3 TIME TAG COMMAND The Time Tag TT command is used to enable or disable time tagging as described in S...

Page 36: ...to highlight Module XX from the M Series main menu screen and press the SELECT key The LCD will respond with a menu similar to the following for the PDI 1 V78 PDI 1 MODULE XX Display Status Exit Module Menus Select Display Status the LCD will respond with Debounce Delay 10 Latch Polarity HI LO Report Method COMMAND 76 PAGE SELECT EXIT Pressing the or keys scrolls through the following entries Repo...

Page 37: ...port Event Duration s RLc cr c Ch 1 to 16 0 all Report Event Latch Data ROc cr c Ch 1 to 16 0 all Report Event Counter and Reset RRc cr c Ch 1 to 16 0 all Report Event Latch Data RSc cr c Ch 1 to 16 0 all Report Single Buffered Event first in first out SAc cr c Ch 1 to 16 0 all Read and report the current state of the selected input s SLc cr c Ch 1 to 16 0 all Report Latest Event Multiple channels...

Page 38: ...move existing EPROM from the appropriate socket with IC extractor or needle nose pliers Gradually loosen each side of the chip alternating pliers from side to side so as not to bend chip pins Pull loosened EPROM all the way out 4 Install new EPROM into the appropriate socket Make certain you are installing the correct EPROM into the correct module by referring to the label on the EPROM The EPROM i...

Page 39: ...35 APPENDIX C APPENDIX C V79 PDI 1 MECHANICAL LAYOUT V79 PDI 1 MECHANICAL LAYOUT ...

Page 40: ...36 ...

Page 41: ...37 2 ...

Page 42: ...38 APPENDIX D APPENDIX D V80 PDI 2 MECHANICAL LAYOUT V80 PDI 2 MECHANICAL LAYOUT ...

Page 43: ...39 ...

Page 44: ...40 3 ...

Page 45: ... 6 Active channels 17 Arrow key 32 ASCII 28 B B Baud rate 20 BayTech 1 2 1 3 19 20 Buffer 9 12 16 25 26 33 C C Cabling 2 5 Channel 2 6 8 12 19 23 Clear 12 16 33 Commands 1 7 8 10 11 19 20 24 28 31 33 Configuration 2 1 3 5 7 8 10 17 19 26 28 33 Contact 2 ...

Page 46: ...ay 8 16 22 23 31 33 Decimal 33 Default 8 10 19 21 30 Designated host 8 9 11 26 27 Disconnect 11 30 Diskette 19 Dumb Terminal 19 Dynamic configuration 8 10 19 21 22 26 28 30 33 E E EIA 232 20 Emulation 19 Enter 7 20 29 Event Duration time 16 F F Factory default 21 FIFO 12 Format 8 12 15 17 22 23 28 31 33 Front panel 19 32 ...

Page 47: ...M 2 19 Identification block 21 Installation 2 5 Isolated input 1 2 4 J K L J K L Laserjet 2 Latch buffer 12 14 16 Latch mode 7 Latch polarity 8 15 19 22 23 LCD display 32 M M M Series 5 9 17 19 25 27 32 Menu 2 7 19 29 32 Mode 7 10 11 19 21 26 29 32 Module number 9 11 17 19 20 27 30 Multiplexing 2 ...

Page 48: ...l 8 9 23 25 26 32 Report start time 8 9 15 23 25 26 Reporting method 7 11 15 22 27 31 33 Reporting setup 8 21 23 28 Reset 7 12 14 16 33 S S Sampling setup 8 21 23 25 Schedule 1 7 9 11 15 17 22 24 27 31 33 SELECT button 32 Select code 10 11 19 20 30 SELECT key 32 Select sequence 10 30 Service port 19 20 Set host address 8 Setup 6 8 21 28 Specifications 3 Start 8 9 15 22 23 25 26 32 Status 1 3 7 17 ...

Page 49: ...2 10 19 20 28 Terminal emulation program 19 Terminating character 8 10 22 23 28 30 Time tag 1 7 9 17 18 23 27 28 31 33 U V U V Unit number 9 17 27 User programmable 7 8 Verbose mode 7 Voltage 1 2 4 7 Voltage range 2 4 Volts 2 W W Word size 19 20 ...

Reviews: