The text of a manual · part 8 of 9
Analog Input Module (Cat. No. 1771-IFE Series C) User Manual, pages 71 to 80
Pages 71 to 80 of 82
The original document is the PDF (727 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Allen-Bradley 1771-AL
Page 71
Appendix
E
Block Transfer (Mini-PLC-2 and PLC-2/20 Processors) Multiple GET Instructions Ć Mini-PLC-2 and PLC-2/20 Processors
Programming multiple GET instructions is similar to block format instructions programmed for other PLC-2 family processors. The data table maps are identical, and the way information is addressed and stored in processor memory is the same. The only difference is in how you set up block transfer read instructions in your program. For multiple GET instructions, individual rungs of ladder logic are used instead of a single rung with a block transfer instruction. A sample rung using multiple GET instructions is shown in Figure E.1 and described in the following paragraphs. Rung 1: This rung is used to set four conditions.
• Examine On Instruction (113/02) - This is an optional
• •
•
• • • • instruction. When used, block transfers will only be initiated when a certain action takes place. If you do not use this instruction, block transfers will be initiated every I/O scan. First GET Instruction (030/120) - identifies the module’s physical address (120) by rack, group and slot; and where in the accumulated area of the data table this data is to be stored (030). Second GET Instruction (130/060) - indicates the address of the first word of the file (060) that designates where the data will be transferred. The file address is stored in word 130, 1008 above the data address. Output Energize Instruction (012/07) - enables the block transfer read operation. If all conditions of the rung are true, the block transfer read enable bit (07) is set in the output image data table control byte. The output image table control byte contains the read enable bit and the number of words to be transferred. The output energize instruction is defined as follows: “0” indicates that it is an output instruction “1” indicates the I/O rack address “2” indicates the module group location within the rack “07” indicates this is a block transfer read operation (if this were a block transfer write operation, “07” would be replaced by “06”.)
-
Page 72
E–2
Block Transfer (Mini-PLC-2 and PLC-2/20 Processors)
Rungs 2 and 3: These output energize instructions (012/01 and 012/02) define the number of words to be transferred. This is accomplished by setting a binary bit pattern in the module’s output image table control byte. The binary bit pattern used (bits 01 and 02 energized) is equivalent to 6 words or channels, and is expressed as 110 in binary notation. Rung Summary: Once the block transfer read operation is complete, the processor automatically sets bit 07 in the input image table status byte and stores the block length of the data transferred. Figure E.1 Multiple GET Instructions (Mini-PLC-2 and PLC-2/20 Processors Only)
)#
-
)#
,+0.,)
-
,1+0#.
- -
- -
)# ,+0.,)
)# '+ ,"#
'+ './0 ,$
- -
)#
-
-
,1+0#.
-
)#
,+#
')# '+
-
#
- - -
- -
- -
-
Page 73
Block Transfer (Mini-PLC-2 and PLC-2/20 Processors)
Setting the Block Length (Multiple GET Instructions only)
E–3
The input module transfers a specific number of words in one block length. The number of words transferred is determined by the block length entered in the output image table control byte corresponding to the module’s address. The bits in the output image table control byte (bits 00 - 05) must be programmed to specify a binary value equal to the number of words to be transferred. For example, Figure E.2 shows if your input module is set up to transfer 6 words, you would set bits 01 and 02 of the lower image table control byte. The binary equivalent of 6 words is 000110. You would also set bit 07 when programming the module for block transfer read operations. Bit 06 is used when block transfer write operations are required. Figure E.2 Setting Block Length (Multiple GET Instructions only) +
+
!+)'
-
- ("-# $(
-
-
,,
,, $( - -
Binary Bit Pattern Lower Output Image Table Byte
Number of Words to Transfer
05
04
03
02
01
00
-
:
:
1
Page 74
Appendix F
Forms
This appendix contains forms useful in setting up your data table.
Publication 1771-6.5.115 - February 1999
Page 75
F–2
Forms
Analog Block Transfer Read Position
Decimal File Word Octal
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
17
16
15
14
13
12
11
10
07
06
05
04
03
02
01
00
-"%
)
Position
File Word
-
Channel Number
Value
Page 76
Forms
F–3
Analog Block Transfer Write Position
Decimal File Word Octal
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
17
16
15
14
13
12
11
10
07
06
05
04
03
02
01
00
-
-
- Position
Decimal File Word Octal
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
17
16
15
14
13
12
11
10
07
06
05
04
03
02
01
00
Position
File Word
Channel Number
Min./Max Value
Position
File Word
Channel Number
Min./Max Value
--
-
-
-
-
-
-
-
-
)
Page 77
Index
A accuracy,
BCD, [4-1]
BCD format 4-7 digital filtering and scaling, block transfer, |1-1| 1-3, |2-3,| 7-1 communication using, | 1-2 read and write file lengths, write, [1-2] block transfer read,| 3-1 3-2,| 5-1] 7-2| bit/word format, | 5-2 word assignments] 5-1 | block transfer write} 3-2) configuration block] 4-8 | filter settings, input range selection,| 4-2 | programming, 3-1 | calibration, |6-3 periodic,| 6-1 tools common mode voltages affect of,| 7-7 checking for,| 7-7 | configuration block bit/word descriptions,} 4-9 | block transfer write, | 4-8 | configuration/calibration time] 3-5] connection diagram 16 single-ended inputs 2-wire transmitters, 4-wire transmitters, 8 differential inputs 2-wire transmitters,| 2-10 4-wire transmitters,| 2-11 considerations, pre- installation, | 2-2 |
2-8 2-9
D data format, bit selection settings, [4-3 | data formats
2’s complement binary, [p-3 4-digit binary coded decimal,| D-1 signed-magnitude binary,| D-2 default configuration, block transfer write, 3-1] 4-8 default length, series A 5-1 | diagnostic bits,[ 7-1 diagnostics, word 1,| 7-1
F factory een fault indicator,| 7-1 features, [1-1] field wiring arm, filtering, description, }4-4 | format, data,
IFE module, input channel jumpers,| 2-4 | IFE module, install,| 2-5] 2-6] 7-4 | indicator lights,| 2-13 indicators fault, RUN, 7-5 input range selection, 5-3 | input ranges, program selectable, input voltage/current ranges,| 4-3] installation
IFE module, of module, 2-6] J jumpers, input channel 2-4
Publication 1771-6.5.115 - February 1999
Page 78
I-2
Index
Publication 1771-6.5.115 - February 1999 module, shipping state,| 6-1 | module configuraion,| 2-1 module installation, 2-6 module location, in I/O chassis, 2-3 |
N noise interference, ) power requirements, from backplane, programming, with multiple GETs, R range selectio bit setting 4-2] input 5-3] real time sampling bit settings,
S sample program,| 3-7 PLC-2,| 3-2 PLC-3,| 3-3 PLC-5, 3-4 scaling description, |4-6 implementation, 4-6)
minimum block transfer requirements, | 4-7| wlth scan time, module, specifications, T test system, connecting, | 7-4
3- 3- testing by disconnecting input channel functionality,| 7-10 to module common, | 7-8 troubles hooting,| 7-1 | chart,| 7-3 troubleshooting the module,| 7-8
U update time,
V voltage-mode input devices, recommended cable length,| 2-7
Page 79
Allen-Bradley ww Publication Problem Report
If you find a problem with our documentation, please complete and return this form.
Pub.Name Analog Input Module User Manual
Check Problem(s) Type: Describe Problem(s): Internal Use Only [] Technical Accuracy [] text [] illustration [_] Completeness [_] procedure/step [_] illustration [_] definition [_] info in manual What information is missing? [| example [| guideline [| feature (accessibility) [] explanation [] other [| info not in manual [_] Clarity
What is unclear?
[] Sequence
What is not in the right order?
[| Other Comments
Use back for more comments.
Your Name Location/Phone
Return to: Marketing Communications, Allen-Bradley Co., 1 Allen-Bradley Drive, Mayfield Hts. OH 44124-6118 | Phone: (216)646-3176 FAX: (216)646-4320
Publication ICCG-5.21-May 1990 PN 955107-82
Page 80
-
NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES
BUSINESS REPLY MAIL FIRST-CLASS MAIL PERMIT NO. 18235 CLEVELAND OH POSTAGE WILL BE PAID BY THE ADDRESSEE
TECHNICAL COMMUNICATION 1 ALLEN BRADLEY DR MAYFIELD HEIGHTS OH 44124-9705