I am new to using DASYlab and I had a few questions about something I've been tasked with at work. We have a CAI 700 instrument we're trying to connect to DASYlab via ethernet -- specifically through the Modbus function. I have already assigned IP addresses to the instrument and ethernet port on the computer so they can communicate. We are using a router to communicate with the instrument and the computer. I am able to ping the instrument's IP from the CMD prompt on the computer so they're connected. Now I'm just trying to configure the DASYlab module correctly so I can get data from our analyzer.
I created a new Modbus input and changed the interface to TCP/IP and put in the IP address of the CAI instrument. The unit is V, I checked the Register starts at 0 box as well as Big Endian. Here's where I'm lost. The CAI instrument manual tells us the 40 series register numbers and their contents however I believe we need to use the 30 series registers since it states 30 = input and 40 = holding. I've assigned the data type as a float since we are wanting to see the full output of the instrument, decimals and all. I chose a random address (18) and changed the register to match. When I hit the test button, I get:
"Modbus module response:
Address: 18
Raw data: 0
Scaled data: 0.00000"
I should be getting a different reading since my CAI analyzer is reading ambient room levels of CO, CO2 and O2.
I'll post a picture as well what my end looks like. I'm using DASYlab version 15.1.0.
Question
kbtyson96
Hi all,
I am new to using DASYlab and I had a few questions about something I've been tasked with at work. We have a CAI 700 instrument we're trying to connect to DASYlab via ethernet -- specifically through the Modbus function. I have already assigned IP addresses to the instrument and ethernet port on the computer so they can communicate. We are using a router to communicate with the instrument and the computer. I am able to ping the instrument's IP from the CMD prompt on the computer so they're connected. Now I'm just trying to configure the DASYlab module correctly so I can get data from our analyzer.
I created a new Modbus input and changed the interface to TCP/IP and put in the IP address of the CAI instrument. The unit is V, I checked the Register starts at 0 box as well as Big Endian. Here's where I'm lost. The CAI instrument manual tells us the 40 series register numbers and their contents however I believe we need to use the 30 series registers since it states 30 = input and 40 = holding. I've assigned the data type as a float since we are wanting to see the full output of the instrument, decimals and all. I chose a random address (18) and changed the register to match. When I hit the test button, I get:
"Modbus module response:
Address: 18
Raw data: 0
Scaled data: 0.00000"
I should be getting a different reading since my CAI analyzer is reading ambient room levels of CO, CO2 and O2.
I'll post a picture as well what my end looks like. I'm using DASYlab version 15.1.0.
Any suggestions would be greatly appreciated!
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now