我们今天能为您提供什么帮助?

STRING_TO_INT function block behavior on M580 and Quantum

Product:

Control Expert

M580

Quantum

Question:

Why does the STING_TO_INT block has a different behavior when the string on the input has letters in it. Quantum will convert letters to numbers, but the M580 will just ignore the letters.

Answer:

Engineering told us that the way the M580 handles the block is the way it was always supposed to be handled, meaning that only digit should be presented to the input string of the block.

The reason they are saying this is because if you look at system %S18

system bit description

Having a character that is not a number will trigger an arithmetic error as can be seen below in the M580

- With only number, no error

M580 - number input

- With a letter, it triggers the error

M580 - letter input

Let's check with a Quantum CPU

Quantum - number input

Quantum - letter input

So we see that the Quantum also reports an arithmetic error, even if it does some type of conversion.

Basically engineering says that the block is "fixed" and behaves correctly on the M580 and that it never did on the Quantum.

施耐德電機Taiwan

探索更多

產品:

探索更多

產品:

需要協助?

產品選型工具

快速輕鬆地為您的應用找到合適的產品和附件。

取得報價

立即線上提交您的銷售需求,專業團隊將主動聯繫您。

購買地點

輕鬆在您所在地區找到最近的施耐德電機經銷商。

支援中心

在同一位置找到滿足您所有需求的支援資源。