The encryption process is as follows:
** Open the serial port for the first time
[00000000] IOCTL_SERIAL_SET_BAUD_RATE Baud Rate: 9600 (Set baud rate here)
[00000000] IOCTL_SERIAL_SET_LINE_CONTROL StopBits: 1, Parity: Even, DataBits: 7(Communication Format)
[00000001] IRP_MJ_WRITE Length: 0001, Data: 02
[00000001] IRP_MJ_WRITE Length: 0005, Data: 37 32 35 30 46 (here CMD's set instructions 37H, 32 35 30 46 and the address '250F' operation bit element to be set)
[00000001] IRP_MJ_WRITE Length: 0001, Data: 03 (here is the end, and the meaning code '03H' ends here)
[00000001] IRP_MJ_WRITE Length: 0002, Data: 31 37 (Checksum, the sum from 37H to 03H here, if there is an overflow, take the last two digits of *)
[00000008] IRP_MJ_WRITE Length: 0001, Data: 02
[00000008] IRP_MJ_WRITE Length: 0005, Data: 37 32 35 30 46 (CMD's set instructions 37H, 32 35 30 46 and the address '250F' to be set)
[00000008] IRP_MJ_WRITE Length: 0001, Data: 03 (here is the end of the code, and ends here with the code '03H')
[00000008] IRP_MJ_WRITE Length: 0002, Data: 31 37 (Checksum, sum from 37H to 03H here, if there is an overflow, take the last two digits of *)
[00000015] IRP_MJ_WRITE Length: 0001, Data: 02
[00000015] IRP_MJ_WRITE Length: 0011, Data: 31 38 30 30 30 30 30 32 30 30 30 30 (The CMD function code 31H here is to write data, 38 30 30 30 is the first address to write data, '8000'30 32 is the number of operations written, here is 2 digits, that is a double word, 30 30 30 is the data of this double word is '0'
[00000015] IRP_MJ_WRITE Length: 0001, Data: 03 (here is the end, and the meaning code '03H' ends here)
[00000016] IRP_MJ_WRITE Length: 0002, Data: 31 45 (checksum, sum from 37H to 03H here, if there is overflow, take the last two digits of *)
[00000022] IRP_MJ_WRITE Length: 0001, Data: 02
[00000022] IRP_MJ_WRITE Length: 0011, Data: 31 38 30 30 30 30 30 32 30 30 30 30 (The CMD function code 31H here is to write data, 38 30 30 30 is the first address to write data, '8000'30 32 is the number of operation bits written, here is 2 digits, that is a double word, 30 30 30 is the data of this double word, '0'
[00000023] IRP_MJ_WRITE Length: 0001, Data: 03 (here is the end, and the meaning code '03H' ends here)
[00000023] IRP_MJ_WRITE Length: 0002, Data: 31 45 (Checksum, the sum from 37H to 03H here, if there is an overflow, take the last two digits of *)
[00000030] IRP_MJ_CLOSE Port Closed to close the serial port
Open the serial port for the second time
[00000000] IOCTL_SERIAL_SET_BAUD_RATE Baud Rate: 9600
[00000000] IOCTL_SERIAL_SET_LINE_CONTROL StopBits: 1, Parity: Even, DataBits: 7
[00000000] IRP_MJ_WRITE Length: 0001, Data: 02 ( "STX" Communication Start Character 02H)
[00000000] IRP_MJ_WRITE Length: 0005, Data: 38 32 35 30 46 (CMD's reset instruction 38H,32 35 30 46 and is to reset the address '250F' operation bit element,Here the address of the 205F that has just been set has been reset)
[00000001] IRP_MJ_WRITE Length: 0001, Data: 03 (here is the end, and the meaning code '03H' ends here)
[00000001] IRP_MJ_WRITE Length: 0002, Data: 31 38 (Checksum, the sum from 37H to 03H here, if there is an overflow, take the last two digits of *)
[00000007] IRP_MJ_WRITE Length: 0001, Data: 02
[00000007] IRP_MJ_WRITE Length: 0005, Data: 38 32 35 30 46 (Here CMD's reset command 38H, 32 35 30 46 and the address '250F' operating bit element to be reset, here the address of 250F just set is reset)
[00000008] IRP_MJ_WRITE Length: 0001, Data: 03 (here is the end of the code, and ends here with the code '03H')
[00000008] IRP_MJ_WRITE Length: 0002, Data: 31 38 (Checksum, the sum from 37H to 03H here, if there is an overflow, take the last two digits of *)
[00000010] IRP_MJ_CLOSE Port Closed
|
More on that
|
Mitsubishi takes instructions and outputs instructions
1) LD (take instruction) A command to connect a normally open contact with the left bus, and every logic line that starts with a normally open contact is used with this instruction;
2) LDI (Reverse Instruction) A normally closed contact is connected to the left bus to the instruction, each ...
|
|
Mitsubishi inverter control method
There are several ways to classify Mitsubishi inverters:
According to the classification of the main circuit operation method, it can be divided into voltage-type inverter and current-type inverter; According to the classification of switching methods, it can be divided into PAM control inverter, PWM control inverter and high carrier frequency PWM control inverter;
Depend on...
|
|
Mitsubishi PLC product line analysis
FX1S Series:
Mitsubishi PLC is an integrated small unit type PLC. And it has intact functions and communication functions and other scalability. If you consider the space and cost of the installation, it is an ideal choice.
FX1N Series:
It is a popular PL with strong functions launched by Mitsubishi Electric ...
|
|
Mitsubishi PLC hardware installation method
1. Use the special crimping pliers for network cable to crimp one end of the cable and the RJ45 crystal head; The other end is connected to the FX2N-485-BD communication template according to the method shown in Figure 1-Figure 3, and the two unused P5S terminals are not connected.
2. Open the panel cover on the left side of the PLC host, and put the FX2N-485-BD communication module ...
|
|
Mitsubishi FR-A700 series inverter problem
1. Consultation question: FR-A700 series Mitsubishi inverter, the suffix is ending in -CA1, what kind of inverter?
Solution: The suffix -CA1 is a special model with take-up control.
2. Consultation question: FR-A ...
|
|
Analysis of the conversion principle of Mitsubishi PLC
1. The digital-to-analog converter is a system that converts digital signals into imitation signals, which can generally be completed by low-pass filtering. The digital signal is decoded in the first line, that is, the digital code is converted into the corresponding level to form a stepped signal, and then the low-pass filter is carried out.
According to the signal and system ...
|
|
Mitsubishi inverter FR-A800 series selection
Q: When will the CS84 series inverter be selected?
A: CS80 series inverter belongs to the diversified function of small intelligent inverter, covering excitation control and general flux vector control, the volume is 57% of the same model, very fast, in some general functions can be used in this model ...
|
|
PLC industrial automation production line construction steps - Mitsubishi
When we select PLC as a controller for the construction of industrial automation production line, we should go through the following process, which is briefly described below:
1. First of all, the demand side, that is, Party A, needs to tell Party B what they want to achieve.
|
|
Mitsubishi PLCFX2NCPU plate fault solution
Customer's description of the problem: Mitsubishi FX2N-32MR-001, the PLC running light does not light up after powering on, and the alarm light is always on (hardware problem)
Inspection and repair: turn on the power supply, power on the PLC, according to the detection process, the PLC is in the POWER...
|
|
The difference between Mitsubishi PLC source type and leak type
Mitsubishi PLC split source type (PNP) or drain type (NPN), here are their differences
1: Leakage logic: When the current flows out of the signal input terminal, the signal becomes ON, which is leakage logic. The current flows through the terminals and has the output characteristics of an NPN transistor.
2: Source logic: When ...
|
|
One-button adjustment function for Mitsubishi servo motors
After the first installation of different servo motors on the machine, they may be poorly matched to the machine during operation, resulting in vibration, noise and other phenomena.
The cause of the problem is a mismatch between parameters such as the rigidity of the servo motor and the load-inertia ratio and the machinery. Due to the large number of parameters that affect ...
|
|
Mitsubishi servo motor realizes positioning function
The motion control command of the PLC realizes the perfect positioning function. Briefly describe the Mitsubishi PLC positioning instructions, which can be divided into origin regression instructions DSZR, ZRN, positioning instructions PLSY, PLSR, DRVI, DRVA, variable speed operation PLSV.3 In the meantime, PLSY and PLSR are pulse output instructions, and their positioning functions are relatively ...
|
|
Advantages and disadvantages of different output types of Mitsubishi PLC
The three output types of PLC are: transistor output, thyristor output and relay output, what is the difference between these three different output types?
(1) Transistor output:
The biggest advantage is that it is accustomed to high-frequency action, and the echo moment is short, generally about 0.2ms, but it ...
|
|
Mitsubishi inverter OC causes the failure
1. The ERR problem is an under-voltage problem, which is usually caused by the problem of voltage detection loop resistance or wiring, rather than the actual input voltage showing undervoltage. Most of the OC problems of the A200 series are caused by the damage of the drive circuit, and its drive circuit ...
|
|
The origin of Mitsubishi servo motion control is returned
1. The so-called positioning is to let the servo motor go to a confirmed position.
2. This direction can be so incremental, or so ***. For example, we are now on the road, and we have to go forward 10 meters, which is equivalent to adding 10 meters to our bearing.
|
|
Special function module of the Mitsubishi PLC FX series
The communication module of PLC is used to complete the communication with other PLCs, other intelligent control equipment or computers. The following is a brief introduction to the FX series communication function shields, adapters and communication modules.
(1) Communication expansion ...
|
|
Mitsubishi Electric begins research and development of a Mars satellite probe probe
TOKYO, February 21, 2020 – Mitsubishi Electric Corporation (TOKYO:6503) announced today that it has been appointed by the Japan Aeronautics and Astronautics Agency (JAXA) as the contractor for the Mars Lunar Probe (MMX) space probe. Mitsubishi Electric has launched development activities for the project that will utilize MMX's system ...
|
|
Mitsubishi PLC FAQs
1. How to connect a PNP three-wire proximity switch to the input port of FX3U PLC.
Answer: The signal output termination of the PNP three-wire system close to the switch is connected to the input port of the PLC, such as X0, and the 0V end of the PNP type close switch to the 0V terminal on the PLC, and the S/S terminal and the 0V terminal ...
|
|
The relationship between torque and performance of Mitsubishi servo motors
1. Additional torque
The torque that occurs on the motor shaft under additional voltage, extra load is called the extra torque of the motor.
2. Starting torque
The torque generated by the motor at the moment when a voltage is applied to the motor in the aborted condition is called the starting torque. The starting torque characterizes the electrical...
|
|
Mitsubishi servo problems and how to troubleshoot them
1、AL. E6 - indicates servo emergency abort. There are generally two reasons for this shortcoming, one is that the 24V power supply of the control circuit is not connected, and the other is that there is no connection between the EMG and SG of the CN1 port.
2. AL.37 - parameter abnormality. The internal parameters are chaotic, and the operator may set the parameters by mistake or drive ...
|
|