绗11璁瞋鎽婇摵鏈虹數姘旂郴缁熻璁.rar_鎽婇摵鏈虹數姘旂郴缁熺畝浠 - 閰峰痉缃 - CoDeSys杞欢鏁欑▼涓嬭浇,CoDeSys宸ユ帶璧勮闂ㄦ埛

閰峰痉缃

HSC6490-cn涓浗鍒堕狅紝涓浗鑺瘇
鎼滅储闄勪欢  
閰峰痉缃 闄勪欢涓績 閫氳鍙婂懆杈 鐢垫恫鎺у埗 绗11璁瞋鎽婇摵鏈虹數姘旂郴缁熻璁.rar

绗11璁瞋鎽婇摵鏈虹數姘旂郴缁熻璁.rar

 

鎽婇摵鏈虹數姘旂郴缁熺畝浠:
鎽婇摵鏈虹郴缁熸杩
[hide]
                               
                                [/hide]
鎴戦珮宸ョ▼鏈烘鍦扮湅鐪嬩綘鐨勫拫鏍
杩欎釜涓嶇煡閬撴湁娌℃湁鍙戝姩鏈
涓嬭浇瀛︿範浜嗭紝鎰熻阿鍒嗕韩
鎬庢牱鎵嶈兘鐪嬪埌锛燂紵锛燂紵
hi,鏈夋病鏈塁ODESYS瑙嗛鍙互瀛︿範鐨
鍟涘暃鍠冲柍閿欓敊閿欓敊閿欓敊閿欓敊閿欓敊閿欓敊閿欓敊
涓轰綍鐗╁ソ寰堟俯鏌斾负浣曟垜浼
Set the "LoginType" setting properly (usually STW FF CAN).

Make sure that the baudrate in PLC Config > CAN# > Module parameters is the same as the baudrate in online > Communication Parameters. The Communication Parameters baudrate determines the rate the PC will try to use to connect to the Bus. Also the NodeID of the controller (found in the controller "base parameters" tab) must be set properly in the Communication Parameters NodeID field.

Also, is the correct CommDLLPath selected in Online -> Communication Parameters? Ex: "C:\Program Files\STW\CoDeSys V2.3 TSP\CANDlls stwpeak2.dll" or "C:\WINDOWS\System32\stwpeak2.dll".

Are other unnecessary programs using the CAN bus? This can sometimes interfere with the login process of Codesys. Use the PCANStat program to see if other programs are on the bus, and if so you can disconnect them by right clicking and selecting "kill client".

Is your CAN bus terminated? A 60 ohm resistor placed across CANH and CANL at one end is all that is necessary for testing, but for a vehicle application there should be 2 120 ohm resistors on the bus, one at each end.

Here is an example of using the second CAN bus (CAN1) on the ESX as a login bus. Note module parameters use a naming convention of CAN1 and CAN2, while the PLC configuration tree lists CAN0 and CAN1.

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv


瀛︿範瀛︿範锛岀湅鐪嬬湅鐪嬬湅涔
鍏堜笅杞界湅鐪嬶紝鍏堜笅杞界湅鐪
椤堕儴qrcode搴曢儴
鍏虫敞閰峰痉缃戣闃呭彿锛岃幏鍙栨洿澶氳祫璁紒

QQ|灏忛粦灞|鎵嬫満鐗|Archiver|閰峰痉璁哄潧 ( 鑻廔CP澶16065247鍙-1 )|缃戠珯鍦板浘

GMT+8, 2024-5-10 01:56 , Processed in 0.164632 second(s), 21 queries .

閰峰痉缃

© 2001-2013 Hicodesys. 鎶鏈敮鎸 by 閰峰痉缃

杩斿洖椤堕儴