鏁扮粍骞崇Щ 鏁扮粍绉讳綅鐨勬柟娉: 152444imknokkhi5iwkhmb.png_鏁扮粍骞崇Щ 鏁扮粍绉讳綅鐨勬柟娉 - 閰峰痉缃 - CoDeSys杞欢鏁欑▼涓嬭浇,CoDeSys宸ユ帶璧勮闂ㄦ埛

閰峰痉缃

HSC6490-cn涓浗鍒堕狅紝涓浗鑺瘇
鎼滅储闄勪欢  
閰峰痉缃 闄勪欢涓績 CODESYS璧勬簮涓嬭浇鍖 CODESYS鏁欑▼鏂囨。 鏁扮粍骞崇Щ 鏁扮粍绉讳綅鐨勬柟娉: 152444imknokkhi5iwkhmb.png

鏁扮粍骞崇Щ 鏁扮粍绉讳綅鐨勬柟娉: 152444imknokkhi5iwkhmb.png

 

鏁扮粍骞崇Щ 鏁扮粍绉讳綅鐨勬柟娉:
鍦ㄥ仛骞虫粦婊ゆ尝鍣ㄦ椂锛屾垨鑰呴渶瑕佽繛缁噰鏍风殑鍦烘櫙锛屽線寰闇瑕佹妸閲囨牱鐨勬暟鎹斁鍒颁竴涓暟缁勯噷锛屾瘡娆¢噰鏍峰兼斁鍒版暟缁勭涓涓厓绱狅紝鍘熸暟缁勭涓涓厓绱犲埌鍊掓暟绗簩涓厓绱犱緷娆″線鍚庡钩绉伙紝涓㈡帀鏁扮粍鏈鍚庝竴涓厓绱
鏈笘浠嬬粛浜嗕竴绉嶅嚱鏁板皝瑁呮柟娉曪紝瀹炵幇涓婅堪鍔熻兘
鐗圭偣锛 鑳藉钩绉讳换鎰忕被鍨嬶紝浠绘剰闀垮害鐨勬暟缁

姝ラ1锛 娣诲姞CANopenSafetyBase搴
鏈緥鐢ㄥ埌浜CANopenSafetyBase搴閲岀殑MemCopy鍑芥暟


姝ラ2锛 灏佽鏂规硶锛堝彧鎷挎潵鐢ㄧ殑璇濓紝鍙互鐣ヨ繃姝ゆ楠わ紝鐩存帴灏嗛檮浠跺伐绋嬩腑鐨刟rrayTranslation鍑芥暟鏁翠釜澶嶅埗鍒板伐绋嬩腑鍗冲彲锛


姝ラ3锛氳皟鐢ㄥ嚱鏁
鍙傛暟璇存槑锛
1. en蹇呴』鐢ㄦ部瑙﹀彂锛屾瘡涓部浼犻佷竴涓柊鍊煎埌鏁扮粍涓
2.arrayPoint 涓烘暟缁勭殑璧峰鍦板潃鎸囬拡
3.dataPoint 涓烘柊鍊硷紙閲囨牱鍊硷級鐨勬寚閽 锛鏂板肩殑绫诲瀷蹇呴』涓庢暟缁勫厓绱犵被鍨嬩竴鑷达紒
4.dataSize   涓烘暟缁勫厓绱狅紙鏂板硷級绫诲瀷鐨勫瓧鑺傚搴 锛堜緥锛歳eal 瀹藉害涓4 lreal 瀹藉害涓8锛夛紝姝ゅ鍙敤sizeOf()鏉ュ彇寰楁柊鍊肩殑瀛楄妭瀹藉害
5.count  锛 涓烘暟缁勫厓绱犱釜鏁



娉ㄦ剰锛歞ataSize    count  涓瀹氫笉瑕佽閿欙紝涓嶇劧鍙兘瀵艰嚧鏁扮粍婧㈠嚭锛屽鑷翠笉鍙鐭ョ殑鍚庢灉锛屽彲浠ョ敤sizeOf 鎸囦护璁$畻鍑篸ataSize  鍜  count 濡傚浘锛

[hide]
                               
                                [/hide]
鏁扮粍骞崇Щ 鏁扮粍绉讳綅鐨勬柟娉: 152444imknokkhi5iwkhmb.png
椤堕儴qrcode搴曢儴
鍏虫敞閰峰痉缃戣闃呭彿锛岃幏鍙栨洿澶氳祫璁紒

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

GMT+8, 2024-11-23 23:19 , Processed in 0.190033 second(s), 21 queries .

閰峰痉缃

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

杩斿洖椤堕儴