Ones_Zeros
Member
Hello I have a power quality meter
that I'm wanting to read several bits from a register into wonderware
say the register is 0426
This register is a month & date
the first 8 bits is the day (00000101) Month=5
the second 8 bits is the month (00000011) Day=3
How in wonderware can I read these bits to stamp it on the screen as a month and date
I would have to read the first 3 bits as the month changes
and on the day I would have to read the first 5 bits as the day changes
how could i script this to so the correct month and day
thanks
that I'm wanting to read several bits from a register into wonderware
say the register is 0426
This register is a month & date
the first 8 bits is the day (00000101) Month=5
the second 8 bits is the month (00000011) Day=3
How in wonderware can I read these bits to stamp it on the screen as a month and date
I would have to read the first 3 bits as the month changes
and on the day I would have to read the first 5 bits as the day changes
how could i script this to so the correct month and day
thanks