teckhno2002
Member
Hello,
I' working with Proficy ME 5.7. I must acquire data from a controller by MODBUS TCP.
This controller requiers, before the data to be available, the function 16 (write multiple registers) where I put an Access Code.
The hex command looks like that.
01,10,5F,D6,00,08,10,31,32,33,34,00,00,00,00,00,00,00,00,00,00,00,00
where:
01 - the address of the device
10 - function code (16 in decimal)
5F,D6 - Register address (24536 in decimal)
00,08 - number of registers to be writen
10 - number bytes to be writen (16 in decimal)
the last 16 bytes mean the access code in ASCII followed by null character.
After that I can read any reigster from the map.
I've tested this command using "modscan32" program and it works.
But I couldn't find how can I do this in Proficy (using function 16)
Does anybody now how this could be done?
I' working with Proficy ME 5.7. I must acquire data from a controller by MODBUS TCP.
This controller requiers, before the data to be available, the function 16 (write multiple registers) where I put an Access Code.
The hex command looks like that.
01,10,5F,D6,00,08,10,31,32,33,34,00,00,00,00,00,00,00,00,00,00,00,00
where:
01 - the address of the device
10 - function code (16 in decimal)
5F,D6 - Register address (24536 in decimal)
00,08 - number of registers to be writen
10 - number bytes to be writen (16 in decimal)
the last 16 bytes mean the access code in ASCII followed by null character.
After that I can read any reigster from the map.
I've tested this command using "modscan32" program and it works.
But I couldn't find how can I do this in Proficy (using function 16)
Does anybody now how this could be done?