Allen is right (thanks for correcting my mis-statement):
Allen Nelson said:
If you use "BCD Format" (default) for your input data, that "4095" range will be in BCD, and you will need to do a FRD (not a divide!) to convert it to something useful.
If you use "2's complement" scaling (again, just a bit in the BTW data that you control, and transparent to the HMI), that "4095" in the BTR registers will show up as "4095", and then you do a divide-by-4095 to scale it.
Regardless of which data format you are using, I still think that it makes sense to scale right in the module itself since . . .
1. Your analog signal is converted by the IFE Module to a digital value.
and then
2. The digital value must be scaled/converted to Engineering Units (either by the module, the PLC, the HMI, or a combination of the three)
You can either:
Get the digital value in the PLC right, and "scale" in the HMI by "multiplying by one" (if they really needed to, your client could change this "one" anytime). In this case, you can use 2's complements (or you can FRD a BCD value), and set the min/max values right in the module config.
or
Set the digital value in the PLC to an arbitrary value (FRD if necessary), and scale this arbitrary value in the HMI.
In either case, you will be scaling in both the HMI and the PLC/module! I'd personally like to have the PLC correct.
As Jesper, Allen, and I have said in our previous posts, you can give access to the module configuration data at the HMI. Regardless of whether you, your company, or your client makes this "configuration screen", it is a good idea (and can certainly ease your client's worries).
That said, unless the client is replacing an input device with a device having a different specification, I'd be surprised if the configuration really ever needed to be changed. Can you give an example of what they changed to give their "past problems"?
Marc