background image

SERIES IOS-440 I/O SERVER MODULE                                32-CHANNEL ISOLATED DIGITAL INPUT MODULE 
_________________________________________________________________________________________

 

- 11 - 

Acromag, Inc.  Tel:248-295-0310  Fax:248-624-9234  Email:[email protected]  http://www.acromag.com 

 

3.   We need to enable the 8MHz system clock to generate our 

debounce time.  By default, the debounce clock is not 
enabled.  Select the 8MHz system clock as the debounce 
clock by writing 01H to the port 3 address of this bank 
(Debounce Clock Select Register).  T

his set is not required 

for the IOS-440.

 

 
4.   The default debounce duration is 4us with the 8MHz clock 

enabled in step 3.  This time applies to the FPGA input signal 
and does not include opto-coupler delay.  Write 01H to the 
port 1 address of this bank to select a 64us debounce time 
(Debounce Duration Register 0).  An incoming signal must be 
stable for the entire debounce time before it will be 
recognized as a valid input transition by the FPGA. 

 

Note that Debounce Duration Register 1 (port address 2) 
would be used to configure debounce durations for ports 4 & 
5.  Since ports 4 & 5 are not used by this model, Debounce 
Duration Register 1 has no effect. 

 
5.   Enable the debounce circuitry for port 0 inputs by setting bit 0 

of the Debounce Control Register.  Write 01H to the Port 0 
address of this bank (Debounce Control Register). 

 

If the module had been configured earlier, you would first 
read this register to check the existing settings of debounce 
enable for the other ports of this module with the intent of 
preserving their configuration by adjusting the value written 
above. 
 

6.   Write 40H to the port 7 address to select register bank 1 

where the event polarity requirements of our application will 
be configured. 

 

At this point, you are in Enhanced Mode Bank 1 where 
access to the event polarity/status registers is obtained. 

 
7.   For change-of-state detection, both positive and negative 

polarities must be sensed.  As such, two channels are 
required to detect a change-of-state on a single input signal.  
For our example, IN00-IN03 will be used to detect positive 
events (low-to-high transitions); IN04-IN07 will be used to 
detect negative events (high-to-low transitions).  Write 02H to 
the port 6 address to set IN00-IN03 to positive edge 
detection, and IN04-IN07 to negative edge detection. 

 

Note that this port address has a dual function depending on 
whether a read or write is being executed.  As such, if the 
current polarity configuration for the other ports must be 
preserved, then it must be remembered since it cannot be 
read back. 

 
8.   To enable event sensing for the port 0 input points, write FFH 

to the Event Sense Status Register for port 0 input points at 
the port 0 address in this bank. 

 

Note that writing a 1 to a bit position enables the event sense 
detector, while writing a 0 clears the event sensed without 
enabling further event sensing. 
 

9.   Write 00H to the port 7 address to select register bank 0 

where the port 0 input channels may be write-masked. 

 

Note that the port 7 address bank selection only operates 
from bits 6 & 7 of this register.  Likewise, this register has a 

dual function depending on whether a read or write is 
executed.  As such, the polarity settings cannot be read back 
and must be remembered if they are to be preserved for 
successive writes. 
 
At this point, you are in Enhanced Mode Bank 0 where 
access to the write-mask register is obtained. 

 
10.  For our example, port 0 input points are to be used for inputs 

only and writes to this port should be masked to prevent the 
possibility of data contention between the built-in output 
circuitry and the devices driving these inputs.  Write 01H to 
the port 7 address to mask writes to port 0. 

 
11.  Read 01H from the port 7 address to verify bank 0 access 

(bits 6 & 7 are 0) and port 0 write masking (bit 0 is 1). 
 

12.  (OPTIONAL) Write your interrupt vector to the Interrupt 

Vector Register Address (Note that this register operates 
independent of the current bank since it does not reside at 
any of the bank addresses). 

 
13.  (OPTIONAL) Write 01H to the Interrupt Enable Register 

(IER) address location to enable IOS control of the IOS 
Interrupt Request 0 line (IntReq0). 

 

When a change-of-state is detected, IntReq0 will be pulled 
low (if the event sense detection circuitry has been enabled 
and IER bit 0=1).  In response, the host will execute an 
Interrupt Select cycle and the contents of the Interrupt Vector 
Register will be provided.  To enable further interrupts for an 
event that has already occurred at an input point, the Event 
Sense Status Register must be written with a 1 to re-enable 
event sensing for subsequent events (only after first writing 0 
to the corresponding bit position to clear the event sense 
flip/flop). 
 
Note that the state of the inputs (on/off) can be determined by 
reading the corresponding port address while in bank 0 of the 
Enhanced Mode.  However, the event sense status can only 
be determined by reading the corresponding port address 
while in bank 1 of the Enhanced Mode.  Remember, the 
event sense status is a flag that is raised when a specific 
positive or negative transition has occurred for a given input 
point, while the state refers to its current level. 

 
 

4.0  THEORY OF OPERATION 

 

This section provides a description of the basic functionality 

of the circuitry used on the board.  Refer to the IOS-440 BLOCK 
DIAGRAM as you review this material.  
 

IOS-440 OPERATION 

 

The IOS-440 is built around a Field-Programmable Gate 

Array (FPGA) IC.  The device provides the control interface 
necessary to operate the module, the IOS identification space, all 
registers, and provides I/O interface and configuration functions.  
The FPGA monitors and controls the functions of the 32 digital 
inputs used by this model.  It also provides debounce control and 
event sensing functions. 

 
 
 

Содержание IOS-440

