Download XGB Cnet User Manual

Transcript
Chapter 11 Example Program
11.4 User - defined Communication Example
11.4.1 User-defined communication example system configuration
When communication with device of which protocol is not supported by Cnet I/F module client, how
to use user-defined communication is described in the system like [Figure 10.4.1] below
• System configuration
RS-485, 9600/8/1/None/User–defined communication
[Figure 11.4.1] User defined communication system configuration
At this example, Cnet I/F module and partner device to communicate through user defined communication
system configuration are as [Table 11.4.1].
Main unit
XBC-DN32H
Han-Young temperature controller
Device name
*Note2)
Communication
PX7
Built-in RS-485
module
Operation mode
Client
Server
Protocol
Communication
type
Communication
speed
Data bit
User frame definition
PC Link
RS-485
RS-485
9,600
9,600
8
8
Stop bit
1
1
Parity bit
None
None
Station no.
0
1
*note1)
Delay time
Operation
100ms
Reads present value and setting value from temperature controller every
second and saves present value at MB200 and setting value at MB210.
[Table 11.4.1] User defined communication system configuration
Note1) Delay
time is set to prevent from frame error when communication with device of which response
is slow in case of RS-422/485 communication. It varies according to partner device and it has
50~100ms value generally.
11-20