Hi all,
We have a KRC4 Compact - 8.3.28 with Profinet package.
We are able to operate the setup in automatic external mode.
We send the PGNO to the controller as PGNO=1 and we are able to view the same on the Display-->Automatic External Inputs/Outputs.
And we have configured the cell.src as per the manual.
1.Perform BCO run --> Shows Program path reached when complete on the HMI
2.Drives_off to high, move enable, drives on (pulse), clear msgs (pulse), ext mode (pulse)
3.Send INT PGNO=1; (not computing parity so declared Parity=0 in config.dat file.
4.PGNO_VALID ?? Really tricky
I see the manual for Multiple Programs (KST PLC 4.1 v2) it says PGNO_VALID as BOOL
But in the $config.dat it states PGNO_VALID as INT and equals 42?
How to pulse this signal?
I get an error in p00 Line 234 and says overwrite not possible at PGNO variable?
I tried PGNO_VALID=0 in $config.dat.
So from the manual it should do this "Number is transferred at the rising edge of the signal on the EXT_START line".
So now I set ext_start to true --> now controller tells me waiting for ext_start false
so now I set to false (Because I know This signal needs to be pulsed)
And now it shows the same error,
"p00 Line 234 and says overwrite not possible at PGNO variable?"
Can someone advice/suggest on what could be going wrong?
Line 234 in my KRC:\R1\TP\p00.src
bRes=Clear_KrlMsg (nHandle)
But if PGNO_VALID=0 in $config.dat then shouldn't the logic run Line 206?
If(PGNO_VALID==0) Then
--
--
--
-- ?
And what should be PGNO_VALID?
Cheers
N