EasyManua.ls Logo

CTI 2572-B - Page 57

Default Icon
119 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...
CTI 2572-B / 2500C-2572-B Installation and Operation Manual 51
Create Socket Command Block
This command block creates a Multicast socket that will send to multicast address 225.1.1.1. (0xE1010101).
Offset
Description
Hex
Decimal
0
Error Word
0000
0
1
Command Code (Create Socket)
0003
03
2
Connection Number (19221 - 19228)
4B15
19221
3
Protocol Manager Number
0024
36
4
Startup Option Bits
0000
0
5
Type of Service (1 = TCP, 2 = UDP/Multicast))
0002
2
6 Remote Device or Multicast IP Address- High
16 bits
E101 57601
7 Remote Device or Multicast IP Address - Low
16 bits
0101 257
8
Unused (Set to 0)
0000
0
9
TCP/UDP Port Number
05E1
1505
10-15
Unused (Set to 0)
0000
0
Word Transfer – Unacknowledged Write Command Block
The following command block writes 25 words obtained from local PLC V memory starting at V100 to the a
block of V memory starting at V200 in all PLCs that have a 2572-B module listening at IP multicast address
225.1.1.1. The Unacknowledged Write command is used to prevent multiple replies.
Offset
Description
Hex
Decimal
0
Error Word
0000
0
1
Command Code (Write)
0204
516
2
Connection Number (19221 - 19228)
4B15
19221
3
Source: Starting V Memory Address in this PLC
0064
100
4
Number of Words to Transfer (1-256)
0019
25
5 Destination: Starting V Memory Address in Remote
PLC
00C8 200
6-9
Unused (Set to 0)
0000
0
10-12
Not used in this example
0000
0
13 Minimum Production Interval in milliseconds.
(0= Default Value = 1000ms)
05DC 1500
14-15
Unused (Set to 0)
0000
0
In this example, the minimum production interval is set to 1500ms (1.5 second). To use the timer effectively,
you should use uncoupled mode and leave the trigger bit set .

Table of Contents