class StatusSync(pyinterface.BitIdentifer):
    size = 32
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    bits[0].set_params('IPLx', 'NONE', 'SET')
    bits[1].set_params('IPLy', 'NONE', 'SET')
    bits[2].set_params('IPLz', 'NONE', 'SET')
    bits[3].set_params('IPLu', 'NONE', 'SET')
    bits[4].set_params('IPEx', 'NONE', 'SET')
    bits[5].set_params('IPEy', 'NONE', 'SET')
    bits[6].set_params('IPEz', 'NONE', 'SET')
    bits[7].set_params('IPEu', 'NONE', 'SET')
    bits[8].set_params('IPSx', 'NONE', 'SET')
    bits[9].set_params('IPSy', 'NONE', 'SET')
    bits[10].set_params('IPSz', 'NONE', 'SET')
    bits[11].set_params('IPSu', 'NONE', 'SET')
    bits[12].set_params('IPFx', 'NONE', 'SET')
    bits[13].set_params('IPFy', 'NONE', 'SET')
    bits[14].set_params('IPFz', 'NONE', 'SET')
    bits[15].set_params('IPFu', 'NONE', 'SET')
    bits[16].set_params('IPL', 'NOT', 'APPLY')
    bits[17].set_params('IPE', 'NOT', 'APPLY')
    bits[18].set_params('IPCW', 'NOT', 'APPLY')
    bits[19].set_params('IPCC', 'NOT', 'APPLY')
    bits[20].set_params('SDM0', 'OFF', 'ON')
    bits[21].set_params('SDM1', 'OFF', 'ON')
    bits[22].set_params('SED0', 'OFF', 'ON')
    bits[23].set_params('SED1', 'OFF', 'ON')
    pass
class ReviseCounterMode(pyinterface.BitIdentifer):
    size = 16
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    bits[0].set_params('CU1B', 'OFF', 'ON')
    bits[1].set_params('CU2B', 'OFF', 'ON')
    bits[2].set_params('CU3B', 'OFF', 'ON')
    pass
示例#3
0
class IMGTRGCONFIG_dwTriggerRangeMode(pyinterface.BitIdentifer):
    size = 32
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del (i)
    bits[0].set_params('CH1', 'OFF', 'ON')
    bits[1].set_params('CH2', 'OFF', 'ON')
    pass
class CounterClearCLR(pyinterface.BitIdentifer):
    size = 16
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    bits[0].set_params('CU1C', 'OFF', 'ON')
    bits[1].set_params('CU2C', 'OFF', 'ON')
    bits[2].set_params('CU3C', 'OFF', 'ON')
    pass
示例#5
0
class PulseOutMethod(pyinterface.BitIdentifer):
    size = 32
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    bits[0].set_params('PULSE', 'CW/CCW', 'OUT/DIR')
    bits[1].set_params('LOGIC', 'NEGATIVE', 'POSITIVE')
    bits[2].set_params('DIR', 'NEGATIVE', 'POSITIVE')
    pass
示例#6
0
class ERCAuto(pyinterface.BitIdentifer):
    size = 16
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del (i)
    bits[0].set_params('EROE', 'OFF', 'ON')
    bits[1].set_params('EROR', 'OFF', 'ON')
    pass
示例#7
0
class InputPoint(pyinterface.Identifer):
    size = 32
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del (i)
    bits[0].set_params('OUT1', 'ENABLED', 'DISABLED')
    bits[1].set_params('OUT2', 'ENABLED', 'DISABLED')
    bits[2].set_params('OUT3', 'ENABLED', 'DISABLED')
    bits[3].set_params('OUT4', 'ENABLED', 'DISABLED')
    bits[4].set_params('OUT5', 'ENABLED', 'DISABLED')
    bits[5].set_params('OUT6', 'ENABLED', 'DISABLED')
    bits[6].set_params('OUT7', 'ENABLED', 'DISABLED')
    bits[7].set_params('OUT8', 'ENABLED', 'DISABLED')
    bits[8].set_params('SIG1', 'ENABLED', 'DISABLED')
    bits[9].set_params('SIG2', 'ENABLED', 'DISABLED')
    bits[10].set_params('SIG3', 'ENABLED', 'DISABLED')
    bits[11].set_params('SIG4', 'ENABLED', 'DISABLED')
    bits[12].set_params('SIG5', 'ENABLED', 'DISABLED')
    bits[13].set_params('SIG6', 'ENABLED', 'DISABLED')
    bits[14].set_params('SIG7', 'ENABLED', 'DISABLED')
    bits[15].set_params('SIG8', 'ENABLED', 'DISABLED')
    bits[16].set_params('SIG1', 'ENABLED', 'DISABLED')
    bits[17].set_params('SIG2', 'ENABLED', 'DISABLED')
    bits[18].set_params('SIG3', 'ENABLED', 'DISABLED')
    bits[19].set_params('SIG4', 'ENABLED', 'DISABLED')
    bits[20].set_params('SIG5', 'ENABLED', 'DISABLED')
    bits[21].set_params('SIG6', 'ENABLED', 'DISABLED')
    bits[22].set_params('SIG7', 'ENABLED', 'DISABLED')
    bits[23].set_params('SIG8', 'ENABLED', 'DISABLED')
    bits[24].set_params('IN', 'ENABLED', 'DISABLED')
    pass
class AxisConfig(pyinterface.BitIdentifer):
    size = 16
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    bits[0].set_params('X', 'OFF', 'ON')
    bits[1].set_params('Y', 'OFF', 'ON')
    bits[2].set_params('Z', 'OFF', 'ON')
    bits[3].set_params('U', 'OFF', 'ON')
    pass
示例#9
0
class CounterClearORG(pyinterface.BitIdentifer):
    size = 16
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del (i)
    bits[0].set_params('CU1R', 'OFF', 'ON')
    bits[1].set_params('CU2R', 'OFF', 'ON')
    bits[2].set_params('CU3R', 'OFF', 'ON')
    pass
示例#10
0
class ImgSetConversionConfig_CnvEnabled(pyinterface.BitIdentifer):
    size = 32
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del (i)
    bits[0].set_params('CH1', 'OFF', 'ON')
    bits[1].set_params('CH2', 'OFF', 'ON')
    bits[2].set_params('CH3', 'OFF', 'ON')
    pass
示例#11
0
class IMGCAPSTATUS_dwTrigger(pyinterface.BitIdentifer):
    size = 32
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del (i)
    bits[0].set_params('CH1', 'OFF', 'ON')
    bits[1].set_params('CH2', 'OFF', 'ON')
    bits[2].set_params('CH3', 'OFF', 'ON')
    pass
示例#12
0
class EventMask(pyinterface.BitIdentifer):
    size = 32
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    bits[0].set_params('STOP', 'MASK', 'UNMASK')
    bits[8].set_params('IN1', 'MASK', 'UNMASK')
    bits[9].set_params('IN2', 'MASK', 'UNMASK')
    bits[10].set_params('IN3', 'MASK', 'UNMASK')
    bits[11].set_params('IN4', 'MASK', 'UNMASK')
    pass
示例#13
0
class AckStatus(pyinterface.Identifer):
    size = 8
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del (i)
    bits[0].set_params('IR.IN2', 'HIGH', 'LOW')
    bits[5].set_params('STB2', 'HIGH', 'LOW')
    bits[6].set_params('ACKR2', 'HIGH', 'LOW')
    bits[7].set_params('ACK2', 'HIGH', 'LOW')
    pass
class EventComparator(pyinterface.BitIdentifer):
    size = 16
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    bits[0].set_params('CMP1', 'OFF', 'ON')
    bits[1].set_params('CMP2', 'OFF', 'ON')
    bits[2].set_params('CMP3', 'OFF', 'ON')
    bits[3].set_params('CMP4', 'OFF', 'ON')
    bits[4].set_params('CMP5', 'OFF', 'ON')
    pass
