﻿<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4018.5">
  <POU Name="CheckPointer" Id="{3895abb6-6bea-415e-aa19-6145889f9d6e}" SpecialFunc="CheckPointer">
    <Declaration><![CDATA[// Implicitly generated code : DO NOT EDIT
FUNCTION CheckPointer : POINTER TO BYTE
VAR_INPUT 
	ptToTest : POINTER TO BYTE; // Destination address of the pointer
	iSize : DINT;		        // Size of the type the pointer points to. (e.g: 20 for POINTER TO ARRAY [0..9] OF INT) 
	iGran : DINT;		        // Granularity of the pointer access. This is the size of the biggest non-structured data type in the type the pointer points to. (e.g: 2 for POINTER TO ARRAY [0..9] OF INT)
	bWrite: BOOL;		        // Indicates read or write Access. TRUE = write access.
END_VAR
]]></Declaration>
    <Implementation>
      <ST><![CDATA[// No standard way of implementation. Fill your own code here
CheckPointer := ptToTest;]]></ST>
    </Implementation>
  </POU>
</TcPlcObject>