Hello i'm tested modbus function on XMEGA256A3
in my program ,RS485 working well but when i add a modbus library function and code
...
$lib "modbus.lbx"
' Set Rs485dir
Config Print0 = Portc.1 , Mode = Set ' use portC.1 for the direction
Rs485dir Alias Portc.1
Config Rs485dir = Output
..
Print #1 , "test RS485 modbus"
Wtemp = &H01234
Print #1 , Makemodbus(2 , 6 , 8 , Wtemp); ' slave 2, function 6, address 8 , value of w
....
compiling give the following message.
Error : 61 Line : 9099 Label not found [_SENDCHAR0
Error : 61 Line : 9099 Label not found [_SENDCHAR1
Error : 61 Line : 9099 Label not found [_SENDCHAR2
Error : 61 Line : 9099 Label not found [_SENDCHAR3
Error : 61 Line : 9099 Label not found [_SENDCHAR4
if i compile with chip NOT Xmega the compiler doesn't give error
modbus lib run on Xmega ?
best regards
Mario
[b:bcd6625805][color=red:bcd6625805](BASCOM-AVR version : 2.0.7.7 )[/b:bcd6625805][/color:bcd6625805]
↧