Posts by Punkinhead

    I've never used the Epson GUI builder since my group has always used the RC+ API to create Visual Studio interfaces. It appears from the documentation you need to purchase a GUI license from Epson. You would activate it in RC+ by Setup->Options then enable GUI builder by entering the license key sent to you by Epson. This is the same process for using RC+ API.

    Fabian's code maps outputs to outputs. Assuming you want to map inputs from the PLC to epson outputs (written off the top of my head, not tested):


    Function MapInputToOutput(InputBit as integer,OutputBit as integer)

    integer instate


    do

    instate = sw(inputbit)

    if sw(inputbit) = on then

    on outputbit

    else

    off outputbit

    endif

    wait sw(inputbit) <> instate

    Loop

    Fend


    Then put "Xqt MapInputToOutput(InputNumFromPLC,OutputNum)" somewhere in your machine startup code. Probably in Main. It will sit in the background and take care of the mapping. You could do something similar with 8 bit words using the In() and Out() commands to do blocks of 8 inputs/outputs at once.


    I know this isn't what you really want - you'd like for Epson to do the mapping and just take care of it. I haven't done anything like that so can't offer advice. You should call Epson support. I've found that e-mailing or contacting Epson support through their website gets dropped into a black hole, but they're good about answering questions and following up if you call them on the phone.

Advertising from our partners