Publication 1766-RM001A-EN-P - October 2008
Socket Interface Using CIP Generic Messaging 505
If "SEND N7:2 = [N7:2]" is written in the Buf field of the N file, "[N7:2]" is
replaced to a string of the value of N7:2. For example, if N7:2 contains a
data 39, the string "SEND N7:2 = 39" is sent out. If "SEND L9:3 = [L9:3]" is
written in the Buf field of the N file, "[L9:3]" is replaced to a string of the
value of L9:3. For example, if L9:3 contains a data 3456789, the string
"SEND L9:3 = 3456789" is sent out.
The number of replaced characters may be smaller or larger than the
number of Inline Indirection characters. If the number of replaced
characters is smaller than the number of Inline Indirection characters,
NULL will be filled in at the end of the buffer, as many as the difference
between the numbers. If the number of replaced characters is larger than
the number of Inline Indirection characters, the transmitted data is
trimmed by as many characters as the difference between the numbers.
Inline Indirection can be supported for N file or L file only.
DeleteSocket
The DeleteSocket service deletes a socket instance. For a TCP connection,
the DeleteSocket service also closes the connection prior to deleting the
instance.
Parameter Value
Service Type Read
Service Code 4F (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