Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 8 of 16

SLC 500 4-Channel Analog I/O Modules User Manual: 4 - Module Operation and System Considerations, pages 47 to 54

Pages 47 to 54 of 113, from SLC 500 4-Channel Analog I/O Modules User Manual

The original document is the PDF (1.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Allen-Bradley 1746-NI4

Page 47

Module Operation and System Considerations

System Considerations

4-9

This section describes the system considerations for an analog module. These include: • safe state for outputs • retentive programming • input out-of-range detection • response to slot disable • input channel filtering

Safe State for Outputs Whenever an SLC 500 system is NOT in the RUN mode, the outputs on the analog module are automatically forced to 0 Volts or 0 mA by the SLC 500 system. This occurs when the processor is in the: • FAULT mode • PROGRAM mode • TEST mode ATTENTION

When designing and installing the SLC 500 system, devices connected to the analog module output channels must be placed into a safe state whenever the analog output is 0 volts or 0 mA (± the offset error).

Retentive Programming Option This section describes the affects of a processor mode change on analog outputs. The following information applies to the 1746-NIO4I, NIO4V, NO4I and NO4V analog modules. This programming option allows you to retain analog data in the Input and Output Image tables when the SLC 500 processor: • transitions from RUN-PROGRAM-RUN mode OR • when power is turned OFF and reapplied In both cases, when power is reapplied, the data is transferred to the module whether the programming rung is true or false. If an SLC 500 system detects a fault condition, the analog outputs reset to zero. The data in the Output Image table is retained during the

Publication 1746-UM005B-EN-P - June 2004

Page 48

4-10

Module Operation and System Considerations fault. Once the fault condition is corrected and the major fault bit in the processor is cleared, the retained data is sent to the analog output channels. If you choose not to use the retentive programming option, retained data is not sent to the output channels. The following section provides example program options for retentive data and non–retentive data.

Retentive Analog Output Example If a modular system is configured with the CPU in slot 0, a discrete I/O module in slot 1, and an analog output module in slot 2 the following ladder logic rung can be programmed.

I1:1.0/0 ] [

MOV MOVE Source Dest

32767 O0:2.0

When bit 0 of the discrete I/O module turns ON, the rung is true and the value 32767 is moved into the Output Image table location that corresponds with analog output channel 0 in slot 2. At the end of the scan, this value is transferred to the module where it is converted to the appropriate voltage or current (depending on the type of module used). If on the next program scan the rung becomes false, the MOVE of the value of 32767 to the Output Image table does not occur. Unless another rung is added to transfer data to the Output Image based on this rung being false, the previous data is retained. That is, the value 32767 remains in the Output Image table and is transferred to the analog module at the end of subsequent program scans until changed by the user program.

Publication 1746-UM005B-EN-P - June 2004

Page 49

Module Operation and System Considerations

4-11

Non-Retentive Analog Output Example The following example shows a non-retentive program during a program execution and for a mode change or power cycle.

I1:1.0/0 ] [

MOV MOVE Source Dest

32767 O0:2.0

I1:1.0/0 ]/[

MOV MOVE Source Dest

0 O0:2.0

In the above example, as long as discrete input 0 is ON, the value 32767 is transferred to analog output channel 0. If discrete input 0 turns OFF, the value 0 is transferred to analog output channel 0.

During a Mode Change or Power Cycle The first pass bit in the Status File is used to initialize the analog output following a power up in the RUN mode or entry into the RUN or TEST mode. The address of the First Pass bit is S2:1/15. When this bit is ON, the first pass of the program scan is taking place. Therefore, the following ladder rung can be programmed to always clear the analog output channel during the first program scan.

S2:1/15 ] [

MOV MOVE Source Dest

0 O0:2.0

Input Out-of-Range Detection Analog modules do not provide an input out-of-range signal to the processor. However, if this feature is critical to a specific application, you can program the processor to provide this function. The following program applies to all SLC 500 processors. The program shows two compare instructions that check for analog input values

Publication 1746-UM005B-EN-P - June 2004

Page 50

4-12

Module Operation and System Considerations which exceed low and high limits respectively. For this example, the analog input value is in word 1 of slot 1 (I1:1.1). Whenever the input value exceeds a limit, this program latches a binary variable in memory that could serve as an alarm indication at some other point in the program.

B3/0 (U)

Turn OFF Alarm

B3/0 (L)

Turn ON Alarm, Low Limit Exceeded

B3/0 (L)

Turn ON Alarm, High Limit Exceeded

LES

LESS THAN Source A I1:1.1 Source B 0 GRT

GREATER THAN Source A I1:1.1 Source B 16,384

Remainder of Program END

The second program is for SLC 5/02 processors. This program uses the Limit Test instruction that checks both low and high limits in a single instruction. This instruction assumes that the analog input value is in word 1 of slot 1 (I1:1.1). As in the above program, whenever the input value exceeds a limit, this program latches a binary variable in memory which could serve as an alarm indication at some other point in the program.

B3/0 (U) LIM LIMIT TEST (CIRC) Low Lim 16,385 Test I1:1.1 High Lim ±1

B3/0 (L)

Remainder of Program END

Publication 1746-UM005B-EN-P - June 2004

Turn OFF Alarm Turn ON Alarm, Limit Exceeded

Page 51

Module Operation and System Considerations

4-13

Response to Slot Disable You have the ability to disable any slot in the chassis using the processor. Before disabling any slot containing an analog module, it is important to consider how the analog module will respond when the slot is disabled.

ATTENTION

Make sure that the implications of disabling an analog module slot are clearly understood before utilizing this feature.

The response to slot disable for inputs and outputs is the same for all the analog modules.

Input Response to Slot Disable The module continues to update the input values to the processor. However, the processor does not read inputs from a module that is disabled. Therefore, when the processor disables the analog module slot, the module inputs appearing in the processor image table remain in their last state. When the processor re-enables the analog module slot, the current state of the module inputs are received by the processor during the subsequent scan.

Output Response to Slot Disable The processor may change the analog module output data as it appears in the processor image table. However, this data is not transferred to the analog module. Instead, the analog module holds its outputs in their last state. When the slot is re-enabled, the data that appears in the processor image table is transferred to the analog module on the subsequent scan.

Publication 1746-UM005B-EN-P - June 2004

Page 52

4-14

Module Operation and System Considerations

Input Channel Filtering The input channels for all of the analog modules incorporate extensive on board signal conditioning. The purpose of this conditioning is to reject the high frequency noise that can couple into an analog input signal while passing the normal variations of the input signal. The conditioning is performed by passing the input signal through a 6 pole Gaussian digital filter. The sharp cut-off of this filter is demonstrated in the frequency response plot shown below. Frequency components of the input signal at or below the filter corner frequency of 10 Hz are passed with under 3 dB of attenuation. This pass band allows the normal variation of sensor inputs such as temperature, pressure and flow transducers to be input data to the processor.

20 0

Output Amplitude in dB

-20 -40 -60 -80 -100 -120 -140 1

10

100

1000

Frequency in Hz

Noise signals coupled in at frequencies above the 10 Hz pass band is sharply rejected. An area of particular concern is the 50/60 Hz region, where pick up from power lines can occur. From the frequency response diagram, you see that a 60 Hz signal on the plus (+) input with respect to the minus (-) input is attenuated by over 55 dB (60 Hz normal mode rejection).

Publication 1746-UM005B-EN-P - June 2004

Page 53

Module Operation and System Considerations

4-15

If power line noise is coupling into the input signal through the input cable, the proper use of differential inputs reduces the effect of noise. With differential inputs, noise couples into both the plus (+) and minus (-) inputs where it is attenuated by over 105 dB (60 Hz common mode rejection). The affect of the filter with respect to time can be seen by examining the step response of the input channel. The following illustration shows the response of the input value versus time when a step change is made in the voltage or current at the input terminal. The response of the filter demonstrates no overshoot and rapid settling time. The input value settles to within 95% of the final value in 60 milliseconds, independent of the input magnitude. EXAMPLE

If the input instantaneously changes from 0 to 10 volts, the value converted by the analog module after 60 milliseconds is 9.5 volts. Within this time the analog module updates the input data value in memory with an intermediate response every 512 microseconds.

Percentage (%) of Final V alue

100 95 80 60 40

20 0 0

40

60

80

120

Time (ms)

Publication 1746-UM005B-EN-P - June 2004

Page 54

4-16

Module Operation and System Considerations

Publication 1746-UM005B-EN-P - June 2004