marcunni242
Member
Hello everyone,
I'm currently programming a Fatek FBs-60MC PLC, converting an old program from an ABB's SLC500.
The project reads some analog values, scales them up, and generates new values to put on the analog outputs. (Using the corresponding Fatek A/D & D/A modules).
The question is the following one..
I've seen in RSLOGIX, the use of the "S5:0" Bit (Overflow Fault Diversion). It is used as a way of 'clamping' some register's values.
For example, if I make a multiplication "C= A x B", if the resulting value exceeds the 16-bit limit, the bit is triggered. So, using the S5:0 bit in the same line, I could trigger a MOV function that sets a defined value on the C register (in this example).
I can't find anything similar in FATEK/WINPROLADDER.
I've seen that some type of Overflow can be detected, but only in Sums and substractions. Is there anything like this for multiplications?
Thanks for taking the time to read this.
If I've not been clear, please let me know, so I can clarify.
Kind Regards,
Martin Cunningham
I'm currently programming a Fatek FBs-60MC PLC, converting an old program from an ABB's SLC500.
The project reads some analog values, scales them up, and generates new values to put on the analog outputs. (Using the corresponding Fatek A/D & D/A modules).
The question is the following one..
I've seen in RSLOGIX, the use of the "S5:0" Bit (Overflow Fault Diversion). It is used as a way of 'clamping' some register's values.
For example, if I make a multiplication "C= A x B", if the resulting value exceeds the 16-bit limit, the bit is triggered. So, using the S5:0 bit in the same line, I could trigger a MOV function that sets a defined value on the C register (in this example).
I can't find anything similar in FATEK/WINPROLADDER.
I've seen that some type of Overflow can be detected, but only in Sums and substractions. Is there anything like this for multiplications?
Thanks for taking the time to read this.
If I've not been clear, please let me know, so I can clarify.
Kind Regards,
Martin Cunningham