Sign In
Upload
Manuals
Brands
Mitsubishi Manuals
Controller
FX2NC-232ADP
Mitsubishi FX2NC-232ADP Manuals
Manuals and User Guides for Mitsubishi FX2NC-232ADP. We have
2
Mitsubishi FX2NC-232ADP manuals available for free PDF download: User Manual
Mitsubishi FX2NC-232ADP User Manual (729 pages)
MELSEC-F FX SERIES PROGRAMMABLE CONTROLLERS
Brand:
Mitsubishi
| Category:
Controller
| Size: 20.74 MB
Table of Contents
Introduction
29
Outline and Features of Communication Types
31
N:N Network
33
Parallel Link
34
Computer Link
35
Inverter Communication
36
Non-Protocol Communication
37
Programming Communication
39
Remote Maintenance
41
CC-Link/Lt Network
42
AS-I System
43
Internet Mail Sending
44
Short Mail Sending
45
Communication Types and Communication Equipment
47
Communication Equipment Applicability Map
48
FX 0N Plcs
58
Combination of Communication Equipment (Block Diagram)
60
Outline of Communication Setting in the FX Series
82
Communication Setting Using Parameter Method (GX Developer)
84
Correspondence between Parameter Setting and each Communication Type
85
Communication Setting in Parameter Method (FXGP/WIN)
86
Correspondence between Parameter Setting and each Communication Type
88
Extension of Ports (for FX 3G , FX 3U , FX 3UC )
89
Limitation When Ch1 and Ch2 Are Used at the same Time
92
Introduction of Manuals (Type, Reading Method and Acquisition Method)
93
Introduction of Related Manuals
94
Communication Equipment (Option)
96
Related Options for Communication
98
Abbreviations, Generic Names and Terms Used in this Manual
99
Outline
107
Procedures before Operation
108
Communication Type Applicability in PLC
109
Products Whose Production was Stopped
110
For Non-Applicable Versions (Setting an Alternative Model)
112
Specifications
113
Link Specifications
114
Link Time
115
System Configuration and Equipment Selection
116
Applicable FX PLC and Communication Equipment
117
Wiring
121
Selecting Cables and Terminal Resistors
122
Connecting Cables
123
Connecting Terminal Resistors
125
Connection Diagram
126
Communication Setting (Initialization) in FX Programmable Controller
127
Communication Setting Using Parameter Method (GX Developer)
128
Communication Settings Using Parameter Method (FXGP/WIN)
129
Test Run (Communication Test)
130
Creating Programs for the Communication Testing
132
Creating a Program for each Slave Station
133
Creating Programs
134
Creating Programs for Master Station (Station No. 0)
136
Creating Programs for Slave Station (Station No. "N")
138
Cautions on Program Creation
140
Practical Program Examples
141
Setting Contents
142
Setting Program for Slave Station (No. 1)
144
Setting Program for Slave Station (No. 2)
146
Troubleshooting
148
Checking Setting Contents and Errors
149
Checking Absence/Presence of Data Transfer Errors
150
Checking Error Codes
151
Related Data
152
Details of Related Devices
158
Data Transfer Sequence Error [M8138 to M8190] [M504 to M511]
159
Corresponding Station Number Settings Status [D8173]
160
Slave Station Quantity Setting [D8177]
161
Number of Retries [D8179]
162
Maximum Link Scan Time [D8202] [D202]
163
Data Transfer Error Code [D8211 to D8218] [D211 to D218]
164
Outline
167
Procedures before Operation
168
Communication Type Applicability in PLC
169
Programming Tool Applicability
170
For Non-Applicable Versions (Setting an Alternative Model)
172
Specifications
173
Link Specifications
174
Link Device Numbers and Number of Points
175
System Configuration and Selection
177
Configuration of each Group
178
Applicable FX PLC and Communication Equipment
182
Wiring
187
Selecting Cables and Terminal Resistors
188
Connecting Cables
189
Optical Fiber Cable
190
Connecting Terminal Resistors
191
Connection Diagram
192
Grounding
194
Communication Setting (Initialization) in FX Programmable Controller
195
Communication Setting Using Parameter Method (GX Developer)
196
Communication Setting Using Parameter Method (FXGP/WIN)
197
Test Run (Communication Test)
198
Creating Programs for the Communication Test
199
Creating Programs
201
Creating Programs for Master Station
203
Creating Programs for Slave Station
204
High Speed Parallel Link Mode
205
Creating Programs for Master Station
207
Creating Programs for Slave Station
208
Cautions on Program Creation
209
Practical Program Examples
210
Program for Master Station
211
Troubleshooting
212
Checking Sequence Program
213
Checking Absence/Presence of Errors
214
Related Data
215
Details of Related Devices
216
Parallel Link on [M8072]
217
Serial Communication Error Code [D8063 and D8438]
218
Outline
221
Procedures before Operation
222
Communication Type Applicability in PLC
223
Products Whose Production was Stopped
224
For Non-Applicable Versions (Setting an Alternative Model)
227
Specifications
228
Link Specifications
229
Applicable Device Ranges
230
Link Time
232
System Configuration and Equipment Selection
234
Applicable FX PLC and Communication Equipment
235
For Communication in Accordance with RS-485
240
Wiring
245
Wiring Procedure
246
Selecting Connection Method
247
Selecting Cables and Terminal Resistors (RS-485)
248
Connecting Cables
249
Connecting Terminal Resistors
251
Connection Diagram for RS-232C
252
Connection Diagram for RS-485 and RS-422
253
Grounding
254
Communication Setting in FX Programmable Controller
255
Communication Setting Using Parameter Method (GX Developer)
256
Communication Settings Using Parameter Method (FXGP/WIN)
258
Control Procedures and Setting Methods
260
Important Points in Computer Link
261
Sum Check Code
262
Control Procedure Format 1
263
Control Procedure Format 4
264
Contents of Set Items in each Control Procedure (Protocol)
265
Time-Out Time Setting
267
Transfer Sequence Time Chart and Communication Time
268
Transfer Time in Transfer Sequence
269
Transfer Data in Character Area
270
When Word Device Memory Is Read or Written
271
Commands
272
BR Command [Reads Device Memory in 1-Bit Units]
273
WR Command [Reads Device Memory in 1-Word Units]
274
QR Command [Reads Device Memory in 1-Word Units]
276
BW Command [Writes Device Memory in 1-Bit Units]
278
WW Command [Writes Device Memory in 1-Word Units]
279
QW Command [Writes Device Memory in 1-Word Units]
281
BT Command [Tests Device Memory in 1-Bit Units (by Writing Arbitrarily)]
283
WT Command [Tests Device Memory in 1-Word Units (by Writing Arbitrarily)]
284
QT Command [Tests Device Memory in 1-Word Units (by Writing Arbitrarily)]
286
RR/RS Command [Remotely Sets PLC to RUN/STOP Mode]
287
Remote Control Specification Method and Specification Examples
288
PC Command [Reads PLC Model Name]
289
GW Command [Offers Global Function]
291
On-Demand Function
292
Control Procedures in On-Demand Function
294
On-Demand Function Specification Method and Specification Examples
296
TT Command [Loop-Back Test]
299
Troubleshooting
300
Checking Sequence Program
301
Checking Error Codes
302
Communication Error
303
Related Data
304
Details of Related Devices
306
On-Demand Error Flag [M8128 and M8428]
307
Communication Format Setting [D8120 and D8420]
308
Station Number Settings [D8121 and D8421]
309
On-Demand Data Head Device Number Specification [D8127 and D8427]
310
Communication Setting Method Using Sequence Program
312
ASCII Code Table
313
Outline
317
Procedures before Operation
318
Communication Type Applicability in PLC
319
Programming Tool Applicability
321
For Non-Applicable Versions (Setting an Alternative Model)
322
Specifications
323
Link Specifications
324
System Configuration and Selection
325
Applicable FX PLC and Communication Equipment
327
Wiring
331
Wiring Procedure
332
Selecting Cables and Connection Devices
333
A500, F500 and V500 Series (FR-A5NR)
334
F700 and A700 Series (Built-In RS-485 Terminal)
335
E700 Series (FR-E7TR)
336
Connection Cables
337
Connecting Cables
338
Connection Devices (RJ45 Connector and Distributor)
339
Wiring a Shielding Wire (Class-D Grounding)
341
Connector in Inverter
342
Connection Diagram
344
For A500, F500 and V500 Series (FR-A5NR)
345
For E700 Series (PU Connector)
346
For E700 Series (FR-E7TR)
348
For F700 and A700 Series (Built-In RS-485 Terminal)
351
Grounding
352
Communication Setting in Inverter
353
S500 Series (When Connected to RS-485 Port)
354
Parameter Setting Method (Reference)
355
E500 Series (When Connected to PU Port)
357
Parameter Setting Method (Reference)
358
V500, F500 and A500 Series (Connection to PU Port)
360
Parameter Setting Method (Reference)
361
V500, F500 and A500 Series (Connection to FR-A5NR)
363
E700, D700 Series (When PU Port, FR-E7TR Is Connected)
364
Parameter Setting Method (Reference)
366
F700 and A700 Series (When Built-In RS-485 Terminal Is Connected)
368
Parameter Setting Method (Reference)
369
Cautions on Setting
370
Communication Setting in FX Programmable Controller
371
Communication Setting Using Parameter Method (GX Developer)
372
Communication Setting Using Parameter Method (FXGP/WIN)
374
For FX 2N and FX 2NC Plcs
376
Common Items in Inverter Communication Instructions
377
Instruction Completion and Error Flag Operation
379
Cautions on Programming
381
Inverter Operation Monitoring Instruction (Plc←Inverter) [EXTR K10]
382
Inverter Operation Control Instruction (Plc→Inverter) [EXTR K11]
383
Inverter Parameter Reading Instruction (Plc←Inverter) [EXTR K12]
384
Inverter Parameter Writing Instruction (Plc→Inverter) [EXTR K13]
385
Second Parameter Specification Codes
386
A500 Series
387
Practical Program Examples (for FX 2N and FX 2NC Plcs)
388
Program Example
389
Practical Example 2
392
Program Example
393
Creating Programs (for FX 3G , FX 3U and FX 3UC Plcs)
397
Contents of Related Devices
398
Common Items in Inverter Communication Instructions
399
Instruction Completion and Error Flag Operation
401
Cautions on Programming
403
Inverter Operation Monitoring Instruction (Plc←Inverter) [FNC270 / IVCK]
405
Inverter Operation Control Instruction (Plc→Inverter) [FNC271 / IVDR]
406
Inverter Parameter Reading (Plc←Inverter) [FNC272 / IVRD]
407
Inverter Parameter Writing (Plc→Inverter) [FNC273 / IVWR]
408
Program Example of "Second Parameter Specification Code"
409
Second Parameter Specification Codes
411
A500 Series
412
F500 Series
413
A700 Series
414
E700 and D700 Series
415
Practical Program Examples (for FX 3G /FX 3U /FX 3UC Plcs)
416
Program Example
417
Practical Example 2
420
Program Example
421
Troubleshooting
425
Checking Sequence Program
426
Checking Absence/Presence of Errors
427
Related Data
429
Details of Related Devices for FX 2N and FX 2NC Plcs
430
Communication Error Latch [M8157]
431
Error Code [D8156]
432
Error Occurrence Step Number Latch [D8157]
433
Related Device List for FX 3G , FX 3U and FX 3UC Plcs
434
Details of Related Devices for FX 3G , FX 3U and FX 3UC Plcs
435
Inverter Communication Error [M8152, M8153, M8157 and M8158]
436
Step Number of Instruction Using Communication Port [D8151 and D8156]
437
Inverter Communication Error Occurrence Step [D8153 and D8158]
438
FREQROL Inverter Parameter List
440
Parameters in F700, A700, E700 and D700 Series
462
Communication Parameters
479
Outline
483
Procedures before Operation
486
Communication Type Applicability in PLC
487
Products Whose Production was Stopped
488
For Non-Applicable Versions (Setting an Alternative Model)
490
Specifications
491
Data Communication Specifications
492
Number of Transfer Data
493
System Configuration and Selection
494
Applicable FX PLC and Communication Equipment
495
For Communication in Accordance with RS-485
501
Wiring
505
Selecting Cables and Terminal Resistors
506
Connecting Cables
507
Connecting Terminal Resistors
509
Connection Diagram
510
Wiring for Communication in Accordance with RS-485
512
Grounding
513
Communication Setting in FX Programmable Controller
514
Communication Setting Using Parameter Method (GX Developer)
515
Communication Setting Using Parameter Method (FXGP/WIN)
517
Communication Setting for RS Instruction
558
Communication Setting for RS2 Instruction
560
Troubleshooting
561
Checking Sequence Program
562
Checking the Absence/Presence of Errors
563
Related Data
564
Details of Related Devices (RS Instruction)
565
Receiving Complete Flag [M8123]
566
Serial Communication Error Code [D8063]
567
Communication Format Setting [D8120]
568
Amount of Data Already Received [D8123]
569
Operation Mode Display [D8419]
570
Details of Related Devices (RS2 Instruction)
571
Sending Wait Flag [M8371, M8401 and M8421]
572
Carrier Detection Flag [M8404 and M8424]
573
Serial Communication Error Code [D8062, D8063 and D8438]
574
Communication Format Setting [D8370, D8400 and D8420]
575
Amount of Remaining Send Data [D8372, D8402 and D8422]
576
Header [D8380, D8381, D8410, D8411, D8430 and D8431]
577
Receiving Sum (Receive Data) [D8384, D8414 and D8434]
578
Operation Mode Display [D8389, D8419 and D8439]
579
ASCII Code Table
580
Buffer Memory (BFM)
583
Buffer Memory List
584
Communication Type Applicability in PLC
585
Programming Tool Applicability
586
For Non-Applicable Versions (Setting an Alternative Model)
587
Specification
588
System Configuration and Selection
589
Connection to PLC
590
Wiring
592
Connection to External Equipment with Terminal Specifications (with Control Line)
593
Creating Programs
594
FROM and to Instructions
595
TO Instruction
596
Direct Specification of Buffer Memory (U G )
597
Sending Header <BFM #5 (Highest-Order 2 Bytes) and BFM #4 (Lowest-Order 2 Bytes)
605
Operation of Control Line
610
When Control Line Is in Standard RS-232C Mode [BFM #0, (B9, B8) = (0, 1)]
611
When Control Line Is in RS-232C Interlink Mode [BFM #0, (B9, B8) = (1, 1)]
612
Practical Program Examples G
613
Sending/Receiving 8-Bit Buffer Length Data
617
Check Items
621
Outline
625
Procedures before Operation
626
Communication Type Applicability in PLC
627
Programming Tool Applicability
628
For Non-Applicable Versions (Setting an Alternative Model)
630
System Configuration and Selection
631
For Communication Equipment Operating in Accordance with RS-232C
632
Applicable FX PLC and Communication Equipment
633
Caution on Selection
640
When Using 232BD or 232ADP
641
Selecting Connection Cables
642
Connector Shape in each Product
643
Combinations of Connection Cables
644
Personal Computer
645
Connection Cables and Interfaces
649
Cable Combination Simplified Table
650
Cable Connection Diagrams
652
Connector Conversion Cable (Commercial Product) - No. B
654
Communication Setting (Initialization) in FX Programmable Controller
655
Communication Setting Using Parameter Method (GX Developer)
656
Communication Setting Using Parameter Method (FXGP/WIN)
657
Connection Setting for Personal Computer
658
Setting RS-232C or USB, Communication Port, and Transmission Speed
659
Setting Communication Time Check and Number of Retries
661
Connection Setting (FXGP/WIN)
662
Communication Test (Only in GX Developer)
663
Troubleshooting
664
Checking Sequence Program
665
Checking Absence/Presence of Errors
666
Outline
669
File Transfer between Personal Computers (Supported Only by FXGP/WIN)
670
Procedures before Operation
671
Communication Type Applicability in PLC
672
Programming Tool Applicability
673
Programming Software for Remote Maintenance
676
Cautions on Using FXGP/WIN
677
Specifications
678
System Configuration and Selection
679
Setting Applicable FX PLC and Communication Equipment
680
Selecting Modem
684
List of Modems Whose Operations Are Confirmed
685
Wiring
686
Connection Diagram
687
How to Setup Modems on the PLC Side
688
Modem Initialization Setting Using Parameter Method
690
Setting at Command for Unregistered Modem
692
Setting Using FXGP/WIN
695
Modem Initialization Setting Using Parameter Method
696
Setting at Command for Unregistered Modem
697
Cautions on Use
699
How to Setup Modems on the PC Side for Remote Access
700
Creating Telephone Directory (if Necessary)
702
Setting Using FXGP/WIN
704
Registering Line Connection Destination
707
Line Connection Procedure
708
For GX Developer
709
For FXGP/WIN
713
Checking FX PLC Applicability
716
Checking Modem Specifications
717
Checking at Command Setting
718
Checking Sequence Program
719
Checking Absence/Presence of Errors
720
ASCII Code Table
721
Advertisement
Mitsubishi FX2NC-232ADP User Manual (668 pages)
FX3U Series
Brand:
Mitsubishi
| Category:
Controller
| Size: 15.6 MB
Table of Contents
Design Precautions
3
Safety Precautions
3
Startup and Maintenance Precautions
4
Wiring Precautions
4
Outline Precautions
6
Registration
6
Table of Contents
7
Inverter Communication
16
Non-Protocol Communication (RS/RS2 Instruction)
20
Non-Protocol Communication (FX-232IF)
23
Programming Communication
25
Remote Maintenance
27
Communication Types
29
1 Introduction
29
Common Items
29
Outline and Features of Communication Types
31
CC-Link Network
31
Applicable Plcs
31
Communication Targets
31
N:N Network
32
Applications
32
Detailed Information on CC-Link
32
Parallel Link
33
Computer Link
34
Inverter Communication
35
Non-Protocol Communication
36
Programming Communication
37
Remote Maintenance
39
CC-Link/Lt Network
40
1.2.10 AS-I System
41
1.2.11 Internet Mail Sending
42
1.2.12 Short Mail Sending
43
2 Communication Types and Communication Equipment
45
Relationship between Equipment and Communication Types
45
Communication Equipment Applicability Map
46
FX 3U and FX 3UC (D, DSS) Plcs
46
FX 3UC -32MT-LT Plcs
48
FX 2N and FX 2NC Plcs
50
FX 1S , FX 1N , and FX 1NC Plcs
52
FX 0N Plcs
54
Fx , Fx
54
And FX 1 Plcs (Reference
54
Combination of Communication Equipment (Block Diagram)
56
How to Look at Combination Pages
56
For FX 0N Series
57
For FX 1S Series
59
For FX 1N Series
60
For FX 1NC Series
62
For FX 2N Series
64
For FX 2NC Series
66
For FX 3U Series
68
For FX 3UC (D, DSS) Series
70
For FX 3UC -32MT-LT
72
For FX (FX) and FX Series (Reference
74
3 Outline of Communication Setting in the FX Series
75
Setting Method
75
Communication Setting Method Availability in each FX PLC
75
Time at Which the Settings Become Valid
75
Communication Setting Using Parameter Method (GX Developer)
76
Opening the Parameter Setting Window
76
Operating Procedure
76
Setting the Serial Communication (Parameters)
76
Writing Parameters to the PLC
76
Correspondence between Parameter Setting and each Communication Type
77
Adjusting Serial Setting (Parameter)
78
Communication Setting in Parameter Method (FXGP/WIN)
78
Operating Procedure
78
Extension of Ports (FX 3U , FX 3UC
81
Limitation When Ch1 and Ch2 Are Used at the same Time
82
Introduction of Manuals
83
Rank and Use Method of this Manual
83
Manual for Communication Types in FX Plcs
84
Manuals Related to FX Plcs
84
Communication Equipment (Option)
86
Programmable Controllers
88
Expansion Boards and Special Adapters
89
Extension Equipment
90
Networks
90
Peripheral Equipment
90
Others
91
FX Series Programmable Controllers
93
Outline of System
95
Procedures before Operation
96
Communication Type Applicability in PLC
97
Applicable Versions
97
Version Check
97
How to Look at the Manufacturer's Serial Number
97
Programming Tool Applicability
98
Products Whose Production was Stopped
98
For Applicable Versions
98
For Non-Applicable Versions (Setting an Alternative Model)
100
Specifications
101
Communication Specifications (Reference)
101
Link Specifications
102
Link Patterns and Number of Link Points in each FX Series
102
Link Time
103
System Configuration and Equipment Selection
104
Applicable FX PLC and Communication Equipment
105
Wiring
108
Wiring Procedure
108
Selecting Cables and Terminal Resistors
109
Twisted Pair Cable
109
Recommended Cables
109
Cable Structural Drawing
109
Connecting Cables
110
European Type Terminal Block
110
Connecting Terminal Resistors
111
Terminal Block
111
Terminal Resistor Type
111
When Using the FX
111
Connection Diagram
112
Grounding
112
Communication Setting (Initialization) in FX Programmable Controller
113
Check Procedure
113
Monitoring D8120
113
Checking Absence/Presence of Parameter Setting
113
Communication Settings Using Parameter Method (FXGP/WIN)
115
Writing a Sequence Program (Parameters) to the PLC
115
Test Run (Communication Test)
116
Creating Programs for the Communication Test
116
Validating the Communication Setting
116
Confirming the Link of the Master Station
116
Confirming the Link of Slave Stations
117
Creating Programs for the Communication Testing
118
Creating a Program for the Master Station
118
Creating a Program for each Slave Station
119
Creating Programs
120
Checking Contents of Related Devices
120
Devices for Determining Errors in the N:N Network
121
Link Devices
121
Creating Programs for Master Station (Station No. 0)
122
Program for Setting the N:N Network
122
Program for Indicating Link Errors
122
Program for Writing Link Devices
123
Program for Reading Link Devices
123
Creating Programs for Slave Station (Station No. "N
124
Cautions on Program Creation
126
Effect on the Operation Cycle
126
Practical Program Examples
127
Contents of Operations and Corresponding Program Numbers
127
Practical Example 1 (Pattern 2
127
System Configuration Example
127
Setting Contents
128
Setting Program for Master Station
128
Parameter Setting Program
128
Error Indication Program
128
Operation Program
129
Setting Program for Slave Station
130
Troubleshooting
134
Checking FX PLC Version Applicability
134
Checking Communication Status Based on LED Indication
134
Checking Installation and Wiring
134
Checking Sequence Program
134
Checking Setting Contents and Errors
135
Communication Setting Using Parameters
135
Presence of VRRD and VRSC Instructions
135
Presence of RS Instruction
135
Checking Absence/Presence of Data Transfer Errors
136
Checking Data Transfer Sequence Errors
136
Checking Error Codes
136
Error Storing Device
136
Check While Data Transfer Sequence Is Being Executed
136
Error Code List
137
Related Device List
138
10. Related Data
138
For FX 1NC
138
Fx 1Nc , Fx 2Nc
138
Word Devices (Data Registers)
140
Devices for Checking
140
Devices for Communication Setting
140
Devices for Checking Communication Status
140
Bit Devices
142
Details of Related Devices
144
Parameter Setting [M8038]
144
Channel Setting [M8179]
144
Serial Communication Error [M8063 and M8438]
144
Data Transfer Sequence Error [M8138 to M8190] [M504 to M511
145
Data Transfer Sequence on [M8191] [M503
145
Serial Communication Error Code [D8063 and D8438
145
Corresponding Station Number Settings Status [D8173
146
Slave Station Quantity Setting Status [D8174
146
Refresh Range Setting Status [D8175
146
Station Number Settings [D8176
146
Slave Station Quantity Setting [D8177
147
Refresh Range Setting [D8178
147
Cautions on Use
148
Number of Retries [D8179
148
Monitoring Time Setting [D8180
148
Present Link Scan Time [D8201] [D201
148
Maximum Link Scan Time [D8202] [D202
149
Data Transfer Sequence Error Count [D8203 to D8210] [D203 to D210
149
Data Transfer Error Code [D8211 to D8218] [D211 to D218
149
Detailed Contents
150
PLC Communication Type Applicability Status
160
Link Device Numbers and Number of Points
161
Regular Parallel Link Mode
162
High Speed Parallel Link Mode
162
System Configuration and Selection
163
Rule for Connection
163
Configuration of each Group
164
Error Codes in PLC
281
Advertisement
Related Products
Mitsubishi FX2NC-485ADP
Mitsubishi FX2NC Series
Mitsubishi FX2NC DSS Series
Mitsubishi FX2NC DS Series
Mitsubishi FX2N-232-BD
Mitsubishi FX2N-232IF
Mitsubishi FX2N-16LNK-M
Mitsubishi FX2N-32DP-IF-D
Mitsubishi FX2N-20GM
Mitsubishi MELSEC-F FX2N-48
Mitsubishi Categories
Air Conditioner
Controller
Projector
Automobile
Engine
More Mitsubishi Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL