发布网友 发布时间:2022-04-19 18:55
共1个回答
热心网友 时间:2022-07-12 05:29
摘要6个数码管显示123456ORG 00HAJMP MAINORG 30HMAIN: LCALL DISPMOV 20H,#1MOV 21H,#2MOV 22H,#3MOV 23H,#4MOV 24H,#5AJMP MAINDISP: MOV A,20H ACALL SEG7MOV P0,ACLR P2.0ACALL DLYSETB P2.0MOV A,21H ACALL SEG7MOV P0,ACLR P2.1ACALL DLYSETB P2.1MOV A,22HACALL SEG7MOV P0,ACLR P2.2ACALL DLYSETB P2.2MOV A,23HACALL SEG7MOV P0,ACLR P2.3ACALL DLYSETB P2.3MOV A,24HACALL SEG7MOV P0,ACLR P2.4ACALL DLYSETB P2.4MOV A,25HACALL SEG7MOV P0,ACLR P2.5ACALL DLYSETB P2.5RETDLY: MOV R7,#2D1: MOV R6,#40DJNZ R6,$DJNZ R7,D1RETSEG7: INC AMOVC A,@A+PCRETDB 03FH;0DB 006H;1DB 05BH;2DB 04FH;3DB 066H;4DB 06DH;5DB 07DH;6DB 007H;7DB 07FH;8DB 06FH;9END咨询记录 · 回答于2021-06-01七段数码管用mov指令怎么显示12345您好,我正在帮您查询相关的信息,马上回复您。梯形图是怎么编的呢亲,为您找到类似的情况START:MOV P2,#11100001B LCALL D2MS MOV P2,#11010010B LCALL D2MS MOV P2,#10110011B LCALL D2MS MOV P2,#01110100B LCALL D2MS SJMP START6个数码管显示123456ORG 00HAJMP MAINORG 30HMAIN: LCALL DISPMOV 20H,#1MOV 21H,#2MOV 22H,#3MOV 23H,#4MOV 24H,#5AJMP MAINDISP: MOV A,20H ACALL SEG7MOV P0,ACLR P2.0ACALL DLYSETB P2.0MOV A,21H ACALL SEG7MOV P0,ACLR P2.1ACALL DLYSETB P2.1MOV A,22HACALL SEG7MOV P0,ACLR P2.2ACALL DLYSETB P2.2MOV A,23HACALL SEG7MOV P0,ACLR P2.3ACALL DLYSETB P2.3MOV A,24HACALL SEG7MOV P0,ACLR P2.4ACALL DLYSETB P2.4MOV A,25HACALL SEG7MOV P0,ACLR P2.5ACALL DLYSETB P2.5RETDLY: MOV R7,#2D1: MOV R6,#40DJNZ R6,$DJNZ R7,D1RETSEG7: INC AMOVC A,@A+PCRETDB 03FH;0DB 006H;1DB 05BH;2DB 04FH;3DB 066H;4DB 06DH;5DB 07DH;6DB 007H;7DB 07FH;8DB 06FH;9END我想要plc的有吗我找不到亲,plc中mov指令是传送指令的,要显示12345不需要这样的,直接对应12345这5个路分别同时通路就可以梯形图是怎么编的呢亲,经多方查找,并没有具体图片的用plc要显示数字,还要用到电脑里的组态王软件的