EasyManua.ls Logo

Allen-Bradley MicroLogix 1400 - Page 504

Allen-Bradley MicroLogix 1400
694 pages
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...
Publication 1766-RM001A-EN-P - October 2008
502 Socket Interface Using CIP Generic Messaging
Structure of FromAddr :
Family : Contains the address family. Must be 2.
Port : Contains a local port number.
Addr : Contains an IP address.
BufLen : Contains the number of bytes of data received.
Buf : Contains the data.
Write
The Write service sends data on a socket. You can specify the number of
bytes to send. The Write service attempts to send the requested number of
bytes and returns the number of bytes sent.
N file for receiving contains: 12 bytes + n bytes
Nx:0 Nx:1 Nx:2, Nx:3 Nx:4 Nx:5 Nx:6…
FromAddr
Family
(2 bytes)
FromAddr
Port
(2 bytes)
FromAddr
IP Address
(4 bytes)
BufLen
(2 bytes)
Reserved
(2 bytes)
Buf
(n bytes)
Parameter Value
Service Type Write
Service Code 4E (hexadecimal)
Class 342 (hexadecimal)
Instance 0. Use a relay ladder instruction to move the returned
instance number from a CreateSocket service into the
MGx:y.TFN element of a MSG instruction
Attribute 0
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive

Table of Contents

Other manuals for Allen-Bradley MicroLogix 1400

Related product manuals