Omron CQM1H-SCB41 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Omron CQM1H-SCB41, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Omron CQM1H-SCB41 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Omron CQM1H-SCB41. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Omron CQM1H-SCB41 should contain:
- informations concerning technical data of Omron CQM1H-SCB41
- name of the manufacturer and a year of construction of the Omron CQM1H-SCB41 item
- rules of operation, control and maintenance of the Omron CQM1H-SCB41 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Omron CQM1H-SCB41 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Omron CQM1H-SCB41, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Omron service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Omron CQM1H-SCB41.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Omron CQM1H-SCB41 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    Cat.No. W365–E1–1 CQM1H-SCB41 Serial Communications Board SYSMAC CQM1H Series OPERA TION MANUAL[...]

  • Page 2

    SYSMAC CQM1H Series CQM1H-SCB41 Serial Communications Board Operation Manual Produced September 1999[...]

  • Page 3

    ! ! ! v Notice: OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual. The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to[...]

  • Page 4

    vii About this Manual: This manual describes the installation and operation of the SYSMAC CQM1H-series CQM1H-SCB41 Se- rial Communications Board and includes the sections described below . The Serial Communications Board is classified as an Inner Board. Read this manual and all related manuals listed in the following table carefully and be sure you[...]

  • Page 5

    T ABLE OF CONTENTS viii PRECAUTIONS xi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience xii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 General Precautions xii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Page 6

    T ABLE OF CONTENTS ix SECTION 7 Communications for 1:1 Data Links 107 . . . . . . . . . . . . . . . . 7-1 Overview 108 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 Application Procedure 109 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Page 7

    xi PRECAUTIONS This section provides general precautions for using the Serial Communications Boards. The information contained in this section is important for the safe and reliable application of the Serial Communica- tions Boards and the PC in general. Y ou must read this section and understand the information contained befor e at- tempting to se[...]

  • Page 8

    ! ! ! ! ! 3 Conformance to EC Directives xii 1 Intended Audience This manual is intended for the following personnel, who must also have knowl- edge of electrical systems (an electrical engineer or the equivalent). • Personnel in charge of installing F A systems. • Personnel in charge of designing F A systems. • Personnel in charge of managin[...]

  • Page 9

    ! ! ! ! ! 5 Conformance to EC Directives xiii 4 Operating Environment Precautions Caution Do not operate the control system in the following locations: • Locations subject to direct sunlight. • Locations subject to temperatures or humidity outside the range specified in the specifications. • Locations subject to condensation as the result of [...]

  • Page 10

    5 Conformance to EC Directives xiv • Always discharge static electricity by touching a grounded metal part before mounting the Serial Communications Board. • Always discharge static electricity by touching a grounded metal part before connecting cable connectors to RS-232C or RS-422A/485 port of the Serial Communications Board. • Be sure that[...]

  • Page 11

    6 Conformance to EC Directives xv 6 Conformance to EC Directives 6-1 Applicable Directives • EMC Directives • Low V oltage Directive 6-1-1 Concepts EMC Directives OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or ma- chines. The actual products have[...]

  • Page 12

    6 Conformance to EC Directives xvi Recommended Ferrite Cores The following ferrite core (data line noise filter) is recommended: 0443-164151 by Fair-Rite Products Corp. Low impedance, 25 MHz: 90 Ω , 100 MHz: 160 Ω Recommended Mounting Method Mount the core on one turn of the communications cable, as shown in the follow- ing illustration. Mount [...]

  • Page 13

    1 SECTION 1 Intr oduction This section introduces the hardware and software functions of the Serial Communications Board, including the serial com- munications modes, system configurations, and specifications. 1-1 Overview 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Page 14

    1-1 Section Basic Operating Procedure 2 1-1 Overview 1-1-1 Model Number Name Model Specifications Serial Communications Board CQM1H-SCB41 One RS-232 port One RS-422A/485 port 1-1-2 Serial Communications Boards Th e Serial Communications Board is an Inner Board for the CQM1H-series PCs. One Board can be installed in Inner Board slot 1 of a CQM1H-ser[...]

  • Page 15

    1-1 Section Protocol Overview 3 1-1-4 System Configuration The following serial communications modes are supported by the Serial Com- munications Board: Host Link (SYSMAC W A Y), protocol macro, no-protocol, 1:1 Data Links, 1:N-mode NT Link, and 1:1-mode NT Link modes. The devices shown in the following diagram can be connected. Note The 1:1-mode N[...]

  • Page 16

    1-2 Section Basic Operating Procedure 4 1-1-5 Mounting Location The Serial Communications Board can be installed in Inner Board slot 1 of a CQM1H-series CPU Unit. The Board cannot be installed in slot 2. Serial Communications Board Slot 2: Not mountable Slot 1: Mount here 1-2 Protocol Overview The following six serial communications modes can be us[...]

  • Page 17

    1-2 Section Protocol Overview 5 1-2-1 Host Link Mode In Host Link Mode, C-mode Host Link commands can be sent from a computer , P T , or other host to read or write I/O memory in the PC or to control the PC ’ s oper- ating modes. The TXD( –– ) instruction can be used to send ASCII data to the host. This is called slave-initiated communication[...]

  • Page 18

    1-2 Section Basic Operating Procedure 6 • Pin 8 on the DIP switch on the front of the CQM1H-series CPU Unit must be turned ON t o use the CX-Protocol. While pin 8 is ON, you will not be able to use an y of the CPU Unit or Board ports for the CX-Programmer , SYSMAC-CPT , or SYSMAC Support Software. • Th e model of PC must be set to the C200HG an[...]

  • Page 19

    1-2 Section Protocol Overview 7 Note A 4-wire connection must be used when using an RS-422A/485 port. LR 00 LR 31 LR 32 LR 63 Master PC Slave PC Master area (sent) LR 00 LR 31 LR 32 LR 63 Master area (received) Serial Communications Board CQM1H RS-232C CQM1H or other C-series PC Slave area (received) Slave area (sent) to to to to 1-2-5 NT Links –[...]

  • Page 20

    1-4 Section Basic Operating Procedure 8 1-3 Specifications 1-3-1 Serial Communications Board Device name Serial Communications Board Model number CQM1H-SCB41 Classification CQM1H-series Inner Board Supporting CPU Units CQM1H-CPU51/61 Number of mountable Boards/PC and mounting location One Board per PC maximum, must be in Inner Board slot 1 Serial c[...]

  • Page 21

    9 SECTION 2 Board Components and Installation This section describes the components of the Serial Communications Board, how to connect it in the CPU Unit, and how to connect it to external devices. 2-1 Component Names and Functions 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-1 Indicators 10 . . . .[...]

  • Page 22

    2-1 Section Installation 10 2-1 Component Names and Functions Th e components of the Serial Communications Board are described in this sec- tion. T erminating resistance switch 2-wire or 4-wire switch Serial Communications Board (Inner Board slot 1) Port 1: RS-232C Port 2: RS-422A/485 Applicable Connectors Socket: XM2SA-0901 (OMRON) Hood: XM2SA-091[...]

  • Page 23

    2-1 Section W iring 11 A Serial Communications Board is mounted as an Inner Board in the CPU Unit and thus affects the CPU Unit ERR/ALM indicator . Indicator Color Status Meaning ERR/ALM Red Lit Fatal error If a fatal error occurs, the CPU Unit will stop operation in either RUN or MONITOR mode. Flashing Non-fatal error If a non-fatal error occurs, [...]

  • Page 24

    ! 2-1 Section Installation 12 Caution Do not connect the 5-V power supply of pin 6 to any external device other than an NT -AL001-E Link Adapter . Otherwise, the external device and the Serial Com- munications Board may be damaged. The following cables are provided for connection to NT -AL001-E Link Adapters. We recommend that these cables be used.[...]

  • Page 25

    ! 2-1 Section W iring 13 The internal circuits for port 2 are shown below . Receiver Driver T erminating resistance: 200 Ω T erminating resistance switch 2-wire/4-wire switch Pin 8: RDB (+) Pin 6: RDA ( – ) Pin 2: SDB (+) Pin 1: SDA ( – ) Caution Confirm polarities before connecting RS-422A/485 cables. Some devices re- quire that SDA/B and RD[...]

  • Page 26

    2-2 Section Installation 14 2-2 Installation 2-2-1 Mounting the Board This section describes how to mount a Serial Communications Board in Inner Board slot 1 of a CPU Unit. Slot 1 is the slot on the left. Only one Serial Commu- nications Board can be installed in each CPU Unit. Note 1. Th e Serial Communications Board cannot be mounted in Inner Boa[...]

  • Page 27

    2-2 Section W iring 15 2-2-2 External Dimensions CS1W-SCB41 Mounted in the CPU Unit Unit: mm 11 0 107 25 2-2-3 Mounting Height and Connector Cover Dimensions When mounting the Serial Communications Board, make sure to provide space for the mounting height and connector cover dimensions shown below . Serial Communication Unit mounted in the CPU Unit[...]

  • Page 28

    2-2 Section Installation 16 2-2-4 Precautions in Handling the Board • T urn OFF the power supply to the CPU Unit before mounting or removing the Board. • T urn OFF the power supply to the CPU Unit before before connecting or dis- connecting Board connectors or wiring. • Separate the port connector lines from the high-tension or power lines to[...]

  • Page 29

    2-3 Section W iring 17 2-3 Wiring 2-3-1 Connectors Prepare connecting cables for port 1 (RS-232C) and port 2 (RS422A/485) using the Sockets and Hoods provided with the Board and the recommended cables. Connection methods vary with the serial communications mode that is being used. Refer to the following sections for connection examples. Host Link: [...]

  • Page 30

    2-3 Section Installation 18 RS-422A/485 Cable Model Manufacturer CO-HC-ESV -3P × 7/0.2 Hirakawa Hewtech Corp. Refer to pages 1 1 and 12 for the connector pin layouts. Refer to 2-3-5 Recom- mended RS-232C Wiring Examples and 2-3-6 Recommended RS-422A/485 Wiring Examples for wiring examples, and to 2-3-7 Wiring Connectors for wiring methods. Standar[...]

  • Page 31

    2-3 Section W iring 19 2-3-4 Port Applicability and Restrictions for 2-W ire/4-Wire Connections The following table shows the port connections that can be used for each serial communications mode. Serial communications RS-232C port RS-422A/485 port mode 1:1 1:N 4-wire 2-wire 1:1 1:N 1:1 1:N Host Link OK OK (See note 2) OK OK No No Protocol macros O[...]

  • Page 32

    2-3 Section Installation 20 Pin Function Factory setting 1 Not used. Always set this pin to ON. ON 2 Built-in terminating resistance setting ON: Connects terminating resistance. OFF: Disconnects terminating resistance. ON 3 2/4-wire setting OFF 4 2-wire: Set both pins to ON. 4-wire: Set both pins to OFF . OFF 5 T ransmission mode (See note) Constan[...]

  • Page 33

    2-3 Section W iring 21 Note Th e Hood (FG) is internally connected to the ground terminal (GR) on the Power Supply Unit. Therefore, FG is grounded by grounding the ground terminal (GR) on the Power Supply Unit. Although there is conductivity between the Hood (FG) an d pin 1 (FG), connect the Hood (FG) to the shield because the Hood (FG) has smaller[...]

  • Page 34

    2-3 Section Installation 22 4-Wire Connections Serial Communications Board Remote device Shield Pin Signal Hood Signal Using a 3G2A9-AL001 Link Adapter Serial Communications Board Remote device Signal Pin RS-422 interface Remote device 3G2A9-AL001 Signal Hood Signal Pin Signal Pin Pin Signal Signal Using an NT -AL001-E RS-232C/RS-422 Link Adapter S[...]

  • Page 35

    2-3 Section W iring 23 Note Th e Hood (FG) is internally connected to the ground terminal (GR) on the Power Supply Unit. Therefore, FG is grounded by grounding the ground terminal (GR) on the Power Supply Unit. Serial Communications Board Power Supply Unit Hood and GR are internally connected. Ground to 100 Ω or less Grounding the GR terminal gro[...]

  • Page 36

    2-3 Section Installation 24 5. Fold back the braided shield. 6. Wrap aluminum foil tape around the folded shield. Aluminum foil tape Shield Not Connected to Hood (FG) 1, 2, 3... 1. Cut the cable to the required length. 2. Remove the specified length of the sheath from the cable using a knife. Be careful not to scratch the braided shield. 25 mm (RS-[...]

  • Page 37

    2-3 Section W iring 25 2-3-8 Soldering 1, 2, 3... 1. Thread a heat-shrinking tube through each conductor . 2. T emporarily solder each conductor to the corresponding connector termi- nals. 3. Completely solder each conductor . Soldering iron Heat-shrinking tube Inside diameter: 1.5 mm, l = 10 4. Return the heat-shrinking tube to the soldered portio[...]

  • Page 38

    2-3 Section Installation 26 2-3-10 Connecting to the Board T ighten the screws firmly with your fingers.[...]

  • Page 39

    27 SECTION 3 Default Settings and Related Bits/Flags This section describes the settings, control bits, flags, and status information available in the CPU Unit for use with the Serial Communications Board. 3-1 Overview 28 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-[...]

  • Page 40

    3-2 Section PC Setup Settings 28 3-1 Overview The following settings, control bits, flags, and information are available in the CPU Unit memory for use with the Serial Communications Board. Contents Addresses PC Setup settings for the Serial Communications Board Port 1: DM 6555 to DM 6559 Port 2: DM 6550 to DM 6554 Control bits, flags, and status i[...]

  • Page 41

    3-2 Section PC Setup Settings 29 Word(s) Bit(s) Function Applicable mode DM 6550 (port 2) DM 6555 (port 1) 00 to 03 Port settings 0: Standard (1 start bit, 7-bit data, even parity , 2 stop bits, 9,600 bps) 1: Settings in DM 6551 (DM 6556 for port 1) Host Link, no- protocol, proto- col macros 04 to 07 CTS control settings 0: Disable; 1: Set Host Lin[...]

  • Page 42

    3-3 Section PC Setup Settings 30 3-3 Control Bits, Flags, and Status Information Control bits, flags, and status information for the Serial Communications Board is available in the Inner Board Slot 1 area. The addresses in this area are as fol- lows: Inner Board Slot 1 Area: IR 200 to IR 207 The following bits are often used in Protocol Macro Mode.[...]

  • Page 43

    3-3 Section PC Setup Settings 31 Word Communications modes Function Bits IR 202 00 to 07 Port 1 Communicating with PT Flags (Bits 00 to 07 are flags for PT s 0 to 7.) NT Link in 1:N mode Repeat counter PV (00 to FF hexadecimal) Protocol macro 00 to 15 Reception counter Th e number of bytes of data received in No-protocol Mode (Hex). Reset to 0 when[...]

  • Page 44

    3-3 Section PC Setup Settings 32 Word Bit(s) Function SR 254 15 Inner Board Error Flag T urns ON when an error occurs in an Inner Board mounted in slot 1 or slot 2. The error code for slot 1 is stored in AR 0400 to AR 0407 and the error code for slot 2 is stored in AR 0408 to AR 0415. AR 04 00 to 07 Slot 1 Inner Board Error Code (Hex) 00: Normal 01[...]

  • Page 45

    33 SECTION 4 Host Link Communications This section describes the procedure and other information required to use Host Link communications. 4-1 Host Link Communications 34 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1-1 Host Link Communications 35 . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Page 46

    4-1 Section Connections 34 4-1 Host Link Communications A Host Link System can be used to send C-mode Host Link commands from a host (e.g., personal computer or PT) to a PC to read/write I/O memory , control operating modes, etc. The PC can also use the TXD( –– ) instruction to send spe- cified I/O memory data to the host for slave-initiated co[...]

  • Page 47

    4-1 Section Application Procedure 35 4-1-1 Host Link Communications Host Link communications are supported by all CQM1H-series CPU Units. A Serial Communications Board can be used to connect a single PC to more than one host computer for Host Link communications, including slave-initiated com- munications. Host Link communications provide the follo[...]

  • Page 48

    4-2 Section Connections 36 4-1-2 Host Link Specifications Item Description Communications mode Half-duplex (Full-duplex for slave-initiated communications) Synchronization Start-stop (asynchronous mode) Baud rate (see note 1) RS-232C port and RS-422A/485 ports: 1,200/2,400/4,800/9,600/19,200 bps Default setting: 9,600 bps Communications distance (s[...]

  • Page 49

    4-2 Section Application Procedure 37 shown below . Perform other processing as required, such as setting switches on the external device(s). Serial Communications Board T erminating resistance ON NT -AL001-E T erminating resistance ON, 5-V power supply required RS-232C RS-422A /485 3G2A9-AL001 RS-422A /485 RS-232C The CPU Unit can be connected to a[...]

  • Page 50

    4-2 Section Connections 38 6. Program the host and the CPU Unit and execute the programs. Host-initiated Communications: Host Link Commands A program must be prepared in the host to send Host Link commands to the PC and receive responses. Program to send commands and receive responses Host Command Serial Communications Board Response PC-initiated C[...]

  • Page 51

    4-3 Section Application Procedure 39 4-3 Connections 4-3-1 T ypes of Connection Port connections for Host Link communications are shown in the following table. Up to 32 nodes can be connected for 1:N connections. Port Configura- tion Schematic diagram RS-232C 1:1 5-V power NT -AL001-E RS-232C Resistance ON Resistance ON RS-422A/485 RS-232C NT -AL00[...]

  • Page 52

    ! 4-3 Section Connections 40 Host Computer Connections 1:1 Connections Using RS-232C Ports IBM PC/A T or Compatible Computers Serial Communications Board RS-232C interface Pin Signal D-sub, 9-pin connector (male) Signal Pin RS-232C interface D-sub, 9-pin connector (female) Computer FG SD RD RTS CTS 5V DSR DTR SG CD RD SD DTR SG DSR RTS CTS CI Using[...]

  • Page 53

    4-3 Section Application Procedure 41 1:N Connections Using RS-232C Ports 5-V (+) power ( – ) D-sub, 9-pin connector (male) NT -AL001-E Link Adapter Shield RS-232C Interface RS-232C Interface RS-232C Interface Signal Pin DIP Switch Settings Pin 1: ON Pin 2: ON (terminating resistance) Pin 3: OFF Pin 4: OFF Pin 5: OFF Pin 6: OFF NT -AL001-E Link Ad[...]

  • Page 54

    4-3 Section Connections 42 1:1 Connections Using RS-422A/485 Ports 5-V (+) power ( – ) D-sub, 9-pin connector (male) NT -AL001-E Link Adapter Shield RS-232C Interface RS-422A / 485 In- terface Signal Pin DIP Switch Settings Pin 1: ON Pin 2: ON (terminating resistance) Pin 3: OFF Pin 4: OFF Pin 5: OFF Pin 6: OFF Pin Serial Communications Board Com[...]

  • Page 55

    4-3 Section Application Procedure 43 1:N Connections Using RS-422A/485 Ports 5-V (+) power ( – ) D-sub, 9-pin connector (male) NT -AL001-E Link Adapter Shield RS-232C Interface DIP Switch Settings Pin 1: ON Pin 2: ON (terminating resistance) Pin 3: OFF Pin 4: OFF Pin 5: OFF Pin 6: OFF Pin Signal Serial Communications Board Computer T erminal bloc[...]

  • Page 56

    4-3 Section Connections 44 4-3-2 Standard Cables from Board to Personal Computer Board port Computer Computer port Network type Model Length Remarks RS-232C port IBM PT/A T or D-sub, 9-pin Host Link XW2Z-200S-CV 2 m Conforms to (D-sub, 9-pin female) compatible male (SYSMAC WA Y ) XW2Z-500S-CV 5 m ESD. The following Connecting Cables can be used to [...]

  • Page 57

    4-4 Section Application Procedure 45 4-4 Host Link Communications 4-4-1 Protocol Host Link communications are executed by means of an exchange of com- mands and responses between the host computer and the PC. The command or response data that is transferred in one exchange is known as a frame and one frame can contain up to 131 characters of data. [...]

  • Page 58

    4-4 Section Connections 46 When the response is longer than 131 characters, it will be divided into more than one frame. A carriage return delimiter ( ↵ , CHR$(13)) instead of a terminator will automatically be set a t the end of the frame. A terminator will be set at the end of the last frame. Item Function @ An “ @ ” symbol is placed at the[...]

  • Page 59

    4-4 Section Application Procedure 47 that is included in the frame makes it possible to check for data errors in the frame. FCS  ↵ 0 1R R 0 @0 014 2 T ext Node No. Header code FCS calculation range T erminator @ 40 0100 0000 EOR 1 31 001 1 0001 EOR 0 30 001 1 0000 EOR R 52 0101 0010 1 31 001 1 0001 0100 0010 ↓↓ Converted to hexadecimal. 4 [...]

  • Page 60

    4-4 Section Connections 48 Th e TXD( –– ) instruction can be used to transmit data from the PC ’ s data area to the host computer . There is no response from the host computer . The TXD( –– ) instruction will be executed after the response has been transmitted if TXD( –– ) is executed while a response to a Host Link command is being r[...]

  • Page 61

    4-4 Section Application Procedure 49 480 Q=ASC(MID$(RESPONSE$,I,1)) XOR Q 490 NEXT I 500 FCSD$=HEX$(Q) 510 IF LEN(FCSD$)=1 THEN FCSD$= ” 0 ” +FCSD$ ’ FCS result 520 IF FCSD$<>FCSP$ THEN FCSCK$= ” ERR ” 530 PRINT ” FCSD$= ” ;FCSD$, ” FCSP$= ” ;FCSP$, ” FCSCK$= ” ;FCSCK$ 540 RETURN Note 1. Normal reception data includes th[...]

  • Page 62

    4-4 Section Connections 50 A transmission delay can be set in the PC Setup to create a minimum interval between sending a response from the PC to a Host Link command until the be- ginning of sending the response to the next command. Th e delay is not used in the response to the first command. The delay will af fect responses to other commands only [...]

  • Page 63

    4-4 Section Application Procedure 51 4-4-3 Host Link Commands Th e Host Link commands listed in the following table can be sent to the CQM1H fo r Host Link communications. Refer to the CQM1H-series Programming Manu- al for details. Header code PC mode Name RUN MON PRG RR V alid V alid V alid IR/SR AREA READ RL V alid V alid V alid LR AREA READ RH V[...]

  • Page 64

    4-4 Section Connections 52 4-4-4 End Codes The response (end) codes listed in the following table are returned in the re- sponse frame for Host Link commands. When two or more errors occur , the end code for the first error will be returned. End code Contents Probable cause Corrective measures 00 Normal completion No problem exists. --- 01 Not exec[...]

  • Page 65

    4-5 Section Application Procedure 53 A response will not be received with some errors, regardless of the command. These errors are listed in the following table. Error PC operation Parity , overrun, or framing error during command reception. (Same even for commands address to other Units.) The Communications Error Flag will be turned ON, an error c[...]

  • Page 66

    4-5 Section Connections 54 Previous products Changes required for CQM1H-series product Model number Previous products Other Wiring Model number C-series CPU Units SRM1 CPM1 CPM1A CPM2A/CPM2C CQM1-CPU  -E C200HS-CPU  -E C200HX/HG/HE- CPU  -E C200HW-COM  -E No changes have been made in wiring. It may be possible to use the hos[...]

  • Page 67

    4-5 Section Application Procedure 55 4-5-2 RS-422A/485 Ports T ake the following differences into consideration when changing from an exist- ing Host Link System to one using an RS-422A/485 port on a CQM1H-series Serial Communications Board. Previous Model number Changes required for CQM1H-series product products Wiring Other C-series Host Link Uni[...]

  • Page 68

    57 SECTION 5 Pr otocol Macr os This section describes the procedure and other information required to use protocol macros. 5-1 Overview of the Protocol Macro Functions 58 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1-1 Protocol Macros 58 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Page 69

    5-1 Section Using Protocol Macros 58 5-1 Overview of the Protocol Macro Functions 5-1-1 Protocol Macros The protocol macro function is used to control devices by using the PMCR( –– ) instruction in the ladder program to execute the data communications se- quences (protocols) with the various communications devices, such as general- purpose devi[...]

  • Page 70

    5-1 Section Using Protocol Macros 59 Protocol Macro Function Specifications Item Description Number of protocols (20 max.) Can be created and registered with the Protocol Support T ool Number of sequences (1,000 max.) (CX-Protocol). Per protocol Number of sequences 60 max. Number of messages 300 max. Number of reception matrixes 100 max. Protocol d[...]

  • Page 71

    5-1 Section Using Protocol Macros 60 Item Description Sequence contents (step common Number of steps per sequence 16 max. parameters) T ransmission control parameters X-on/X-off flow , RTS/CTS flow , delimiter control, or contention control, and modem control can be selected. Response notification method (operand) Scan notification or interrupt not[...]

  • Page 72

    5-1 Section Using Protocol Macros 61 Item Description Step contents Commands Send only (SEND), receive only (RECEIVE), or send and receive (SEND&RECEIVE) Repeat counter 1 to 255 times Retry count 0 to 9 (Only when the command is SEND&RECEIVE) Send wait time 0.01 to 0.99 s, 0.1 to 9.9 s, 1 to 99 s, or 1 to 99 min (Only when the command is SE[...]

  • Page 73

    5-1 Section Using Protocol Macros 62 Item Description Message con- tents *1: Header and terminator data attrib- utes Con- stant ASCII data, hexadecimal data, or control code *2: Data attrib- Con- stant ASCII data, hexadecimal data, or control code (with an address, no control code is possible) utes of ad- dresses and V ari- ables No conversion, con[...]

  • Page 74

    5-1 Section Using Protocol Macros 63 Item Description Message con- tents (contin- *3: Error check codes LRC, LRC2, CRC-CCITT , CRC-16, SUM, SUM1, and SUM2 can be calcu- lated. ued) Maximum length of send/receive mes- sages 256 bytes. Maximum number of data attributes regis- tered in one message 96 attributes (see note 1) Maximum number of write dat[...]

  • Page 75

    5-1 Section Using Protocol Macros 64 If there is no standard system protocol for the required OMRON product or you wish to modify part of the protocol, you can use the CX-Protocol to modify a stan- dard system protocol, transfer this as a separate communications sequence to the Serial Communications Board, and execute the PMCR( –– ) instruction[...]

  • Page 76

    5-2 Section Using Protocol Macros 65 In this manual, the protocol structure is explained in simple terms, and examples are given of the use of the PMCR( –– ) instruction when controlling OMRON de- vices using standard system protocols. For details on the protocols, the method of modifying the standard system protocols, and the method of creatin[...]

  • Page 77

    5-3 Section Using Protocol Macros 66 Item Procedure Restriction Communications port settings on the Board Use the same communications port settings for the Board as those used for the C200HX/HG/HE. The communications port names will be as follows: Communications Port A will be port 1 on the Board. Communications Port B will be port 2 on the Board. [...]

  • Page 78

    5-3 Section Using Protocol Macros 67 Note Th e PC Setup settings for the Serial Communications Board are read constantly during PC operation. It is not necessary to restart the PC after changing these settings. Th e default settings are shown in the following table. These are the standard settings for protocol macros. Port 1 Port 2 Bit(s) Setting F[...]

  • Page 79

    5-3 Section Using Protocol Macros 68 Send Data 7 words from D00000 to D00006 K3N node No. : 00 CompoW ay/F command “ 0101 ” (reads the K3N present value) Number of send bytes CompoW ay/F command send data (V ariable type, read start address, 00, number of elements) S:D00000 D00001 D00002 D00003 D00004 D00005 D00006 0007 0000 0101 000C C000 0000[...]

  • Page 80

    5-3 Section Using Protocol Macros 69 e) T ransferring the created project to the Board: See 1 1.1 T ransferring and Reading Protocol Data between Personal Computers and Serial Communications Boards . 3. Create the ladder program. a) Setting Send Data • Specifying Operands Set the send data in the I/O memory after the S+1 operand of the PMCR( –?[...]

  • Page 81

    5-4 Section Using Protocol Macros 70 5-4 Connections This section describes the connections for protocol macros. Up to 32 nodes can be used for 1:N connections. Port Configuration Schematic diagram RS-232C 1:1 Resistance ON NT -AL001-E Resistance ON NT -AL001-E RS-232C RS-232C interface RS-232C RS-422A/485 RS-232C interface NT -AL001-E RS-232C RS-4[...]

  • Page 82

    5-4 Section Using Protocol Macros 71 Port Schematic diagram Configuration RS-422A/485 1:N RS-422A/485 RS-232C interface RS-422A/485 Resistance ON RS-422A/485 interface RS-422A/485 interface 3G2A9-AL001 Resistance ON Resistance ON Resistance ON NT -AL001-E RS-232C RS-232C RS-232C Resistance ON 5-V power Resistance ON RS-422A/485 Note 1. The maximum [...]

  • Page 83

    5-4 Section Using Protocol Macros 72 Connecting a Host Computer with NT -AL001-E Converting Link Adapters 5-V (+) power ( – ) NT -AL001-E Link Adapter RS-232C Interface RS-232C Interface Signal Pin DIP Switch Settings Pin 1: ON Pin 2: ON (terminating resistance) Pin 3: OFF (4-wire) Pin 4: OFF Pin 5: OFF Pin 6: OFF NT -AL001-E Link Adapter RS-232C[...]

  • Page 84

    5-4 Section Using Protocol Macros 73 1:N Connections Using RS-232C Ports Signal Pin Serial Communications Board Shield NT -AL001-E Device supporting RS-422A/485 communications (4-wire) RS-422A /485 interface RS-422A Shield DIP SW Pin 1: ON Pin 2: ON T erminating resistance Pin 3: OFF 4-wire Pin 4: OFF Pin 5: OFF Pin 6: ON T erminal block Signal Pin[...]

  • Page 85

    5-4 Section Using Protocol Macros 74 1:1 Connections Using RS-422A/485 Ports Signal Pin Serial Communications Board RS-422A /485 in- terface Device supporting RS-422A/485 communications (2-wire) Serial Communications Board Device supporting RS-422A/485 communications (4-wire) Hood Shield D-sub, 9-pin connector (male) Signal Signal Pin Shield D-sub,[...]

  • Page 86

    5-4 Section Using Protocol Macros 75 1:N Connections Using RS-422A/485 Ports Signal Pin Serial Communications Board RS-422A/ 485 inter- face Device supporting RS-422A/485 communications (2-wire) Hood D-sub, 9-pin connector (male) Signal RS-422A/ 485 inter- face D-sub, 9-pin connector (male) RS-422A/ 485 Inter- face Signal Pin Pin Pin Signal Signal [...]

  • Page 87

    5-5 Section Using Protocol Macros 76 5-5 Protocol Structure Protocols consist of communications sequences. A sequence consists of steps. These steps can be repeated, or they can be branched or ended depending on the responses received. A step consists of a command, send/receive mes- sages, processing results, and the next process (which depends on [...]

  • Page 88

    5-5 Section Using Protocol Macros 77 Depending on the response received, the user can either choose to resend the same send message (retry processing), or to perform the next process (for ex- ample, read the process value for a T emperature Controller with a different ad- dress). One protocol Sequence No. 000 to 999 (60 sequences max./protocol) Tra[...]

  • Page 89

    5-5 Section Using Protocol Macros 78 Parameter Meaning Command One of the following: SEND, RECEIVE, or SEND&RECEIVE Messages Send message The message sent for SEND. Receive message The expected message for RECEIVE. Send message and receive message The message sent and the expected message for SEND&RECEIVE. Reception matrix A group of expect[...]

  • Page 90

    5-5 Section Using Protocol Macros 79 Level Setting Item Send message Header <h> “ @ ” SD (00) _1 T erminator <t> [2A0D] SD (00) _1 Error check code <c> LRC (horizontal parity) (0) (2 bytes of ASCII) Length <l> --- Address <a> $ (R (1) ) ,2) Message edited <h> + <a> + “ 1 ” + “ 00 ” + “ 0000 ?[...]

  • Page 91

    5-6 Section Using Protocol Macros 80 5-6 Control Bits, Flags, and Status Information Control bits, flags, and status information for the Serial Communications Board are available in the Inner Board Slot 1 area. The addresses in this area are as follows: Inner Board Slot 1 Area: IR 200 to IR 207 Al l of the bits in the following table are initialize[...]

  • Page 92

    5-6 Section Using Protocol Macros 81 Word Reset Set Classifi- cation Name and Function Bits IR 201 00 to 03 Port 1 Error Code (Transmission Error Status) When an error occurs during transmissions for a protocol macro, an error code will be output to these bits. 0: Normal operation 1: Parity error 2: Framing error Error codes 3 to 7 are not possible[...]

  • Page 93

    5-6 Section Using Protocol Macros 82 Word Reset Set Classifi- cation Name and Function Bits IR 204 00 Port 1 T racing Flag According to instructions from the CX-Protocol, this flag is turned ON while time-series data for send and receive messages is being traced. T racing Start of trace Start of sequence or end of trace 01 Port 2 T racing Flag Same[...]

  • Page 94

    5-6 Section Using Protocol Macros 83 Word Reset Set Classifi- cation Name and Function Bits IR 207 00 Port 1 Restart Bit The communications port will be restarted when this bit is turned ON by the user . Port sta- tus User-set or STUP( –– ) After settings are changed 01 Port 2 Restart Bit Same as IR 20700. and port restarted 02 Port 1 Continuou[...]

  • Page 95

    5-6 Section Using Protocol Macros 84 Word Reset Set Classifi- cation Name and Function Bits IR 207 08 Port 1 Protocol Macro Executing Flag (instruction execution) This flag is turned ON when a PMCR( –– ) instruction (se- quence) is executed. The flag will remain OFF if execution fails. When the sequence is completed and receive data is writ- te[...]

  • Page 96

    5-7 Section Using Protocol Macros 85 Error Codes The contents of the error codes are shown in the following table. Code Error contents Protocol macro execution 0 No error Executed 2 Sequence Number Error The sequence number specified by the PMCR( –– ) instruction does not exist in the Board. Not executed 3 Receive Data/Write Area Exceeded Error[...]

  • Page 97

    5-7 Section Using Protocol Macros 86 The number of send words in S+1 and the following words is stored in S. The setting range is 0001 to 0129 (4 digits BCD). S is also included in the number of words. Note When there is no send data, set S to #0000. If any other constant or a word ad- dress is set, an error will occur , the Error Flag (SR 25503) w[...]

  • Page 98

    5-7 Section Using Protocol Macros 87 Operand Areas and Address Ranges Area C S D IR and SR Areas IR 000 to IR 255 IR 000 to IR 252 HR Area HR 00 to HR 99 AR Area AR 00 to AR 27 LR Area LR 00 to LR 63 Timer and Counter Area TIM/CNT000 to TIM/CNT51 1 Data Memory (DM) Area DM 0000 to DM 6655 DM 0000 to DM 6143 Extended Data Memory (EM) Area EM 0000 to[...]

  • Page 99

    5-7 Section Using Protocol Macros 88 5-7-3 Ladder Program Example Th e following diagram shows an example in which sequence number 000 (Pres- ent V alue Read) for a T emperature Controller (E5  K Read Protocol) is executed using the protocol for an OMRON T emperature Controller connected to port 2 (RS-422A/485) of a Serial Communications Board. [...]

  • Page 100

    5-7 Section Using Protocol Macros 89 Reading the present value of E5  K Unit No. 03 and storing it in DM 0201 C: Control data 0000: Sequence No. 000 S: First send data word D: First receive data storage word Number of receive data words = 2 Present value is stored. (4-digit BCD) Number of send data words = 2 Unit No. = 03 Present value Port 1 S:[...]

  • Page 101

    5-7 Section Using Protocol Macros 90 The following diagram shows an example in which sequence number 000 (PRESENT V ALUE READ) of a T emperature Controller (E5  K Read System) is executed using the PMCR( –– ) instruction. If the sequence has been completed normally , the present value that has been read is transferred to another word. Protoc[...]

  • Page 102

    5-7 Section Using Protocol Macros 91 T ransmission Methods Although the following two transmission methods are commonly used, only half- duplex transmissions are supported for CQM1H protocol macros. A B Or A B Half-duplex: Data can be sent only one direction at a time. A B Full-duplex: Data can be sent in both directions at the same time. The use o[...]

  • Page 103

    5-7 Section Using Protocol Macros 92 Time Lag t1 Baud rate (b/s) Lag time (ms) 1,200 30 2,400 15 4,800 8 9,600 5 19,200 3 Note The lag time shown above is an approximate value. It may become longer de- pending on the protocol macro processing. Error Flags for Overrun, Framing, and Parity Errors When an overrun, framing, or parity error is detected [...]

  • Page 104

    5-7 Section Using Protocol Macros 93 troller . When sequence execution has been completed, the PV is transferred to words to store it. Execution condition Protocol Macro Exe- cuting Flag Protocol Macro Executing Flag T ransfer Step Error Processing Flag T ransfer Step Error Processing Flag If IR 20708 is OFF when the execution condition turns ON, s[...]

  • Page 105

    5-7 Section Using Protocol Macros 94 Example 1 Sequence Error Sequence ended abnormally Step No. 01 Error Sequence ended abnormally Sequence ended normally Example 2 Sequence Step No. 01 Step No. 02 Error Se- quence ended abnor- mally Sequence ended normally Sequence ended normally When the Sequence Ends Normally Sequence executed Sequence complete[...]

  • Page 106

    5-7 Section Using Protocol Macros 95 Precautions on Using the Force Abort Bit Th e Protocol Macro Executing Flag will turn OFF as soon as the Forced Abort Bit is turned ON from the ladder program. The Forced Abort Bit must remain ON for at least 15 ms longer than the CPU Unit cycle time. Thus, the sequence will not be aborted if the Forced Abort Bi[...]

  • Page 107

    97 SECTION 6 No-protocol Communications This section provides information required to use no-protocol communications on a Serial Communications Board port. 6-1 Overview 98 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2 Application Procedure 100 . . . . . . . . . . . [...]

  • Page 108

    6-1 Section Using No-protocol Communications 98 6-1 Overview Data can be sent or received without a protocol and without conversion by con- necting an external device to the RS-232C port and executing the TXD( –– ) or RXD( –– ) instruction from the ladder program. Start and end codes can be at- tached to the data or the amount of data to be[...]

  • Page 109

    6-1 Section Using No-protocol Communications 99 Send/Receive Message Frames Start code End code No Ye s CR+LF No Data 256 bytes max. 256 bytes max. Data ED 256 bytes max. Data CR+LF Ye s 256 bytes max. Data ST 256 bytes max. Data ST ED 256 bytes max. Data ST CR+LF • Only the first start code is valid if there is more than one start code. • Only[...]

  • Page 110

    6-2 Section Using No-protocol Communications 100 6-2 Application Procedure 1, 2, 3... 1. Turn OFF the power supply to the PC. 2. Mount the Board. 3. Connections Connect the external devices using RS-232C or RS-422 cables. The TERM a nd WIRE switches on the front panel of the Board must be set if the Board is connected using the RS-422A/485 port. Th[...]

  • Page 111

    6-3 Section Using No-protocol Communications 101 6-3 Connections The connection examples in this section show only the basic connection dia- grams. W e recommend that appropriate noise countermeasures be taken in ac- tual applications, including the use of shielded twisted-pair cables. Refer to 2-3 Wiring for actual wiring methods. The following di[...]

  • Page 112

    6-4 Section Using No-protocol Communications 102 6-4 Using No-protocol Communications 6-4-1 TRANSMIT – TXD( –– ) and RECEIVE – RXD( –– ) This section describes using TXD( –– ) and RXD( –– ) for no-protocol communica- tions. TRANSMIT – TXD( –– ) in No-protocol Mode First source word Control word Number of bytes (4 digits BC[...]

  • Page 113

    6-4 Section Using No-protocol Communications 103 RECEIVE – RXD( –– ) in No-protocol Mode First destination word Control word Number of bytes (4 digits BCD, 0000 to 0256) RXD( –– ) D C N Control Word: C Byte order 0: Most significant bytes first 1: Least significant bytes first Not used. (Set to 0.) Port 0: RS-232C port on CPU Unit 1: Port[...]

  • Page 114

    6-4 Section Using No-protocol Communications 104 6-4-2 TXD( –– ) Communications Procedure Confirm that the T ransmission Enabled Flag is ON before executing TXD( –– ). Th e Port 1 T ransmission Enabled Flag is IR 20105 and the Port 2 T ransmission Enabled Flag is IR 201 13. The T ransmission Enabled Flag will turn OFF while TXD( –– ) is[...]

  • Page 115

    6-4 Section Using No-protocol Communications 105 Port 1 Port 2 Function IR 20100 to IR 20103 IR 20108 to IR 201 1 1 Error Code 0: Normal operation 1: Parity error 2: Framing error 3: Overrun error IR 20104 IR 201 12 Communications Error Flag IR 20107 IR 201 15 Reception Overflow Flag (T urns ON when data is received again before the previous data i[...]

  • Page 116

    107 SECTION 7 Communications for 1:1 Data Links This section provides information required to create 1:1 Data Links through a Serial Communications Board port. 7-1 Overview 108 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1-1 Starting Data Links 108 . . . . . . . . .[...]

  • Page 117

    7-1 Section Overview 108 7-1 Overview If two PCs are linked one-to-one by connecting them together through RS-232C or 4-wire RS-422A/485 cable, they can share up to 64 words of their LR areas. Th e 1:1 Data Links are the same as normal Data Links in that data is not shared bidirectionally , i.e., the link words written by one PC are transferred to [...]

  • Page 118

    7-2 Section Using 1:1 Data Links 109 7-1-2 Specifications Item Specification Connection method Connection of 2 PCs through their RS-232C ports (prepared cable). Note RS-422A/485 ports can also be connected if a 4-wire con- nection method is used. Applicable PCs CQM1H, CQM1, CPM1, CPM1A, CPM2A, CPM2C, or SRM1(-V2), C200HX/HG/HE, C200HS There are res[...]

  • Page 119

    7-3 Section Overview 11 0 Port 1 Port 2 Bits Setting Function DM 6555 DM 6550 00 to 07 --- Not used. 08 to 1 1 0 Hex Link words for 1:1 Data Link 0: LR 00 to LR 63 (default) 1: LR 00 to LR 31 2: LR 00 to LR 15 12 to 15 3 Hex Communications mode 2: 1:1 Data Link slave 3: 1:1 Data Link master DM 6556 DM 6551 00 to 15 --- Not used. DM 6557 DM 6552 00 [...]

  • Page 120

    7-4 Section Using 1:1 Data Links 111 7-4 Using 1:1 Data Links This section provides an example of using 1:1 Data Links. Conditions The following settings are made in the PC Setup before executing the program. Master PC Settings Communications mode: 1:1 Data Link master Link words: LR 00 to LR 15 Slave PC Settings Communications mode: 1:1 Data Link [...]

  • Page 121

    11 3 SECTION 8 NT Link Communications This section describes the procedure and other information required to use 1:N-mode and 1:1-mode NT Links to Program- mable T erminals (PT s). 8-1 Overview of NT Links 1 14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1-1 NT Links — 1:N Mode 1 14 [...]

  • Page 122

    8-1 Section Connections 11 4 8-1 Overview of NT Links This section explains the application of a Serial Communications Board for an NT Link in either 1:N or 1:1 mode. For details on the operation of the PT , refer to the operation manual for the PT . Note In an NT Link using 1:N mode, a PC can be connected to either one or more than on e P T s. The[...]

  • Page 123

    8-1 Section Connections 11 5 3. Th e Programming Console functions of the PT (Expansion Mode) cannot be used when connected to Serial Communications Board ports. They can be used only by connecting to the peripheral port or RS-232C port on the CPU Unit. This is true in both 1:1 and 1:N mode. 4. When using 1:N-mode NT Links, set a unique unit number[...]

  • Page 124

    8-2 Section Connections 11 6 6. With some PT s, timeout settings can be changed to eliminate some of the communications errors. Refer to the operation manual for the PT for details. This is true in both 1:1 and 1:N mode. 7. If more PT s are required by the system than allowed by the above restric- tions in 1:N mode, connect the PT s in smaller grou[...]

  • Page 125

    8-3 Section Connections 11 7 Port 1 Function Setting Bit(s) Port 2 DM 6556 DM 6551 00 to 15 --- Not used. DM 6557 DM 6552 00 to 15 DM 6558 DM 6553 00 to 15 DM 6559 DM 6554 00 to 15 Port Settings are always the same for 1:1-mode NT Links. Settings of the start bits, stop bits, parity , and baud rate are not necessary and will be ig- nored. Set the c[...]

  • Page 126

    8-3 Section Connections 11 8 1:N, 4-wire Connections from RS-422A/485 to RS-422A/485 Ports (1:N Mode) Serial Communications Board Pin Signal Signal PT T erminal block or D-sub connector RS-422A /485 In- terface FG Hood D-sub, 9-pin connector (male) RS-422 A/485 Inter- face Short bar Signal PT T erminal block or D-sub connector FG RS-422A /485 In- t[...]

  • Page 127

    11 9 SECTION 9 T roubleshooting and Maintenance This section describes the troubleshooting and maintenance procedures for the Serial Communications Boards. 9-1 Front-panel Indicator Error Displays 120 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2 T roubleshooting 121 . . . . . . . . . . . . . . . . . . . . [...]

  • Page 128

    9-1 Section Board Replacement 120 9-1 Front-panel Indicator Error Displays Indicators Possible cause Remedy Board CPU Unit RDY ERR/ALM Lit Not lit The Serial Communications Board has started normally . --- Not lit Lit The Serial Communications Board is faulty (hardware self-diagnostic function). Board watchdog timer error: IR 20000 will turn ON. A [...]

  • Page 129

    9-2 Section Board Replacement 121 For Serial Communications Boards, refer to the following error flags. When an error occurs, the corresponding flag is turned ON. All of these flags represent non-fatal errors. Word Bit Name Probable cause Possible remedy IR 200 00 Serial Communications Board Hardware Error Flag The Board has failed. Secure the Boar[...]

  • Page 130

    9-2 Section Board Replacement 122 Serial com- munications mode Remedy Cause I/O memory Status information, etc. Indicator status Serial commu- nications mode is not set to Host Link. --- --- Bits 12 to 15 (Serial Communications Mode) of DM 6555/DM 6550 are set to a value other than 0 Hex. Serial communica- tions mode is not set correctly . Set bits[...]

  • Page 131

    9-2 Section Board Replacement 123 Serial com- munications mode Remedy Cause I/O memory Status information, etc. Indicator status Serial commu- nications mode is set to Host Link. (Contin- ued) The COMM  indicators are flashing, but the response has not been returned to the There is a transmission error . The error code in IR 20100 to IR 20103 fo[...]

  • Page 132

    9-2 Section Board Replacement 124 Serial com- munications mode Remedy Cause I/O memory Status information, etc. Indicator status Host Link, slave-initiated communica- tions The COMM  indicators are flashing, but there is no re- sponse from the host. A transmis- sion error has not been detected at the host. --- There is a hard- ware error in the [...]

  • Page 133

    9-2 Section Board Replacement 125 9-2-2 Protocol Macros Serial commu- nications mode Indicator display Status information, etc. I/O memory Cause Remedy Serial com- munica- tions mode is not set to protocol macro. --- --- Bits 12 to 15 (Serial Communications Mode) of DM 6555/DM 6550 are set to a value other than 6 Hex. Serial communications mode is [...]

  • Page 134

    9-2 Section Board Replacement 126 Serial commu- nications mode Remedy Cause I/O memory Status information, etc. Indicator display Serial com- munica- tions mode is set to protocol macro. The COMM  indicators do not flash at all. (Commu- nications have not The PMCR( –– ) instruction is executed, but IR 20708 or IR 20712 (Protocol Macro Execut[...]

  • Page 135

    9-2 Section Board Replacement 127 Serial commu- nications mode Remedy Cause I/O memory Status information, etc. Indicator display Serial com- munica- tions mode is set to protocol macro. The COMM  indicators are flash- ing, but the Serial A transmission error occurs. The error code in IR 20100 to IR 20103 for port 1 or IR 20108 to IR 201 1 1 for[...]

  • Page 136

    9-2 Section Board Replacement 128 Error code Remedy Cause Error details Indicator 2 Hex No display Sequence number error The communications sequence number specified in bits 00 to 1 1 of the PMCR( –– ) instruction ’ s C operand is not registered. Correct the communications sequence number . Use CX-Protocol to register the specified communicat[...]

  • Page 137

    9-2 Section Board Replacement 129 9-2-3 1:N NT Link Mode Serial commu- nications mode Indicator display Status information, etc. I/O memory Cause Remedy Serial commu- nications mode is not set to NT Link. --- --- Bits 12 to 15 (Serial Commu- nications Mode) of DM 6555/ DM 6550 are set to a value other than 5 Hex. Serial communica- tions mode is not[...]

  • Page 138

    9-3 Section Board Replacement 130 Serial commu- nications mode Remedy Cause I/O memory Status information, etc. Indicator display Serial commu- nications mode is set to NT Link. The COMM  indicators are flashing, but a communica- tions error sometimes oc- curs in the PT . --- --- Cables are incor- rectly connected. The RS-422A/485 port setting ([...]

  • Page 139

    9-3 Section Board Replacement 131 9-3-2 Inspection T o keep the Serial Communications Board in optimum condition, regular inspec- tions must be performed. Normally , inspect the devices once every six months or every year . Inspect the devices at more regular intervals when they are being used in environments subject to high temperatures, high humi[...]

  • Page 140

    9-4 Section Board Replacement 132 9-4 Board Replacement A malfunction of the Serial Communications Board may affect the operation of remote communications devices, so be sure to perform repairs or replace the faulty Board promptly . Make sure a spare Serial Communications Board is avail- able to replace a faulty one, so that functionality can be re[...]

  • Page 141

    9-4 Section Board Replacement 133 4. Turn ON the power of the PC to which the replacement Serial Communica- tions Board is mounted, and to all serially connected external devices, and start operating the system. 5. Check from the indicators and status display that the system is operating normally . Protocol Macros Designed with CX-Protocol 1, 2, 3.[...]

  • Page 142

    135 Appendix A Introduction Appendices B t o N provide information on the standard system protocols provided with the CX-Protocol, the Serial Communications Boards. Refer to 5-7 Using Protocol Macros for details on using PMCR( –– ). Using Standard System Protocols Standard system protocols can be executed merely by specifying the sequences numb[...]

  • Page 143

    Appendix A Introduction 136 D: Receive Data Word Allocation (4th Operand) Receive data storage words Number of receive data words +0 +1 +2 Response code Receive data Offset Contents (data format) Data D+0 Number of receive data words (4 digits BCD) 0003 to 0128 BCD D+1 Response code (4 digits Hex) The response code will be stored in hexadecimal for[...]

  • Page 144

    137 Appendix B CompoW ay/F Master Protocol The CompoWay/F Master Protocol is used to send CompoW ay/F commands with the CS1-series PC serving as the host (master). CompoW ay/F CompoW ay/F is a protocol used by many OMRON components for serial communications. A host computer of a PC can function as a host (master) to send CompoWay/F commands (messag[...]

  • Page 145

    Appendix B CompoW ay/F Master Protocol 138 Communications Specifications Item Specification T ransmission path connections Multipoint Communications RS-232C, RS-422A/485, 4-wire half-duplex, 2-wire half-duplex Synchronization Start-stop Baud rate 1,200/2,400/4,800/9,600/19,200 bps Default: 9,600 bps T ransmitted code ASCII Data length 7 bits or 8 b[...]

  • Page 146

    Appendix B CompoW ay/F Master Protocol 139 Command Frame Contents Item Meaning STX A code, 02 Hex, indicating the beginning of a communications frame (text). This code must always be set as the first byte. Node number The node number identifies the source of the command frame. Specify “ XX ” to broadcast a transmission. There will be no respons[...]

  • Page 147

    Appendix B CompoW ay/F Master Protocol 140 Note The end codes are described in the following table. End code Name Meaning “ 00 ” Normal end The command frame was processed normally without any of the following errors. “ 0F ” Command error The specified command could not be executed. Refer to the response code for more information. “ 10 ?[...]

  • Page 148

    Appendix B CompoW ay/F Master Protocol 141 Example: V ARIABLE AREA READ The following command and text are used to read the present value, maximum value, minimum value, and status of the Intelligent Signal Processor . Command and T ext 4 bytes 2 bytes 2 bytes 2 bytes 4 bytes V ariable type First read address No. of elements 1, 2, 3... 1. V ariable [...]

  • Page 149

    Appendix B CompoW ay/F Master Protocol 142 CompoW ay/F Master Protocol Sequences The CompoW ay/F Master Protocol provides six communications sequences that can be used for the following: • Converting to ASCII data or not converting to ASCII data • Sending to a specified Unit or broadcasting • Specifying from the command code or specifying fro[...]

  • Page 150

    Appendix B CompoW ay/F Master Protocol 143 CompoW ay/F Message Frames and PMCR(260) Operands The relationship between the CompoWay/F command and response frames and the operands of PMCR(260) is shown below , using communications sequence No. 600 as an example. Command Frame Communications port: 1 Send/receive sequence number: 600 (0258 Hex) Node No[...]

  • Page 151

    Appendix B CompoW ay/F Master Protocol 144 Send Data Word Allocation (2nd Operand of PMCR(260)) Send data First word of send data Number of send data words +0 +1 +2 +3 +4 (Undefined) Node No. MRC SRC Number of send bytes Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0005 to 0128 +1 (Undefined) Node No. (2 digits BCD[...]

  • Page 152

    Appendix B CompoW ay/F Master Protocol 145 Example: The following example illustrates reading the present value from a K3N  -series Intelligent Signal Proc- essor . CS1-series PC CompoW ay/F response Read data = present value CompoW ay/F command V ARIABLE AREA READ Command code: 01 01 First read address Intelligent Signal Processor K3N  - [...]

  • Page 153

    Appendix B CompoW ay/F Master Protocol 146 The 2nd and 3rd operands of the PMCR(260) instruction are specified as follows. Send Data Word Allocation (2nd Operand of PMCR(260)) Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0007 +1 (Undefined) Node No. (2 digits BCD) 0000 Hex +2 MRC (2 digits Hex) SRC (2 digits Hex) 0[...]

  • Page 154

    Appendix B CompoW ay/F Master Protocol 147 2. When hexadecimal data is converted to ASCII data, data is sent starting from the send data word with the largest offset. This is done because ladder programming handles data in 4-byte units. 1234 5678 Send data words Send frame “ 56 ”“ 78 ”“ 12 ”“ 34 ” Receive Data Word Allocation (3rd O[...]

  • Page 155

    Appendix B CompoW ay/F Master Protocol 148 Broadcast with No Conversion and No Response (Sequence No. 603) This sequence broadcasts the specified data beginning with the command code No responses are received and no conversions are performed on the send data. Send Data Word Allocation (2nd Operand of PMCR(260)) Send data First word of send data Num[...]

  • Page 156

    Appendix B CompoW ay/F Master Protocol 149 General-purpose Send with No Conversion and with Response (Sequence No. 604) This sequence sends the specified data beginning with the subaddress and SID to the specified Unit. The re- sponse is stored starting at the specified word. No conversions are performed on the send and receive data. Send Data Word[...]

  • Page 157

    Appendix B CompoW ay/F Master Protocol 150 General-purpose Broadcast with No Conversion and No Response (Sequence No. 605) This sequence broadcasts the specified data beginning with the subaddress and SID. No responses are received and no conversions are performed on the send data. Send Data Word Allocation (2nd Operand of PMCR(260)) Send data Firs[...]

  • Page 158

    Appendix B CompoW ay/F Master Protocol 151 Connections Connection methods between a Serial Communications Board and the K3N  -series Intelligent Signal Processor are shown below . RS-232C • RS-232C connections are one-to-one. • The max. cable length is 15 m. Use an RS-232C optical interface (Z3RN) when extending the transmission line beyond [...]

  • Page 159

    Appendix B CompoW ay/F Master Protocol 152 RS-422 4-wire Connections • RS-422 connections can be one-to-one, or one-to-N when a 3G2A9-AL001 Link Adapter is used. A maximum o f 32 Serial Communications Boards can be connected in one-to-N systems. • The total cable length can be 500 m max. • Use shielded, twisted-pair cable. • Be sure to turn[...]

  • Page 160

    153 Appendix C E5  K Digital Controller Read Protocol The E5  K Digital Controller Read Protocol reads and controls various parameters in remote mode for the Con- troller connected to the Serial Communications Board via RS-232C or RS-485 cable. Structure of the Protocol The following table shows the structure of the E5  K Digital Controlle[...]

  • Page 161

    Appendix C E5 j K Digital Controller Read Protocol 154 Connection Configuration The connection configuration for using the E5  K Digital Controller Read Protocol is shown below . RS-232C Connection Serial Commu- nications Board RS-232C port E5  K Serial Communications Board Signal name Pin No. Shielded cable E5  K → T erminal No. Signal [...]

  • Page 162

    Appendix C E5 j K Digital Controller Read Protocol 155 terminator to units No.0 to No.29. Use a resistance of 120 Ω (1/2W) for the terminators (the total resis- tance of both ends must be 54 Ω or more). T erminator (120   /2 W) A<B: [1] Mark A>B: [0] Space Serial Communications Board Pin No. Shielded cable E5CK (No. 30) T erminal[...]

  • Page 163

    Appendix C E5 j K Digital Controller Read Protocol 156 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0002 +1 Set point during SP ramp (4 digits BCD) Set point lower limit to upper limit Read MV (Sequence No. 002) Reads the MV (manipulated variable) for heating and cooling and stores the results in the specified w[...]

  • Page 164

    Appendix C E5 j K Digital Controller Read Protocol 157 Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No. (2 digits BCD) 00 to 31 Receive Data Word Allocation (3rd Operand [...]

  • Page 165

    Appendix C E5 j K Digital Controller Read Protocol 158 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No. (2 digits BCD) 00 to 31 Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words Number of receive data words +0 +1 Cooling coefficient Offset Contents (data format) Data[...]

  • Page 166

    Appendix C E5 j K Digital Controller Read Protocol 159 Read Hysteresis (Sequence No. 009) Reads the hysteresis for heating and for cooling and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (data format) Data +0 N[...]

  • Page 167

    Appendix C E5 j K Digital Controller Read Protocol 160 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No. (2 digits BCD) 00 to 31 Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words Number of receive data words +0 +1 +2 SP ramp time unit SP ramp set value Offset Contents[...]

  • Page 168

    Appendix C E5 j K Digital Controller Read Protocol 161 Read MV at Stop T ime and at PV Error (Sequence No.013) Reads the MV at stop time and at PV error and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (data for[...]

  • Page 169

    Appendix C E5 j K Digital Controller Read Protocol 162 Read Input Digital Filter (Sequence No. 015) Reads the input digital filter and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (data format) Data +0 Number of[...]

  • Page 170

    Appendix C E5 j K Digital Controller Read Protocol 163 Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words Number of receive data words +0 +1 +2 Input shift upper limit Input shift lower limit Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0003 +1 Input shift upper limit (4 digits BCD) A9[...]

  • Page 171

    Appendix C E5 j K Digital Controller Read Protocol 164 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) Number of units  5 + 1 +1 1st unit Process value (4 digits BCD) Scaling lower limit to upper limit +2 1st unit Set point during SP ramp (4 digits BCD) Set point lower limit to upper limit +3 1st unit MV (heatin[...]

  • Page 172

    Appendix C E5 j K Digital Controller Read Protocol 165 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) Number of units  6 + 1 +1 1st unit Alarm value 1 (4 digits BCD) A999 to 9999 F indicates a negative value and A indicates – 1. +2 1st unit Alarm value 2 (4 digits BCD) A999 to 9999 F indicates a negative valu[...]

  • Page 173

    Appendix C E5 j K Digital Controller Read Protocol 166 Receive Data Word Allocation (3rd Operand of PMCR) Cooling coef ficient Receive data storage words Number of receive data words +0 +1 +2 +3 +4 +5 +6 +7 +50 +51 +52 +53 +54 +55 +56 Cooling coefficient Dead band Manual reset value Hysteresis (heating) Hysteresis (cooling) ~ ~ Dead band Manual res[...]

  • Page 174

    Appendix C E5 j K Digital Controller Read Protocol 167 Read Level 2 Parameters 1 (Sequence No. 021) Reads parameters in level 2 (SP ramp time unit, SP ramp set value, LBA detection time, MV at stop, MV at PV Error , MV upper limit, MV lower limit, and MV change rate limit) from multiple units and stores the results in the specified words. Send Data[...]

  • Page 175

    Appendix C E5 j K Digital Controller Read Protocol 168 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) Number of units  8 + 1 +1 1st unit SP ramp time unit (4 digits BCD) 0000: s, 0001: hr +2 1st unit SP ramp set value (4 digits BCD) 0000 to 9999 +3 1st unit LBA detection time (4 digits BCD)} 0000 to 9999 +4 1st[...]

  • Page 176

    Appendix C E5 j K Digital Controller Read Protocol 169 Receive Data Word Allocation (3rd Operand of PMCR) Input digital filter Receive data storage words Number of receive data words +0 +1 +2 +3 +4 +5 +6 +43 +44 +45 +46 +47 +48 Input digital filter Alarm 1 hysteresis Alarm 2 hysteresis Alarm 3 hysteresis Input shift upper limit ~ ~ Alarm 1 hysteres[...]

  • Page 177

    Appendix C E5 j K Digital Controller Read Protocol 170 General-purpose Read (Sequence No. 023) Reads the specified parameter and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 (Undefined) Unit No. (Undefined) Parameter No. Offset Contents (data fo[...]

  • Page 178

    171 Appendix D E5  K Digital Controller W rite Protocol The E 5  K Digital Controller Write Protocol writes and controls various settings in remote mode for the Controller connected to the Serial Communications Board via RS-232C or RS-485 cable. Note Negative values cannot be written. All values must be set as unsigned BCD. Structure of the P[...]

  • Page 179

    Appendix D E5 j K Digital Controller W rite Protocol 172 Connections The connections are the same as that for the E5  K Digital Controller Read Protocol. W rite Set Point (Sequence No. 050) Writes the set point. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 (Undefined) Unit No. set poi[...]

  • Page 180

    Appendix D E5 j K Digital Controller W rite Protocol 173 Receive Data Word Allocation (3rd Operand of PMCR) None. W rite Cooling Coefficient (Sequence No. 053) Writes the cooling coef ficient. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 (Undefined) Unit No. Cooling coefficient Offset Co[...]

  • Page 181

    Appendix D E5 j K Digital Controller W rite Protocol 174 Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 +3 (Undefined) Unit No. Hysteresis (heating) Hysteresis (cooling) Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0004 (fixed) +1 Unit No. (2 digits BCD) 0[...]

  • Page 182

    Appendix D E5 j K Digital Controller W rite Protocol 175 Receive Data Word Allocation (3rd Operand of PMCR) None. W rite LBA Detection Time (Sequence No. 059) Writes the LBA detection time. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 (Undefined) Unit No. LBA detection time Offset Conten[...]

  • Page 183

    Appendix D E5 j K Digital Controller W rite Protocol 176 Receive Data Word Allocation (3rd Operand of PMCR) None. W rite Input Digital Filter (Sequence No. 062) Writes the input digital filter . Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 (Undefined) Unit No. Input digital filter Offset[...]

  • Page 184

    Appendix D E5 j K Digital Controller W rite Protocol 177 Receive Data Word Allocation (3rd Operand of PMCR) None. W rite Level 0 Parameters (Sequence No. 065) Writes parameters (set points) in level 0 to multiple units. Send Data Word Allocation (2nd Operand of PMCR) (Undefined) Unit No. First word of send data Number of send data words +0 +1 +2 +3[...]

  • Page 185

    Appendix D E5 j K Digital Controller W rite Protocol 178 W rite Level 1 Parameters 1 (Sequence No. 066) Writes parameters in level 1 (alarm value 1, alarm value 2, alarm value 3, proportional band, integral time, and derivative time) to multiple units. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 +1 +2 +3 +4 +5 +6 +7 +[...]

  • Page 186

    Appendix D E5 j K Digital Controller W rite Protocol 179 W rite Level 1 Parameter 2 (Sequence No. 067) Writes parameters in level 1 (cooling coefficient, dead band, manual reset value, hysteresis (heating), hysteresis (cooling), control period (heating), and control period (cooling)) to multiple units. Send Data Word Allocation (2nd Operand of PMCR[...]

  • Page 187

    Appendix D E5 j K Digital Controller W rite Protocol 180 W rite Level 2 Parameters 1 (Sequence No. 068) Writes parameters in level 2 (SP ramp time unit, SP ramp set value, LBA detection time, MV at stop time, MV at PV error , MV upper limit, MV lower limit, and MV change rate limit) to multiple units. Send Data Word Allocation (2nd Operand of PMCR)[...]

  • Page 188

    Appendix D E5 j K Digital Controller W rite Protocol 181 W rite Level 2 Parameters 2 (Sequence No. 069) Writes parameters in level 2 (input digital filter , alarm 1 hysteresis, alarm 2 hysteresis, alarm 3 hysteresis, input shift upper limit, and input shift lower limit) to multiple units. Send Data Word Allocation (2nd Operand of PMCR) First word o[...]

  • Page 189

    Appendix D E5 j K Digital Controller W rite Protocol 182 General-purpose W rite (Sequence No. 070) Writes the specified parameter . Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 +3 (Undefined) Unit No. Write data (Undefined) Parameter No. Offset Contents (data format) Data +0 Number of se[...]

  • Page 190

    Appendix D E5 j K Digital Controller W rite Protocol 183 Run/Stop (Sequence No. 072) Switches the mode to Run or Stop according to the command code. This sequence can be executed for multiple units. Send Data Word Allocation (2nd Operand of PMCR) (Undefined) Unit No. First word of send data Number of send data words +0 +1 +2 +3 +4 +5 +16 +17 (Undef[...]

  • Page 191

    Appendix D E5 j K Digital Controller W rite Protocol 184 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units  2 + 2 +1 Number of units (4 digits BCD) 0001 to 0008 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 1st unit Command code (4 digits BCD) 0000: Local 0001: Remote    +17 (max.) 8th unit[...]

  • Page 192

    Appendix D E5 j K Digital Controller W rite Protocol 185 Switch to Level 1 (Sequence No. 075) Switches the setting level to level 1 (setup mode, extended mode). This sequence can be executed for multiple units. Send Data Word Allocation (2nd Operand of PMCR) (Undefined) Unit No. First word of send data Number of send data words +0 +1 +2 +3 +9 (Unde[...]

  • Page 193

    187 Appendix E E5ZE T emperature Controller Read Protocol The E5ZE T emperature Controller Read Protocol reads and controls various parameters in remote mode for the T emperature Controller connected to the Serial Communications Board via RS-232C or RS-422A/485 cable. Note All sequences in this appendix operate on memory bank 0 and cannot be used f[...]

  • Page 194

    Appendix E E5ZE T emperature Controller Read Protocol 188 Connections This section shows connections for using the E5ZE T emperature Controller Read Protocol. RS-232C Connections Serial Commu- nications Board RS-232C port E5ZE → RS-232C CQM1H Signal name Ab- brevi- ation Signal direction Pin No. Signal ground or common return line SG – 7 Send d[...]

  • Page 195

    Appendix E E5ZE T emperature Controller Read Protocol 189 RS422/485 Connections • RS-485 Pin No. Signal name Abbreviation Signal direction 1 Disabled (Do not connect.) – – 2 Disabled (Do not connect.) – – 3 Signal ground SG – 4 T erminal B (+ side) B I/O 5 T erminal A ( – side) A I/O T urn off the communications switch to disconnect t[...]

  • Page 196

    Appendix E E5ZE T emperature Controller Read Protocol 190 • RS-422A Pin No. Signal name Abbreviation Signal direction 1 Receive data B RDB Input 2 Receive data A RDA Input 3 Signal ground SG – 4 Send data B SDB Output 5 Send data A SDA Output T erminating resistance Shielded cable Shielded cable T erminating resistance Serial Communications Boa[...]

  • Page 197

    Appendix E E5ZE T emperature Controller Read Protocol 191 Switch Settings This section shows the switch settings for using the E5ZE T emperature Controller Read Protocol. Communications Parameter DIP Switch Factory defaults: All OFF Pins 3 and 4: T erminating resistance Pins 1 and 2: RS-422A/RS-485 12 3 4 DTS-4 Pins Parameter RS-422A RS-485 3 and 4[...]

  • Page 198

    Appendix E E5ZE T emperature Controller Read Protocol 192 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No. (2 digits Hex) 00 to 0F Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words Number of receive data words +0 +1 +2 +15 +16 Set point (rightmost 4 digits) ~ ~ Set p[...]

  • Page 199

    Appendix E E5ZE T emperature Controller Read Protocol 193 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0017 +1 Channel 0 Process value (rightmost 4 digits) (4 digits BCD) V aries according to the temperature sensor type. Refer to the manual for the E5ZE. +2 Channel 0 Process value (leftmost 1 digit) (1 digit BCD[...]

  • Page 200

    Appendix E E5ZE T emperature Controller Read Protocol 194 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0017 +1 Channel 0 Output value (4 digits BCD) 0000 to 1000 +2 Channel 0 Cooling output value (4 digits BCD) 0000 to 1000 +3 Channel 1 Output value (4 digits BCD) 0000 to 1000 +4 Channel 1 Cooling output value ([...]

  • Page 201

    Appendix E E5ZE T emperature Controller Read Protocol 195 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0041 +1 Channel 0 Set point (rightmost 4 digits) (4 digits BCD) V aries according to the temperature sensor type. Refer to the manual for the E5ZE. +2 Channel 0 Set point (leftmost 1 digit) (1 digit BCD) +3 Cha[...]

  • Page 202

    Appendix E E5ZE T emperature Controller Read Protocol 196 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0025 +1 Channel 0 Constant P (4 digits BCD) 0000 to 9999 +2 Channel 0 Constant I (4 digits BCD) 0000 to 3999 +3 Channel 0 Constant D (4 digits BCD) 0000 to 3999    +22 Channel 7 Constant P (4 digits BC[...]

  • Page 203

    Appendix E E5ZE T emperature Controller Read Protocol 197 Read Output Mode (Sequence No. 106) Reads the output modes (normal/reverse) and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (data format) Data +0 Number[...]

  • Page 204

    Appendix E E5ZE T emperature Controller Read Protocol 198 Read Alarm T emperatures (Sequence No. 108) Reads the alarm temperatures and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (data format) Data +0 Number of[...]

  • Page 205

    Appendix E E5ZE T emperature Controller Read Protocol 199 Read Hysteresis (Sequence No. 109) Reads the hysteresis and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (data format) Data +0 Number of send data words [...]

  • Page 206

    Appendix E E5ZE T emperature Controller Read Protocol 200 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0009 +1 Channel 0 Status code (4 digits Hex) 0000 to FFFF +2 Channel 1 Status code (4 digits Hex) 0000 to FFFF    +8 Channel 7 Status code (4 digits Hex) 0000 to FFFF Read Error Status (Sequence No. 1 [...]

  • Page 207

    Appendix E E5ZE T emperature Controller Read Protocol 201 Read Input Shift V alue (Sequence No. 1 13) Reads the input shift values and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (data format) Data +0 Number of[...]

  • Page 208

    Appendix E E5ZE T emperature Controller Read Protocol 202 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0009 +1 Channel 0 Manual reset value (4 digits BCD) 0000 to 1000 +2 Channel 1 Manual reset value (4 digits BCD) 0000 to 1000    +8 Channel 7 Manual reset value (4 digits BCD) 0000 to 1000 Read Ramp V a[...]

  • Page 209

    Appendix E E5ZE T emperature Controller Read Protocol 203 Read Present Set Point (Sequence No. 1 16) Reads the present set points during ramp operation and stores the results in the specified word. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (data forma[...]

  • Page 210

    Appendix E E5ZE T emperature Controller Read Protocol 204 Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words Number of receive data words +0 +1 +2 +3 +4 +29 +30 +31 +32 Output value lower limit ~ ~ Output value upper limit Output value lower limit Channel 0 Output value upper limit Cooling control output value lower limit[...]

  • Page 211

    Appendix E E5ZE T emperature Controller Read Protocol 205 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0009 +1 Channel 0 Output value change rate limit (4 digits BCD) 0000 to 1000 +2 Channel 1 Output value change rate limit (4 digits BCD) 0000 to 1000    +8 Channel 7 Output value change rate limit (4 di[...]

  • Page 212

    Appendix E E5ZE T emperature Controller Read Protocol 206 Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words Number of receive data words +0 +1 +2 +3 +4 +15 +16 Heater burnout detection current ~ ~ SSR failure detection current Heater burnout detection current SSR failure detection current Channel 0 Channel 7 Heater burno[...]

  • Page 213

    Appendix E E5ZE T emperature Controller Read Protocol 207 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0017 +1 Channel 0 Heater current (4 digits BCD) 0000 to 0500 +2 Channel 0 SSR leakage current (4 digits BCD) 0000 to 0500    +15 Channel 7 Heater current (4 digits BCD) 0000 to 0500 +16 Channel 7 SSR l[...]

  • Page 214

    Appendix E E5ZE T emperature Controller Read Protocol 208 Read Cooling Coefficient (Sequence No. 123) Reads the cooling coefficients and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (data format) Data +0 Number [...]

  • Page 215

    209 Appendix F E5ZE T emperature Controller Write Protocol T he E5ZE T emperature Controller Write Protocol writes and controls various settings in remote mode for the T e m- perature Controller connected via a RS-232C or RS-422A/485 cable from the PC via the Serial Communications Board. Note 1. Negative values cannot be written. All values must be[...]

  • Page 216

    Appendix F E5ZE T emperature Controller W rite Protocol 210 Connections The connections are the same as that for the E5ZE T emperature Controller Read Protocol. W rite Set Point (Setting Unit 1) (Sequence No. 150) Writes the set points using a setting unit of 1 (4 digits). Send Data Word Allocation (2nd Operand of PMCR) First word of send data Numb[...]

  • Page 217

    Appendix F E5ZE T emperature Controller W rite Protocol 21 1 W rite Set Point (Setting Unit 0.1) (Sequence No. 151) Writes the set points using a setting unit of 0.1 (5 digits). Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 +3 +4 +5 +16 +17 (Undefined) Unit No. Set point (rightmost 4 digi[...]

  • Page 218

    Appendix F E5ZE T emperature Controller W rite Protocol 212 W rite Proportional Band, Integral Time, and Derivative T ime (Sequence No. 152) Writes the proportional bands (constant P), integral times (constant I), and derivative times (constant D). Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 [...]

  • Page 219

    Appendix F E5ZE T emperature Controller W rite Protocol 213 W rite Control Period (Sequence No. 153) Writes the control periods and cooling control periods. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 +3 +4 +5 +16 +17 (Undefined) Unit No. Control period ~ ~ Cooling control period Contro[...]

  • Page 220

    Appendix F E5ZE T emperature Controller W rite Protocol 214 W rite Output Mode (Sequence No. 154) Writes the output mode (normal/reverse). Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 (Undefined) Unit No. (Undefined) Write code Offset Contents (data format) Data +0 Number of send data wo[...]

  • Page 221

    Appendix F E5ZE T emperature Controller W rite Protocol 215 W rite Alarm T emperature (Setting Unit 1) (Sequence No. 156) Writes the alarm temperatures using a setting unit of 1 (4 digits) Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 +3 +4 +5 +30 +31 +32 +33 (Undefined) Unit No. Alarm 1 [...]

  • Page 222

    Appendix F E5ZE T emperature Controller W rite Protocol 216 W rite Alarm T emperature (Setting Unit 0.1) (Sequence No. 157) Writes the alarm temperatures using a setting unit of 0.1 (5 digits) Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 +3 +4 +5 +30 +31 +32 +33 (Undefined) Unit No. Alar[...]

  • Page 223

    Appendix F E5ZE T emperature Controller W rite Protocol 217 W rite Hysteresis (Sequence No. 158) Writes the hysteresis for control outputs for ON/OFF control. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 +3 +4 +5 +16 +17 (Undefined) Unit No. Hysteresis ~ ~ Cooling hysteresis Hysteresis C[...]

  • Page 224

    Appendix F E5ZE T emperature Controller W rite Protocol 218 Cancel Autotuning (Sequence No. 160) Cancels Autotuning (A T) for all channels. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 ([...]

  • Page 225

    Appendix F E5ZE T emperature Controller W rite Protocol 219 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0010 (fixed) +1 Unit No. (2 digits Hex) 00 to 0F +2 Channel 0 Input shift value (4 digits BCD) 0000 to 0999 +3 Channel 1 Input shift value (4 digits BCD) 0000 to 0999 +4 Channel 2 Input shift value (4 digits BCD[...]

  • Page 226

    Appendix F E5ZE T emperature Controller W rite Protocol 220 W rite Ramp V alue (Sequence No. 164) Writes the ramp values. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 +3 +4 +5 +16 +17 (Undefined) Unit No. Ramp value (Undefined) ~ ~ Channel 0 Channel 7 Channel 1 Ramp value T ime unit (Und[...]

  • Page 227

    Appendix F E5ZE T emperature Controller W rite Protocol 221 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0018 (fixed) +1 Unit No. (2 digits Hex) 00 to 0F +2 Channel 0 Output value (4 digits BCD) 0000 to 1000 +3 Channel 0 Cooling output value (4 digits BCD) 0000 to 1000 +4 Channel 1 Output value (4 digits BCD) 0000 [...]

  • Page 228

    Appendix F E5ZE T emperature Controller W rite Protocol 222 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0034 (fixed) +1 Unit No. (2 digits Hex) 00 to 0F +2 Channel 0 Output value lower limit (4 digits BCD) 0000 to 1000 +3 Channel 0 Output value upper limit (4 digits BCD) 0000 to 1000 +4 Channel 0 Cooling output va[...]

  • Page 229

    Appendix F E5ZE T emperature Controller W rite Protocol 223 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0010 (fixed) +1 Unit No. (2 digits Hex) 00 to 0F +2 Channel 0 Output change rate limit (4 digits BCD) 0000 to 1000 +3 Channel 1 Output change rate limit (4 digits BCD) 0000 to 1000 +4 Channel 2 Output change rat[...]

  • Page 230

    Appendix F E5ZE T emperature Controller W rite Protocol 224 W rite HB and HS Alarm V alid Channels (Sequence No. 170) Writes the valid or invalid channels of HB alarm and HS alarm. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 (Undefined) Unit No. (Undefined) Write code Offset Contents (d[...]

  • Page 231

    Appendix F E5ZE T emperature Controller W rite Protocol 225 W rite Dead Band/Overlap Band (Sequence No. 172) Writes the dead bands or overlap bands for control outputs during heating/cooling control. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 (Undefined) Unit No. D[...]

  • Page 232

    Appendix F E5ZE T emperature Controller W rite Protocol 226 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0010 (fixed) +1 Unit No. (2 digits Hex) 00 to 0F +2 Channel 0 Cooling coefficient (4 digits BCD) 0000 to 0100 +3 Channel 1 Cooling coefficient (4 digits BCD) 0000 to 0100 +4 Channel 2 Cooling coefficient (4 digi[...]

  • Page 233

    Appendix F E5ZE T emperature Controller W rite Protocol 227 Start Manual Operation (Sequence No. 176) Starts manual operation based on the output values that were set for all channels of the specified Unit. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (d[...]

  • Page 234

    229 Appendix G E5  J T emperature Controller Protocol The E5  J T emperature Controller Protocol performs various settings and controls in remote mode for the T em- perature Controller connected to the Serial Communications Board via RS-232C or RS-422A/485 cable. Note Negative values cannot be written. All values must be set as unsigned BCD. [...]

  • Page 235

    Appendix G E5 j J T emperature Controller Protocol 230 Connections The connections for using the E5  J T emperature Controller Protocol are shown below . RS-232C Connections Serial Communica- tions Board RS-232C port E5  J RS-232C → CQM1H Signal name Abbreviation Signal direction Pin No. Signal ground or common return line SG – 25, 27 Sen[...]

  • Page 236

    Appendix G E5 j J T emperature Controller Protocol 231 • RS-422A Signal name Abbreviation Signal direction Pin No. Send data A SDA Output 26 Send data B SDB Output 25 Receive data A RDA Input 28 Receive data B RDB Input 29 Signal ground SG – 27 T erminating resistance (terminator) T erminating resis- tance (240 Ω ) is connected via the termin[...]

  • Page 237

    Appendix G E5 j J T emperature Controller Protocol 232 Note 1. The connection configuration is a one-to-one or a one-to-N configuration. Using a one-to-N configura- tion, up to 32 units can be connected including the Serial Communications Board. 2. The maximum cable length is 500 m. Use shielded twisted-pair cable (A WG28i or greater). 3. Connect t[...]

  • Page 238

    Appendix G E5 j J T emperature Controller Protocol 233 Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No. (2 digits BCD) 00 to 31 Receive Data Word Allocation (3rd Operand [...]

  • Page 239

    Appendix G E5 j J T emperature Controller Protocol 234 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units  5 + 2 +1 Number of units (4 digits BCD) 0001 to 0025 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 1st unit set point (4 digits BCD) 0000 to 9999 +4 1st unit Alarm value 1 (4 digits BCD) 0000 to[...]

  • Page 240

    Appendix G E5 j J T emperature Controller Protocol 235 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units  4 + 2 +1 Number of units (4 digits BCD) 0001 to 0031 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 1st unit Proportional band (4 digits BCD) 0000 to 9999 +4 1st unit Integral time (4 digits BCD)[...]

  • Page 241

    Appendix G E5 j J T emperature Controller Protocol 236 Read Parameters 1 (Sequence No. 208) Reads the set points, alarm values 1, alarm values 2, and heater burnout alarm values for multiple units and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) (Undefined) Unit No. First word of send data Number of sen[...]

  • Page 242

    Appendix G E5 j J T emperature Controller Protocol 237 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) Number of units  4 + 1 +1 1st unit Set point (4 digits BCD) 0000 to 9999 When the left digit is – 1, A is set and when it is – , F is set. +2 1st unit Alarm value 1 (4 digits BCD) 0000 to 9999 When the left[...]

  • Page 243

    Appendix G E5 j J T emperature Controller Protocol 238 Receive Data Word Allocation (3rd Operand of PMCR) Proportional band Receive data storage words Number of receive data words +0 +1 +2 +3 +91 +92 +93 Proportional band Integral time Derivative time ~ ~ Integral time Derivative time 1st unit 31th unit (max.) Offset Contents (data format) Data +0 [...]

  • Page 244

    Appendix G E5 j J T emperature Controller Protocol 239 Read Output V alue (Sequence No. 21 1) Reads the output value and stores the results in the specified word. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (data format) Data +0 Number of send data word[...]

  • Page 245

    Appendix G E5 j J T emperature Controller Protocol 240 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 (fixed) +1 Unit No. (2 digits BCD) 00 to 31 Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words Number of receive data words +0 +1 +2 Set point lower limit Set point upper limit Offset [...]

  • Page 246

    Appendix G E5 j J T emperature Controller Protocol 241 Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words Number of receive data words +0 +1 +2 Status Alarm 1 type (Undefined) Input type (Undefined) Alarm 2 type Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0003 +1 Status (2 digits Hex)[...]

  • Page 247

    Appendix G E5 j J T emperature Controller Protocol 242 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0002 +1 Read data (4 digits BCD) 0000 to 9999 When the left digit is – 1, A is set and when it is – , F is set. Note The completion code is not included in the read data.[...]

  • Page 248

    243 Appendix H ES100 j Digital Controller Protocol The ES100  Digital Controller Protocol controls in remote mode and reads various settings from the Controller connected to the Serial Communications Board via RS-232C or RS-422A/485 cable. Note Negative values cannot be written. All values must be set as unsigned BCD. Structure of the Protocol T[...]

  • Page 249

    Appendix H ES100 j Digital Controller Protocol 244 Sequence No. Ladder interface Function T ransmission sequence name Sequence No. Receive word allocation Send word allocation Function T ransmission sequence name 273 Auto mode Switches the control mode to auto. Ye s No 274 Manual mode Switches the control mode to a manual. Ye s No 275 Execute A.T .[...]

  • Page 250

    Appendix H ES100 j Digital Controller Protocol 245 RS-422A/485 Connections Serial Communica- tions Board RS-422A/485 port ES100  ES100  ES100  Up to 32 units can be connected. RS-422A/485 RS-422A/485 RS-422A/485 → → → CQM1H • RS-422A Serial Communications Board Next ES100 Shielded cable ES100  -  04  Signal name Pin No. Si[...]

  • Page 251

    Appendix H ES100 j Digital Controller Protocol 246 Switch Settings There are two switches located on the board on the left of the Unit. Set SW1 to the interface: RS-422A or RS-485. Set SW2 to the center on all terminating Units and to the same setting as SW1 on all other Units. 422 ←  → 485 422 ←  → 485 Read Event Data (Sequence No. 2[...]

  • Page 252

    Appendix H ES100 j Digital Controller Protocol 247 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) Number of units x 5 + 1 +1 1st unit Event data 1 (2 digits Hex) Event data 2 (2 digits Hex) 00 to FF 00 to FF +2 1st unit Event data 3 (2 digits Hex) Event data 4 (2 digits Hex) 00 to FF 00 to FF +3 1st unit Event dat[...]

  • Page 253

    Appendix H ES100 j Digital Controller Protocol 248 Receive Data Word Allocation (3rd Operand of PMCR) T ime signal 1 T ime signal 9 T ime signal 2 Receive data storage words Number of receive data words +0 +1 +2 +3 +4 +5 +121 +122 +123 +124 +125 T ime signal 1 ~ ~ 1st unit 25th unit (max.) T ime signal 2 T ime signal 3 T ime signal 4 T ime signal 5[...]

  • Page 254

    Appendix H ES100 j Digital Controller Protocol 249 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units + 2 +1 Number of units (4 digits BCD) 0001 to 0008 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 2nd unit Unit No. (2 digits BCD) 00 to 31    +17 (max.) 16th unit Unit No. (2 digits BCD) 00 to [...]

  • Page 255

    Appendix H ES100 j Digital Controller Protocol 250 Read Heater Burnout Data (Sequence No. 253) Reads the heater burnout alarm in the variable area. Send Data Word Allocation (2nd Operand of PMCR) (Undefined) Unit No. First word of send data Number of send data words +0 +1 +2 +3 +33 (Undefined) Unit No. Number of units (Undefined) Unit No. ~ ~ 32nd [...]

  • Page 256

    Appendix H ES100 j Digital Controller Protocol 251 Read PV Data (Sequence No. 254) Reads the PV data for the variable type “ analog data ” in the variable area. Send Data Word Allocation (2nd Operand of PMCR) (Undefined) Unit No. First word of send data Number of send data words +0 +1 +2 +3 +33 (Undefined) Unit No. Number of units (Undefined) U[...]

  • Page 257

    Appendix H ES100 j Digital Controller Protocol 252 Offset Contents (data format) Data +0 Number of receive data words (4digits BCD) Number of units  2 + 1 +1 1st unit PV data (rightmost 4 digits) (4 digits BCD) 00000000 to 09999000 F indicates a negative number . +2 1st unit PV data (leftmost 4 digits) (4 digits BCD) +3 2nd unit PV data (rightmo[...]

  • Page 258

    Appendix H ES100 j Digital Controller Protocol 253 Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words Number of receive data words +0 +1 +2 +3 +4 +63 +64 SP data (rightmost 4 digits) ~ ~ SP data (leftmost 4 digits) SP data (rightmost 4 digits) SP data (leftmost 4 digits) 1st unit 32nd unit SP data (rightmost 4 digits) SP [...]

  • Page 259

    Appendix H ES100 j Digital Controller Protocol 254 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units + 2 +1 Number of units (4 digits BCD) 0001 to 0032 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 2nd unit Unit No. (2 digits BCD) 00 to 31    +33 (max.) 32nd unit Unit No. (2 digits BCD) 00 to [...]

  • Page 260

    Appendix H ES100 j Digital Controller Protocol 255 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units + 2 +1 Number of units (4 digits BCD) 0001 to 0021 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 2nd unit Unit No. (2 digits BCD) 00 to 31    +22 (max.) 21st unit Unit No. (2 digits BCD) 00 to [...]

  • Page 261

    Appendix H ES100 j Digital Controller Protocol 256 Read Adjustment Parameters (Sequence No. 258) Reads the adjustment parameters in the parameter area and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (data forma[...]

  • Page 262

    Appendix H ES100 j Digital Controller Protocol 257 Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words Number of receive data words +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +1 1 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 Fixed SP (rightmost 4 digits)[...]

  • Page 263

    Appendix H ES100 j Digital Controller Protocol 258 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0043 +1 to 2 Fixed SP (8 digits BCD) 00000000 to 09999000 +3 to 4 Control output 1 pulse cycle (8 digits BCD) F indicates a negative number . +5 to 6 Control output 2 pulse cycle (8 digits BCD) +7 to 8 Fuzzy strength [...]

  • Page 264

    Appendix H ES100 j Digital Controller Protocol 259 W rite Adjustment Parameters (Sequence No. 259) Writes the adjust parameters in the parameter area. Send Data Word Allocation (2nd Operand of PMCR) +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +1 1 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 [...]

  • Page 265

    Appendix H ES100 j Digital Controller Protocol 260 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0044 (fixed) +1 Unit No. (2 digits BCD) 00 to 31 +2 to 3 Fixed SP (8 digits BCD) 00000000 to 09999000 +4 to 5 Control output 1 pulse cycle (8 digits BCD) +6 to 7 Control output 2 pulse cycle (8 digits BCD) +8 to 9 Fuzzy [...]

  • Page 266

    Appendix H ES100 j Digital Controller Protocol 261 Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words Number of receive data words +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +1 1 +12 +13 +14 +51 +52 +53 +54 +55 +56 PID No. 1 P ~ ~ (rightmost 4 digits) PID No. 4 MV upper limit PID No. 4 MV upper limit PID No. 4 Automatic selection [...]

  • Page 267

    Appendix H ES100 j Digital Controller Protocol 262 Read PID Control Parameters 2 (Sequence No. 261) Reads PID parameters No. 5 to 8 from the PID control parameters in the parameter area and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) U[...]

  • Page 268

    Appendix H ES100 j Digital Controller Protocol 263 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0057 +1 to 2 PID No. 5 P (8 digits BCD) 00000000 to 09999000 +3 to 4 PID No. 5 I (8 digits BCD) +5 to 6 PID No. 5 D (8 digits BCD) +7 to 8 PID No. 5 MV lower limit (8 digits BCD) +9 to 10 PID No. 5 MV upper limit (8 d[...]

  • Page 269

    Appendix H ES100 j Digital Controller Protocol 264 W rite PID Control Parameters 1 (Sequence No. 262) Writes PID parameters No. 1 to 4 to the PID control parameters in the parameter area. Send Data Word Allocation (2nd Operand of PMCR) +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +1 1 +12 +13 +14 +15 +52 +53 +54 +55 +56 +57 PID No. 1 P ~ ~ (rightmost 4 digits[...]

  • Page 270

    Appendix H ES100 j Digital Controller Protocol 265 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0058 (fixed) +1 Unit No. (2 digits BCD) 00 to 31 +2 to 3 PID No. 1 P (8 digits BCD) 00000000 to 09999000 +4 to 5 PID No. 1 I (8 digits BCD) +6 to 7 PID No. 1 D (8 digits BCD) +8 to 9 PID No. 1 MV lower limit (8 digits BC[...]

  • Page 271

    Appendix H ES100 j Digital Controller Protocol 266 W rite PID Control Parameters 2 (Sequence No. 263) Writes the PID parameters No. 5 to 8 to the PID control parameters in the parameter area. Send Data Word Allocation (2nd Operand of PMCR) +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +1 1 +12 +13 +14 +15 +52 +53 +54 +55 +56 +57 PID No. 5 P ~ ~ (rightmost 4 di[...]

  • Page 272

    Appendix H ES100 j Digital Controller Protocol 267 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0058 (fixed) +1 Unit No. (2 digits BCD) 00 to 31 +2 to 3 PID No. 5 P (8 digits BCD) 00000000 to 09999000 +4 to 5 PID No. 5 I (8 digits BCD) +6 to 7 PID No. 5 D (8 digits BCD) +8 to 9 PID No. 5 MV lower limit (8 digits BC[...]

  • Page 273

    Appendix H ES100 j Digital Controller Protocol 268 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units  2 + 2 +1 Number of units (4 digits BCD) 0001 to 0032 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 1st unit Pattern No. (2 digits BCD) Step No. (2 digits BCD) 00 to 63 00 to 63    +64 32nd [...]

  • Page 274

    Appendix H ES100 j Digital Controller Protocol 269 W rite Local SP (Sequence No. 265) Writes the local SP to the program parameter area. Send Data Word Allocation (2nd Operand of PMCR) 1st unit First word of send data Number of send data words +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +122 +123 +124 +125 (Undefined) Unit No. Number of units Pattern No. Step No[...]

  • Page 275

    Appendix H ES100 j Digital Controller Protocol 270 Read Program Parameters (Sequence No. 266) Reads the local SP , step time, PID set No., wait code, and events from 1 to 10 set values in the program parameter area. Send Data Word Allocation (2nd Operand of PMCR) 1st unit First word of send data Number of send data words +0 +1 +2 +3 +4 +5 +6 +7 +8 [...]

  • Page 276

    Appendix H ES100 j Digital Controller Protocol 271 Receive Data Word Allocation (3rd Operand of PMCR) ~ ~ Receive data storage words Number of receive data words +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +27 +28 +85 +86 +87 +88 +89 +90 +91 +92 +93 +94 +1 1 1 +1 12 Local SP (rightmost) ~ ~ Local SP (leftmost) Event 10 setting (rightmost) Event 10 setting (l[...]

  • Page 277

    Appendix H ES100 j Digital Controller Protocol 272 Offset Contents (data format) Data +0 Number of receive data words (4digits BCD) Number of units  28 + 1 +1 to 2 1st unit Local SP (8 digits BCD) 00000000 to 09999000 F indicates a negative number . +3 to 4 1st unit Step time) (8 digits BCD) +5 to 6 1st unit PID set No. (8 digits BCD) +7 to 8 1s[...]

  • Page 278

    Appendix H ES100 j Digital Controller Protocol 273 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units  30 + 2 +1 Number of units (4 digits BCD) 0001 to 0004 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 1st unit Pattern No. (2 digits BCD) Step No. (2 digits BCD) 00 to 63 00 to 63 +4 to 5 1st unit Loc[...]

  • Page 279

    Appendix H ES100 j Digital Controller Protocol 274 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units + 2 +1 Number of units (4 digits BCD) 0001 to 0032 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 2nd unit Unit No. (2 digits BCD) 00 to 31    +33 (max.) 32nd unit Unit No. (2 digits BCD) 00 to [...]

  • Page 280

    Appendix H ES100 j Digital Controller Protocol 275 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units + 2 +1 Number of units (4 digits BCD) 0001 to 0032 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 2nd unit Unit No. (2 digits BCD) 00 to 31    +33 (max.) 32nd unit Unit No. (2 digits BCD) 00 to [...]

  • Page 281

    Appendix H ES100 j Digital Controller Protocol 276 Reset (Stop) (Sequence No. 272) Stops control. Send Data Word Allocation (2nd Operand of PMCR) (Undefined) Unit No. First word of send data Number of send data words +0 +1 +2 +3 +33 (Undefined) Unit No. Number of units (Undefined) Unit No. ~ ~ 32nd unit (max.) 2nd unit 1st unit Offset Contents (dat[...]

  • Page 282

    Appendix H ES100 j Digital Controller Protocol 277 Manual Mode (Sequence No. 274) Switches the control mode to the manual mode. Send Data Word Allocation (2nd Operand of PMCR) (Undefined) Unit No. First word of send data Number of send data words +0 +1 +2 +3 +33 (Undefined) Unit No. Number of units (Undefined) Unit No. ~ ~ 32nd unit (max.) 2nd unit[...]

  • Page 283

    Appendix H ES100 j Digital Controller Protocol 278 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units  2 + 2 +1 Number of units (4 digits BCD) 0001 to 0032 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 1st unit PID set No. (4 digits BCD) 0000 to 0008 +4 2nd unit Unit No. (2 digits BCD) 00 to 31  ?[...]

  • Page 284

    Appendix H ES100 j Digital Controller Protocol 279 Change Pattern No. (Sequence No. 277) Changes the pattern number . Send Data Word Allocation (2nd Operand of PMCR) 1st unit First word of send data Number of send data words +0 +1 +2 +3 +64 +65 (Undefined) Unit No. Number of units Pattern No. ~ ~ (Undefined) Unit No. 32nd unit (max.) Pattern No. Of[...]

  • Page 285

    Appendix H ES100 j Digital Controller Protocol 280 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) Number of units  2 + 2 +1 Number of units (4 digits BCD) 0001 to 0032 +2 1st unit Unit No. (2 digits BCD) 00 to 31 +3 1st unit Bank No. (4 digits BCD) 0000 to 0007 +4 2nd unit Unit No. (2 digits BCD) 00 to 31   [...]

  • Page 286

    Appendix H ES100 j Digital Controller Protocol 281 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) Number of units  5 + 1 +1 1st unit Operation status (2 digits BCD) 00: Reset 01: Run Hold (2 digits BCD) 00: Not hold 01: Hold +2 1st unit Auto/manual (2 digits BCD) 00: Auto mode 01: Manual mode SP mode (2 digits [...]

  • Page 287

    Appendix H ES100 j Digital Controller Protocol 282 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0001 to 0128 +1 Number of send data bytes 0001 to 0251 The number of send bytes not including @, the FCS, or the terminator . +2 Send data (ASCII 2 characters) Refer to the manual for the ES100  .   Use ASCII (U[...]

  • Page 288

    283 Appendix I K3T  Intelligent Signal Processor Protocol T he K3T  Intelligent Signal Processor Protocol is used to make various settings or control remotely the Intelligent Signal Processor connected to the Serial Communications Board via RS-232C or RS-422A/485 cable. Protocol Configuration The configuration of the K3T  Intelligent Signa[...]

  • Page 289

    Appendix I K3T j Intelligent Signal Processor Protocol 284 Sequence No. Notes Ladder interface Function Communications sequence name Sequence No. Notes Receive word allocation Send word allocation Function Communications sequence name 320 Read set value L (con- tinuous units) Reads the set value L. Ye s Ye s See Note1 321 Read set value LL (con- ti[...]

  • Page 290

    Appendix I K3T j Intelligent Signal Processor Protocol 285 Connections The connections used for the K3T  Intelligent Signal Processor Protocol are shown below . RS-232C Connections Serial Commu- nications Board RS-232C port K3T  CQM1H Signal name Abbreviation Signal direction Pin No. Protective ground or earth FG – 1 Signal ground or common[...]

  • Page 291

    Appendix I K3T j Intelligent Signal Processor Protocol 286 RS-422A/485 Connections Up to 32 units can be connected Serial Communica- tions Board RS-422A/485 port K3T  K3T  K3T  CQM1H • RS-422A Signal name Abbreviation Signal direction Pin No. Send data A SDA Output 9 Send data B SDB Output 5 Receive data A RDA Output 6 Receive data B RDB[...]

  • Page 292

    Appendix I K3T j Intelligent Signal Processor Protocol 287 • RS-485 Signal name Abbreviation Signal direction T erminal Inverting output – Input or output 19 Non-inverting output + Input or output 18 Serial Communications Board Shielded cable Intelligent Signal Processor T urn ON the terminal block switch for terminators only . Signal Name Pin [...]

  • Page 293

    Appendix I K3T j Intelligent Signal Processor Protocol 288 Reset (by Unit Number) (Sequence No. 300) This sequence performs the same processing as when an input is received on the reset terminal. Send Data Word Allocation (2nd Operand of PMCR) Relevant unit No. (Undefined) Number of units +0 +1 +2 +33 Number of send data words First word of send da[...]

  • Page 294

    Appendix I K3T j Intelligent Signal Processor Protocol 289 W rite Set V alue (by Unit Number) (Sequence No. 302) This sequence writes each set value (HH, H, L, LL). Send Data Word Allocation (2nd Operand of PMCR) Relevant unit No. (Undefined) (Undefined) Number of units +0 +1 +2 +3 +4 +5 +122 +123 +124 +125 Number of send data words First word of s[...]

  • Page 295

    Appendix I K3T j Intelligent Signal Processor Protocol 290 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0004 to 0066 +1 Number of units (2 digits BCD) 01 to 32 +2 to +3 Set value (5 digits BCD) 00000 to 99999 Negative sign: F (most significant digit) Example 12345 +2 +3 2345 0001 Example – 1234 +2 +3 1234 000F ?[...]

  • Page 296

    Appendix I K3T j Intelligent Signal Processor Protocol 291 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0007 to 0127 +1 Number of units (2 digits BCD) 01 to 25 +2 Relevant unit No. (2 digits BCD) 00 to 99 +3 Bank No. (2 digits BCD) 01 to 04 +4 Operand (T wo ASCII characters) 4848 ( “ HH ” ), 4F31 ( “ O1 ” )[...]

  • Page 297

    Appendix I K3T j Intelligent Signal Processor Protocol 292 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0004 to 0098 +1 Number of units (2 digits BCD) 01 to 32 +2 Bank No. (2 digits BCD) 01 to 04 +3 to +4 Set value (5 digits BCD) 00000 to 99999 Negative sign: F (most significant digit) Example 12345 +2 +3 2345 0001[...]

  • Page 298

    Appendix I K3T j Intelligent Signal Processor Protocol 293 W rite Set V alue O2 with Bank (Continuous Units) (Sequence No. 315) This sequence writes set value O2 of a bank not in use for continuous units. The word allocation is identical to that of sequence No. 308 (Write Set V alue HH with Bank (Continuous Units)). W rite Set V alue O1 with Bank ([...]

  • Page 299

    Appendix I K3T j Intelligent Signal Processor Protocol 294 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0004 to 0097 +1 End code (2 digits Hex) 00 to 22 +2 to +3 Set value (5 digits BCD) 00000 to 99999 Negative sign: F (most significant digit) Example 12345 +2 +3 2345 0001 Example – 1234 +2 +3 1234 000F  ?[...]

  • Page 300

    Appendix I K3T j Intelligent Signal Processor Protocol 295 Read Set V alue with Bank (by Unit Number) (Sequence No. 322) Reads the set value of a bank which is not in use (K3TR: HH to LL, K3TC:01 to 05) and stores the results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) Relevant unit No. (Undefined) (Undefined) Number of [...]

  • Page 301

    Appendix I K3T j Intelligent Signal Processor Protocol 296 Read Set V alue HH with Bank (Continuous Units) (Sequence No. 323) This sequence reads set value HH of a bank not in use for continuous units. Send Data Word Allocation (2nd Operand of PMCR) Bank No. (Undefined) Number of units +0 +1 +2 +33 Number of send data words First word of send data [...]

  • Page 302

    Appendix I K3T j Intelligent Signal Processor Protocol 297 Read Set V alue O3 with Bank (Continuous Units) (Sequence No. 329) This sequence reads set value O3 of a bank not in use for continuous units. The word allocation is identical to that of sequence No. 323 (Read Set V alue HH with Bank (Continuous Units)). Read Set V alue O2 with Bank (Contin[...]

  • Page 303

    Appendix I K3T j Intelligent Signal Processor Protocol 298 Receive Data Word Allocation (3rd Operand of PMCR) Peak/bottom data Status +0 +1 +2 +3 +94 +95 +96 Number of receive data words Receive data storage words ~ ~ Peak/bottom data (Undefined) Peak/bottom data (Undefined) Peak/bottom data Status (Undefined) (Undefined) Offset Contents (data form[...]

  • Page 304

    Appendix I K3T j Intelligent Signal Processor Protocol 299 Read Holding Data BH (Continuous Units) (Sequence No. 334) This sequence reads bottom holding data for continuous units. The word allocation is identical to that of sequence No. 333 (Read Holding Data PH (Continuous Units)). Read Display V alue (PV) (by Unit Number) (Sequence No. 335) Reads[...]

  • Page 305

    Appendix I K3T j Intelligent Signal Processor Protocol 300 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0004 to 0097 +1 to +2 Display value (5 digits BCD) 00000 to 99999 Negative sign: F (most significant digit) Example 12345 +1 +2 2345 0001 Example – 1234 +1 +2 1234 000F +3 Status (4 digits Hex) d0 bit: If ov[...]

  • Page 306

    Appendix I K3T j Intelligent Signal Processor Protocol 301 Read Display V alue (PV) (Continuous Units) (Sequence No. 336) This sequence reads display value (PV) for continuous units. Send Data Word Allocation (2nd Operand of PMCR) (Undefined) Number of units +0 +1 Number of send data words First word of send data Offset Contents (data format) Data [...]

  • Page 307

    Appendix I K3T j Intelligent Signal Processor Protocol 302 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0006 to 0126 +1 to + 2 Input specifications (ASCII 3 characters) 544131 ( “ TA 1 ” ) (K3TH) 544231 ( “ TB1 ” ) (K3TH) 564432 ( “ VD2 ” ) (K3TX) 414432 ( “ AD2 ” ) (K3TX) 564132 ( “ VA 2 ” )[...]

  • Page 308

    Appendix I K3T j Intelligent Signal Processor Protocol 303 General-purpose Command (Sequence No. 339) Sends the specified data and writes the receive data to the receive data words. The characters such as “ @ ” , FCS, terminators need not be set in the send and receive data words. These characters will be automatically added for transmission an[...]

  • Page 309

    305 Appendix J V500/V520 Bar Code Reader Protocol The V500/V520 Bar Code Reader Protocol is used to make various settings or control remotely the Bar Code Reader connected the Serial Communications Board via RS-232C cable.[...]

  • Page 310

    Appendix J V500/V520 Bar Code Reader Protocol 306 Protocol Configuration The configuration of the V500/V520 Bar Code Reader Protocol is shown below . Sequence Communications Function Ladder interface No. sequence name Send word allocation Receive word allocation 350 BCR read start Instructs the Reader to start a BCR read. No No 351 BCR read stop In[...]

  • Page 311

    Appendix J V500/V520 Bar Code Reader Protocol 307 Connections The connections for using the V500/V520 Bar Code Reader Protocol are shown below . V500 Connections Serial Communica- tions Board RS-232C port V500-C1 1 ID Controller Reader Signal Name Serial Communications Board: D-sub 9 pin female Signal Name Pin No. Pin No. V509-W040 Reader Cable 100[...]

  • Page 312

    Appendix J V500/V520 Bar Code Reader Protocol 308 System Setting Shown below are the system settings of the V500-C1 1 and V520-R121 when this protocol is used. Note The portions enclosed by in boxes are used for this protocol. V500-C1 1 • BCR Functions Read trigger “ READ SIGNAL INPUT ” , “ ONLINE READ COMMAND ” Read control method “ SI[...]

  • Page 313

    Appendix J V500/V520 Bar Code Reader Protocol 309 BCR Read Start (Sequence No. 350) This sequence instructs the Bar Code Reader to start reading. Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR) None. BCR Read Stop (Sequence No. 351) This sequence instructs the Bar Code Reader to stop reading.[...]

  • Page 314

    Appendix J V500/V520 Bar Code Reader Protocol 310 BCR Function W rite (V500) (Sequence No. 354) This sequence sets the operation mode and read functions in the Bar Code Reader . Send Data Word Allocation (2nd Operand of PMCR) Number of matches Operation mode In-zone control +0 +1 +2 +3 +4 +5 +6 Number of send data words First word of send data (Und[...]

  • Page 315

    Appendix J V500/V520 Bar Code Reader Protocol 31 1 BCR Function Read (V500) (Sequence No. 355) This sequence reads the settings of functions in the Bar Code Reader . Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR) Number of matches. Operation mode In-zone control +0 +1 +2 +3 +4 +5 +6 Number o[...]

  • Page 316

    Appendix J V500/V520 Bar Code Reader Protocol 312 Log Data Output Request (V500) (Sequence No. 356) This sequence requests output of the log data sent to host. Send Data Word Allocation (2nd Operand of PMCR) (Undefined) Number of units +0 +1 Number of send data words First word of send data Offset Contents (data format) Data +0 Number of send data [...]

  • Page 317

    Appendix J V500/V520 Bar Code Reader Protocol 313 Preset Data Set (V500) (Sequence No. 357) This sequence sets preset data. Send Data Word Allocation (2nd Operand of PMCR) (Undefined) Number of units +0 +1 +2 +3 +4 +5 +18 +19 +(18N+2) +(18N+3) +(18N+4) +(18N+5) +(18N+18) +(18N+19) Number of send data words First word of send data ~ ~ Preset data (U[...]

  • Page 318

    Appendix J V500/V520 Bar Code Reader Protocol 314 Log Data Clear (V500) (Sequence No. 359) This sequence clears the log data. Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR) None. Data Continuous Read (Scan) (V500) (Sequence No. 360) This sequence performs the following operations repeatedly:[...]

  • Page 319

    Appendix J V500/V520 Bar Code Reader Protocol 315 Receive Data Word Allocation (3rd Operand of PMCR) The receive data word allocation is similar to that of sequence No. 352 (Data Read). Note 1. Since this sequence repeats itself within the sequence, once it is executed, it remains in the execution state until cancelled. 2. Even if execution is canc[...]

  • Page 320

    Appendix J V500/V520 Bar Code Reader Protocol 316 Send Data Word Allocation (2nd Operand of PMCR) Send data Send data +0 +1 +2 +3 +127 +128 Number of send data words First word of send data ~ ~ Send data Send data Send data byte length Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0003 to 0129 +1 Send data byte leng[...]

  • Page 321

    317 Appendix K 3Z4L Laser Micrometer Protocol The 3Z4L Laser Micrometer Protocol is used to make various settings or control remotely the Laser Micrometer connected to the Serial Communications Board via RS-232C cable. Protocol Configuration The configuration of the 3Z4L Laser Micrometer Protocol is shown below . Sequence Communications sequence Fu[...]

  • Page 322

    Appendix K 3Z4L Laser Micrometer Protocol 318 Sequence No. Ladder interface Function Communications sequence name Sequence No. Receive word allocation Send word allocation Function Communications sequence name 418 All statistic memory clear (3000-series) Clears statistic processing memories of all programs. No No 419 Statistic memory clear (3000-se[...]

  • Page 323

    Appendix K 3Z4L Laser Micrometer Protocol 319 Sequence No. Ladder interface Function Communications sequence name Sequence No. Receive word allocation Send word allocation Function Communications sequence name 439 Data request (4000-series) Requests measurement data in the idle measurement status or the latch data generated by the measurement com- [...]

  • Page 324

    Appendix K 3Z4L Laser Micrometer Protocol 320 DIP Switch Settings Shown below are the settings of 3Z4L-3000, 3Z4L-4000-series DIP switches required to use the system protocol sequences. 3Z4L-3000 Series • DIP Switch 1 No. Setting Status 1 Baud rate ON/OFF 2 ON/OFF 3 Handshaking procedure ON/OFF 4 RS-232C interface use ON/OFF 5 selection ON/OFF 6 [...]

  • Page 325

    Appendix K 3Z4L Laser Micrometer Protocol 321 • DIP Switch 2 No. Setting Status 1 Selection for ON/OFF 2 measurement section ON/OFF 3 ON/OFF 4 ON/OFF 5 Setting of minimum read ON/OFF 6 value ON/OFF 7 Display unit ON/OFF 8 External command setting ON/OFF Delimiter Control Code Setting 3Z4L-4000 Series Th e delimiter control codes must be set on DI[...]

  • Page 326

    Appendix K 3Z4L Laser Micrometer Protocol 322 control codes in the sequence to CR+LF for the send code and to CR or CR+LF for the receive code. See the settings in the following diagram. T urn OFF . T urn OFF (to use a general-purpose interface) T urn ON (to use a general-purpose interface) Handshaking ON: Control (recognize DRT input) OFF: 3-wire [...]

  • Page 327

    Appendix K 3Z4L Laser Micrometer Protocol 323 3Z4L Clear (Sequence No. 400) This sequence resets errors, data, analog output, and decision result, and puts the Laser Micrometer into standby . Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR) None. Memory Switch Set (Sequence No. 401) This seque[...]

  • Page 328

    Appendix K 3Z4L Laser Micrometer Protocol 324 Calibration Set (Sequence No. 404) This sequence calibrates the Laser Micrometer . Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 +3 +4 +5 +6 Decimal portion (Undefined) Decimal integer portion Sign Decimal portion (Undefined) (Undefined) (Deci[...]

  • Page 329

    Appendix K 3Z4L Laser Micrometer Protocol 325 Program Number Set (3000-series) (Sequence No. 406) This sequence switches the program number to a specified number . Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Program number (1 digit BCD) Offset Contents (data format) Data +0 Num[...]

  • Page 330

    Appendix K 3Z4L Laser Micrometer Protocol 326 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 (Undefined) Integer portion Sign (Undefined) (Undefined) (Undefined) Decimal portion (Undefined) Integer portion Sign (Undefined) (Undefined) (Undefined) (Undefined) (Undefined) (Unused) (Unused) 0 0 0 0 0 0 [...]

  • Page 331

    Appendix K 3Z4L Laser Micrometer Protocol 327 Offset Data Contents (data format) +30 to +32 Reference value Same as lower limit values +33 Analog output scale number (1 digit BCD) 1 to 3 +34 to +35 Offset classification (ASCII 3 characters) 4F4620 ( “ OF ” ), 4F4D20 ( “ OM ” ) +36 to +38 Offset value Same as lower limit values +39 Data outp[...]

  • Page 332

    Appendix K 3Z4L Laser Micrometer Protocol 328 Measurement Condition Release (3000-series) (Sequence No. 408) This sequence releases the measurement conditions that have been set. Send Data Word Allocation (2nd Operand of PMCR) Send data word allocation is similar to that of sequence No. 407 (Measurement Condition Set). However , only the setting Y [...]

  • Page 333

    Appendix K 3Z4L Laser Micrometer Protocol 329 Receive Data Word Allocation (3rd Operand of PMCR) First word of send data Number of receive data words +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +1 1 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 (Undefined) (Undefined) Integer portion Sign (Undefined) Decimal portion Decimal portion [...]

  • Page 334

    Appendix K 3Z4L Laser Micrometer Protocol 330 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0046 (fixed) +1 Program number (1 digit BCD) 0 to 9 +2 to +4 Segment number (ASCII 6 characters) Combination of 31( ‘ 1 ’ ) to 36( ‘ 6 ’ ), 20( ‘ ’ ) +5 Measurement interval number (1 digit BCD) 1 to 4 +6 Lower[...]

  • Page 335

    Appendix K 3Z4L Laser Micrometer Protocol 331 Single Run Measurement Start (3000-series) (Sequence No. 410) When the sample measurement condition is from 1 to 999, this sequence performs a single run measurement and requests the measurement results Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PM[...]

  • Page 336

    Appendix K 3Z4L Laser Micrometer Protocol 332 Note 1. Since this sequence repeats itself within the sequence, once it is executed, it remains in the execution state until cancelled. 2. Even if execution is cancelled, the Laser Micrometer still keeps measuring. Execute sequence No. 414 (Measurement T ermination) to end the sequence. Continuous Measu[...]

  • Page 337

    Appendix K 3Z4L Laser Micrometer Protocol 333 Statistic Processing Non-execution (3000-series) (Sequence No. 417) This sequence turns the statistic processing LED off and does not carry out the statistic processing. Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR) None. All Statistic Memory Cl[...]

  • Page 338

    Appendix K 3Z4L Laser Micrometer Protocol 334 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0019 (fixed) +1 Program number (1digit BCD) 0 to 9 +2 to +3 Number of statistic data (6 digits BCD) 000000 to 999999 +4 Average value (decimal portion) (4 digits BCD) 0000 to 9999 Example – 123.4567 +5 Average value (int[...]

  • Page 339

    Appendix K 3Z4L Laser Micrometer Protocol 335 Memory Switch Set 1 (3000-series, High-speed T ype) (Sequence No. 421) This sequence sets memory switches. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 W (Undefined) XYZ V Offset Contents (data format) Data +0 Number of send data words (4 dig[...]

  • Page 340

    Appendix K 3Z4L Laser Micrometer Protocol 336 Memory Switch Set 2 (3000-series, High-speed T ype) (Sequence No. 422) This sequence sets memory switches. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 W (Undefined) XYZ V Offset Contents (data format) Data +0 Number of send data words (4 dig[...]

  • Page 341

    Appendix K 3Z4L Laser Micrometer Protocol 337 A VG Move Interval Set (3000-series, High-speed T ype) (Sequence No. 424) This sequence uses the average move as the averaging method and sets the measurement interval number . Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Measurement[...]

  • Page 342

    Appendix K 3Z4L Laser Micrometer Protocol 338 Automatic Detection Set (3000-series, High-speed T ype) (Sequence No. 427) This sequence sets the work automatic detection function. Send Data Word Allocation (2nd Operand of PMCR) Receive data storage words Number of send data words +0 +1 +2 +3 +4 +5 +6 +7 +8 (Undefined) Invalid time Decimal portion (U[...]

  • Page 343

    Appendix K 3Z4L Laser Micrometer Protocol 339 Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words Number of receive data words +0 +1 +2 +3 +4 +5 +6 +7 +8 (Undefined) Invalid time Decimal portion (Undefined) Integer portion Sign (Undefined) Decimal portion (Undefined) Integer portion Sign (Undefined) The number of measuring[...]

  • Page 344

    Appendix K 3Z4L Laser Micrometer Protocol 340 Measurement Condition Set (4000-series) (Sequence No. 431) This sequence sets measurement conditions. Conditions to be set can be selected by setting Y es/No flags. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +1 1 +1[...]

  • Page 345

    Appendix K 3Z4L Laser Micrometer Protocol 341 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0025 (fixed) +1 Segment number (1 digit BCD) 1 to 5 +2 Measurement interval number (1 digit BCD) 1 to 7 +3 Lower limit value (Decimal portion) (4 digits BCD) 0000 to 9999 Example – 123.4567 4 5 6 7 +3 +4 Lower limit value ([...]

  • Page 346

    Appendix K 3Z4L Laser Micrometer Protocol 342 Measurement Condition Release (4000-series) (Sequence No. 432) This sequence clears the measurement conditions that have been set. Send Data Word Allocation (2nd Operand of PMCR) The send data word allocation is similar to that of sequence No. 431 (Measurement Condition Setting). However , only the sett[...]

  • Page 347

    Appendix K 3Z4L Laser Micrometer Protocol 343 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0019 (fixed) +1 Segment number (1 digit BCD) 1 to 5 +2 Measurement interval number (1 digit BCD) 1 to 7 +3 Lower limit value (Decimal portion) (4 digits BCD) 0000 to 9999 4 5 6 7 +3 Example – 123.4567 +4 Lower limit valu[...]

  • Page 348

    Appendix K 3Z4L Laser Micrometer Protocol 344 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) With no reference setting: 0005 With reference setting: 0008 +1 Decision result (ASCII 2 characters) With no limit setting: 0000 With limit setting: 2B4E ( “ +N ” ), 4F4B ( “ OK ” ), 2D4E ( “– N ” ) +2 Measur[...]

  • Page 349

    Appendix K 3Z4L Laser Micrometer Protocol 345 Continuous Measurement T ermination (4000-series) (Sequence No. 438) This sequence terminates continuous measurement. Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR) For continuous measurement: None. For Deflection Measurement The receive data wor[...]

  • Page 350

    Appendix K 3Z4L Laser Micrometer Protocol 346 General-purpose Command 1 (4000-series) (Sequence No. 444) This general-purpose command is used to send data with a specified data length, and receive back only OK. The terminator (CR) is automatically attached to the send data. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Num[...]

  • Page 351

    Appendix K 3Z4L Laser Micrometer Protocol 347 General-purpose Command 2 (4000-series) (Sequence No. 445) This general-purpose command is used to send data with a specified data length, and receive back receive data other than OK. The terminator (CR) is automatically attached to the send data. Send Data Word Allocation (2nd Operand of PMCR) First wo[...]

  • Page 352

    349 Appendix L V isual Inspection System Protocol Th e V isual Inspection System Protocol is used to make various settings or control remotely the Visual Recognition Device connected to the Serial Communications Board via RS-232C cable. Protocol Configuration The configuration of the Visual Inspection System Protocol is shown below . Sequence Commu[...]

  • Page 353

    Appendix L V isual Inspection System Protocol 350 Sequence No. Ladder interface Function Communications sequence name Sequence No. Receive word allocation Send word allocation Function Communications sequence name 471 Camera designation and positioning (F350) Designates the camera for measurement. Ye s No 472 Scene switching and positioning (F350) [...]

  • Page 354

    Appendix L V isual Inspection System Protocol 351 Connections The connections for using the Visual Inspection System Protocol are shown below . RS-232C Connections Serial Communica- tions Board RS-232C port RS-232C Unit → F200/300/350 CQM1H Pin No. Signal name Abbreviation 1 Protective ground or earth FG (GND) 2 Send data SD (TXD) 3 Receive data [...]

  • Page 355

    Appendix L V isual Inspection System Protocol 352 Measurement Execution (F200) (Sequence No. 450) This sequence carries out one measurement and stores the measurement results in the specified words. Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR) Integer portion Receive data storage words Num[...]

  • Page 356

    Appendix L V isual Inspection System Protocol 353 Offset Content (data format) Data +0 Number of receive data words (4 digits BCD) 0006 +1 Output No. (2 digits BCD) 00 to 07 +2 Evaluation result (1 digit BCD) 0: OK 1: NG +3 to +5 Measurement value (decimal portion) (3 digits BCD) Example – 123.456 Example +123.456 Measurement value (integer porti[...]

  • Page 357

    Appendix L V isual Inspection System Protocol 354 3. The ranges of measurement values are as follows: For calibration OFF setting : – 2147483.648 to 2147483.647 For calibration ON setting : – 9999999.999 to 9999999.999 4. If a measurement value exceeds the range of measurement values when calibration is turned of f, unde- fined data is stored i[...]

  • Page 358

    Appendix L V isual Inspection System Protocol 355 Offset Content (data format) Data +0 Number of send data words (4 digits BCD) 0010 +1 Output No. (2 digits BCD) 00 to 07 +2 to +5 Upper limit value (decimal portion) (3 digits BCD) Example – 123.456 Example +123.456 Upper limit value (integer portion) (7 digits BCD) +2 +3 0567 1234 +2 +3 0678 2345[...]

  • Page 359

    Appendix L V isual Inspection System Protocol 356 Receive Data Word Allocation (3rd Operand of PMCR) (Undefined) Integer portion Receive data storage words Number of receive data words +0 +1 +2 +3 Measurement value Decimal portion Sign 0 Offset Content (data format) Data +0 Number of receive data words (4 digits BCD) 0004 +1 to +3 Measurement value[...]

  • Page 360

    Appendix L V isual Inspection System Protocol 357 Offset Content (data format) Data +0 Number of receive data words (4 digits BCD) 0006: 1 measurement item 0009: 2 measurement items 0012: 3 measurement items 0015: 4 measurement items 0018: 5 measurement items +1 Window number (2 digits BCD) 00 to 07 +2 Evaluation result (1 digit BCD) 0: OK 1: NG +3[...]

  • Page 361

    Appendix L V isual Inspection System Protocol 358 Receive Data Word Allocation (3rd Operand of PMCR) Integer portion Receive data storage words Number of receive data words +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +1 1 +12 +13 +14 +15 +16 +17 (Undefined) Window No. (Undefined) Data 1 Evaluation result Decimal portion Sign 0 Integer portion Data 2 Decimal [...]

  • Page 362

    Appendix L V isual Inspection System Protocol 359 Main axis angle aberration (reserved) Edge angle Edge angle (reserved) Center X, center Y Center X displacement (reserved), center Y displacement (reserved) Inclination Inclination displacement (reserved) Intersecting point X, intersecting point Y Intersecting point X displacement (reserved), inters[...]

  • Page 363

    Appendix L V isual Inspection System Protocol 360 Offset Content (data format) Data +0 Number of receive data words (4 digits BCD) 0006: 1 measurement item 0009: 2 measurement items 0012: 3 measurement items 0015: 4 measurement items 0018: 5 measurement items +1 Window No. (2 digits BCD) 00 to 07 +2 Evaluation result (1 digit BCD) 0: OK 1: NG +3 to[...]

  • Page 364

    Appendix L V isual Inspection System Protocol 361 Reference Object Registration Command 2 Execution (F300) (Sequence No. 464) This sequence performs a measurement for the input image and updates the reference object data of a desig- nated window . Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +[...]

  • Page 365

    Appendix L V isual Inspection System Protocol 362 Offset Content (data format) Data +0 Number of receive data words 0007 +1 to +2 X displacement (decimal portion) (3 digits BCD) Example – 123.456 Example +123.456 X displacement (integer portion) (3 digits BCD) +1 3456 +1 3456 X displacement (sign) (1 digit) (See note.) +2 F012 +2 0012 F is stored[...]

  • Page 366

    Appendix L V isual Inspection System Protocol 363 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0002 +1 Scene No. (2 digits BCD) 00 to 15 Receive Data Word Allocation (3rd Operand of PMCR) None. Note 1. If a scene No. is abnormal, CIO 28909 (if port A is used) or CIO 28913 (if port B is used) will turn ON. 2. Retry [...]

  • Page 367

    Appendix L V isual Inspection System Protocol 364 Camera Change (Increase by 1) (F200/300) (Sequence No. 481) This sequence increases the display camera No. by 1. Send Data Word Allocation (2nd Operand of PMCR) None. Receive Data Word Allocation (3rd Operand of PMCR) None. Binary Level Modification (F200/300) (Sequence No. 482) This sequence modifi[...]

  • Page 368

    Appendix L V isual Inspection System Protocol 365 Scene Switching (Arbitrary) (Sequence No. 492) This sequence switches to a designated scene No. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Scene No. Offset Contents (data format) Data +0 Number of send data words (4 digits BCD)[...]

  • Page 369

    Appendix L V isual Inspection System Protocol 366 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0003 to 0129 +1 Command length (4 digits BCD) 0001 to 0253 +2 to Command (ASCII) Specify ASCII data. Receive Data Word Allocation (3rd Operand of PMCR) The reception data is stored in the reception data words without the [...]

  • Page 370

    367 Appendix M V600/V620 ID Controller Protocol The V600/V620 ID Controller Protocol is used to make various settings or control remotely the ID Controller Con- nected to the Serial Communications Board via RS-232C or RS-422A cable. Protocol Configuration The configuration of the V600/V620 ID Controller Protocol is shown below . Sequence Communicat[...]

  • Page 371

    Appendix M V600/V620 ID Controller Protocol 368 Sequence No. Ladder interface Function Communications sequence name Sequence No. Receive word allocation Send word allocation Function Communications sequence name 519 Write (ASCII/2) Used when the number of Heads to be written to the Carrier is 2. Ye s No 520 Write (ASCII/4) Used when the maximum num[...]

  • Page 372

    Appendix M V600/V620 ID Controller Protocol 369 Sequence No. Ladder interface Function Communications sequence name Sequence No. Receive word allocation Send word allocation Function Communications sequence name 544 Polling auto-read command proces- sing cancel Cancels polling auto-read processing. Ye s Ye s 545 Polling auto-write command proces- s[...]

  • Page 373

    Appendix M V600/V620 ID Controller Protocol 370 RS-422A Connections Up to 16 units can be connected Serial Commu- nications Board RS-422A port ID Controller Head Data Carrier ID Controller Head Data Carrier CQM1H Shielded cable Signal name Pin No. Signal name Pin No. Serial Communications Board: D-sub 9 pin (female) ID Controller (CD1D): D-sub 9 pi[...]

  • Page 374

    Appendix M V600/V620 ID Controller Protocol 371 DIP Switch Settings V600/620-CD1D DIP Switches DIP Switch 1 Baud rate (bps) 2400 4800 9600 19,200 Display mode Error display mode I/O display mode Local communications mode setting Speed priority setting Distance priority setting 12 3456 7 8 7 7 7 7 8 8 8 8 2 2 1 1 2 1 1 1 Data length (bit) STOP bits [...]

  • Page 375

    Appendix M V600/V620 ID Controller Protocol 372 DIP Switch 2 12 3456 7 8 Communications protocol setting with host devices 1-to-N protocol 1-to-1 protocol Unit No. No. 0 No. 1 No. 2 No. 3 No. 4 No. 5 No. 6 No. 7 Synchronous condition OFF (LL level) ON (HL level) T railing edge Leading edge Note 1. B e careful not to set to the same unit number twic[...]

  • Page 376

    Appendix M V600/V620 ID Controller Protocol 373 V600-CA  A DIP Switches DIP Switch 1 Mode 1 12 3456 7 8 Note 1. Data length setting 7 bits: ASCII code 8 bits: JIS8 unit code 2. Parity setting E: Even parity O: Odd parity N: No parity designation • Baud Rate Setting 1=ON, 0=OFF 1=ON, 0=OFF Note Factory Setting: All OFF SW7 and SW8: Be sure to s[...]

  • Page 377

    Appendix M V600/V620 ID Controller Protocol 374 Read (ASCII/1) (Sequence No. 500) This sequence is used when the number of Heads to be read from the Carrier is 1. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 +2 +3 +4 (Undefined) Unit No. (Undefined) Unit No. (Undefined) Head CH No. Leading [...]

  • Page 378

    Appendix M V600/V620 ID Controller Protocol 375 Read (ASCII/2) (Sequence No. 501) This sequence is used when the number of Heads to be read from the Carrier is 2. Up to 1 18 bytes of data can be read for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of Heads +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 (Undef[...]

  • Page 379

    Appendix M V600/V620 ID Controller Protocol 376 Read (ASCII/4) (Sequence No. 502) This sequence is used when the maximum number of Heads to be read from the Carrier is 4. Up to 48 bytes of data can be read for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of Heads +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 [...]

  • Page 380

    Appendix M V600/V620 ID Controller Protocol 377 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0002 to 0097 +(24(N – 1)+1) to +(24(N – 1)+24) Read data (ASCII) Number of read bytes stored in ASCII N: Number of Heads Note Data from Data Carriers designated for ASCII is stored beginning with the smallest offset [...]

  • Page 381

    Appendix M V600/V620 ID Controller Protocol 378 Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words Number of receive data words +0 +1 +10 +1 1 +20 +71 +80 ~ ~ Read data Read data CH 1 CH 2 Read data ~ ~ Read data ~ ~ ~ ~ Read data Read data CH 8 Offset Contents (data format) Data +0 Number of receive data words (4 digits [...]

  • Page 382

    Appendix M V600/V620 ID Controller Protocol 379 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0002 to 0062 +1 to +61 Read data (Hexadecimal) Number of read bytes stored in hexadecimal data Note Data for Data Carriers designated for hexadecimal is stored beginning with the largest offset from the re- ceive data wo[...]

  • Page 383

    Appendix M V600/V620 ID Controller Protocol 380 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0002 to 0091 +(60(N – 1)+1) to +(60(N – 1)+30) Read data (Hexadecimal) Number of read bytes stored in hexadecimal code N: Number of Heads Note Data for Data Carriers designated for hexadecimal is stored beginning wit[...]

  • Page 384

    Appendix M V600/V620 ID Controller Protocol 381 Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words Number of receive data words +0 +1 +12 +13 +24 +25 +36 +73 +84 ~ ~ Read data Read data CH 1 CH 2 (Not used) ~ ~ (Not used) ~ ~ ~ ~ Read data Read data CH 4 Read data ~ ~ Read data Offset Contents (data format) Data +0 Number[...]

  • Page 385

    Appendix M V600/V620 ID Controller Protocol 382 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0006 to 0034 +1 Number of Heads (4 digits BCD) 0001 to 0008 +(4(N – 1)+2) Unit No. (2 digits BCD) Arbitrary (However , there is a limit for the maximum Unit No. depending on the model) +(4(N – 1)+3) R/W Head CH No. (1 d[...]

  • Page 386

    Appendix M V600/V620 ID Controller Protocol 383 Auto-read (Hexadecimal/1) (Sequence No. 509) This sequence is used when the maximum number of Heads to be read from the Carrier is 1. Send Data Word Allocation (2nd Operand of PMCR) The send data word allocation is similar to that of Sequence No. 504 (Read (Hexadecimal/1)). Receive Data Word Allocatio[...]

  • Page 387

    Appendix M V600/V620 ID Controller Protocol 384 Polling Auto-read Sub-command (ASCII/2) (Sequence No. 51 1) This sequence is used when the maximum number of Heads to be read from the Carrier is 2. Up to 1 18 bytes of data can be read for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR) The send data word allocation is similar t[...]

  • Page 388

    Appendix M V600/V620 ID Controller Protocol 385 Polling Auto-read (Hexadecimal) (Sequence No. 514) This sequence is used when the number of Heads to be read from the Carrier is from 1 to 8. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of Heads +0 +1 +2 +3 +4 +5 +(4(N – 1)+2) +(4(N – 1)+3) +(4(N – 1)+4) +(4(N [...]

  • Page 389

    Appendix M V600/V620 ID Controller Protocol 386 2. Data from Data Carrier designated for hexadecimal is stored beginning with the largest of fset from the receive data words. 3. Retry processing is not performed for this sequence. Polling Auto-read Sub-command (Hexadecimal/4) (Sequence No. 516) This sequence is used when the maximum number of Heads[...]

  • Page 390

    Appendix M V600/V620 ID Controller Protocol 387 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0006 to 0129 +1 Relevant Unit No. (2 digits BCD) 00 to 07 (CD1D) 00 to 15 (CA2A) +2 R/W Head CH No. (1 digit BCD) R/W Head CH 1 designation: 1 R/W Head CH 2 designation: 2 The CD1D must be set to 1. +3 Leading address No. ([...]

  • Page 391

    Appendix M V600/V620 ID Controller Protocol 388 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0007 to 0129 +1 Number of Heads (4 digits BCD) 0001 to 0002 +(64(N – 1)+2) Unit No. (2 digits BCD) Arbitrary (However , there is a limit for the maximum Unit No. depending on the model) +(64(N – 1)+3) R/W Head CH No. (1[...]

  • Page 392

    Appendix M V600/V620 ID Controller Protocol 389 W rite (ASCII/4) (Sequence No. 520) This sequence is used when the number of Heads to be written to the Carrier is 4. Up to 48 bytes of data can be read for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of Heads +0 +1 +2 +3 +4 +5 +6 +29 +30 +31 +3[...]

  • Page 393

    Appendix M V600/V620 ID Controller Protocol 390 W rite (ASCII/8) (Sequence No. 521) This sequence is used when the number of Heads to be written to the Carrier is 8. Up to 20 bytes of data can be read for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of Heads +0 +1 +2 +3 +4 +5 +6 +15 +16 +17 +1[...]

  • Page 394

    Appendix M V600/V620 ID Controller Protocol 391 W rite (Hexadecimal/1) (Sequence No. 522) This sequence is used when the number of Heads to be written to the Carrier is 1. Send Data Word Allocation (2nd Operand of PMCR) First word of send data +0 +1 +2 +3 +4 +5 Max +35 Number of send data words (Undefined) Unit No. (Undefined) Head CH No. Leading a[...]

  • Page 395

    Appendix M V600/V620 ID Controller Protocol 392 W rite (Hexadecimal/2) (Sequence No. 523) This sequence is used when the number of Heads to be written to the Carrier is 2. Up to 56 digits of data can be written for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of Heads +0 +1 +2 +3 +4 +5 +6 +19 [...]

  • Page 396

    Appendix M V600/V620 ID Controller Protocol 393 W rite (Hexadecimal/4) (Sequence No. 524) This sequence is used when the number of Heads to be written to the Carrier is 4. Up to 24 digits of data can be written for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of Heads +0 +1 +2 +3 +4 +5 +6 +1 1[...]

  • Page 397

    Appendix M V600/V620 ID Controller Protocol 394 Note 1. Write data designated for hexadecimal is sent beginning with the largest of fset from the send data words. 2. Always set an even number of digits for the write data. W rite (Hexadecimal/8) (Sequence No. 525) This sequence is used when the number of Heads to be written to the Carrier is 8. Up t[...]

  • Page 398

    Appendix M V600/V620 ID Controller Protocol 395 Offset Contents (data format) Data +0 Number of send data words (4 digits BCD) 0007 to 0107 +1 Number of Heads (4 digits BCD) 0001 to 0004 +(14(N – 1)+2) Unit No. (2 digits BCD) Arbitrary (However , there is a limit for the maximum Unit No. depending on the model) +(14(N – 1)+3) R/W Head CH No. (1[...]

  • Page 399

    Appendix M V600/V620 ID Controller Protocol 396 Polling Auto-write Subcommand (ASCII/2) (Sequence No. 529) This sequence is used when the number of Heads to be written to the Carrier is 2. Up to 1 18 digits of data can be written for each Read/Write Head. Send Data Word Allocation (2nd Operand of PMCR) The send data word allocation is similar to th[...]

  • Page 400

    Appendix M V600/V620 ID Controller Protocol 397 Receive Data Word Allocation (3rd Operand of PMCR) None. Note 1. Execute Sequence No. 532 before executing Sequence No. 533. 2. Retry processing is not performed for this sequence. Polling Auto-write (Hexadecimal/2) (Sequence No. 534) This sequence is used when the number of Heads to be written to the[...]

  • Page 401

    Appendix M V600/V620 ID Controller Protocol 398 Note 1. Execute Sequence No. 536 before executing Sequence No. 537. 2. Retry processing is not performed for this sequence. Polling Auto-write (Hexadecimal/8) (Sequence No. 538) This sequence is used when the number of Heads to be written to the Carrier is 8. Send Data Word Allocation (2nd Operand of [...]

  • Page 402

    Appendix M V600/V620 ID Controller Protocol 399 Receive Data Word Allocation (3rd Operand of PMCR) Receive data storage words Number of receive data words +0 +1 (Undefined) (Undefined) Completion code Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0002 (fixed) +1 Completion code (2 digits Hexadecimal) (V erificati[...]

  • Page 403

    Appendix M V600/V620 ID Controller Protocol 400 Error Information Read (Sequence No. 542) This sequence reads information from the latest error log. Send Data Word Allocation (2nd Operand of PMCR) First word of send data Number of send data words +0 +1 (Undefined) Unit No. Offset Contents (data format) Data +0 Number of send data words (4 digits BC[...]

  • Page 404

    Appendix M V600/V620 ID Controller Protocol 401 Offset Contents (data format) Data +0 Number of receive data words (4 digits BCD) 0002 (fixed) +1 Completion code (2 digits Hexadecimal) 00: Normal termination 14: Auto or communications command processing not executed 75: Cancelled before the end of expansion command receive or before sync input went[...]

  • Page 405

    Appendix M V600/V620 ID Controller Protocol 402 General-purpose Command (Sequence No. 546) This sequence transmits arbitrary data and stores receive data to the receive data words. The characters “ @ ” , FCS (terminator) are not required in the send data words and receive data words. These characters will be auto- matically added for transmissi[...]

  • Page 406

    403 Appendix N Hayes Modem A T Command Protocol The Hayes Modem A T Command Protocol is used to make various settings or control remotely a Hayes modem connected to the Serial Communications Board via RS-232C cable. Protocol Configuration The configuration of the Hayes Modem A T Command Protocol is shown below . Sequence Communications Function Lad[...]

  • Page 407

    Appendix N Hayes Modem A T Command Protocol 404 Connections The connections when using the Hayes Modem A T Command Protocol is shown below . RS-232C Connection Modem T elephone line Modem Modem: D-sub 25 pin (female) CQM1H D-sub 9 pin (female) Compatible Modems Although most of the sequences in this protocol can be used regardless of modem, the seq[...]

  • Page 408

    Appendix N Hayes Modem A T Command Protocol 405 Modem Settings When this protocol is used, it is required that the modem connected to the Serial Communications Board be initial- ized to the following conditions: Command echo No Result code display format Numeric format Speed display , busy/dialling tone detection at connection Baud rate display ena[...]

  • Page 409

    Appendix N Hayes Modem A T Command Protocol 406 MD144FB5V (OMRON) The following command is set in the words specified by the second operand of PMCR. A TE0V0X4V2N3%C0*C0Q0&M0&D0%B9600S26=10 Character string length of modem initialization command (bytes) Code length of PMCR when it is used (words) AT E0 V0 X4 V 2 N3 %C 0* C0 Q 0& M0[...]

  • Page 410

    Appendix N Hayes Modem A T Command Protocol 407 Setting Example If telephone number is 03-0123-4567 Character string length of dialling operation sent to modem (bytes) Code length of PMCR when it is used (words) 0016 0010 4154 A T 4454 D T 3033 0 3 2D30 – 0 3132 1 2 332D 3 – 3435 4 5 3637 6 7 Note 1. This example uses a tone line. Change A TDT [...]

  • Page 411

    Appendix N Hayes Modem A T Command Protocol 408 Password V erification Operation The number of retries is 3 for password verification. PC Personal computer (remote exchange) Password verification (starting #552) Dispatching character string (Retry up to 3 times) Receiving password V erifying password V erification result T erminating process Passwo[...]

  • Page 412

    Appendix N Hayes Modem A T Command Protocol 409 Setting Example When send data is THIS IS SAMPLE. Character string length of send data sent to modem (bytes) Code length of PMCR when it is used (words) 0014 0009 5448 T H 4953 I S 2049 I 5320 S 5341 S A 4D50 M P 4C45 L E A maximum of 200 bytes (including the CR) can be received. When the received dat[...]

  • Page 413

    41 1 Index Numbers 1:1 Data Link, 3, 4, 6, 107 functions, 108 ports, connections, 1 10 specifications, 109 starting, 108 1:1 NT Link, 3, 4, 7 1:N NT Link, 3, 4, 7 errors, 129 2-wire and 4-wire connections, transmission circuits, 19 2-wire or 4-wire switch, 13 3Z4L Laser Micrometer , 63 connections, 319 protocols, sequences, 317 – 347 A – B appl[...]

  • Page 414

    Index 412 errors 1:N NT Link, 129 error codes, 30, 81, 85, 105 error flags, 30 flags, 121 Host Link, 121 end codes, 52 indicators, 120 protocol macros, 125 troubleshooting, 121 ES100 Digital Controller , 63 connections, 244 protocols, sequences, 243 – 282 Executed Reception Case No. (code), 82 external dimensions, connector cover , 15 F F200/F300[...]

  • Page 415

    Index 413 P parameters sequence, 77 step, 78 PC Setup, 8, 28 link words, 1:1 Data Link, 108 standard settings 1:1 Data Link, 109 Host Link, 37 no-protocol communications, 100 NT Links, 1 16 protocol macros, 67 PC-initiated communications, 34 PMCR( –– ) instruction, 85, 143 operand settings, 89 specifications, 85 ports, 8 See also RS-232C ports;[...]

  • Page 416

    Index 414 S safety precautions. See precautions sequence parameters, 77 sequences, CompoW ay/F Master Broadcast with ASCII Conversion, No Response, 146 Broadcast with No Conversion and No Response, 148 General-purpose Broadcast with No Conversion and No Re- sponse, 150 General-purpose Send with No Conversion and with Re- sponse, 149 Send with ASCII[...]

  • Page 417

    Index 415 W rite Level 2 Parameters 1, 180 W rite Level 2 Parameters 2, 181 W rite Manual Reset V alue, 173 W rite MV at Stop T ime and at PV Error , 175 W rite MV Limits, 175 W rite Proportional Band, Integral T ime, and Derivative T ime, 172 W rite Set Point, 172 W rite SP Ramp T ime Unit and Set V alue, 174 sequences, E5ZE T emperature Controlle[...]

  • Page 418

    Index 416 sequences, K3T  Intelligent Signal Processor General-purpose Command, 303 Model Data Read (by Unit Number), 301 Model Data Read (Continuous Units), 302 Read Display V alue (PV) (by Unit Number), 299 Read Display V alue (PV) (Continuous Units), 301 Read Holding Data, 297 Read Holding Data BH (Continuous Units), 299 Read Holding Data PH [...]

  • Page 419

    Index 417 sequences, V isual Inspection System Arbitrary Measurement V alue Acquisition (F200), 355 Binary Level Modification (F200/300), 364 Camera Change (Decrease by 1) (F200/300), 363 Camera Change (Increase by 1) (F200/300), 364 Camera Designation and Positioning (F350), 362 Character String Inspection and Character Inspection (F350), 363 Cont[...]

  • Page 420

    419 Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W365-E1-1 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version. Revision code Date Revised content 1 September 1999 Original production[...]

  • Page 421

    Cat. No. W365-E1-1 Note: Specifications subject to change without notice. Printed in Japan Authorized Distributor:[...]