编写一个DI00为0时中断功能程序( )
A: IDelete intno1;CONNECT intno1 WITH tMonitorDI1;ISignalDI DI00, 0, intno1;
B: IDelete intno2;CONNECT intno2 WITH tMonitorDI1;ISignalDI DI00, 1, intno2;
C: IDelete intno1;CONNECT intno1 WITH tMonitorDI1;ISignalDI DI02, 1, intno1;
D: IDelete intno1;CONNECT intno1 WITH tMonitorDI1;ISignalDI DI03, 1, intno1;
A: IDelete intno1;CONNECT intno1 WITH tMonitorDI1;ISignalDI DI00, 0, intno1;
B: IDelete intno2;CONNECT intno2 WITH tMonitorDI1;ISignalDI DI00, 1, intno2;
C: IDelete intno1;CONNECT intno1 WITH tMonitorDI1;ISignalDI DI02, 1, intno1;
D: IDelete intno1;CONNECT intno1 WITH tMonitorDI1;ISignalDI DI03, 1, intno1;
举一反三
- 指令IsignalDI\single di1,1,intno1;只要di1由0变成1,就可重复多次触发中断标记intno1。
- 下列语句中能用于ABB工业机器人启动中断程序,实现当数字量输入信号FrPDigStart的值变为0,程序指针跳转至中断程序Notice中的是( )。 A: IDelete intno1 ; B: CONNECT intnol WITH Notice; C: ISignalDI FrPDigStart,0,intnol ; D: Delete intnol;
- 连接一个中断标识符到中断程序采用哪个指令? A: IDelete B: CONNECT C: ISignalDI D: intnol
- DF=0,执行MOVSB指令后() A: SI减1,DI减1 B: SI加1,DI加1,CX减1 C: SI减1,DI减1,CX减1 D: SI加1,DI加1,CX加1
- 以下字典的定义,会报错的是( ): A: di={1:a,2:b} B: di={1:a,2:b} C: di={(1,3):a,(2,4):b} D: di={[1,3]:a,[2,4]:b}