Ac500 eco modbus with delta vfd-e
Hey all, hope you doing well.
Am working on a project which I have one CPU pm564eth and because I don't have abb vfd in stock I had to use DELTA VFD-E so what am trying to do is to connect the vfd and plc through com2 modbus RTU
I made all the hardware connection correctly.
I use com-mod-mast function block in the plc with the right way of the enable signal, but its did not work .
I think my problem in modbus address of the vfd because it's in Hexadecimal for example H2000 (bit 0-1)= 01 it will stop
H2000 (bit 0-1)=10 it will start .
So in function com-mod-mast there is function code if I need to write iit should be =16 right ?
But what about the register address how can I but it into Hexadecimal?
And what about the NBA?
Sorry if I can't make it cleac 100% . I try my best.
Am working on a project which I have one CPU pm564eth and because I don't have abb vfd in stock I had to use DELTA VFD-E so what am trying to do is to connect the vfd and plc through com2 modbus RTU
I made all the hardware connection correctly.
I use com-mod-mast function block in the plc with the right way of the enable signal, but its did not work .
I think my problem in modbus address of the vfd because it's in Hexadecimal for example H2000 (bit 0-1)= 01 it will stop
H2000 (bit 0-1)=10 it will start .
So in function com-mod-mast there is function code if I need to write iit should be =16 right ?
But what about the register address how can I but it into Hexadecimal?
And what about the NBA?
Sorry if I can't make it cleac 100% . I try my best.
Answers
Hi
I don't know the drive you specified. As for the programming of an ABB AC500 eCo CPU, you can use as an example one of the programs found in the ABB library or for a test on the modbus commands, my app at the following link.
https://forum-controlsystems.abb.com/...
I hope this helps
BR
Flavio
I don't know the drive you specified. As for the programming of an ABB AC500 eCo CPU, you can use as an example one of the programs found in the ABB library or for a test on the modbus commands, my app at the following link.
https://forum-controlsystems.abb.com/...
I hope this helps
BR
Flavio
Source: ABB library
Function code 16 = write COM_MOD_MAST.NB ammount words. You should also test FCT 5 and 6.
To write value as HEX use 16# in front of value eg.
Variable declaration, initial value as hex
VarA : word := 16#2000; (* Decimal value 8192 *)
VarB : word;
VarC : word;
Code section
VarB := 16#0001;
VarC := 16#0001 + VarA; (* Decimal value 8193 *)
You can also switch the view how values are displayed when online. Right click on variable declaration area and select Hexadecimal.
To write value as HEX use 16# in front of value eg.
Variable declaration, initial value as hex
VarA : word := 16#2000; (* Decimal value 8192 *)
VarB : word;
VarC : word;
Code section
VarB := 16#0001;
VarC := 16#0001 + VarA; (* Decimal value 8193 *)
You can also switch the view how values are displayed when online. Right click on variable declaration area and select Hexadecimal.
Add new comment