![Allen-Bradley MicroLogix 1400 Instruction Manual Download Page 241](http://html1.mh-extra.com/html/allen-bradley/micrologix-1400/micrologix-1400_instruction-manual_2900205241.webp)
Publication 1766-RM001A-EN-P - October 2008
Application Specific Instructions
239
RPC - Read Program
Checksum
Instruction Type: Output
The RPC instruction reads Program copies the checksum of the processor
program from either the processor's RAM memory or from the installed
memory module into the designated destination integer file location
Enter the following parameters when programming this instruction:
•
Proc/Mmod is an immediate value with a range from 0…1. Specify
where the Program checksum is read, and what type of operation to
be performed (Proc-Mem / Mem Mod).
•
Destination is the address to store the result of Program Checksum
from processor memory.
Read Program Checksum
Proc/Mmod PROC-MEM
Dest
N7
:
0
0000h<
RPC
Execution Time for the RPC Instruction
Controller
When Instructions Is:
True
False
MicroLogix 1400
4.2844 µs
0.2028 µs
RPC Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page 92.
Parameter
Data Files
Function Files
(1)
CS -
C
o
mm
s
IOS - I/O
DLS - Da
ta
Lo
g
(2
)
Address Mode
(3)
Address Level
O
I
S
B
T,
C
, R
N
F
ST
L
MG, PD
RI/RIX
PLS
RTC
HSC
PTO
X
, PW
MX
STI
EII
BH
I
MMI
LCD
Dir
e
c
t
In
dir
ect
Imme
di
ate
Int1
6
Immedi
ate Int32
Imme
di
ate
F
loa
t
Bit
Wo
rd
Do
ub
le
W
o
rd
E
lement
Float
Source A
•
•
Destination
•
•
(1) PTOX and PWMX files are only for use with MicroLogix 1400 BXB or BXBA unit.
(2) The Data Log Status file can only be used for the following math instructions: ADD, SUB, MUL, DIV, NEG, and SCP.
(3) See Important note about indirect addressing.
IMPORTANT
You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX,
PWMX, STI, EII, BHI, MMI, CS, IOS, and DLS files.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive