Greetings
Searched the forums,but due to time limitations and uber-slow net connection,resorted to starting a new thread.
Need assistance on the following:
Aim:Using two k8090 relay cards(totalling 16 channels) as STAND-ALONE controllers( in open collector connectivity input mode, output relays controlling hydraulic solenoids) to control a 25metre boom(reach),mobile hydraulic aerial lift.
Status quo:Cards (kits) assembled and tested via demo software provided,as well as all buttons.All ok.Simply need to configure/change all the channels(relay action) to momentary operation + 1 channel as timer.By default,buttons are set to toggle mode(press once(LOW),relay on…press again(LOW),relay off).Read through the provided(downloaded)literature,manuals etc and have not quite understood how to do this:(.Please bear in mind that the cards are not to be used as switch interfaces to control events from a pc…they are to be used as stand-alone units.)Need to program the PIC´s so that they remain in momentary mode after the cards are disconnected from the pc,as well as their power supply disconnected.
I would be very careful using the K8090 for critical industrial applications, especially where any failure may result in bodily harm
To put the relays in momentary mode, you will need to send the proper command to the board with the demo software. The demo software has a panel that can be expanded which allows you to send custom packets. Use the protocol manual as a reference to construct the packets. They will remain in momentary mode even when disconnected from the computer.
Thank you Velleman for your speedy reply,and the attached forewaring/concern/advice.Most commendable and admirable.Pre-viewable scenarios concidered and safety measures are being implemented as best as possible,though unfortunately very little is infallible.Past experience with Velleman (quality)products have brought on a certain element of trust.
Have followed your recommendation as to how to modify the said default condition(via the demo-more option),however am not succeeding.Altering the values on the developer console by directly typing into the boxes((CMD,MASK,etc).Packets sent,led9(usb data) flashes,no change.Am assuming that instructions sent to the PIC are incorrectly expressed.Would you be so kind as to provide an example or sequence as to how to do this?
Regards
First, open de K8090 Demo application
%ProgramFiles%\Velleman\K8090\Demo\K8090.exe
In the application, connect to your K8090 and then click the ‘More…’ button in the lower right corner to expand the Developer console.
Open the protocol manual on page 6
%ProgramFiles%\Velleman\K8090\Help\K8090_ProtocolManual.pdf
It explains the ‘Set button mode’ command
This is the correct command to set all buttons to momentary:
[ul][li]Fill in the info in the CMD, MASK, PARAM1 and PARAM2 boxes.[/li][li]Then press Send. Once you’ve pressed send, the relays should behave differently.[/li][/ul]
[size=85](The traffic log only shows incoming packets, so it’s normal if you don’t get any feedback in the application)[/size]
This is the correct command to set the first four buttons to toggle, and the last four buttons to momentary:
This is the correct command to set one channel to timer, and all the others to momentary:
…and we have another satisfied ,happy customer:).k8090 All set and working perfectly as expected.Thank you Velleman Support for this clear explanation.Perhaps it would be a good idea to provide this info just as you presented it as part of the future software for k8090 kits:).The issue here was that on my pc, windows 7,the last half of the demo page was almost not visible,hence the send “button” was not seen(have a print screen showing this condition saved and will gladly forward it to you should you so require) ,however,running the app on windows xp solved that.(probably a compatibility view issue or some setting pertaining to graphics on my pc…no idea).