
adccommunitymod (AutomationDirect) asked a question.
Created Date: June 27,2010
Created By: dieseltwitch
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Im having some problems reading the temperatures from my field IO Setup: DL-06 Im using Com port 2 - RS232 Modbus Field IO COMs - T1K-MODBUS two T1F-16RTD I have the coms working. Im suing the MRX iBox on SP1 in the program its setup like this: Port Number: K2 Slave Address: K2 Function Code: 03 - Reading Holding Registers (Is this right or should it be 04?) Start Slave Memory Address: K40001 Start Master Memory Address: V3000 Number of Elements: k25 (I have a total of 25 temp sensors) Modbus Data Type: 584/984 Mode Exception Response Buffer: V501 (I don't know what this does) Im using simple 2 wire RTD sensors, I wired all the commons and the grounds together. This is how i do ever other RTD card that I have done. Can any one help me figure this out.
Created Date: June 27,2010
Created by: bcarlton
Make sure to download and read T1K-INST-M manual. In chapter 4 it shows how the readings from analog input modules are laid out.
Created Date: June 27,2010
Created by: dieseltwitch
I 've looked over it and tried to understand it but its still a bit beyond me i guess. How do I translate what I read in the manual into the start address of where the information is stored that Im trying to get. On page 104 there is a "Memory Map of 16-Channel Analog Input Module " but after looking at it i'm a even more confused then before.
I get that each sensor uses two bytes Channel 1 uses Byte 1 & 2,
3 & 4 are not used and 5 & 6 are for Channel 2 and so on.... but where does byte 1 reside and how do i read from it?
Created Date: June 27,2010
Created by: dieseltwitch
Ok so i can now read temperatures from the first block of 16, how do i get it from the second block of 16?
I found that I had the the dip switch 7 set wrong and.
I read from K3001 in the MRX block do i need to set up another MRX to get the next set? I found where things where stored in the T1K-Modbus Manual Chapter 3.... but it doesn't say any thing about reading the input reg from more then one module?
Created Date: June 27,2010
Created by: bcarlton
If it's the next module I see it as its map start immediately after the previous one. Try that. I would use two reads in interlocked fashion just to keep things straight.
Created Date: June 27,2010
Created by: dieseltwitch
Im having some problems reading the temperatures from my field IO
Setup: DL-06
Im using Com port 2 - RS232 Modbus
Field IO
COMs - T1K-MODBUS
two T1F-16RTD
I have the coms working. Im suing the MRX iBox on SP1 in the program its setup like this:
Port Number: K2
Slave Address: K2
Function Code: 03 - Reading Holding Registers (Is this right or should it be 04?)
Start Slave Memory Address: K40001
Start Master Memory Address: V3000
Number of Elements: k25 (I have a total of 25 temp sensors)
Modbus Data Type: 584/984 Mode
Exception Response Buffer: V501 (I don't know what this does)
Im using simple 2 wire RTD sensors, I wired all the commons and the grounds together. This is how i do ever other RTD card that I have done. Can any one help me figure this out.