Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 18, 2012, 06:37:41 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Host Engineering Forum
>
General Category
>
ECOMs and ECOM100s
>
Modbus TCP Addressing from IFM Controller
Pages: [
1
]
« previous
next »
Print
Author
Topic: Modbus TCP Addressing from IFM Controller (Read 1359 times)
jiml
Newbie
Posts: 1
Modbus TCP Addressing from IFM Controller
«
on:
February 11, 2008, 02:10:22 pm »
I am using a H2-ECOM100 to communication with an IFM Controller of an AS-i network. The controller seems to be working and the ECOM seems to be functioning properly, however I cannot get the data to read accross the peer-to-peer network.
- Using NetEdit I setup the ECOM peer-to-peer Node 2 with the IP address from the IFM Controller.
- The IFM is set to Gateway function with the Modbus selection enabled
- The D2-250 PLC instruction is as follows:
LD K302 (Slot 3, Node 2)
LD K16 (8 Words)
LDA O2000 (Write to V2000 Memory Location)
RX V10000 (Read from Modbus Address 4096)
I am confused about the exact address to read from the IFM. My instruction book shows the data addresses starting at 4096 Hex.
Logged
Greg
HOS†ech
Host Moderator
Posts: 320
Hmmm...
Re: Modbus TCP Addressing from IFM Controller
«
Reply #1 on:
February 12, 2008, 10:36:07 am »
You wrote
"the data addresses starting at 4096
Hex
"
... If this is so, then 4096 hex = 40226 octal, and since V-memory is octal I don't believe the RX V10000 is correct. The RX V10000 would cause the H2-ECOM100 to send out a Modbus TCP telegram utilizing FC03 (Read Holding Registers) at offset +4097. Some Modbus TCP controllers call this address +44097, or some just call it Holding Register 4097.
Questions:
(1) Is your peer-to-peer configuration set to use Modbus TCP?
(2) What FC does the IFM require to read the
"data addresses"
?
(3) Are the
"data addresses"
considered to be Holding Registers? Or Input Registers?
(4) Do the
"data addresses"
really start at 4096
"Hex"
? Or 4096 decimal?
«
Last Edit: February 12, 2008, 10:37:45 am by Greg
»
Logged
"You have to believe in free will. You have no choice." -Isaac Bashevis-Singer
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> MX Technology Preview
=> General Discussion
=> CTRIO
=> DirectSOFT
=> DNLoader
=> DSData
=> EBCs and EBC100s
=> ECOMs and ECOM100s
=> EDRV
=> ERM
=> Ethernet SDK
=> MB-GATEWAY
=> NetEdit
=> Profibus
=> WinPLC
Loading...