Hello,
I dialed in this morning but was asked to make a post instead.
I have a working gateway config (attached). I would like to enable the ability to read the status information (2nd screenshot) from the embedded web page on my modbus device. My understanding is I need to enable the control/status word on the modbus side (see 1st screenshot). My questions are:
- Enabling the status word adds 2 red boxes to the memory layout. Does this insertion shift the data 2 bytes? Or does it overwrite the first 2 bytes of output from the profibus side? My config on the modbus side is shown in the 3rd screenshot. I am reading the first word at modbus register 30001. Would the status word now be at 30001 and the data that began at 30001 now be at 30002?
- Does this setting have an effect on the profibus side? I cannot edit the siemens program, I can only edit the gateway’s config.
- Does the status word that comes across match the value in the web page screenshot (currently 1102 in my case)?
- Does the status word follow the rules in the final screenshot from the user manual? The value 1102 converted to binary is: [0000][0100][0100][11][1][0]. I put brackets around each section from the manual. From the manual, this would indicate to me that the general error counter should be 4 (0100 in binary) and the gateway cycle counter should be 0. But the web screenshot has 1 for both.
Thanks!
Gateway Config.hcg (4.0 KB)
Gateway Screenshot:
Web page screenshot:
Modbus Mapping:
Status word from manual page 9:
hms-hmsi-27-262.pdf (6.4 MB)