how to read more data in a packet by CIP read data service(4C)

chenhg

Member
Join Date
Sep 2008
Location
Shanghai
Posts
26
hello all:
I want to read more data in a tcp packet using 4C(open connection).According to the AB logix data access manual:

the read data service :The CIP read data service reads a block of data starting from the specified address at the IOI string:
Command format
Service code(4C) -- IOI string --
size
If I want to read five data starting from 'a',I set the size for 5 and send the following packet to PLC,but response wrong message,anyone can help me ,thanks a lot.


Service: Open Connection (Request)
0... .... = Request/Response: Request (0x00)
.100 1100 = Service: Open Connection (0x4c)
Request Path Size: 2 (words)
Request Path: a
Extended Symbol Segment (0x91)
Data Size: 1
Data: a
Pad Byte (0x00)
Command Specific Data
Data: 0500

the response :

Common Industrial Protocol
Service: Open Connection (Response)
1... .... = Request/Response: Response (0x01)
.100 1100 = Service: Open Connection (0x4c)
Status: Unknown Response (ff), Extended: 0x2105
General Status: Unknown (0xff)
Additional Status Size: 1 (word)
Additional Status: 0x2105
 

Similar Topics

Dear all I want to make S7-1200 as Modbus RTU gateway (Master and slave all in one) I have bought : 1 x 1214C CPU 2 x CM1241 RS422/485 The fisrt...
Replies
2
Views
4,055
Hello hope you are doing well! I wan to read the next parameters of a VFD 525: 1. Output Current 2. Average Power 3. Energy Saved to display...
Replies
5
Views
638
Does anyone have example code of how to read/write a discrete push button from a C-More Micro to a DL05. I just bought these two items and I am...
Replies
2
Views
980
Hello We integrated a BIS M-400-072-002-07-S4 (BIS0104) on a machine for the traceability system. It has to read a BIS M-110-02/L (BIS0044). We...
Replies
4
Views
2,215
I'm working on a project using a pair of 1756-L62 processors using RSLogix5000 ver 18.02 and FTViewSE 6.00 standalone. The odd thing that is...
Replies
22
Views
32,111
Back
Top Bottom