Sign In
Upload
Download
Table of Contents
Contents
Add to my manuals
Delete from my manuals
Share
URL of this page:
HTML Link:
Bookmark this page
Add
Manual will be automatically added to "My Manuals"
×
Bookmark added
×
Added to my manuals
Manuals
Brands
Xinje Manuals
Controller
XD Series
User manual
Table Of Contents - Xinje XD Series User Manual
Hide thumbs
Also See for XD Series
:
User manual
(456 pages)
,
Manual
(7 pages)
,
Manual
(2 pages)
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
Table Of Contents
390
page
of
390
Go
/
390
Contents
Table of Contents
Bookmarks
Table of Contents
Advertisement
Table of Contents
Table Of Contents
4
Programming Summary
10
Plc Features
10
Security Of The Program
10
Rich Basic Functions
10
Programming Language
11
Stop Plc When Reboot
11
Programming Mode
12
Direct Input
12
Instruction Configuration
12
Soft Component Function
13
Summary Of The Soft Components
13
Input Relay (X)
13
Output Relay (Y)
13
Auxiliary Relays (M, Hm)
14
Status Relays (S, Hs)
14
Timer (T, Ht)
14
Counter (C, Hc)
15
Data Register (D, Hd)
15
Flashrom Register (Fd)
15
Special Secret Register
16
Structure Of Soft Components
16
Structure Of Memory
16
Data Register
16
Timer T, Ht/Counter C, Hc
17
Flashrom Register Fd
17
Register Combined By Bits
17
Structure Of Bit Soft Components
18
Relay
18
The Bit Of Register
18
Soft Components List
19
Input/Output Relays (X, Y)
36
Auxiliary Relay (M, Hm, Sm)
38
Status Relay (S, Hs)
39
Time Value
43
Counter ( C, Hc )
44
Word Consist Of Bits
52
Offset Application
53
Flash Register (Fd, Sfd, Fs)
54
Constant
55
Programming Principle
56
Bcd: Binary Code Decimal
56
Basic Program Instructions
60
Basic Instructions List
60
[Ld] , [Ldi] , [Out]
62
Mnemonic And Function
62
Statement
62
[And] , [Ani]
63
[Or] , [Ori]
64
[Ldp], [Ldf], [Andp], [Andf], [Orp], [Orf]
65
Relationship With Anb
65
[Ldd], [Lddi], [Andd], [Anddi], [Ord], [Ordi], [Outd]
66
[Orb]
67
[Anb]
68
[Mcs] , [Mcr]
69
[Alt]
70
[Pls], [Plf]
71
[Set], [Rst]
72
[Cnt] [Cnt_D] [Dcnt] [Dcnt_D] [Rst] For The Counters
73
[Tmr], [Tmr-A] For Timers
75
[Group], [Groupe]
76
Programming Notes
77
Contactor Structure And Steps
77
Program's Executing Sequence
77
Applied Instructions List
79
Reading Method Of Applied Instructions
83
Program Flow Instructions
85
Condition Jump [Cj]
85
Call Subroutine [Call] And Subroutine Return [Sret]
86
Flow [Set], [St], [Stl], [Stle]
88
[For] And [Next]
93
[Fend] And [End]
95
Data Compare Function
96
Ld Compare [Ld]
97
Serial Compare [And]
98
Parallel Compare [Or]
99
Data Move Instructions
102
Data Compare [Cmp]
102
Data Zone Compare [Zcp]
103
Mov [Mov]
104
Data Block Move [Bmov]
106
Data Block Move [Pmov]
107
Fill Move [Fmov]
108
Floating Move [Emov]
110
Flashrom Write [Fwrt]
111
Zone Set [Mset]
112
Zone Reset [Zrst]
113
Swap The High And Low Byte [Swap]
114
Exchange [Xch]
115
Data Operation Instructions
117
Addition [Add]
117
Subtraction [Sub]
119
Multiplication [Mul]
121
Division [Div]
122
Increment [Inc] & Decrement [Dec]
124
Mean [Mean]
125
Logic And [Wand], Logic Or[Wor], Logic Exclusive Or [Wxor]
126
Logic Converse [Cml]
128
Negative [Neg]
129
Shift Instructions
130
Arithmetic Shift Left [Shl], Arithmetic Shift Right [Shr]
130
Logic Shift Left [Lsl], Logic Shift Right [Lsr]
132
Rotation Shift Left [Rol], Rotation Shift Right [Ror]
133
Bit Shift Left [Sftl]
135
Bit Shift Right [Sftr]
136
Word Shift Left [Wsfl]
137
Word Shift Right [Wsfr]
138
Data Convert
139
Single Word Integer Converts To Double Word Integer [Wtd]
140
16 Bits Integer Converts To Float Point [Flt]
141
Float Point Converts To Integer [Int]
142
Bcd Convert To Binary [Bin]
143
Binary Convert To Bcd [Bcd]
145
Hex Converts To Ascii [Asci]
146
Ascii Convert To Hex.[Hex]
147
Coding [Deco]
148
High Bit Coding [Enco]
151
Low Bit Coding [Encol]
153
Binary To Gray Code [Gry]
155
Gray Code To Binary [Gbin]
156
Floating Number Operation
157
Floating Compare [Ecmp]
158
Floating Zone Compare [Ezcp]
159
Floating Addition [Eadd]
161
Floating Subtraction [Esub]
162
Floating Multiplication [Emul]
163
Floating Division [Ediv]
165
Float Square Root [Esqr]
166
Sine [Sin]
167
Cosine [Cos]
168
Tan [Tan]
169
Asin [Asin]
170
Acos [Acos]
171
Atan [Atan]
172
Rtc Instructions
173
Read The Clock Data [Trd]
173
Write Clock Data [Twr]
174
Clock Compare [Tcmp]
175
High Speed Counter (Hsc)
178
Instructions List For Hsc
178
Hsc Mode
179
Increasing Mode
179
Ab Phase Mode
179
Hsc Range
180
Hsc Input Wiring
181
Hsc Ports Assignment
181
Ab Phase Counting Frequency Doubling Setting
187
Hsc Instruction
188
Single Phase Hsc [Cnt]
188
Ab Phase Hsc [Cnt_Ab]
189
Hsc Reset [Rst]
190
Read Hsc Value [Dmov]
190
Write Hsc Value [Dmov]
191
The Difference Between Hsc And Normal Counter
192
Hsc Example
193
Hsc Interruption
195
Function Overview And Panel Configuration
195
Single Phase 100-Segment Hsc [Cnt]
197
Ab Phase 100-Segment Hsc [Cnt_Ab]
198
Interruption Flag Of Hsc
199
Setting Value Meaning In Absolute Or Relative Mode
199
Hsc Interruption Cycle Mode
202
Cam Function Of High Speed Counter Interruption
204
Interruption Using Notes And Parameter Address
205
Application Of Hsc Interruption
206
Communication Function
213
Com Port
213
Rs232 Port (Com0, Com1, Com2-Rs232)
216
Rs485 Port (Com2, Com2-Rs485)
216
Usb Port
217
Ethernet Port (Rj45)
218
Left Extension Ed Port (Com3)
219
Above Extension Bd Port (Com4, Com5)
220
Communication Parameters
221
Modbus Communication
221
Changing Of Modbus Instruction
222
Modbus Communication Address
223
Modbus Data Format
233
Modbus Transmission Mode
233
Modbus-Rtu Data Structure
233
Rtu Mode
233
Function Code 0Fh: Write Multiple Coils
236
Function Code 10H: Write Multiple Registers
236
Modbus-Ascii Data Structure
237
Ascii Mode
237
Communication Instructions
239
The Operand Definition In The Instruction
239
Remote Register/Coil Start Id Number
239
Communication Condition
239
Coil Read [Colr]
240
Input Coil Read [Inpr]
241
Single Coil Write [Colw]
242
Multiple Coils Write [Mclw]
243
Register Read [Regr]
244
Input Register Read [Inrr]
245
Single Register Write [Regw]
246
Multiple Registers Write [Mrgw]
248
Modbus Serial Port Configuration
249
Two Communication Modes: Rtu, Ascii
250
Modbus Communication Application
253
485 Wiring Methods
253
Free Communication Mode
257
Prerequisites For Free Communication
257
Serial Port Configuration
258
Timeout: Frame Timeout (Ms), Reply Timeout (Ms)
258
Suitable Occasion
259
Free Communication Instruction
260
Send Data [Send]
260
Receive Data [Rcv]
261
Function And Action
262
Release Serial Port [Rcvst]
262
Free Communication Example
263
Communication Flag And Register
269
Read Write Serial Port Parameters
272
Read Serial Port Parameters [Cfgcr]
272
Write Serial Port Parameters [Cfgcw]
273
Serial Port Parameter Name And Setting
274
Pid Control Function
276
Instruction Form
276
Functions And Action
277
Parameters Setting
278
Register And Their Functions
279
Parameters Description
284
Auto Tune Mode
285
Two Different Methods And Pid Control Diagram
286
Pid Auto Tune Period Value [S3+12]
286
Pid Auto Tune Overshooting Permission Setting [S3+13]
287
Every Adjustment Percent Of Current Target Value
287
Cutline Explanation
287
Advanced Mode
288
Application Outlines
289
C Language Function Block
295
Suitable Soft Components
296
Import And Export The Functions
299
Edit The Func Blocks
300
Program Example
302
Application Notes
304
Function Table
306
Sequence Block
308
Call The Block
309
Add The Block
309
Move The Block
312
Delete The Block
313
Modify The Block
313
Edit The Instruction Of The Block
315
Command Item
315
Pulse Item
316
Wait Item
317
Module Read And Write (From/To)Instruction
318
Running Form Of The Block
319
Block Instruction Editing Rules
321
Block Related Instructions
323
Stop Running The Block [Sbstop]
323
Continue Running The Block [Sbgoon]
324
The Timing Sequence Of The Instructions
325
Block Flag Bit And Register
329
Special Function Instructions
330
Pulse Width Modulation [Pwm]
330
Frequency Measurement [Frqm]
333
Precise Timing [Str]
337
Precise Timing Interruption
339
Interruption [Ei], [Di], [Iret]
343
External Interruption
343
Interruption Instruction
344
Interruption's Range Limitation
345
Disable The Interruption
345
Timing Interruption
349
Interruption No
349
Interruption Range's Limitation
350
Interruption Forbidden
350
Common Questions And Answers
351
Appendix Special Soft Components
369
Special Auxiliary Relay
369
Special Data Register
375
Special Flash Register
382
Plc Resource Conflict Table
385
Plc Function Configuration List
386
Previous
Page
1
...
389
390
Advertisement
Table of Contents
Related Manuals for Xinje XD Series
Network Hardware Xinje XD Series User Manual
(456 pages)
Control Unit Xinje XD Series Manual
Extension ed module (7 pages)
Extender Xinje XD Series Manual
Extension ed module (2 pages)
Control Unit Xinje XD Series Manual
(2 pages)
Control Unit Xinje XL Series User Manual
Plc extension module (105 pages)
Controller Xinje XMP2-32 series Operating Manual
Integral industrial controller (29 pages)
Controller Xinje XP-18 Series Operating Manual
Integral industrial controller (43 pages)
Controller Xinje XC Series User Manual
Plc hardware (138 pages)
Controller Xinje XC Series Hardware Manual
(135 pages)
Controller Xinje XL-2AD2DA-V-ED Manual
Extension ed module (2 pages)
Controller Xinje XSA330-W User Manual
Iot industrial controller (41 pages)
Related Products for Xinje XD Series
Xinje XL-EnXmY
Xinje XL-E4AD2DA
Xinje XL-E8AD-A
Xinje XL-E8AD-V
Xinje XL-E4DA
Xinje XL-E4PT3-P
Xinje XL-E4TC-P
Xinje XD-4GBOX-ED
Xinje XD1 Series
Xinje XD2 Series
Xinje XDM Series
Xinje XDC Series
Xinje XD5E Series
Xinje XDME Series
Xinje XDH Series
Xinje XC1-32T-C
This manual is also suitable for:
Xl series
Xd3
Xd5
Table of Contents
Print
Rename the bookmark
Delete bookmark?
Delete from my manuals?
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL