Port: select the port the TCP/IP communication used
Command: When the system processes to this text object, the system through the
network interface to transmit this order character string to a computer assigned the IP address,
request the computer sends the character string needs to process at present, the system will not
return until the computer replied, after the response of the computer, the system will process the
returns text automatically.
Unicode: After choosing this option, the system to the computer transmission which and
the read character is the Unicode form, otherwise is the ASCII form.
The following example showed how to use this function:
Now has a customer to process 10000 work pieces, on the work piece the marking content is
a text, but each work piece must process the text content is dissimilar, therefore, before each work
piece processing, must real-time read the processing content through the network from the local
area network a computer server (IP: 192.168.0.1 port is 1000) on.
1. Open ezcad2 to establish a text object, adjust the text size, the position and the
processing parameter.
2. Choice the text object, select the “enables variable text”, click the “increase” button, the
system will spring a Figure dialog box as 4-32, select TCP/IP communication, set the
network interface parameter, the IP address parameter fills in server computer's IP, here
is 192.168.0.1; the port parameter sets to use in the communication the port number, here
is 1000, the network interface parameter must identically with the server computer on ,
otherwise it will cause to be unable communication.
3. Set the command is TCP: Give me string.(This command may for the random server
definition command)
4. After closing the dialog box, click the application button.
5. Click F2 to start to process, the computer will send the command “TCP: Give me string”
to the server immediately through the net mouth, and waited for that the server will
return.
6. After the server discovered the network interface receives the command is “TCP: Give
me string”, reads the database immediately to obtain the text which the current must
process, then gives the local computer through the network interface reply.
7. After the local computer obtains the text which must process, changes the processing
data to transmit immediately to the marking board.
8. After the marking board receives the processing data, control the machining to mark the
work piece immediately.
Flow chart as shown in Figure 4-42:
Port: select the port the TCP/IP communication used
Command: When the system processes to this text object, the system through the
network interface to transmit this order character string to a computer assigned the IP address,
request the computer sends the character string needs to process at present, the system will not
return until the computer replied, after the response of the computer, the system will process the
returns text automatically.
Unicode: After choosing this option, the system to the computer transmission which and
the read character is the Unicode form, otherwise is the ASCII form.
The following example showed how to use this function:
Now has a customer to process 10000 work pieces, on the work piece the marking content is
a text, but each work piece must process the text content is dissimilar, therefore, before each work
piece processing, must real-time read the processing content through the network from the local
area network a computer server (IP: 192.168.0.1 port is 1000) on.
1. Open ezcad2 to establish a text object, adjust the text size, the position and the
processing parameter.
2. Choice the text object, select the “enables variable text”, click the “increase” button, the
system will spring a Figure dialog box as 4-32, select TCP/IP communication, set the
network interface parameter, the IP address parameter fills in server computer's IP, here
is 192.168.0.1; the port parameter sets to use in the communication the port number, here
is 1000, the network interface parameter must identically with the server computer on ,
otherwise it will cause to be unable communication.
3. Set the command is TCP: Give me string.(This command may for the random server
definition command)
4. After closing the dialog box, click the application button.
5. Click F2 to start to process, the computer will send the command “TCP: Give me string”
to the server immediately through the net mouth, and waited for that the server will
return.
6. After the server discovered the network interface receives the command is “TCP: Give
me string”, reads the database immediately to obtain the text which the current must
process, then gives the local computer through the network interface reply.
7. After the local computer obtains the text which must process, changes the processing
data to transmit immediately to the marking board.
8. After the marking board receives the processing data, control the machining to mark the
work piece immediately.
Flow chart as shown in Figure 4-42:
การแปล กรุณารอสักครู่..

