I'm probably wrong to put the question.
Perhaps you misunderstood me.
With AOP, BOP or with a starter, I can see everything.
I can not read the ToR for the OP to the PLC.
I can not deal with the second word PKW -IND
When reading settings from 0-1999 to load the IND 0. Read all options before 1999.
L # TEMP_CNT / / otherwise, check the counter
L = 0
/ / --- Query for reading voltage ---------------------
L 200 / / load the appropriate option
AW W # 16 # 7FF / / zeroed, just in case the older 5-bits
OW W # 16 # 1000 / / PKE = (AK << 12) | PNU
T # PKW_WRITE.PKE
L = 0
T # PKW_WRITE.IND
L # PKW_READ.PKE / / if the response came
AW W # 16 # 7FF / / 2 # 0000011111111111
L 200 / / correct
L # TEMP_CNT / / then increment the counter to read the next parameter
T # TEMP_CNT
L # PKW_READ.PWE / / the read and rewrite the value of the parameter
T # QACT_VOLTAGE_DC / / in the output variable
If the load in the IND 1to cant read anything
|=== Edited by Jurik @ 8/11/2012 11:50 AM [GMT ] ===|