芯片解密,芯片破解,IC解密,单片机解密,MCU解密,STM解密

飞芯科技提供芯片解密,芯片破解,IC解密,单片机解密,MCU解密,STM解密逆向服务

芯片解密三菱PLC与上位机的Modbus通讯

芯片解密单片机源程序如下:

  1. 芯片解密using System;
  2. 芯片解密using System.Collections.Generic;
  3. 芯片解密using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.IO.Ports;
  7. using System.Windows;
  8. using System.Threading;
  9. namespace FX3GModbusAPI
  10. {
  11.     public class FX3GModbusAPI
  12.     {
  13.         public struct Type
  14.         {
  15.             //FX3G
  16.             public static string Y = "3300";      //Y元件的定义        
  17.             public static string X = "3400";                //X元件的定义                                                        
  18.             public static string S = "2000";        //S元件的定义                                
  19.             public static string M = "0000";                //M元件的定义                                                        
  20.             public static string TS = "3000";                //TS位元件的定义                                
  21.             public static string MR = "1E00";        //M8000~M8511字元件的定义                                
  22.             public static string CS = "3200";                //CS位元件的定义                                
  23.             public static string D = "0000";          //D0~D7999
  24.             public static string WD = "1F40";     //D8000~D8511
  25.         }
  26.         public enum SoftElemType
  27.         {
  28.             //FX3G   

  29.             Y,
  30.             X,
  31.             S,
  32.             M,
  33.             TS,
  34.             MR,
  35.             CS,
  36.             D,
  37.             WD,

  38.         }
  39.    
  40.         public struct FunctionName
  41.         {
  42.            public static string   Read_线圈 = "01";//可多点
  43.            public static string Read_输入 = "02";//可多点
  44.            public static string Read_保持寄存器 = "03";//可多点
  45.            public static string Read_输入寄存器 = "04";//可多点
  46.            public static string Write_线圈写入 = "05";//仅一点
  47.            public static string Write_寄存器写入 = "06";//仅一点
  48.            public static string Write_批量线圈写入 = "0F";//多点线圈写入
  49.            public static string Write_批量寄存器写入 = "10";//多点保持寄存器写入
  50.         }



联系方式

地址:石家庄市新华区民族路77号华强广场D座2009
电话:0311-88816616/87087811
手机:13315190088
传真:0311-67901001
联系人:张工
网址:www.taihedz.cn
邮箱:feixindz@163.com
微信:xinpianjiemi
QQ:527263666/568069805

在线客服
热线电话

企业微信