Hello ,
Can anyone tell me how to establish the class 3 connection between EIPScan (EtherNet/IP host) and NetX IC Evalution board (NICEB)?
What will be the values(hex) for Service , Class , Instance , Attribute ?
I tried to read Modbus Class 0x44 with service code 4E(Read Holding register)..but it gives me error "Error: A parameter associated with the request was invalid"
Please help me
Thanks in advance.
HI Kai,
Thanks for you mail.
I am using NetX evalution board(NICEB). NICEB's modbus master address is 0x02. our device (i.e.modbus slave) address is 0x01. NICEB is connected via RJ 45 with EtherNet/IP host tool from pyramid solution i.e. EIPScan tool.
Now I have given the values as below,
Service = 0x4E (Read holding register)
Class =0x44 (Modbus class)
Instance = 0x02 (Modbus Master address right ????? bcz i have tried with modbus slave address also)
Attribute = 0x00 (Not idea what to use so kept as zero)
Reuqest data = 9D 37 00 02 ( since Modbus master is reading the register 40247 ( 0x9D37) from modbus slave which is 4 byte[2 register] value)
I tried with both the sequence '9D 37 00 02' and '37 9D 02 00' but it doesnt work out :-(
I am getting error response " Parameter associted with the request was invalid'
Regards,
Sandeep
Hilscher Gesellschaft fuer Systemautomation mbH
Hello Sandeep,
I saw, that you did not get any reply. Is your issue still open?
Regards
AJ
Kai Michel
Hilscher Gesellschaft für Systemautomation mbH
Hello Sandeep P,
first of all sorry, that it took me so long to answer.
Service: 0x4E
Class: 0x44
Instance: this is the device address to address the slave on the Modbus network, so for example 0x02
Attribute: 0x00 (not used)
Additionally, some request data must be sent to provide information about the registers and number of registers to be read. Note: the data must be provided using the intel format (little endian).
Request data: e.g. 01 0A 04 00 (01 0A = register address, 04 00 = number of registers to read (here 4) )
Hope this helps.
Regards,
Kai