04-20-2010 09:03 PM
ooppss..
sorry for wrong files. here are the real ones.
btw, i am trying to communicate in single power meter device 1st...
04-21-2010 06:33 AM
04-21-2010 06:52 AM
Looks to me like 258=102Hex. This would be the baud rate address from the register table listing for the CPM50. You should not add 1 to the unit ID of the device. The device unit Id has to match the ip address and slave id of the power meter. Where you might need to add one would be the address that you want to read. Some devices start counting register 1 at 40001 and others start at 40000.
One thing you have to pay attention to is the ip address, subnet mask, and default gateway for the ethernet port on the computer that is running kepware. If you can't ping the ip address of the power meter, from the kepware computer, it isn't going to work.
04-21-2010 06:56 PM
unclebump,
i already got "good values" (before, it indicates "bad values"). but the value i read was not the one i expected to see. the value i read is always zero. have you encountered this before? what are the possible cause of this? i attached the snapshot of 2 powermeter devices that obtain both zero while indicating good values.
note: base on the manual, the datatype is (word)
btw. i got "good values" when i put a checked in the "simulate device" option. i think it was my mistake to bypass it.
04-22-2010 03:57 AM
04-22-2010 04:54 AM
is that so?? thanks for informing.. i thought i'm almost there...
about pinging the serial/ethernet converter, there was no problem. i can ping it from remote location (w/in our company private network), and even change the config of serial/ethernet convert form distant. my computer and the devices are also in the same subnet... my ip and serial/ethernet device ip is in attached snapshot (ping successfully).
btw, is there a simple setting in kepware to check if i can connect w/ the devices? like ping using kepware setting, etc... can you pinpoint it to me? the config setting of kepware was too many...
04-22-2010 10:48 AM