L
I was recently hired to reprogram an ABB AC250 PLC that was to use Modbus RTU to connect to a new external PID regulator from Fuji Electric (PXG-5). I managed to get a working connection with the regulator by using the MBConnect-block but that's where all fortune ends.
According to the specifications, the regulator requires the following data to perform a read or write operation:
Station number, 1 byte
Function code, 1 byte
Starting address, 2 bytes
No. of bits to read/write, 1 byte
CRC checksum, 2 bytes
but the ABB MBRead-block can only supply the station number and starting address, not the function code (same goes for MBWrite). According to the ABB support personnel that I spoke to, the only way out would be to write my own Modbus code, something I doubt there's time or money to do. Unfortunately, Fuji Electric does not have a representative in my country (Sweden) and the salesman/support person hardly knew what Modbus was and could definitely not answer my questions about function codes.
Has anybody got experience from using Modbus function codes in AC250?
The controller was installed in 1993 +- 1 year and we're using Control Builder 3.2-11 or 3.2-16.
According to the specifications, the regulator requires the following data to perform a read or write operation:
Station number, 1 byte
Function code, 1 byte
Starting address, 2 bytes
No. of bits to read/write, 1 byte
CRC checksum, 2 bytes
but the ABB MBRead-block can only supply the station number and starting address, not the function code (same goes for MBWrite). According to the ABB support personnel that I spoke to, the only way out would be to write my own Modbus code, something I doubt there's time or money to do. Unfortunately, Fuji Electric does not have a representative in my country (Sweden) and the salesman/support person hardly knew what Modbus was and could definitely not answer my questions about function codes.
Has anybody got experience from using Modbus function codes in AC250?
The controller was installed in 1993 +- 1 year and we're using Control Builder 3.2-11 or 3.2-16.
