Search talk: word by bool'

 
<< < 1 2 3 4 5 .. 160 > >> (Page 3 of 160)

How to control the Servo motor though the control word CODESYS Forge talk (Thread)
How to control the Servo motor though the control word
Last updated: 2021-02-11

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 garrian on How to write multiple coils (Modbus FC15) CODESYS Forge talk (Post)
Thanks for your reply. I belive it is contiguous, I'm writing to adress 0 to 4. Or, do you mean something else? Well, something is happening. If I on the client set adress 1,2,3 to true, only 1 is set to true on the server side. On the client side, the data is array of word. But on the server side, the coils are array of bool. Holding register is array of word on server side. Can this be a problem? Attached screenshot of how it looks at the server side.
Last updated: 2024-11-17

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

Zugriff auf BYTE in einem WORD / INT in einem DINT etc... CODESYS Forge talk (Thread)
Zugriff auf BYTE in einem WORD / INT in einem DINT etc...
Last updated: 2023-01-19

How can I convert a 2 word modbus address to real? CODESYS Forge talk (Thread)
How can I convert a 2 word modbus address to real?
Last updated: 2014-11-22

schaltplan als PDF-Datein oder als ein Bild in MS-WORD CODESYS Forge talk (Thread)
schaltplan als PDF-Datein oder als ein Bild in MS-WORD
Last updated: 2007-10-05

I want to convert a WORD to a hex string like 15.432 to '3C48' CODESYS Forge talk (Thread)
I want to convert a WORD to a hex string like 15.432 to '3C48'
Last updated: 2024-04-19

Post by marekxc on Little endian to Float from Modbus RTU CODESYS Forge talk (Post)
Maybe try going back to step one and: Var Reg1: WORD; Reg2: WORD; Reg12: DWORD; Value: REAL; end_var // program Reg1:= 4096; Reg2:= 14884; Reg12:= (reg2 * 65536) + reg1; Value:= DWORD_TO_REAL(Reg12);
Last updated: 2023-12-28

Post by davidbo on I want to convert a WORD to a hex string like 15.432 to '3C48' CODESYS Forge talk (Post)
I try with BYTE_TO_HEXinASCII but I cant get it right. How do I convert a word value like 15432 to the HEX text string '3C48'
Last updated: 2024-04-19

Post by dkugler on I want to convert a WORD to a hex string like 15.432 to '3C48' CODESYS Forge talk (Post)
you try to convert a WORD with BYTE_TO_HEX directly? Using https://de.helpme-codesys.com/ lead to the SM3_shared lib. There is a function: https://content.helpme-codesys.com/en/libs/SM3_Shared/Current/SM3_Shared/StringFormat/Word_To_HexString.html
Last updated: 2024-04-19

Post by garrian on How to write multiple coils (Modbus FC15) CODESYS Forge talk (Post)
Thanks! As far as I can see, the client can only send words. And on the server side there are an array for each of the functions: bool for coil and discrete, word for holding and input registers. I assume I can use holding register, then use bit mapping on the words instead of coils. But I really want to use the FC15/coils.
Last updated: 2024-11-17

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

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 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 wiresplus on INT_TO_WORD function not working CODESYS Forge talk (Post)
Hello, I need to take an INT input, and convert it to a WORD value. VAR DRV2Speed : WORD; //IO card takes a WORD where 16000 = full 10V output (equivalent to 50Hz) PumpFillSpeed : INT; //Users enter a value between 0 and 50 END_VAR IF <conditions> THEN DRV2Speed :=INT_TO_WORD((PumpFillSpeed/50)*16000); END_IF </conditions> According to me this should work - but it stays at 0, no matter what. What am I doing wrong?
Last updated: 2024-01-26

Post by ph0010421 on How to transfer data from DINT to Union(16 Bools) which I need to use in Few FBs CODESYS Forge talk (Post)
In the Struct, change the 'BOOL' to 'BIT'
Last updated: 2023-12-14

<< < 1 2 3 4 5 .. 160 > >> (Page 3 of 160)

Showing results of 3997

Sort by relevance or date