
Appendix
C
:)20*(9054 > ,)7:(7=
Programming Examples
The following are sample programs for entering data in the
configuration words of the write block transfer instruction when
using the PLC-2, PLC-3 or PLC-5 family processors.
To enter data in the configuration words, follow these steps:
Example:
Enter the following rung for a write block transfer:
$#!
!
"
!
400 is the address of the write block transfer data file. You want to
examine configuration word 1.
Step Action Description
1.
7,88 & '+(9( (++7,88 04+8 9/, )25*1 97(48-,7 04897:*9054
2.
7,88 ,35;,8 67,*,+04. *533(4+
3.
7,88 & %' 57 0862(=8 9/, -02, 04 )04(7= 57
4.
5;, *:7857 95 +(9( 95 ), 35+0-0,+
5.
49,7 4,< +(9(
6.
7,88 & !' #709,8 +(9( 95 -02, ,2,3,49
Use the above procedure to enter the required words of the write
block transfer instruction. Be aware that the block length will depend
on the number of channels selected and whether scaling is or is not
performed; for example, the block may contain only 3 words if no
scaling is performed but may contain 37 words if using 16 inputs
with scaling.
Sample Programs for the
Analog Input Module
PLCĆ2 Family Processors
Comentarios a estos manuales