Currently I am attempting to use the G3_HostApplications.exe program with evaluation kit (two SOMPLC-DOCKV1's connected together). The issue is that the service node tries to connect to the wrong PanId (basenode panid is set to 0x7855) and the service node discovers panid=0xFDFD, after connecting I receive the following alarm:
2015-01-01 12:00:00.000: Receiving G3 Network Alarm: Id= 7
Id: 7
Status: 0x221F
Security Level: 0
Key Id Mode: 0
Key Index: 0
Pan Id: 0xFDFD
Address Mode: 0
According to the documentation the status code 0x21F corresponds to a Sync Loss (Conflict PAN ID) , is there a way to correct this error, seems like the Discover.Request/Discover.Confirm is returning the wrong PanID.
Other information:
I flashed the latest firmwares (7.4.1.6) onto the SOMPLC-F28PLC83's.
Both the Intermediate and Zero Configuration GUI work fine, the issue seems to be only with G3_HostApplication.exe
Another thing is that when I use an external MCU to connect to the basenode and explicitly and force the service node to attempt to connect to a base node with a panid matching the base node's, I still get the same error.
I use the following to invoke the following command line parameters to invoke the base and service nodes:
basenode.txt:
host=1
data=0
diag=0
port=8
socketport=30001
panid=7855
node=b
xadd=FF.FF.FF.FF.FF.FF.FF.01
servnicenode.txt:
auto=off
host=1
port=11
diag=0
data=0
discover=4
socketport=30004
node=s
xadd=FF.FF.FF.FF.FF.FF.FF.04
Thanks!
Levi