Advantech PCI-1710 user manual RW1 & RW0

Page 58

RW1 & RW0

Select read/write operation

 

 

 

 

 

 

Operation

 

RW1

RW0

 

 

 

 

 

 

Counter latch

 

0

0

 

Read/write LSB

0

1

 

Read/write MSB

1

0

 

 

 

 

 

Read/write LSB first,

1

1

then MSB

M2, M1 & M0

Select operating mode

 

 

 

 

 

 

 

M2

M1

M0

Mode

Description

 

 

 

 

 

 

0

0

0

0

Stop on terminal count

0

0

1

1

Programmable one shot

 

X

1

0

2

Rate generator

 

 

 

 

 

 

 

X

1

1

3

Square wave rate generator

 

 

 

 

 

 

 

1

0

0

4

Software triggered strobe

 

1

0

1

5

Hardware triggered strobe

BCD Select binary or BCD counting.

BCD Type

0Binary counting 16-bits

1Binary coded decimal (BCD) counting

If you set the module for binary counting, the count can be any number from 0 up to 65535. If you set it for BCD (Binary Coded Decimal) counting, the count can be any number from 0 to 9999.

If you set both SC1 and SC0 bits to 1, the counter control register is in read-back command mode. The control register data format then

54 PCI-1750 User's Manual

Image 58
Contents PCI-1710/1710HG Multifunction DAS Card for PCI Bus Http/support.advantech.com Contents Appendix a 82C54 Counter Chip Functions General Information PCI-bus Plug and Play Flexible Inputs Types and Ranges SettingIntroduction On-board Fifo First In First Out MemoryFeatures On-board Programmable CounterSpecifications Analog InputLinearity error ±1 LSB Input impedance 1 GΩ Digital Input Analog OutputDigital Output Programmable Timer/Counter GeneralBlock Diagram PCIInstallation Initial Inspection UnpackingInstallation Instructions Page Signal Connections Overview I/O ConnectorPin Assignment I/O connector pin assignments for the PCI-1710/1710 HG card Connector Signal Descriptions InputConnector Signal Descriptions part Digital Output signalsSignal Reference Direction Description Name Analog Input Connections Single-ended Channel ConnectionsDifferential Channel Connections Single-ended input channel connectionAignd Differential input channel connection floating signal source Analog Output Connections 10VInternal Pacer Trigger Connection Trigger Source ConnectionsExternal Trigger Source Connection Field Wiring Considerations Page Register Structure and Format I/O Port Address Map Base Read DI9 DI8 DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0 Base Write DO9 DO8 DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0 Channel Number and A/D Data BASE+0 and BASE+1 Software A/D Trigger BASE+0A/D Channel Range Setting BASE+2 PCI-1710 PCI-1710HG MUX Control-BASE+4 and BASE+5 Example Control Register BASE+6 Status Register BASE+6 and BASE+7 Clear Interrupt and Fifo BASE+8 and BASE+9 10 D/A Output Channel 0 BASE+10 and BASE+11 11 D/A Output Channel 1 BASE+12 and BASE+1312 D/A Reference Control BASE+14 Digital I/O Registers BASE+16 and BASE+17 Read Digital InputCalibration VR Assignment PCL-1710/1710HG VR assignmentA/D Calibration Following list shows the function of each VRD/A Calibration Self A/D Calibration Page 82C54 Counter Chip Functions Counter Intel 82C54Counter 1 Counter Read/Write Control Registers DescriptionRW1 & RW0 STA = Mode 2 Rate Generator Mode 0 Stop on Terminal CountMode 1 Programmable One-shot Pulse Counter Operating ModesMode 4 -Software-Triggered Strobe Mode 3 Square Wave GeneratorMode 5 Hardware-Triggered Strobe Counter Operations Counter Read-back CommandRead/Write Operation Counter Latch Operation