Saturday, 23 April 2016

Mitsubishi

Mitsubishi A-Series

The word between BB and A4.
For example:
0B 00 FF 02 00 AA 77 55 BB EF CD AB A4 00

Then the result is:
AB CD EF

Mitsubishi FX-Series

For example: 34 31 34 32 34 33 34 34 34 35 34 36 34 31 34 32
convert to ascii: 41 42 43 44 45 46 41 42
convert to ascii again: ABCDEF
the result is ABCDEF

Thursday, 21 January 2016

Omron Serial Protocol Hostlink is not supported by 2 wire RS485 Connection

Please take note that Omron Serial Protocol Hostlink is not supported by 2 wire RS485 Connection

Double Fluroscent Light

Sooner or later you will not see this type of lighting system anymore. Just keep it as a reference


Monday, 23 November 2015

This disk contains mismatched GPT and MBR partition

When trying to clone Win7 disk into an image using Clonezilla, process failed and message "This disk contains mismatched GPT and MBR partition".



To solve this, using the command prompt of the Clonezilla,  enter sudo sgdisk -z /dev/sda
Normally is sda, sometimes it could be sdb if you mount the disk as second harddisk. Be aware that it is sda, not sda1 or sda2, if you type sda1 it may damage the boot record.

In case the boot record is damage, you saw a error message "A disk read error occurred" when you start the windows.

To solve this:-
1. boot the computer using windows installation disk.
2. select repair windows.
3. select startup recovery.
4. restart the computer.

If the problem still persist,
1. boot the computer using windows installation disk.
2. select repair windows
3. select command prompt.
4. enter 
bootrec.exe /fixmbr
bootrec.exe /fixboot
bootrec.exe /rebuildbcd

5. restart the computer

Saturday, 25 October 2014

Background Suppression

Typically, diffuse photo electronic sensor may have shorter sensing range for dark surface or rough surface object compare to the light color surface object.

We named the difference in sensing distance between black color object and white color object as black-white shift.

A Background Suppression Sensor is introduced to overcome this problem, the sensing distance of a background suppression sensor is equal for dark-color object as well as light color object.