Search talk: operators MUL

 

Problem mit MUL CODESYS Forge talk (Thread)
Problem mit MUL
Last updated: 2018-07-10

Operators in Ladder Logic CODESYS Forge talk (Thread)
Operators in Ladder Logic
Last updated: 2016-05-08

XOR with four Inputs with OR-, NON- and AND-Operators CODESYS Forge talk (Thread)
XOR with four Inputs with OR-, NON- and AND-Operators
Last updated: 2024-11-05

Automation Server πŸ‡¬πŸ‡§ CODESYS Forge talk (Discussion)
The Industry 4.0 administration platform for users and operators of CODESYS compatible controllers
Last updated: 2024-10-26

Post by tvm on multiply gives negatives CODESYS Forge talk (Post)
It's probably because you have an INT in the input to the MUL function, which will then try to output an INT as well. INT variables can only handle values of -32768 to 32767. Your value of 523000 won't fit in an INT, so it turns into an invalid number. Use a DINT. This is usually better for working with time values anyway, because time values are all 32 bit. Or if you can't, use INT_TO_DINT(gvlp.detectie_nalooptijd_s) in the input to the MUL function.
Last updated: 2024-01-04

Post by nano on Library for arrays CODESYS Forge talk (Post)
habe a look at __new and __delete operators. have in mind that in this case u have a look at memory see https://help.codesys.com/api-content/2/codesys/3.5.15.0/en/_cds_operator_new/
Last updated: 2024-01-14

Post by ellocco on XOR with four Inputs with OR-, NON- and AND-Operators CODESYS Forge talk (Post)
My topic is more of academic nature, I would like to implement an XOR-operation with four inputs on my own (without the predefined XOR-operator) in a function block diagram (FBD). I have two proposals. One works fine and the other one is just an idea, but I do not know, if it is possible to code it in CODESYS V3.5 SP18 in form of a FBD. Here the one that works: And here an idea, which I have not managed to code it as an FBD: Any ideas? Is the 2nd diagram a correct interpretation of the coding task? And is there a way to implement it in form of an FBD in CODESYS V3.5 SP18? Followup (08-Nov-2024): Also in the current version of CODESYS (V3.5SP20Patch3) I have not managed to connect the existing blocks. In the alternative SPS-IDE PLCnext Engineer it is possible.
Last updated: 2024-11-08

Showing 7 results of 7

Sort by relevance or date