เลือกพอร์ต : พอร์ต TCP / IP สามารถสื่อสารใช้
: เมื่อระบบกระบวนการนี้วัตถุข้อความ ระบบผ่านเครือข่ายเพื่อส่งคำสั่งนี้
สายอักขระกับคอมพิวเตอร์ที่กำหนดที่อยู่ IP ,
ขอคอมพิวเตอร์ส่งสตริงอักขระต้องกระบวนการปัจจุบัน ระบบจะไม่
กลับ จนกว่าคอมพิวเตอร์ตอบหลังจากการตอบสนองของคอมพิวเตอร์ระบบจะส่งกลับข้อความโดยอัตโนมัติกระบวนการ
.
Unicode : หลังจากเลือกตัวเลือกนี้ ระบบจะส่งข้อมูลที่คอมพิวเตอร์และ
อ่านตัวละครเป็นรูปแบบ Unicode อื่นคือรูปแบบ ASCII .
ตัวอย่างต่อไปนี้แสดงวิธีการใช้ฟังก์ชันนี้ :
ตอนนี้มีลูกค้ากระบวนการทำงานใน 10 , 000 ชิ้น ชิ้นงานการสลักเนื้อหา
ข้อความแต่แต่ละชิ้นงานต้องประมวลเนื้อหาข้อความจะไม่เหมือนกัน ดังนั้น ก่อนที่แต่ละ
ชิ้นส่วนการประมวลผลต้องเรียลไทม์อ่านประมวลผลเนื้อหาผ่านเครือข่ายจากพื้นที่เครือข่ายท้องถิ่น
คอมพิวเตอร์เซิร์ฟเวอร์ ( IP : 192.168.0.1 พอร์ต 1000 ) .
1 . เปิด ezcad2 สร้างวัตถุข้อความปรับขนาดตัวอักษร , ตำแหน่ง และการประมวลผลค่า
.
2 . เลือกข้อความ วัตถุเลือก " ช่วยให้ตัวแปรข้อความ " คลิก " เพิ่ม " ปุ่ม
ระบบจะสปริงรูปกล่องเป็น 4-32 เลือก TCP / IP การสื่อสารตั้งค่า
อินเตอร์เฟซเครือข่าย IP พารามิเตอร์พารามิเตอร์ กรอกข้อมูลในคอมพิวเตอร์เซิร์ฟเวอร์ IP , ที่นี่
เป็น 192.168.0.1 ; พอร์ตพารามิเตอร์ชุดเพื่อใช้ใน การสื่อสารพอร์ตหมายเลขนี้
คือ 1000 ,อินเทอร์เฟซเครือข่ายพารามิเตอร์จะต้องเหมือนกันกับเครื่องเซิร์ฟเวอร์ ,
มิฉะนั้นจะให้มีการสื่อสารไม่สามารถ .
3 . ชุดคําสั่งคือ TCP : เอาเชือก ( คำสั่งนี้อาจจะสุ่มเซิร์ฟเวอร์
นิยามคำสั่ง )
4 . หลังจากปิดกล่องโต้ตอบ คลิกที่ปุ่มสมัคร .
5 กด F2 เพื่อเริ่มกระบวนการ คอมพิวเตอร์จะส่ง TCP คำสั่ง " : ขอสาย "
กับเซิร์ฟเวอร์ได้ทันทีผ่านทางปากสุทธิ และรอว่าเซิร์ฟเวอร์จะกลับ
.
6 หลังจากเซิร์ฟเวอร์ค้นพบเครือข่ายได้รับคำสั่งคือ " TCP : ให้เชือก
ฉัน " อ่านฐานข้อมูลได้ทันทีจะได้รับข้อความ ซึ่งปัจจุบันต้อง
กระบวนการ แล้วให้คอมพิวเตอร์ผ่าน เชื่อมต่อเครือข่าย
ตอบกลับ7 . หลังจากที่เครื่องคอมพิวเตอร์ที่ได้รับข้อความ ซึ่งกระบวนการการเปลี่ยนแปลงข้อมูลการประมวลผล
ส่งทันทีเครื่องหมายกระดาน .
8 . หลังเครื่องหมายกระดานได้รับข้อมูลการประมวลผล การควบคุมเครื่องจักร เครื่องหมาย
ผลงานชิ้นทันที แผนภูมิการไหลดังแสดงในรูปที่ 4-42 :
การแปล กรุณารอสักครู่..
