Hello guys,
by examining one STEP 7 program that is used for controlling VFD micromaster drive I came accross one part which is particulary interesting to me.
I need someone more experienced to explain me what is happening. If I understand correctly, something like this is happening.
Setpoint that is read from some other location and which is in % (0-100%) is converted to number between 0 and 16384 and send to drive.
This opens two types of questions:
1. Why number 16384 is used? Is it standard for all Siemens' drives?
2. What exactly is a control word? Is it standardised, or a programmer is defining it according his particular needs?
Looking forward to your answers...
by examining one STEP 7 program that is used for controlling VFD micromaster drive I came accross one part which is particulary interesting to me.
Code:
L DB1.DBW1 //control word
T "MW12"
L "control_datas_DR".DR_setpoint //setpoint
L 1.638400e+004
*R
L 1.000000e+002
/R
RND
T "MW14"
L "MD12"
T "DR_send" //output word
I need someone more experienced to explain me what is happening. If I understand correctly, something like this is happening.
Setpoint that is read from some other location and which is in % (0-100%) is converted to number between 0 and 16384 and send to drive.
This opens two types of questions:
1. Why number 16384 is used? Is it standard for all Siemens' drives?
2. What exactly is a control word? Is it standardised, or a programmer is defining it according his particular needs?
Looking forward to your answers...