示例#15
0
class OutputSync(pyinterface.Identifer):
    size = 8
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del (i)
    bits[0].set_params('DI1', 'ENABLE', 'DISABLE')
    bits[1].set_params('DI2', 'ENABLE', 'DISABLE')
    bits[2].set_params('DI3', 'ENABLE', 'DISABLE')
    bits[3].set_params('DI4', 'ENABLE', 'DISABLE')
    pass
示例#16
0
class PencSetMode_nMode(pyinterface.BitIdentifer):
    size = 32
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del(i)
    bits[0].set_params('SEL0', 'OFF', 'ON')
    bits[1].set_params('SEL1', 'OFF', 'ON')
    bits[2].set_params('MD0', 'OFF', 'ON')
    bits[3].set_params('MD1', 'OFF', 'ON')
    pass
示例#17
0
class TimerCount(pyinterface.Identifer):
    size = 8
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del (i)
    bits[0].set_params('CTL1', 'ON', 'OFF')
    bits[1].set_params('CTL2', 'ON', 'OFF')
    bits[2].set_params('CTL3', 'ON', 'OFF')
    bits[3].set_params('CTL4', 'ON', 'OFF')
    pass
示例#18
0
class PencGetTimerCount_pucTimerCount(pyinterface.BitIdentifer):
    size = 32
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del(i)
    bits[0].set_params('TD1', 'High', 'Low')
    bits[1].set_params('TD2', 'High', 'Low')
    bits[2].set_params('TD3', 'High', 'Low')
    bits[3].set_params('TD4', 'High', 'Low')
    pass
示例#19
0
class IMGEVENTTABLEEX_dwFrame(pyinterface.BitIdentifer):
    size = 32
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del (i)
    bits[0].set_params('CH1', 'OFF', 'ON')
    bits[1].set_params('CH2', 'OFF', 'ON')
    bits[2].set_params('CH3', 'OFF', 'ON')
    bits[3].set_params('CH4', 'OFF', 'ON')
    pass
class PulseOutMethod(pyinterface.BitIdentifer):
    size = 16
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    bits[0].set_params('PULSE', 'OFF', 'ON')
    bits[1].set_params('OUT', 'OFF', 'ON')
    bits[2].set_params('DIR', 'OFF', 'ON')
    bits[3].set_params('WAIT', 'OFF', 'ON')
    bits[4].set_params('DUTY', 'OFF', 'ON')
    pass
示例#21
0
class LimitConfigMask(pyinterface.BitIdentifer):
    size = 32
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    bits[0].set_params('+SD', 'ENABLED', 'DISABLED')
    bits[1].set_params('-SD', 'ENABLED', 'DISABLED')
    bits[2].set_params('+EL', 'ENABLED', 'DISABLED')
    bits[3].set_params('-EL', 'ENABLED', 'DISABLED')
    bits[5].set_params('ORG', 'ENABLED', 'DISABLED')
    bits[6].set_params('ALM', 'ENABLED', 'DISABLED')
    pass
示例#22
0
class AckPulseCommand(pyinterface.Identifer):
    size = 8
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del (i)
    bits[3].set_params('P010', 'HIGH', 'DISABLED')
    bits[4].set_params('P011', 'LOW', 'DISABLESD')
    bits[5].set_params('P012', 'LOW_PULSE', 'DISABLED')
    bits[6].set_params('ACK10', 'HIGH', 'DISABLED')
    bits[7].set_params('ACK11', 'LOW', 'DISABLED')
    pass
示例#23
0
class StbStatus(pyinterface.Identifer):
    size = 8
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del (i)
    bits[0].set_params('IR.IN1', 'HIGH', 'LOW')
    bits[4].set_params('LF', 'LATCH_ON', 'LATCH_OFF')
    bits[5].set_params('ACK1', 'HIGH', 'LOW')
    bits[6].set_params('STBR1', 'HIGH', 'LOW')
    bits[7].set_params('STB1', 'HIGH', 'LOW')
    pass
示例#24
0
class StbPulseStatus(pyinterface.Identifer):
    size = 8
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del (i)
    bits[3].set_params('P020', 'HIGH', 'DISABLED')
    bits[4].set_params('P021', 'LOW', 'DISABLED')
    bits[5].set_params('P022', 'LOW_PULSE', 'DISABLED')
    bits[6].set_params('STB20', 'HIGH', 'DISABLED')
    bits[7].set_params('STB21', 'LOW', 'DISABLED')
    pass
示例#25
0
class StatusBusy(pyinterface.BitIdentifer):
    size = 32
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    bits[0].set_params('BUSY', 'NO', 'YES')
    bits[1].set_params('ACC', 'NO', 'YES')
    bits[2].set_params('DEC', 'NO', 'YES')
    bits[3].set_params('WAIT', 'OFF', 'ON')
    bits[5].set_params('STOP', 'OFF', 'ON')
    bits[6].set_params('INP', 'OFF', 'ON')
    pass
class LimitConfigLogic(pyinterface.BitIdentifer):
    size = 16
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    bits[0].set_params('SD', 'OFF', 'ON')
    bits[2].set_params('EL', 'OFF', 'ON')
    bits[5].set_params('ORG', 'OFF', 'ON')
    bits[6].set_params('ALM', 'OFF', 'ON')
    bits[8].set_params('INP', 'OFF', 'ON')
    bits[9].set_params('PCS', 'OFF', 'ON')
    pass
示例#27
0
class PencSetZMode_nZMode(pyinterface.BitIdentifer):
    size = 32
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del(i)
    bits[0].set_params('CLS0', 'OFF', 'ON')
    bits[1].set_params('CLS1', 'OFF', 'ON')
    bits[2].set_params('LTS0', 'OFF', 'ON')
    bits[3].set_params('LTS1', 'OFF', 'ON')
    bits[4].set_params('ZP', 'OFF', 'ON')
    bits[5].set_params('LP', 'OFF', 'ON')
    pass
示例#28
0
class CallBackProc(pyinterface.Identifer):
    size = 8
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    del (i)
    bits[0].set_params('SIG1', 'CUTTING', 'NONE')
    bits[1].set_params('SIG2', 'CUTTING', 'NONE')
    bits[2].set_params('SIG3', 'CUTTING', 'NONE')
    bits[3].set_params('SIG4', 'CUTTING', 'NONE')
    bits[4].set_params('SIGT', 'CUTTING', 'NONE')
    bits[5].set_params('SIGR', 'CUTTING', 'NONE')
    pass
class EventPulseOut(pyinterface.BitIdentifer):
    size = 16
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    bits[0].set_params('STOP', 'OFF', 'ON')
    bits[1].set_params('ACC-START', 'OFF', 'ON')
    bits[2].set_params('ACC-FINISH', 'OFF', 'ON')
    bits[3].set_params('DEC-START', 'OFF', 'ON')
    bits[4].set_params('DEC-FINISH', 'OFF', 'ON')
    bits[5].set_params('NEXT', 'OFF', 'ON')
    bits[6].set_params('WRITE', 'OFF', 'ON')
    pass
class EventSignal(pyinterface.BitIdentifer):
    size = 16
    bits = [pyinterface.BitIdentiferElement(i) for i in range(size)]
    bits[0].set_params('SD', 'OFF', 'ON')
    bits[1].set_params('ORG', 'OFF', 'ON')
    bits[2].set_params('CLR', 'OFF', 'ON')
    bits[3].set_params('LTC', 'OFF', 'ON')
    bits[4].set_params('ILOCK', 'OFF', 'ON')
    bits[5].set_params('EXT', 'OFF', 'ON')
    bits[6].set_params('CSTA', 'OFF', 'ON')
    pass