PLC与变频器:MODBUS ASCII方式通讯,格式:7,E, 1 。程序中MODWR K1 H2001 K4000指令,说是变频器的主频率设置为40Hz,K4000对应40Hz是怎么回事?是变频器指定的比例关系,还是跟通讯协议有关系?谢谢!
å½ä¸plcè¿è¡rs485é讯æ¶ï¼ä» é使ç¨ç¼å·ä¸º3å4çèï¼å ¶ä¸3èåplcçrs485æ¥å£çï¼ç¸è¿ï¼4èä¸rs485å£ç+ç¸è¿å³å¯ãåé¢å¨æ¥å£ä¸ºrjï¼11æ¥å£ï¼å常ç¨ççµè¯æºçæ¥å£æ¯ç¸åçï¼èplc端æ¯æ®éæ¥çº¿ç«¯åå ï¼å æ¤é讯线çå¶ä½é常ç®åï¼æ éç¨ä¸ç¨æ¥å£çæ¥é讯线ã
ç¨modrwæ令å®ç°plc对åé¢å¨çé讯æ§å¶ã
modrwæ令æ¯dvpç³»åplcæä¾çmodbusæ°æ®è¯»åæ令ï¼æ¤æ令éäºdvpå
¨ç³»åplcãå æ¤å¯ä»¥å©ç¨ä½ç个es主æºå®æä¸åé¢å¨çé讯æ§å¶ï¼å®ç°æ§å¶ç³»ç»çæä½³æ§ä»·æ¯é
åãæ¬é讯å®ä¾å°±ä»¥esç³»åplcæ§å¶vfd-måé¢å¨ï¼ä»¥å®ç°å¤æ®µéçè°éæ纵ã
modrwæä»¤æ ¼å¼ä¸ºï¼modrw s1 s2 s3 s nãs1为èæºè£
ç½®çå°åï¼ä¸åé¢å¨é讯æ¶å³ä¸ºåæ°p88ç设置å¼ãs2为é讯åè½ç ï¼æ¤æ令æ¯æä¸ä¸ªåè½ç ï¼å³h03(读åå¤ç¬å½ä»¤)ãh06(åç¬æ°æ®åè¿å½ä»¤)ãh10(å¤ç¬æ°æ®åè¿å½ä»¤)ãs3为欲读åçé讯ä»æºçå°åãs为欲读åçæ°æ®çåå¨å°åãnæ¯æ¬²è¯»åçæ°æ®é¿åº¦ï¼esç³»åplcå½ä¸ºascii 模å¼æ¶æ¤å¼è®¾å®èå´æ¯k1-k8ï¼å½ä¸ºrtu模å¼æ¶ä¸ºk1-k16ã