Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/ArrayToString.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Provides overloads that convert a `CHAR` array, or a selected range within it, t

## Signatures

```st
```iecst
FUNCTION ToString : STRING
VAR_INPUT
arr : ARRAY[*] OF CHAR;
Expand Down Expand Up @@ -49,7 +49,7 @@ END_FUNCTION

## Examples

```st
```iecst
VAR
chars : ARRAY[0..4] OF CHAR := ['H', 'e', 'l', 'l', 'o'];
fullText : STRING;
Expand Down
4 changes: 2 additions & 2 deletions docs/CountDigits.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Provides overloads that count the number of decimal digits in signed and unsigne

## Signatures

```st
```iecst
FUNCTION CountDigits : INT
VAR_INPUT
value : LINT;
Expand Down Expand Up @@ -39,7 +39,7 @@ END_FUNCTION

## Examples

```st
```iecst
VAR
signedDigits : INT;
unsignedDigits : INT;
Expand Down
4 changes: 2 additions & 2 deletions docs/HexToString.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Provides hexadecimal string conversion helpers for byte values.

## Signatures

```st
```iecst
FUNCTION PUBLIC ByteToString : STRING
VAR_INPUT
b : BYTE;
Expand All @@ -33,7 +33,7 @@ END_FUNCTION

## Examples

```st
```iecst
VAR
hexValue : STRING;
END_VAR
Expand Down
2 changes: 1 addition & 1 deletion docs/IntToString.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Provides overloaded `ToString` functions for signed and unsigned integer types.

## Examples

```st
```iecst
VAR
sintText : STRING[4];
dintText : STRING[11];
Expand Down
4 changes: 2 additions & 2 deletions docs/StringToAnyInt.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Provides string-to-integer parsing helpers for signed and unsigned 64-bit intege

## Signatures

```st
```iecst
FUNCTION StringToAnyInt : BOOL
VAR_INPUT
str : STRING;
Expand Down Expand Up @@ -42,7 +42,7 @@ END_FUNCTION

## Examples

```st
```iecst
VAR
ok : BOOL;
parsedValue : LINT;
Expand Down
4 changes: 2 additions & 2 deletions docs/StringToArrayOfCharCount.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Converts a `STRING` into an array of `CHAR` values and returns the number of cop

## Signature

```st
```iecst
FUNCTION OfCharCount : DINT
VAR_INPUT
str : STRING;
Expand All @@ -37,7 +37,7 @@ END_FUNCTION

## Examples

```st
```iecst
VAR
chars : ARRAY[0..9] OF CHAR;
copied : DINT;
Expand Down
4 changes: 2 additions & 2 deletions docs/StringToArrayOfLint.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Parses a string representation of an integer array into a `LINT` array.

## Signatures

```st
```iecst
FUNCTION GetArrayBounds
VAR_INPUT
str : STRING;
Expand All @@ -36,7 +36,7 @@ END_FUNCTION

## Examples

```st
```iecst
VAR
lowerBound : INT;
upperBound : INT;
Expand Down
4 changes: 2 additions & 2 deletions docs/StringToBool.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Converts the strings `TRUE` and `FALSE` to a boolean value.

## Signature

```st
```iecst
FUNCTION StringToBool : BOOL
VAR_INPUT
str : STRING;
Expand Down Expand Up @@ -40,7 +40,7 @@ END_FUNCTION

## Examples

```st
```iecst
VAR
ok : BOOL;
parsedValue : BOOL;
Expand Down
4 changes: 2 additions & 2 deletions docs/StringToHex.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Converts a hexadecimal string into a `DWORD` value and returns a status code.

## Signature

```st
```iecst
FUNCTION ToHex : WORD
VAR_INPUT
str : STRING;
Expand Down Expand Up @@ -50,7 +50,7 @@ END_FUNCTION

## Examples

```st
```iecst
VAR
status : WORD;
hexResult : DWORD;
Expand Down
4 changes: 2 additions & 2 deletions docs/TRUNC.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Provides overloads of `TRUNC` that truncate `REAL` and `LREAL` values toward zer

## Signatures

```st
```iecst
FUNCTION TRUNC : DINT
VAR_INPUT
Value : LREAL;
Expand Down Expand Up @@ -44,7 +44,7 @@ END_FUNCTION

## Examples

```st
```iecst
VAR
resultReal : DINT;
resultLReal : DINT;
Expand Down
2 changes: 1 addition & 1 deletion docs/Times.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Documents the time conversion functions in the `Simatic.Ax.Conversion.Times` nam

## Examples

```st
```iecst
VAR
simotionValue : SimotionDateTime;
simaticValue : LDATE_AND_TIME;
Expand Down
2 changes: 1 addition & 1 deletion docs/ToInt.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Provides overloaded `ToInt` functions that parse a `STRING` into signed and unsi

## Examples

```st
```iecst
VAR
okSint : BOOL;
okUdint : BOOL;
Expand Down
Loading