Skip to content

Commit 2b4b7f9

Browse files
Merge pull request #90 from KaushikMalapati/analog_input_dint
Using DINT instead of INT in FB_AnalogInput
2 parents bd00e4e + f016a00 commit 2b4b7f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

LCLSGeneral/LCLSGeneral/POUs/Hardware/FB_AnalogInput.TcPOU

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<TcPlcObject Version="1.1.0.1">
2+
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4022.18">
33
<POU Name="FB_AnalogInput" Id="{c3bf2f11-e399-406d-ba95-ae8960e90a27}" SpecialFunc="None">
44
<Declaration><![CDATA[FUNCTION_BLOCK FB_AnalogInput
55
(*
@@ -8,7 +8,7 @@
88
*)
99
VAR_INPUT
1010
// Connect this input to the terminal
11-
iRaw AT %I*: INT;
11+
iRaw AT %I*: DINT;
1212
// The number of bits correlated with the terminal's max value. This is not necessarily the resolution parameter.
1313
iTermBits: UINT;
1414
// The fReal value correlated with the terminal's max value

0 commit comments

Comments
 (0)