{}

我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
搜尋常見問題
How to send SDO to CANOpen device in MC80?
Question:
How to read SDO from CANOpen device in MC80? in MC80 CANOpen device page, there is no a "CANOpen" tab like in M340, so how to sending SDO to a CANOpen device?

Answer:
For MC80, we can use READ_VAR and WRITE_VAR to read/write SDO.
the OBJ pin of READ_VAR and WRITE_VAR should be set to "SDO".
below is a demo code:

READ_VAR (ADR := ADDM('0.0.2.1'),
OBJ := 'SDO',
NUM := 16#000c2051,(* subindex:index *)
NB  := 0,
GEST := Can_SDO_R1.Mange,
RECP => Can_SDO_R1.Data);

施耐德電機Taiwan

探索更多
系列:
可能有幫助的文章
探索更多
系列: