I am using a Mitsubishi A2AS-S1 CPU. I want to set some markers in the internal buffer memory of an ethernet module. To do so I am using the TOP_M function. I use the following variables:
s = ConnectionNo (Type: WORD, value: 16#8003)
n1 = HeadAddress (Type: WORD, value: 8)
n2 = 33
n3 = 1
When I compile my project I get an error saying: "Illegal device used or symbol not valid : TOP W235 H21 W237 H1"
However, when I change input n1 of the TOP_M function from "HeadAddress" to "8" it compiles without a problem.
Can anybody tell me the cause of this strange error, and if so, what can I do to overcome it.
Thanks in advance
Caspar
s = ConnectionNo (Type: WORD, value: 16#8003)
n1 = HeadAddress (Type: WORD, value: 8)
n2 = 33
n3 = 1
When I compile my project I get an error saying: "Illegal device used or symbol not valid : TOP W235 H21 W237 H1"
However, when I change input n1 of the TOP_M function from "HeadAddress" to "8" it compiles without a problem.
Can anybody tell me the cause of this strange error, and if so, what can I do to overcome it.
Thanks in advance
Caspar