µç¹¤Ñ§Ï°Íø

ÕÒ»ØÃÜÂë
Á¢¼´×¢²á
²é¿´: 961 | »Ø¸´: 0
´òÓ¡ ÉÏÒ»Ö÷Ìâ ÏÂÒ»Ö÷Ìâ

DP01ÓëEM277µÄϸ½ÚÎÊÌâ

[¸´ÖÆÁ´½Ó]
Ìøתµ½Ö¸¶¨Â¥²ã
Â¥Ö÷
·¢±íÓÚ 2021-11-29 11:57:59 | Ö»¿´¸Ã×÷Õß | Ö»¿´´óͼ »ØÌû½±Àø | µ¹Ðòä¯ÀÀ | ÔĶÁģʽ
DPͨÐÅÊÇÒÔÇ°³£ÓÃµÄ ÏÖ³¡×ÜÏßͨÐÅ·½Ê½£¬Ëæ×ÅÒÔÌ«ÍøµÄ·¢Õ¹£¬ËäÈ»ÒÔÌ«ÍøµÄÓ¦ÓÃÔ½À´Ô½¹ã·º£¬µ«ÊÇÔÚ³µ¼ä¼¶Í¨ÐÅÏîÄ¿ÖУ¬PROFIBUS DPµÄͨÐÅ·½Ê½»¹ÊÇÓõıȽ϶àµÄ¡£
Ô­ÓÐÏîĿСÐÍ plcÒ»°ãÊÇ200CN+EM277×öDP´ÓÕ¾£¬ÏÖÔÚÊÇ200Smart+DP×öDP´ÓÕ¾£¬Ó¦ÓÃÖÐËäÈ»Ïà½üµ«ÊÇÓÐÇø±ðµÄ£¬ÏÂÃæÊÇÖ÷ÒªÇø±ð£º
EM277×é̬ʱÓëÖ÷Õ¾µÄI/OÊý¾ÝÇøÎÞÂÛÊÇ4×Ö½Ú»¹ÊÇ32×Ö½Ú¡¢64×Ö½Ú£¬ÎÞÂÛÊÇÒÔBYTE»¹ÊÇÒÔWORDΪµ¥Î»¡¢Êý¾ÝÒ»ÖÂÐÔĬÈÏÊÇUNIT£¬ÇÒ²»ÄÜÐ޸ģ¬ÈçÏÂͼ£º
DP01ÓëEM277µÄϸ½ÚÎÊÌâ
ËùÒÔ£¬ÔÚÖ÷Õ¾½øÐÐI/OÊý¾Ý¶Áдʱ¼´¿ÉÒÔ²¿·Ö¶Áд¡¢Ò²¿ÉÒÔÕûÌå´ò°ü¶Áд£¬È磺
//ÒÔÏÂÊÇ·Öʱ¶Áд
L PIW 4
T MW 0

L DB1.DBW0
T PQW 12
//ÒÔÏÂÊÇÕûÌå¶Áд
CALL "DPRD_DAT"
LADDR :=W#16#4
RET_VAL:=MW8
RECORD :=P#DB1.DBX 0.0 BYTE 32
CALL "DPWR_DAT"
LADDR :=W#16#12
RECORD :=P#DB2.DBX 0.0 BYTE 32
RET_VAL:=MW10

DP01×é̬ʱÓëÖ÷Õ¾µÄI/OÊý¾ÝÇøÎÞÂÛÊÇ4×Ö½Ú»¹ÊÇ32×Ö½Ú¡¢64×Ö½Ú£¬ÎÞÂÛÊÇÒÔBYTE»¹ÊÇÒÔWORDΪµ¥Î»¡¢Êý¾ÝÒ»ÖÂÐÔĬÈÏÊÇTotal lenth£¬ÇÒ²»ÄÜÐ޸ģ¬ÈçÏÂͼ£º
DP01ÓëEM277µÄϸ½ÚÎÊÌâ
ËùÒÔ£¬Ö÷Õ¾½øÐÐI/OÊý¾Ý¶Áдʱ¼´¿ÉÒÔ²¿·Ö¶Áд¡¢Ò²¿ÉÒÔÕûÌå´ò°ü¶Áд£¬ËäÈ»ÎÒÔÚʹÓÃÖÐδ·¢ÏÖÎÊÌ⣬µ«×îºÃʹÓÃSFC14¡¢SFC15ÕûÌå¶Áд¡£
À´Ô´£ºÎ÷ÃÅ×Ó¹¤Òµ¼¼ÊõÂÛ̳

ÄúÐèÒªµÇ¼ºó²Å¿ÉÒÔ»ØÌû µÇ¼| Á¢¼´×¢²á

±¾°æ»ý·Ö¹æÔò

µç¹¤Ñ§Ï°Íø()

GMT+8, 2024-8-16 12:17

Powered by © 2011-2022www.shop-samurai.com°æȨËùÓÐÃâÔðÉùÃ÷²»Á¼ÐÅÏ¢¾Ù±¨

¼¼ÊõÇý¶¯Î´À´!µç¹¤Ñ§Ï°Íø¡ª×¨Òµµç¹¤»ù´¡ÖªÊ¶¡¢µç¹¤¼¼ÊõѧϰÍøÕ¾¡£

À¸Ä¿µ¼º½£º¹¤¿Ø¼ÒÔ°|ÈýÁâplc|Î÷ÃÅ×Óplc|Å·Ä·Áúplc|plcÊÓƵ½Ì³Ì

¿ìËٻظ´ ·µ»Ø¶¥²¿ ·µ»ØÁбí