So I see in my advanced settings that Dip #5 is not enabled, so I should be able to use Dip 5 for addressing correct? If so then something seems to not be working correctly.
True, if
Enable DIP Switch 5 Lockout is unchecked (disabled) in
Advanced Settings, then the physical Dipswitch #5 can be used as part of the H0-ECOM100's Module ID (i.e. with Dipswitch #5, #3, #0 all ON, and
Enable DIP Switch 5 Lockout unchecked, then this is binary 10 1001 = 0x29 hex = 41 decimal Module ID).
I also notice that after I set my dip switches I can no longer pass the "Test CPU Access". Is Dip 5 intended to do this when working in the protect function?
No. Dipswitch #5 ON or OFF should not affect the
Test CPU Access function.
With dip 5 enabled unchecked and I try to re-write firmware to test firmware updating (Dips set to ID 41) and I get error 126 and the firmware version on my card goes to 0.0.0 and flashes a red error light even after a power cycle. I also can no longer connect to the PLC over ethernet (connection configured for IP address not Module ID).
You seem to be unclear:
"With dip 5 enabled unchecked". A typo? Either way, if
Enable DIP Switch 5 Lockout is checked (enabled), and the physical Dipswitch #5 is ON, then the configuration of the H0-ECOM100 is write-protected (read-only). If you try to change the configuration in any way (update firmware, add peer-to-peer configuration, modify the flags in
Advanced Settings, etc.), you will get errors like the Error 126 you are experiencing.
The flashing red error light simply means that for some reason your H0-ECOM100 does not have a valid firmware. This can be caused by a failure of the update process for any reason. So, it is always best to not have anything at all talking to the H0-ECOM100 if you perform a firmware update. The solution is to just attempt the update again. The reason you can no longer connect is because the booter has determined the firmware is invalid for whatever reason and is flashing the red ERR light to let you know. That is also why you see the version of the firmware go to 0.0.000.
Did more testing and if I check Dip 5 enable and have my Dips set to 41 then I show module ID 9 and if I attempt a firmware is stops with 126 but doesn't zero the firmware or cause an error. So seems the Dip 5 disable doesn't appear to be working 100% correctly.
Actually that is exactly what I would expect.