User Tools

Site Tools


mycnc:connections

Connections

  • This function allows you to directly forward the value of the selected register or port to control the selected function, and allows you to redirect the selected register or port to another port and the controller register. For example, controlling the pwm value through the value of the analog input, controlling the value of the global variable via the analog input, controlling the value of the output register through the value of the selected input register. This function allows you to control inputs and outputs without the use of PLC procedures.

Main window: Basic functions:

  • To set a new rule, simply add a new connection using the corresponding “+” icon in the program
  • Next, select the input register for the connection. Register, the values of which will be converted subsequently to the value of the output register or input or variable.
  • The parameter value is set as required. Variants of the parameter values are given in the table.
Name input Parametr
ADC Number of input ADC chanel
DAC Number of output DAC chanel
PWM Number of output PWM chanel
Iput Pin Numper of input pin
Input Port Numper of input port
Output Pin Numper of output pin
Output Port Numper of output port
Encoder Number of encoder
Global Variable Number of global variable
Item name of item
XItem name of xitem
  • The next step is to select the desired output control, such as register, port, global variable, etc.
  • The parameter value is set as required. Variants of the parameter values are given in the table.
Name input Parametr K K0
ADC Number of input ADC chanel 00
DAC Number of output DAC chanel 00
PWM Number of output PWM chanel PWM works according to the formula Kx + K0. Where “Х” is the value of the input parameter. A K and K0 are given coefficients
Iput Pin Numper of input pin 00
Input Port Numper of input port 00
Output Pin Numper of output pin 00
Output Port Numper of output port 00
Encoder Number of encoder 00
Global Variable Number of global variable 00
Item name of item 00
XItem name of xitem 00
  • Simple1. The value of the encoder number 2 changes the value of the global variable number 7012
  • Simple2. The value of the ADC chanel number 3 changes the value of the global variable number 7012
  • Simple3. The value of the ADC chanel number 3 changes the value for output DAC chanel 1
  • Simple4. The state of the input pin 4 is transmitted to the output pin 1. Ie. at the value of input pin 0, the output is switched off, and at the value of input pin 1, the output is switched on.
mycnc/connections.txt · Last modified: 2018/10/01 10:56 by pupalaiser

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki