Support Forums
Retrieving Code from Datataker DT80

I have a DataTaker DT80 that was coded using a different coding software other than dEX. If the code makes references to 1CV, 2CV etc., that would be decimal addresses of 31001, 31002 etc. correct?

I have a DataTaker DT80 that was coded using a different coding software other than dEX. If the code makes references to 1CV, 2CV etc., that would be decimal addresses of 31001, 31002 etc. correct?

Hi bkangxxx,

dataTaker scripting is originally using text either for schedule or channel declaration. The appearance of dEX will provide assistance for the user in the form of a template for schedule/ channel declaration.

When you mention of 1CV and 2CV in relation of address 31001 and 31002, I presume you were talking about MODBUS register address. It is correct that each of CV allocation represent MODBUS register address, however there is a slight difference in number allocation because dataTaker CV start from 1 while MODBUS register address start from 0.

Thus 1CV and 2CV represent 0 and 1 in MODBUS register address (not 31001 and 31002) because the range of MODBUS register address start from 0 up to 65535.

The number 3 in your message may be related to MODBUS function 3, which the correct declaration should be 3:00000 and 3:00001 (for 1CV and 2CV). Within dataTaker MODBUS function 3 is represented by R4 thus for example:

Polling syntax:
1MODBUS(AD1,R4:1)
R4:1 represent MODBUS function 3 and register address 0.

Best regards,
Rudy Gunawan

Hi bkangxxx, dataTaker scripting is originally using text either for schedule or channel declaration. The appearance of dEX will provide assistance for the user in the form of a template for schedule/ channel declaration. When you mention of 1CV and 2CV in relation of address 31001 and 31002, I presume you were talking about MODBUS register address. It is correct that each of CV allocation represent MODBUS register address, however there is a slight difference in number allocation because dataTaker CV start from 1 while MODBUS register address start from 0. Thus 1CV and 2CV represent 0 and 1 in MODBUS register address (not 31001 and 31002) because the range of MODBUS register address start from 0 up to 65535. The number 3 in your message may be related to MODBUS function 3, which the correct declaration should be 3:00000 and 3:00001 (for 1CV and 2CV). Within dataTaker MODBUS function 3 is represented by R4 thus for example: Polling syntax: 1MODBUS(AD1,**R4:1**) R4:1 represent MODBUS function 3 and register address 0. Best regards, Rudy Gunawan
79
1
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft