Hi all,
I am having some trouble with the Macroactivation on power on of a Brick LV:
The hardware setting is as follow: 1 Powerbrick LV as Master & 1 Powerbrick LV as Slave.
the config of the Master
PowerBrick[0].MacroModeA =$00403000;
PowerBrick[0].MacroModeB =$00000000;
PowerBrick[0].MacroEnableA =$0FFFFF00;
PowerBrick[0].MacroEnableB =$0;
PowerBrick[1].MacroModeA =$0;
PowerBrick[1].MacroModeB =$0;
PowerBrick[1].MacroEnableA =$0;
PowerBrick[1].MacroEnableB =$0;
Macro.TestPeriod =10/Sys.ServoPeriod;
Macro.TestMaxErrors =Macro.TestPeriod/10;
Macro.TestReqdSynchs =Macro.TestPeriod-Macro.TestMaxErrors;
Macro.IOTimeout =0;
config of the slave
PowerBrick[0].MacroModeA =$00408000;
PowerBrick[0].MacroModeB =$0;
PowerBrick[0].MacroEnableA =$0FFFFF00;
PowerBrick[0].MacroEnableB =$0;
PowerBrick[1].MacroModeA =$0;
PowerBrick[1].MacroModeB =$0;
PowerBrick[1].MacroEnableA =$0;
PowerBrick[1].MacroEnableB =$0;
Macro.TestPeriod = 10/Sys.ServoPeriod;
Macro.TestMaxErrors = Macro.TestPeriod/10;
Macro.TestReqdSynchs = Macro.TestPeriod-Macro.TestMaxErrors;
Randomly on power on , the master macro status never pass to Active.
I have the following macro status:
on the On master:
Macro.status[0].active=0
Macro.Status[0].SynchMaster =1
Macro.Status[0].TestEnabled=0
On the slave:
Macro.status[0].active=1
Macro.Status[0].SynchMaster =0
Macro.Status[0].TestEnabled=1
From the master side, I issued some line command as follow:
Macro.RingTest[0].PwrOnErrCntr
Macro.RingTest[0].PwrOnErrCntr=0
Macro.Status[0].RingError
Macro.Status[0].RingError=0
Macro.Status[0].ErrorsFault
Macro.Status[0].ErrorsFault=0
clrf
stdin:6:5: error #50: MACRO COM TIMEOUT: clrf
Macro.RingTest[0]
stdin:7:2: error #20: ILLEGAL CMD: Macro.RingTest[0]
Macro.Rings
Macro.Rings=1
Macro.ICs
Macro.ICs=4
Macro.IC3s
Macro.IC3s=2
Ldata.CmdStatus
Ldata.CmdStatus=0
Macro.RingTest[0].RingBrkStationNum
Macro.RingTest[0].RingBrkStationNum=0
MacroControllerDetect
Error: PowerBrick[0] isn't in a connected Ring
Error: PowerBrick[1] isn't in a connected Ring
MacroControllerDetect
Error: PowerBrick[0] isn't in a connected Ring
Error: PowerBrick[1] isn't in a connected Ring
When I disconnect/ reconnect the fiber optics With the brick lv powered on the status of the macro change to active.
Please help me to diagnose the problem.
Best regards