Open Thomas-Pancala opened 6 years ago
"PRGM DATA WRITE, PGM:2, EDIT START" "PRGM DATA WRITE, PGM:2, STEP1, TEMP25.0, TIME1:00" "PRGM DATA WRITE, PGM:2, STEP2, TEMP10.0, TIME0:30" "PRGM DATA WRITE, PGM:2, EDIT END"
SU -262 response
NA: PARA ERR
I'm assuming that the SU-262 that you have has a P-200 controller? The P-200 and P-300 are supposed to have the exact same command set; but as Espec North America does not use it in any of our products (it's only used by Espec Japan) I do not have any personal experience with it.
Operating under the assumption that it does use the same command set I would try removing the ":" in the pgm parameter:
"PRGM DATA WRITE, PGM2, EDIT START" "PRGM DATA WRITE, PGM2, STEP1, TEMP25.0, TIME1:00" "PRGM DATA WRITE, PGM2, STEP2, TEMP10.0, TIME0:30" "PRGM DATA WRITE, PGM2, EDIT END"
Or try (untested):
from chamberconnectlibrary.espec import Espec
#adjust these for your application:
interface_params = {'interface':'Serial', 'baudrate':19200, 'serialport':'//./COM7', 'adr':1}
controller = Espec(ctlr_type='P300', loops=1, **interface_params)
program = {
'steps':[
{
'temperature':{'setpoint':25.0}
'time':{'hour':1, 'minute':0}
},
{
'temperature':{'setpoint':10.0}
'time':{'hour':0, 'minute':30}
}
]
}
controller.set_prgm(2, program)
I met a problem ,when i want to overwrite a program procedure for SU-262 via PC, I already follow the espec program instruction manual, but failed. I can program the fixed temperature mode for SU-262. But I failed in program mode. I doubted the manual has some bug. Please help me.