11.18
SVCREQ 23: Read Master Checksum
Use SVCREQ 23 to read the master checksums of the application program and the
configuration. The SVCREQ output is always ON if the function is enabled.
11.18.1
Output Parameter Block for SVCREQ 23
For this function, the output parameter block has a length of 12 words with this format:
The first two items in the output parameter block indicate when the program and
configuration checksums are valid. (Program checksums may not be valid during a Run
Mode Store.)
address
Master Program Checksum Valid (0 = not valid, 1 = valid)
a 1
Master Configuration Checksum Valid (0 = not valid, 1 = valid)
a 2
Number of Program Blocks (including _MAIN)
a 3
Size of User Program in Bytes (DWORD data type)
a 5
Program Additive Checksum
a 6
Program CRC Checksum (DWORD data type)
a 8
Size of Configuration Data in Bytes
a 9
Configuration Additive Checksum
a 10
Configuration CRC Checksum (DWORD data type)
11.18.2
Example of SVCREQ 23
In the example, when input %I0251 is ON, the master checksum information is placed
into the parameter block at %R0050 and the output coil (%Q0001) is turned on.
CONST
00023
SVC_
REQ
FNC
PARM
%R0050
%I0251
%Q0001
220
GFK-1503E
VersaMax PLC User Manual
For public disclosure
Summary of Contents for VersaMax PLC
Page 16: ...Notes 16 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 38: ...Notes 38 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 50: ...Notes 50 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 92: ...Notes 92 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 112: ...Notes 112 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 224: ...Notes 224 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 292: ...Notes 292 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 316: ...Notes 316 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 317: ......