EasyManuals Logo

Allen-Bradley MicroLogix 1400 User Manual

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
Page #498 background imageLoading...
Page #498 background image
Publication 1766-RM001A-EN-P - October 2008
496 Socket Interface Using CIP Generic Messaging
Configure the MSG with these values:
• Timeout : Specify the timeout in milliseconds.
• DestAddr Length : The length of the destination address.
CIP Generic Msg Parameter Description
Channel 1 (Integral)
Communication Command CIP Generic
Service Custom
Service Code 4C (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
Data Table Address (Send) Specify N file
Size in Bytes (Send) 8 + n (number of characters in the destination address)
bytes
Data Table Address (Receive) Not used. The MSG instruction does not return any
data.
Size in Bytes (Receive) 0 bytes
Extended Routing Info File(RIX) Specify RIX file
To Address in MultiHop tab 127.0.0.1
Considerations :
In some cases, the OpenConnection service can return before the timeout period without
creating a TCP connection. For example, if the destination device is running, but is not listening
for connections on the specified port number, OpenConnection returns with an error before the
timeout period.
For UDP, if you use OpenConnection, you do not have to specify the IP address and port number
each time you send data. If you do not specify an IP address and port number, you can only
receive data from the previously specified IP address and port number in the OpenConnection
service.
For UDP, if you do not use OpenConnection, you must specify the destination address each time
you call the Write service to send data. When you call the Read service, in addition to the data,
you receive the address of the sender. You can then use the address of the sender to send a
response via the Write service.
N file for sending contains: 8 bytes + n bytes
Nx:0, Nx:1 Nx:2 Nx:3 Nx:4…
Timeout
(4 bytes)
DestAddr
Length
(2 bytes)
DestAddr
Reserved
(2 bytes)
DestAddr
Data
(n bytes, max 64 bytes)
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive

Table of Contents

Other manuals for Allen-Bradley MicroLogix 1400

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley MicroLogix 1400 and is the answer not in the manual?

Allen-Bradley MicroLogix 1400 Specifications

General IconGeneral
Processor32-bit
Expansion ModulesUp to 7 expansion I/O modules
Power Supply24V DC or 120/240V AC
Programming SoftwareRSLogix 500
Communication PortsEthernet, RS-232/RS-485 combo port
Controller TypeProgrammable Logic Controller (PLC)
SeriesMicroLogix
Digital Outputs12
Analog Inputs6 (embedded)
Analog Outputs2 (embedded)
High-Speed Counter6 high-speed counters
Pulse Output2 (embedded)
Ethernet PortYes

Related product manuals