RPC (read program checksum)

The RPC instruction reads the user program checksum, either from the controller or the memory module.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the
Micro810
, L20E, L50E, and L70E controllers.
RPC function block diagram example
RPC function block diagram example
RPC parameters
Parameter
Parameter Type
Data Type
Description
MemMod
Input
BOOL
  • TRUE: The value is taken from the memory module.
  • FALSE: The value is taken from the
    Micro800
    controller.
ENO
Output
BOOL
Enables output. Applies to ladder diagram programs.
RPC
Output
UDINT
The checksum value of the specified user program.

RPC examples

RPC function block diagram example
RPC function block diagram example
RPC ladder diagram example
RPC ladder diagram example
RPC structured text example
RPC structured text example
(* ST Equivalence: *) TESTOUTPUT2 := RPC(TESTINPUT) ;
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal