I hope someone can help me with this. I have everything setup in the hardware configuration. See below the current STL for DP_Send and recv.
A "AlwaysON"
JNB _007
CALL "DP_SEND"
CPLADDR:=W#16#140
SEND :=P#M 210.0 BYTE 6
DONE :="Cp342_fc11_bitDone"
ERROR :="Cp342_fc11_bitError"
STATUS :="Cp342_fc11_wStatus"
_007: NOP 0
A "AlwaysON"
JNB _018
CALL "DP_RECV"
CPLADDR :=W#16#140
RECV :=P#M 220.0 BYTE 3
NDR :="Cp342_fc12_bitDone"
ERROR :="Cp342_fc12_bitError"
STATUS :="Cp342_fc12_wStatus"
DPSTATUS:="Cp342_Fc12_wDpstatus"
_018: NOP 0
The problem i have is i am trying to send 16 words of data to PQW336 but i cannot address it directly since it's going through the CP342-5. Can you help me with how i would setup the pointer to send data to a PQW address? any help would be great.
A "AlwaysON"
JNB _007
CALL "DP_SEND"
CPLADDR:=W#16#140
SEND :=P#M 210.0 BYTE 6
DONE :="Cp342_fc11_bitDone"
ERROR :="Cp342_fc11_bitError"
STATUS :="Cp342_fc11_wStatus"
_007: NOP 0
A "AlwaysON"
JNB _018
CALL "DP_RECV"
CPLADDR :=W#16#140
RECV :=P#M 220.0 BYTE 3
NDR :="Cp342_fc12_bitDone"
ERROR :="Cp342_fc12_bitError"
STATUS :="Cp342_fc12_wStatus"
DPSTATUS:="Cp342_Fc12_wDpstatus"
_018: NOP 0
The problem i have is i am trying to send 16 words of data to PQW336 but i cannot address it directly since it's going through the CP342-5. Can you help me with how i would setup the pointer to send data to a PQW address? any help would be great.