pop4形式
谁能解释一下db定义的规则
CALL "DPRD_DAT"
LADDR :=W#16#20C
RET_VAL:="WR No.3_UR_DB".DPRD_FLT_CODE
RECORD :=P#DB32.DBX20.0 BYTE 12
CALL "DPWR_DAT"
LADDR :=W#16#20C
RECORD :=P#DB32.DBX0.0 BYTE 12
RET_VAL:="WR No.3_UR_DB".DPWR_FLT_CODE
db块数据定义:
CX_00 BOOL FALSE TO MOS DRIVE : NOT USED
CX_01 BOOL FALSE TO MOS DRIVE : NOT USED
CX_02_COM BOOL FALSE TO MOS DRIVE : ALWAYS 1 (COMMUNICATION BETWEEN VVVF)
CX_03_DIR BOOL FALSE TO MOS DRIVE : DIRECTION (1=COUNTER CLOCKWISE)
CX_04_ANDIR BOOL FALSE TO MOS DRIVE : ANDIRECTION (1=COUNTER ANTICLOCKWISE)
CX_05 BOOL FALSE TO MOS DRIVE : NOT USED
CX_06 BOOL FALSE TO MOS DRIVE : NOT USED
CX_07 BOOL FALSE TO MOS DRIVE : NOT USED
CX_CON_ON BOOL FALSE TO MOS DRIVE : THE CONTACTOR ON
CX_11 BOOL FALSE TO MOS DRIVE : NOT USED
CX_12 BOOL FALSE TO MOS DRIVE : NOT USED
CX_RUN_STA BOOL FALSE TO MOS DRIVE : THE DRIVER RUN
CX_14 BOOL FALSE TO MOS DRIVE : NOT USED
CX_15 BOOL FALSE TO MOS DRIVE : NOT USED
CX_16 BOOL FALSE TO MOS DRIVE : NOT USED
CX_ACK_ALARMS BOOL FALSE TO MOS DRIVE : ACK ALARMS
CX_SPD_SET WORD W#16#0 TO MOS DRIVE : SPEED REFERENCE SET POINT (0-16384)
DBW_4 WORD W#16#0 TO MOS DRIVE : NOT USED
DBW_6 WORD W#16#0 TO MOS DRIVE : NOT USED
DBW_8 WORD W#16#0 TO MOS DRIVE : NOT USED
DBW_10 WORD W#16#0 TO MOS DRIVE : NOT USED
DPWR_FLT_CODE INT 0 TO MOS DRIVE : WORD FOR SFC15
DBW_14 WORD W#16#0 TO MOS DRIVE : NOT USED
DBW_16 WORD W#16#0 TO MOS DRIVE : NOT USED
DBW_18 WORD W#16#0 TO MOS DRIVE : NOT USED
SX_20_0 BOOL FALSE FROM MOS DRIVE : NOT USED
SX_20_1 BOOL FALSE FROM MOS DRIVE : ALWAYS 1
SX_20_2 BOOL FALSE FROM MOS DRIVE : NOT USED
SX_20_3 BOOL FALSE FROM MOS DRIVE : NOT USED
SX_20_4 BOOL FALSE FROM MOS DRIVE : NOT USED
SX_20_5 BOOL FALSE FROM MOS DRIVE : NOT USED
SX_20_6 BOOL FALSE FROM MOS DRIVE : DIRECTION
SX_20_7 BOOL FALSE FROM MOS DRIVE : NOT USED
SX_DRV_RDY BOOL FALSE FROM MOS DRIVE : DRIVE READY
SX_CON_ON_RDY BOOL FALSE FROM MOS DRIVE : CONTACTER ON READY
问题补充:
db部分内容没传上来,在哪里可以找到相关的资料.db32的内容结构如同下面列表,db32的内容不是传给变频器的吗?它的结构定义有可以参考的资料吗?
最佳答案
db定义没有什么要求,就看你要保存什么样的数据。具体到你的那个db,它上面有英文提示,你看看呀!
提问者对于答案的评价:
给分了
原创文章,作者:more0621,如若转载,请注明出处:https://www.zhaoplc.com/plc262653.html