Страница 1: ...ANUAL ACROMAG INCORPORATED Tel 248 295 0310 30765 South Wixom Road Fax 248 624 9234 P O BOX 437 Wixom MI 48393 7037 U S A solutions acromag com Copyright 2009 Acromag Inc Printed in the USA Data and specifications are subject to change without notice 8500 839 B11C007 retired ...

Страница 2: ...C The inputs normally function as independent input level detectors without interrupts However each input line includes built in event sense circuitry with programmable polarity debounce and interrupt support Inputs also include hysteresis for increased noise immunity The IOS 440 utilizes state of the art Surface Mounted Technology SMT to achieve its wide functionality and is an ideal choice for a...

Страница 3: ...ed keep the carton and packing material for the agent s inspection For repairs to a product damaged in shipment refer to the Acromag Service Policy to obtain return instructions It is suggested that salvageable shipping cartons and packing material be saved for future use in the event the product must be shipped This board is physically protected with packing material and electrically protected wi...

Страница 4: ...ual inputs also include selectable hardware debounce in Enhanced Mode For event sensing the Enhanced Mode allows a specific input level transition High to Low Low to High or Change of State to be detected and optionally generate an interrupt Memory is organized and addressed in separate banks of eight registers or ports eight ports to a bank The Standard Mode of operation addresses the first group...

Страница 5: ... Register IN08 IN15 02 05 Not Driven1 READ4 Port 2 Register IN16 IN23 04 07 Not Driven1 READ4 Port 3 Register IN24 IN31 06 09 Not Driven1 READ2 Port 4 NOT USED 08 0B Not Driven1 READ2 Port 5 NOT USED 0A 0D Not Driven1 READ2 Port 6 NOT USED 0C 0F Not Driven1 READ Port 7 READ MASK REGISTER Also Current Bank Status 0E 0F Not Driven1 WRITE Port 7 WRITE MASK REGISTER Also Bank Select Register 0E Table ...

Страница 6: ... return the status of the mask in bits 0 3 Standard Mode Write Mask Register Port 7 BIT WRITE TO REGISTER READ FROM REGISTER 0 Port 0 Write Mask Port 0 Write Mask 1 Port 1 Write Mask Port 1 Write Mask 2 Port 2 Write Mask Port 2 Write Mask 3 Port 3 Write Mask Port 3 Write Mask 4 7 NOT USED NOT USED Bits 4 7 of this register are not used On power up reset all bits are set to 0 To switch to Enhanced ...

Страница 7: ... the carrier board see Interrupt Enable Register Event Interrupt Status Register for Ports 0 3 BIT READ EVENT STATUS REGISTER 0 Port 0 Interrupt Status IN00 IN07 1 Port 1 Interrupt Status IN08 IN15 2 Port 2 Interrupt Status IN16 IN23 3 Port 3 Interrupt Status IN24 IN31 4 6 NOT USED 7 Interrupt Status Flag Event Polarity Control Register For Ports 0 3 Enhanced Mode Bank 1 Port 6 Write Only A write ...

Страница 8: ...OS clock for debounce The IOS 440 always uses the 8MHz clock for debounce and this register is only provided to facilitate backwards compatibility with the IOS 440 This register is cleared following a reset Bank Select Write Status Read Register 2 Enhanced Mode Bank 2 Port 7 Read and Write Bits 0 5 of this register are not used Bits 6 7 of this register are used to indicate read or select write th...

Страница 9: ... input lines 0 31 Additionally ports are grouped eight to a bank There are four banks of ports used for controlling this module Standard Mode plus Enhanced Mode Banks 0 1 and 2 plus 2 additional registers for enabling the interrupt request line generating a software reset and storing the interrupt vector Each port input line is bipolar and accepts both positive and negative input voltages in two r...

Страница 10: ... channel has been reset by writing a 1 to the corresponding event sense bit in the Event Sense Status Register after writing 0 to clear the event sense flip flop Interrupts may be reflected internally and reported by polling the module or optionally reported to the carrier by enabling control of the Interrupt Request line Intreq0 Control of this line is initiated via Bit 0 of the Interrupt Enable ...

Страница 11: ...or while writing a 0 clears the event sensed without enabling further event sensing 9 Write 00H to the port 7 address to select register bank 0 where the port 0 input channels may be write masked Note that the port 7 address bank selection only operates from bits 6 7 of this register Likewise this register has a dual function depending on whether a read or write is executed As such the polarity se...

Страница 12: ...en a board is first produced and when any repair is made it is tested placed in a burn in room at elevated temperature and retested before shipment Please refer to Acromag s Service Policy Bulletin or contact Acromag for complete details on how to obtain parts and repair PRELIMINARY SERVICE PROCEDURE Before beginning repair be sure that all of the procedures in Section 2 Preparation For Use have b...

Страница 13: ...with no digital upsets Conducted RF Immunity CRFI Complies with EN61000 4 6 3V rms 150KHz to 80MHz and European Norm EN50082 1 with no digital upsets Electromagnetic Interference Immunity EMI No digital upset under the influence of EMI from switching solenoids commutator motors and drill motors Electrostatic Discharge Immunity ESD Complies with EN61000 4 2 Level 3 8KV enclosure port air discharge ...

Страница 14: ...ebounce times are programmable and derived from the 8MHz system clock in combination with the debounce duration register value Debounce times are applied at the FPGA input and do not include opto coupler delay time Debounce values of 4us 64us 1ms and 8ms may be configured Each debounce time has an error of up to 375ns Interrupts Each channel has configurable interrupts They may be configured for h...

Страница 15: ...LE 32 CHANNEL ISOLATED DIGITAL INPUT MODULE _________________________________________________________________________________________ 15 Acromag Inc Tel 248 295 0310 Fax 248 624 9234 Email solutions acromag com http www acromag com ...

Отзывы: