y no array of bool to bool
CODESYS Forge
talk
(Thread)
y no array of bool to bool
Last updated: 2013-02-22
REAL to BOOL
CODESYS Forge
talk
(Thread)
REAL to BOOL
Last updated: 2007-06-11
compare bool arrays
CODESYS Forge
talk
(Thread)
compare bool arrays
Last updated: 2017-03-21
Safety FB_EDM non safe bool
CODESYS Forge
talk
(Thread)
Safety FB_EDM non safe bool
Last updated: 2022-01-26
Name von Bool Variable auslesen?
CODESYS Forge
talk
(Thread)
Name von Bool Variable auslesen?
Last updated: 2007-12-22
bool in festen string umwandeln
CODESYS Forge
talk
(Thread)
bool in festen string umwandeln
Last updated: 2016-07-18
Change two vizualization by bool variable
CODESYS Forge
talk
(Thread)
Change two vizualization by bool variable
Last updated: 2014-04-15
DWORD mit Array of BOOL überlagern?
CODESYS Forge
talk
(Thread)
DWORD mit Array of BOOL überlagern?
Last updated: 2006-04-26
ModbusTCP-type BIT or BOOL
CODESYS Forge
talk
(Thread)
ModbusTCP-type BIT or BOOL
Last updated: 2020-11-16
Real activate with bool
CODESYS Forge
talk
(Thread)
Real activate with bool
Last updated: 2011-12-02
Pointer ARRAY BYTE to ARRAY BOOL
CODESYS Forge
talk
(Thread)
Pointer ARRAY BYTE to ARRAY BOOL
Last updated: 2008-06-06
BOOL ARRAY direct addressing on modbus area
CODESYS Forge
talk
(Thread)
BOOL ARRAY direct addressing on modbus area
Last updated: 2005-10-11
BOOL AT MXx.x : Variable mit Schreibzugriff als Eingabe
CODESYS Forge
talk
(Thread)
BOOL AT MXx.x : Variable mit Schreibzugriff als Eingabe
Last updated: 2007-11-07
BOOL ARRAY direct addressing on modbus area
CODESYS Forge
talk
(Thread)
BOOL ARRAY direct addressing on modbus area
Last updated: 2005-10-11
Bool turning on in case stament in wrong state?
CODESYS Forge
talk
(Thread)
Bool turning on in case stament in wrong state?
Last updated: 2023-12-16
Bit / Bool data types in function parameters
CODESYS Forge
talk
(Thread)
Bit / Bool data types in function parameters
Last updated: 2024-01-18
addressin an array of byte containing bits of type bool
CODESYS Forge
talk
(Thread)
addressin an array of byte containing bits of type bool
Last updated: 2018-11-14
How can you Toggle a Function BOOL input from a different POU?
CODESYS Forge
talk
(Thread)
How can you Toggle a Function BOOL input from a different POU?
Last updated: 2021-08-01
an element of "Array of BOOL" in SFC Action name
CODESYS Forge
talk
(Thread)
an element of "Array of BOOL" in SFC Action name
Last updated: 2008-05-05
How to Map Arrary of Bool to fixed IEC Address?
CODESYS Forge
talk
(Thread)
How to Map Arrary of Bool to fixed IEC Address?
Last updated: 2023-06-30
Post by timvh on Alarm Configuration Notification Action
CODESYS Forge
talk
(Post)
If it is a BOOL, then use: ...Error_Active := ALARM BOOL: ALARM INT: STATE
Last updated: 2024-05-14
Post by scarter on Bit / Bool data types in function parameters
CODESYS Forge
talk
(Post)
Any reason BIT and BOOL data types are not interchangeable? Trying to make a function which takes a BOOL IN/OUT parameter (Not allowed to use BIT) In the main logic if I make a DINT variable, and want to use each bit on different functions CODESYS will not allow it.
Last updated: 2024-01-17
Function block that after 2 rising edge it gives a bool and resets every 3 seconds
CODESYS Forge
talk
(Thread)
Function block that after 2 rising edge it gives a bool and resets every 3 seconds
Last updated: 2023-04-07
Post by smartcoco on Bit / Bool data types in function parameters
CODESYS Forge
talk
(Post)
Memory addressing is measured in bytes, with BOOL occupying one byte. BIT is quite unique as it occupies one bit. So, try not to use BIT in the program. You can use the Unpack function to solve your problem.
Last updated: 2024-01-18
Post by ton on How to create a stopwatch?
CODESYS Forge
talk
(Post)
One i wrote this to measure elepse time When xMeasure is true is starts en when false it stops and time is messured. FUNCTION_BLOCK FB_ElapseTime VAR_INPUT xMeasure: BOOL; END_VAR VAR_OUTPUT xRisingEdge: BOOL; xFallingEdge: BOOL; tElapsed: TIME; ltElapsed: LTIME; ltPrev_Elapsed: LTIME; ltElapsedMax: LTIME; END_VAR VAR xLastValue: BOOL; LTIMEStart: LTIME; LTIMEEnd: LTIME; tonReset: TON:= (IN:= TRUE, PT:= TIME#30S0MS); END_VAR ------------------------------------------- xRisingEdge:= (xLastValue XOR xMeasure) AND xMeasure; xFallingEdge:= (xLastValue XOR xMeasure) AND NOT xMeasure; IF xRisingEdge THEN ltPrev_Elapsed:= ltElapsed; LTIMEStart:= LTIME(); END_IF IF xMeasure OR xFallingEdge THEN LTIMEEnd:= LTIME(); END_IF ltElapsed:= LTIMEEnd - LTIMEStart; ltElapsedMax:= MAX(ltElapsedMax, ltElapsed); tElapsed:= LTIME_TO_TIME(ltElapsed); xLastValue:= xMeasure; tonReset(); IF tonReset.Q THEN tonReset.IN:= FALSE; ltElapsedMax:= LTIME#0NS; END_IF Meaby this will help.
Last updated: 2023-12-09
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND
or OR
.