Jump to content

Recommended Posts

Posted

Dear all , 

Am trying to setup and condition of PLC in order to control analog output . 

so question is :

how can i make that when i have signal on X001(K100)    == D200 to increase value for 100

when i have signal on X001 and X002 (K50) === D200 to set valu ( 100 + 50) = 150

When i have signal in X001 and X002 and X003(k70) === D200 to set (100+50+70) = 220

but 

when i have X001 and X003 than D200 to set (100+70) = 170

So i have 11 inputs with different combination to control speed of VFD depend on inputs .

Thanks .

Posted

Hi,

I think the simple method is:

if X001 = ON then MOV k100 to some register f.e. D10

if X001=OFF then mov K0 to register D10

if X002 = ON then MOV K50 to register D11

if X002 = OFF then mov K0 to register D11

and same for all other inputs.

finally add D10 + D11 + next registers and send this value to D200

Posted

To be honest, I think 11 inputs are a little overkill for what you are trying to achieve, this gives the possibility of 2^11 (1024) settings.

How many different settings are required?

Steve

Posted

actuali i need to make permutation so there are 5 combination with input .

i created solution by mov command but there are a lot of combinatio .

so am trying to controll VFD speed acording to X000 inputs . 

i thought if there is any solution do decrease line of code.

Posted
8 hours ago, DaMro said:

Hi,

I think the simple method is:

if X001 = ON then MOV k100 to some register f.e. D10

if X001=OFF then mov K0 to register D10

if X002 = ON then MOV K50 to register D11

if X002 = OFF then mov K0 to register D11

and same for all other inputs.

finally add D10 + D11 + next registers and send this value to D200

similar to what you mention already am workig to control vfd. 

i thout if there is any simple solution 

bacause there 5 combination by 5 in permutation .

Posted

Most VFD have a multiple input speed selection settings. Maybe that would be easier? 

Or can you just use analog signal and a POT or HMI to set the output? 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...