You have no items in your shopping cart.

New HIDS Drum Scales!

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

Do you have examples on reading Block 20 from weight controller with S7 Siemens PLC?

Last updated 11/11/2014 09:36 AM

Question

Does Hardy have any examples on reading Block 20 from a HI 2110WI or HI 2151/30WC with S7 Siemen's PLC? Module types for Hardy are of the form 4, 8, 16, 32 Words I/O, when I simply want to read 15 words from Block 20. Examples in the manual are centered around S5 series.

Answer

The HI 2151/30WC and HI 2110WI can be configured in several different ways. The number of words I/O you need in your configuration would depend on the number of words you need to write/read. If you need to read block 20, you would need at least 16 words for the read (smallest number greater than number wanted). You would need at least 2 write words, as it takes two words to request the block 20 data.

Attached is an example (sample) of hooking up to the HI 2151/30WC and the HI 2110WI. It has some ladder rungs to write 3 words to the module and read 16 from the module. This sample program has the data manually being changed in the VAT1 table. The data needed to write to the module to request the block 20 data would be 5400 hex in the first word and 1400 hex in the second word. This may be enough to get you started.