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