Download Communication Output-type Intelligent Signal Processor

Transcript
SECTION 2
Host Link Communications
This section provides information on host link communications, which provides compatibility with earlier K3Tj-series
Units. When a new system is being created, we recommend using the CompoWay/F communications exclusively.
2-1
2-2
2-3
2-4
2-5
2-6
2-7
2-8
2-9
2-10
2-11
2-12
2-13
2-14
2-15
2-16
2-17
Interface Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-1 RS-232C (25-pin) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-2 RS-232C (9-pin) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-3 RS-422 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-4 RS-485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Before Applying Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
General RS-232C/RS-422/RS-485 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Communications and Error Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-4-1 Communications Control Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-4-2 Block Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-4-3 Error Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Commands and Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-5-1 Command/Response Format Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-5-2 Command List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reset Control (Maximum/Minimum Value Reset) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Set Value Write (K3NX/K3NV/K3NH Communication/Comparative Output) . . . . . . . . .
Set Value Write (K3NR/K3NP/K3NC Communication/Comparative Output) . . . . . . . . . .
Set Value Read (K3NX/K3NV/K3NH Communication/Comparative Output) . . . . . . . . . .
Set Value Read (K3NR/K3NP/K3NC Communication/Comparative Output) . . . . . . . . . .
Maximum/Minimum Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Display Value (PV Value) Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Model Data Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Undefined Command Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
End Code List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Communication Program Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-17-1 Program Example of RS-232C Communication . . . . . . . . . . . . . . . . . . . . . . . . . .
2-17-2 Operation Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
38
38
39
40
42
43
43
44
44
44
45
46
46
46
46
47
48
49
50
51
52
54
55
55
56
56
56
58
37