Industrial Automation
Industrial Automation | Europe


Main > Product Type > Software > Programming
Minimize Text   Default    Enlarge Text


How Do I Indicate A Constant Value In A Command?

A PLC can have hexadecimal numbers and numbers with BCD (decimal) crossing.

A "#" next to a figure indicates that it is a hexadecimal number and a "&" is a BCD number.

It should be noted that a constant value prefixed with &, is put as a HEX value in the PLC.
For example, if & 10 is in the command, then put in the HEX A number at that address.
If we literally put the number 10 in the contact to continue and it is a decimal number, then we put # 10 in the command itself as a programmer and remember that this is a decimal number and not a HEX number.


Comments (View All Comments / Add Comment)

Related Articles
No related articles found.
Created 2008-10-15
Modified 2008-12-09
Views 4780


You are not logged in.