EasyManua.ls Logo

Pepperl+Fuchs IC-KP2-2HB17-2V1D - Page 68

Pepperl+Fuchs IC-KP2-2HB17-2V1D
122 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2014-02
68
IC-KP2-2HB17-2V1D
Commands
Single write words (SW)
Command:
Response:
The R/W head makes one attempt to write <WordNum> 32-bit words from the
address<WordAddr>.
Within the reply from the read/write head, <WordNum> is always 0, because the answer does
not contain any user data.
Byte Ty p e Bit no.
7 6 5 4 3 2 1 0
Byte 0* Telegram length, high byte <TelegramLenH>
Byte 1* Telegram length, low byte <TelegramLenL>
Byte 2 Command code (40h) 0 1 0 0 0 0 0 0
Byte 3 Word number/Channel/Toggle bit <WordNum> <Channel> <T>
Byte 4 Word address <WordAddr> (high byte)
Byte 5 Word address <WordAddr> (low byte)
Byte 6 Data 00h ... FFh <Data>
... Data 00h ... FFh <Data>
Byte N
1)
Data 00h ... FFh <Data>
Byte Ty p e Bit no.
7 6 5 4 3 2 1 0
Byte 0* Telegram length, high byte 0 0 0 0 0 0 0 0
Byte 1* Telegram length, low byte 0 0 0 0 0 1 1 0
Byte 2 Command code (40h) 0 1 0 0 0 0 0 0
Byte 3 Word number/Channel/Toggle bit 0 <Channel> <T>
Byte 4 Statu s <Status>
Byte 5 Reply counter <ReplyCounter>
Table 7.17 * this byte is only used with the TCP/IP and MODBUS TCP/IP protocol.
1) N = 4 x <WordNum> + 5; Ethernet/IP: N = 4 x <WordNum> + 3

Table of Contents

Related product manuals