You have no items in your shopping cart.

New HIDS Drum Scales!

Click Here to Learn More!
Support: 858-292-2710

How do I modify the sample program for a HI 1756-2WS two channel unit?

Last updated 02/02/2015 10:25 AM

Question

How do I go about modifying the HI 1756WS single channel sample program I downloaded from the Hardy website to work with a HI 1756-2WS dual channel controller?

Answer

The sample programs on the Hardy Instruments website were designed as examples only and not as operational programs. The two separate channels on the HI 1756-2WS work identically as the one channel on the HI 1756WS. The only difference in the MSG commands between scale 1 and scale 2 would be the "Channel" number in the commands. If the "Channel" number is 0, it will be directed to scale 1. If the "Channel" number is 1, it will be directed to scale 2.

The "STATUSWORD" is divided so that the lower 16 bits apply to scale 1 and the upper 16 bits apply to scale 2. The output word used for the "discrete" commands (available in version 1.4 or higher), is also divided so that the lower 16 bits apply to scale 1 and the upper 16 bits apply to scale 2.

The current sample program for the HI 1756WS module is set up for a two channel module, and can be used on either a single or dual channel unit.