On my CGX without HC attached, in CPWI, with the cord wrap off, it stays off on connection and if it is set to on in CPWI, on connection it is on.
I don't know if I am wrong here but was told that CPWI settings override HC settings when plugged in HC or USB.
My HC settings are different than those in CPWI. While imaging, no HC attached and visual no CPWI used.
As far as I can tell from tracing CPWI messaging, CPWI does NOT change the CORDWRAP setting from whatever it finds as the current value, until one goes into the "configure mount" menu and changes it there.
On start-up, CPWI queries the current setting (with a bad/corrupted message that the HBG3 now "fixes"), but does not attempt to apply any new setting.
If one is using the HBG3, and wants to apply a global setting for CORDWRAP, then use the serial/telnet interface of the HBG3 and one of these commands, followed by "save" and then "reset":
set cordwrap.override 0 ## always turn CORDWRAP OFF
set cordwrap.override 1 ## always turn CORDWRAP ON
set cordwrap.override ## leave CORDWRAP alone
After doing "save" and "reset", this setting remains in effect across resets and power-cycles until changed again by the user. Any attempts to change it by the hand-controller, or CPWI or an app, will be overridden unless the third option above was used.
EDIT: Actually, using "1" here isn't 100% optimal. Ideally, the HBG3 should get the current motor position, and then set the CORDWRAP position to that +/- 180degrees. But then it would also have to monitor for MC_SET_POS commands and so forth. A lot of extra code and complexity for what is intended as a modest feature.
So.. it doesn't do that. CORDWRAP will be whatever the mount defaults it to (180degrees?), and somewhat random as to which starting position it will be relative to. But it will still work, and prevent no more than one full revolution before reversing direction. Not ideal, but practical. 
Edited by mlord, 20 August 2023 - 04:04 PM.