Home > Software engineering >  A serial port problem
A serial port problem

Time:09-27

According to a serial port receives the data, make motor movement, beg god for help,

CodePudding user response:

1. The first choice, you have to add a serial port control, such as MSCOMM
2. Create a serial port variables, such as serial port initialization
3. Add a serial port receives the message function, OnCommMscomm
4. Remove the serial data of motor control, control of the motor

CodePudding user response:

Motor sport
Speed control, position control

CodePudding user response:

Is I use: PC + PLC + motor, control, computer via a serial port to read data from the PLC, according to the data state to write data to the PLC, control motor and reversing or stop,

CodePudding user response:

MSCOMM
This control!!!! But under VS no, vc6 under this control, after you installed the vc6, VS the will also have the control!
But only 32-bit version of the control
  • Related