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

Parameter | Parameter Type | Data Type | Description |
---|---|---|---|
MemMod | Input | BOOL |
|
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 ladder diagram example

RPC structured text example

(* ST Equivalence: *) TESTOUTPUT2 := RPC(TESTINPUT) ;
Provide Feedback