Possible Error Codes For Socket Services - Allen-Bradley MicroLogix 1400 Instruction Manual

Programmable controllers
Hide thumbs Also See for MicroLogix 1400:
Table of Contents

Advertisement

efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive
508
Socket Interface Using CIP Generic Messaging
Possible Error Codes for
Socket Services
Publication 1766-RM001A-EN-P - October 2008
Configure the MSG with these values:
CIP Generic Msg Parameter
Channel
Communication Command
Service
Service Code
Class
Instance
Attribute
Data Table Address (Send)
Size in Bytes (Send)
Data Table Address (Receive)
Size in Bytes (Receive)
Extended Routing Info File(RIX)
To Address in MultiHop tab
Considerations :
Call the DeleteAllSockets service with instance 0.
A typical use of DeleteAllSockets is when application development and debugging is complete.
N file for sending contains : 0 bytes
- NONE
N file for receiving contains : 0 bytes
- NONE
If the Socket Object encounters an error with a service request, or while
processing the service request:
• The Socket Object returns an error code.
• The MSG instruction sets the MGx:y/ER bit.
• The MSG instruction sets error codes in Word 18(MGx:y.ERR) of MG
file. Low byte is error code 0xDE (Object Specific General Error) and
high byte is 0.
• The MSG instruction sets internal fail code in Word 22(MGx:y.22) of
MG file. Low byte is error code 0xDE (Object Specific General Error)
and high byte of this sub-element contains detailed extended error
code.
Description
1 (Integral)
CIP Generic
Custom
51 (hexadecimal)
342 (hexadecimal)
0
0
Not used.
0 bytes
Not used.
0 bytes
Specify RIX file
127.0.0.1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents