Delta AS Series Owner's manual

AS Series
Programming Manual
AS Series Programming Manual
www.deltaww.com
*We reserve the right to change the information in this catalogue without prior notice.
Industrial Automation Headquarters
Taiwan: Delta Electronics, Inc.
Taoyuan Technology Center
No.18, Xinglong Rd., Taoyuan District,
Taoyuan City 33068, Taiwan
TEL:+886-3-362-6301 / FAX:+886-3-371-6301
Asia
China: Delta Electronics (Shanghai)Co., Ltd.
No.182 Minyu Rd., Pudong Shanghai, P.R.C.
Post code : 201209
TEL: +86-21-6872-3988 / FAX: +86-21-6872-3996
Customer Service: 400-820-9595
Japan: Delta Electronics (Japan), Inc.
Industrial Automation Sales Department
2-1-14 Shibadaimon, Minato-ku
Tokyo, Japan 105-0012
TEL: +81-3-5733-1155 / FAX: +81-3-5733-1255
Korea: Delta Electronics (Korea), Inc.
1511, 219, Gasan Digital 1-Ro., Geumcheon-gu,
Seoul, 08501 South Korea
TEL: +82-2-515-5305 / FAX: +82-2-515-5302
Singapore: Delta Energy Systems (Singapore)Pte Ltd.
4 Kaki Bukit Avenue 1, #05-04, Singapore 417939
TEL: +65-6747-5155 / FAX: +65-6744-9228
India: Delta Electronics (India)Pvt. Ltd.
Plot No.43, Sector 35, HSIIDC Gurgaon,
PIN 122001, Haryana, India
TEL: +91-124-4874900 / FAX: +91-124-4874945
Thailand: Delta Electronics (Thailand)PCL.
909 Soi 9, Moo 4, Bangpoo Industrial Estate (E.P.Z),
Pattana 1 Rd., T.Phraksa, A.Muang,
Samutprakarn 10280, Thailand
TEL: +66-2709-2800 / FAX: +66-2709-2827
Australia: Delta Electronics (Australia)Pty Ltd.
Unit 20-21/45 Normanby Rd., Notting Hill Vic 3168, Australia
TEL: +61-3-9543-3720
Americas
USA: Delta Electronics (Americas)Ltd.
5101 Davis Drive, Research Triangle Park, NC 27709, U.S.A.
TEL: +1-919-767-3813 / FAX: +1-919-767-3969
Brazil: Delta Electronics Brazil
Rua Itapeva, 26 - 3°, andar Edicio Itapeva,
One -Bela Vista 01332-000 -São Paulo -SP -Brazil
TEL: +55-12-3932-2300 / FAX: +55-12-3932-237
Mexico: Delta Electronics International Mexico S.A. de C.V.
Gustavo Baz No. 309 Edicio E PB 103
Colonia La Loma, CP 54060
Tlalnepantla, Estado de México
TEL: +52-55-3603-9200
EMEA
EMEA Headquarters: Delta Electronics (Netherlands)B.V.
Sales: Sales.IA.EMEA@deltaww.com
Marketing: Marketing.IA.EMEA@deltaww.com
Technical Support: iatechnicalsupport@deltaww.com
Customer Support: Customer-Support@deltaww.com
Service: Service.IA.emea@deltaww.com
TEL: +31(0)40 800 3900
BENELUX: Delta Electronics (Netherlands)B.V.
Automotive Campus 260, 5708 JZ Helmond, The Netherlands
Mail: Sales.IA.Benelux@deltaww.com
TEL: +31(0)40 800 3900
DACH: Delta Electronics (Netherlands)B.V.
Coesterweg 45,D-59494 Soest,Germany
Mail: Sales.IA.DACH@deltaww.com
TEL: +49(0)2921 987 0
France: Delta Electronics (France)S.A.
ZI du bois Challand 2,15 rue des Pyrénées,
Lisses, 91090 Evry Cedex, France
Mail: Sales.IA.[email protected]
TEL: +33(0)1 69 77 82 60
Iberia: Delta Electronics Solutions (Spain)S.L.U
Ctra. De Villaverde a Vallecas, 265 1º Dcha Ed.
Hormigueras – P.I. de Vallecas 28031 Madrid
TEL: +34(0)91 223 74 20
Carrer Llacuna 166, 08018 Barcelona, Spain
Mail: Sales.IA.Iberia@deltaww.com
Italy: Delta Electronics (Italy)S.r.l.
Via Meda 2–22060 Novedrate(CO)
Piazza Grazioli 18 00186 Roma Italy
Mail: Sales.IA.It[email protected]
TEL: +39 039 8900365
Russia: Delta Energy System LLC
Vereyskaya Plaza II, oce 112 Vereyskaya str.
17 121357 Moscow Russia
Mail: Sales.IA.RU@deltaww.com
TEL: +7 495 644 3240
Turkey: Delta Greentech Elektronik San. Ltd. Sti. (Turkey)
Şerifali Mah. Hendem Cad. Kule Sok. No:16-A
34775 Ümraniye – İstanbul
Mail: Sales.IA.Turkey@deltaww.com
TEL: + 90 216 499 9910
MEA: Eltek Dubai (Eltek MEA DMCC)
OFFICE 2504, 25th Floor, Saba Tower 1,
Jumeirah Lakes Towers, Dubai, UAE
Mail: Sales.IA.MEA@deltaww.com
TEL: +971(0)4 2690148
AS-0249720-08
2021/06/24

AS Series Programming Manual
Revision History
Version Revision Date
1
st
The first version was published.
2016/11/30
2nd
1.Updated information in section 2.1.1, 2.2.7, 2.2.8, 2.2.14,
2.2.16.
2.Added new instructions in Chapter 3.
3.Updated and added new instructions in Chapter 6.
4.Updated information in Chapter 7.
2018/05/07
3rd
1.Updated SM information in section 2.1.1.
2.Updated SM information including SM784-815, SM896-927,
SM1440-1447 and added SM478-479, SM498-499, SM518-
519, SM538-539, SM558-559, SM578-579, SM1581-1608,
SM1611-1618, SM1621-1628,
SM1683-1684, and SM1691-1698SM in sections 2.2.7.
3.Updated the table of SM refresh time and added new SM
refresh time in the table in section 2.2.8.
4.Updated SR182-183, SR217-218, SR424, SR825-893,
SR1336, and SR1376 in section 2.2.14.
5.Added SR187-188, SR478-479, SR498-499,SR518-519,
SR538-539, SR558-559, SR578-579, SR640-651, SR751-758,
and SR761-768 in section 2.2.14.
6.Updated descriptions in point 4 Communication functions,
point 14 S curve mode and point 18 Flags and registers
concerning data exchange. Added point 15 Backlash
compensation function in section 2.2.16.
7.Added new instructions on the lists in Chapter 3.
8.Added new instructions in Chapter 6: API0222, API0601,
API0711, API1012, API1013, API1226, API1402, API1403,
API1404, API1405, API1406, API1407, API08,
API1409,API1410, API1415, API1416, API1818, API1819,
API1820, API1906, API2122, API2123, API2211, API2212,
API2808, API2809, API2810, and API2811.
9.Updated instructions in Chapter 6: API0222, API0600,
API0702, API0708, API0709, API0710, API1004, API1601,
API1607, API1808,API1812, API1814, API1815, API1816,
API1817, API2200, API2200-2203, API2208, API2210,
API2300, API2301, API2302, API2303, API2401, API2500,
API2700, API2701, API2702, API2703, API2704, API2705,
API2706, API2707, API2708, API2709, API2710, API2711,
API2712, API2713, API2714, API2715, API2716, API2717,
API2718, API2721, API2723, API2800, API2801, API2802,
API2803, API2804, API2805, API2806, API2807 and API2808.
10.Updated solutions for errors including codes 7203,
8105, 8106 and 8107.
2018/05/22
4th 1.Manual corrections on the unit used in SR182, 183, 185,
210, 213, 421, 422, 423, and 424.
2018/06/12
5th
1. Added AS300/AS200 Series CPU module descriptions
2019/5/10

Version Revision Date
in section 1.1.2 Model Description.
2. Added and updated SM and SR in Chapter 2: SM230-
SM261, SM585-SM587, SM1110, SM1685, SR652-SR655,
SR791-SR806, SR811-SR818, SR823-SR824, SR1015,
SR1520-SR1540, SR1559-SR1592, SM76-SM91, SM168-
SM171, SM455, SM1006-SM1031, SM1184-SM1199,
SM1216-SM1231, SM1248-SM1263, SM1271-SM1299,
SM1424-SM1439, SM1681, SM1709-SM1919, SR166-
SR179, SR182-SR183, SR187-SR188, SR215-SR216,
SR1000-SR1014, and SR1435-SR1511.
3. Added and updated instructions in Chapter 3: API0602,
API1417, API2304, API2724, API2812-API2816, API0711,
API1110, API1111, API1402, API1407, API1408, and
API1416.
4. Added information of using index registers in interrupt
instructions in section 4.4.
5. Updated instructions in Chapter 5: PED, APED, OPED,
NED, ANED, ONED, PLS and PLF.
6. Updated instructions in Chapter 6: API0602, API1417,
API2304, API2724, API2812-API2816, API0018-API0023,
API0708-API0711, API1004-API1007, API1110, API1111,
API1226, API1402-API1410, API1415-API1416, API1816,
API2200, API2201, API2203, API2208, API2210-API2212,
API2300-API2302, API2704, API2706-API2709, API2712-
API2716, API2719,
API2800, API2803, API2805 and API2807.
7. Updated emergency information in section 7.3.1 and 7.3.2.
Added error codes 2030 and 2031.
6th
1. Manual corrections on the descriptions of function codes
K5566 and K5577 of SR36 and SR412 and SR415 in
Chapter 2.
2. Updated the descriptions in SM1375~SM1447 in Chapter 2.
3. Updated the descriptions in SR1000~SR1006 in Chapter 2.
4. Updated the descriptions in the error code 16#00xx in
Chapter 2.
5. Added a maximum input frequency table in DCNT
instruction (API1004) in Chapter 6.
6. Updated the acceptable input range for S1in PWD
instruction (API1009) in Chapter 6.
7. Updated the alignment mark function charts in DDRVM
instruction (API2709) in Chapter 6.
8. Added an example of using abort symbols and completion
flags in TPO instruction (API2718) in Chapter 6.
2019/6/21

7th
1. Updated description on AS300, AS200, AS02, 04PU-A in
Section 1.1.2.
2. Added new product information AS100, AS02HC-A,
AS04SIL-A, AS-FPFN02 and AS-FOPC02 in Chapter 1.
3. Update Relation Between the PLC Action and Device Type
in Section 2.1.3. Added AS100 information updated
SM1375~SM1477 and added SM1448~1455, SM1686 in
Section 2.2.7 Special Auxiliary Relays (SM) and Section
2.2.14 Special Data Registers (SR). Added CNT instruction
information in Section 2.2.11 Counters. Added DCNT
instruction information in Section 2.2.12 32-bit counters
(HC). Added frequently mapped registers information in
Section 2.2.13. Added new Special Data Registers (SR):
SR42, SR48, SR54, SR60, SR66, SR72, SR78, SR84, SR90,
SR96, SR102, SR108, SR114, SR120, SR126, SR132,
SR138, SR144, SR150, SR156, SR405, SR406 and delete
SR1540 in Section 2.2.14. Added #2 error codes in
SM27/SR27, updated #22 information in Flags SM230~261,
updated #7 PLC error log information, added #24 Auto-reset
flags for pulse output in Section 2.2.16.
4. Added and updated instructions in Chapter 3: API1014,
API1015, API1227, API1418-API1423, API1821, API2817,
API2818, API1102-API1108, API1114, API1115, API2806,
API1415.
5. Added a section explaining which instruction should be
used in Ladder Programming Language in section 4.3.
6. All the instructions in this manual does NOT support the
data type UINT. Remove UINT from the supporting list in
Chapter 6. Updated instructions in Chapter 6: API0202,
API0216, API0501, API0600, API0708, API0709, API0710,
API0801, API1002, API1003, API1004, API1005, API1006,
API1007, API1009, API1102-API1108, API1114, API1115,
API1210, API1212, API1213, API1226, API1401, API1402,
API1404, API1405, API1407, API1408, API1415, API1416,
API1417, API1501-API1504, API1808, API2106, API2116,
API2117, API2119, API2200, API2204, API2208, API2209,
API2212, API2301, API2704, API2706, API2708, API2709,
API2718, API2800, API2803, API2806, API2812-API2815.
Added new instructions in Chapter 6: API1014, API1015,
API1227, API1418-API1423, API1426, API1427, API1821,
API2817 and API2818.
7. Added an explanation about Step Position in Section 7.1.4.
8. Updated error codes 2001-2027 in Section 7.2.8 and 7.2.9.
Updated the ERROR LED indicators blinking time to every
0.2 seconds for AIO modules and AS02LC in Section 7.3.1.
Added error codes 16#1500 and 16#1505 for AS00SCM in
Section 7.3.4.
2020/12/08

8th
1. Added new product information AS-PS03C, AS-ATXB and
updated product information AS-FEN02, AS-FPFN02, AS-
FOPC02 in Chapter 1.
2. Added and updated SM and SR in Chapter 2: SM27,
SM120-151, SM360-391, SM603, SM1160-1161, SM1700-
1705, SR27, SR29-31, SR1016-1019, SR1600-1605,
SR1700, SR1702, SR1704, SR1706, SR1708, SR1710.
Removed the following SM and SR from Chapter 2: SM468,
SM488, SM508, SM528, SM548, SM568, SR604-609.
Added and updated the following information in section
2.2.16: SR227 information, backlash compensation
information, Ethernet IP related flags, SM230-261, auto-
reset flags for pulse output, auto-reset flags for Delta CAN
communication, how to use DPLSY in high-speed
comparison interrupt (I2xx) and how to use backlash
compensation in CSFO.
3. Added and updated instructions in Chapter 3: API1229,
API1424, API1425, API1426, API1427 and API1228.
4. Updated instructions in Chapter 6: API0501, API0708,
API0709, API1004, API1228, API1400, API1401, API1402,
API1403, API1404, API1405, API1406, API1407, API1408,
API1409, API1410, API1417, API1418, API1419, API1420,
API1421, API1422, API1423, API2300, API2301, API2302,
API2304, API2703, API2706, API2710, API2712, API2714,
API2810, API2817, and API2818. Added new instructions in
Chapter 6: API1229, PI1424, API1425, API1426, and
API1427.
5. Added error codes 16#19B0-16#19FC in Section 7.2.9.
Added and updated information for AS02/04PU, AS02HC,
AS04SIL, AS01DNET and AS00SCM in sections 7.3 and
7.4.
2021/06/24

i
AS Series Programming Manual
Table of Contents
Chapter 1 Introduction
1.1 Overview ...............................................................................................1-2
1.1.1 Related Manuals ...........................................................................1-2
1.1.2 Model Description .........................................................................1-2
1.2 Software..............................................................................................1-10
1.2.1 Program Editor ........................................................................... 1-10
1.2.2 Program Organization Units and Tasks............................................ 1-12
Chapter 2 Devices
2.1 Introduction to Devices .........................................................................2-2
2.1.1 Device Table.................................................................................2-2
2.1.2 Basic Structure of I/O Storage ........................................................2-3
2.1.3 Relation Between the PLC Action and the Device Type ........................2-3
2.1.4 Latched Areas in the Device Range..................................................2-4
2.2. Device Functions ..................................................................................2-5
2.2.1 Values and Constants ....................................................................2-5
2.2.2 Floating-point Numbers..................................................................2-7
2.2.2.1 Single-precision Floating-point Numbers..........................................2-7
2.2.2.2 Decimal Floating-point Numbers.....................................................2-8
2.2.3 Strings ........................................................................................2-8
2.2.4 Input Relays (X) ...........................................................................2-9
2.2.5 Output Relays (Y) ....................................................................... 2-10
2.2.6 Auxiliary Relays (M) .................................................................... 2-10
2.2.7 Special Auxiliary Relays (SM)........................................................ 2-11
2.2.8 Refresh Time for Special Auxiliary Relays........................................ 2-65
2.2.9 Stepping Relays (S)..................................................................... 2-73
2.2.10 Timers (T) ................................................................................. 2-74
2.2.11 Counters.................................................................................... 2-76
2.2.12 32-bit Counters (HC)................................................................... 2-78
2.2.13 Data Registers (D) ...................................................................... 2-80
2.2.14 Special Data Registers (SR).......................................................... 2-81
2.2.15 Special Data Registers Refresh Conditions .................................... 2-121
2.2.16 Additional Remarks on Special Auxiliary Relays and Special Data
Registers………………………………………………………………………………………………..2-125
2.2.17 Index Register (E)..................................................................... 2-158
2.2.18 File Registers (FR)..................................................................... 2-158

ii
Chapter 3 Instruction Tables
3.1 Types of Instructions ........................................................................3-2
3.1.1 Basic Instructions ......................................................................... 3-2
3.1.2 Applied Instructions...................................................................... 3-2
3.2 Understanding Instruction Tables .....................................................3-3
3.2.1 Basic Instructions ......................................................................... 3-3
3.2.2 Applied Instructions (Sorted numerically)......................................... 3-4
3.2.3 Applied Instructions (Sorted Alphabetically)...................................... 3-5
3.2.4 Device Tables............................................................................... 3-6
3.3 Lists of Basic Instructions .................................................................3-7
3.4 Lists of Applied Instructions..............................................................3-9
3.4.1 Applied Instructions (Sorted numerically by API number) ................... 3-9
3.4.2 Applied Instructions (Sorted Alphabetically).....................................3-45
Chapter 4 Instruction Structure
4.1 Applied Instructions - API Description ..............................................4-2
4.2 Operand Usage Description ...............................................................4-4
4.3 Restrictions on the Use of Instructions .............................................4-7
4.4 Index Registers.................................................................................4-9
4.5 Pointer Registers.............................................................................4-12
4.6 Pointer Registers of Timers............................................................. 4-14
4.7 Pointer Registers for 16-bit Counters..............................................4-16
4.8 Pointer Registers for 32-bit Counters..............................................4-18
4.9 File Register ....................................................................................4-20
Chapter 5 Basic Instructions
5.1 List of Basic Instructions...................................................................5-2
5.2 Basic Instructions .............................................................................5-3

iii
Chapter 6 Applied Instructions
6.1 Comparison Instructions .......................................................................6-4
6.1.1 List of Comparison Instructions............................................................6-4
6.1.2 Explanation of Comparison Instructions.................................................6-7
6.2 Arithmetic Instructions........................................................................6-46
6.2.1 List of Arithmetic Instructions ............................................................ 6-46
6.2.2 Explanation of Arithmetic Instructions................................................. 6-47
6.3 Data Conversion Instructions ..............................................................6-78
6.3.1 List of Data Conversion Instructions.................................................... 6-78
6.3.2 Explanation of Data Conversion Instructions ........................................ 6-79
6.4 Data Transfer Instructions ................................................................6-121
6.4.1 List of Data Transfer Instructions...................................................... 6-121
6.4.2 Explanation of Data Transfer Instructions........................................... 6-122
6.5 Jump Instructions .............................................................................6-149
6.5.1 List of Jump Instructions................................................................. 6-149
6.5.2 Explanation of Jump Instructions...................................................... 6-150
6.6 Program Execution Instructions ........................................................6-158
6.6.1 List of Program Execution Instructions .............................................. 6-158
6.6.2 Explanation of Program Execution Instructions ................................... 6-159
6.7 IO Refreshing Instructions ................................................................6-171
6.7.1 List of IO Refreshing Instructions ..................................................... 6-171
6.7.2 Explanation of IO Refreshing Instructions .......................................... 6-172
6.8 Miscellaneous Instructions ................................................................6-179
6.8.1 List of Convenience Instructions....................................................... 6-179
6.8.2 Explanation of Convenience Instructions............................................ 6-180
6.9 Logic Instructions..............................................................................6-233
6.9.1 List of Logic Instructions ................................................................. 6-233
6.9.2 Explanation of Logic Instructions...................................................... 6-234
6.10 Rotation Instructions.......................................................................6-255
6.10.1 List of Rotation Instructions ........................................................... 6-255
6.10.2 Explanation of Rotation Instructions................................................ 6-256
6.11 Timer and Counter Instructions.......................................................6-267
6.11.1 List of Timer and Counter Instructions............................................. 6-267
6.11.2 Explanation of Timer and Counter Instructions.................................. 6-268
6.12 Shift Instructions.............................................................................6-310
6.12.1 List of Shift Instructions ................................................................ 6-310

iv
6.12.2 Explanation of Shift Instructions......................................................6-311
6.13 Data Processing Instructions...........................................................6-352
6.13.1 List of Data Processing Instructions .................................................6-352
6.13.2 Explanation of Data Processing Instructions......................................6-353
6.14 Structure Creation Instructions.......................................................6-418
6.14.1 List of Structure Creation Instructions..............................................6-418
6.14.2 Explanation of Structure Creation Instructions...................................6-419
6.15 Module Instructions ........................................................................ 6-427
6.15.1 List of Module Instructions .............................................................6-427
6.15.2 Explanation of Module Instructions ..................................................6-428
6.16 Floating-point Number Instructions ................................................6-546
6.16.1 List of Floating-point Number Instructions ........................................6-546
6.16.2 Explanation of Floating-point Number Instructions.............................6-547
6.17 Real-time Clock Instructions ........................................................... 6-582
6.17.1 List of Real-time Clock Instructions..................................................6-582
6.17.2 Explanation of Real-time Clock Instructions ......................................6-583
6.18 Peripheral Instructions.................................................................... 6-614
6.18.1 List of Peripheral Instructions .........................................................6-614
6.18.2 Explanation of Peripheral Instructions ..............................................6-615
6.19 Communication Instructions ........................................................... 6-631
6.19.1 List of Communication Instructions..................................................6-631
6.19.2 Explanation of Communication Instructions.......................................6-632
6.19.3 Descriptions on the Communication-related Flags and Registers ..........6-719
6.20 Other Instructions........................................................................... 6-723
6.20.1 List of Other Instructions ...............................................................6-723
6.20.2 Explanation of Other Instructions ....................................................6-724
6.21 String Processing Instructions ........................................................ 6-736
6.21.1 List of String Processing Instructions ...............................................6-736
6.21.2 Explanation of String Processing Instructions ....................................6-737
6.22 Ethernet Instructions ...................................................................... 6-801
6.22.1 List of Ethernet Instructions ...........................................................6-801
6.22.2 Explanation of Ethernet Instructions ................................................6-802
6.23 Memory Card Instructions ............................................................... 6-843
6.23.1 List of Memory Card Instructions.....................................................6-843
6.23.2 Explanation of Memory Card Instructions .........................................6-844
6.24 Task Control Instructions ................................................................ 6-864
6.24.1 List of Task Control Instructions ......................................................6-864

v
6.24.2 Explanation of Task Control Instructions .......................................... 6-865
6.25 SFC Instructions ..............................................................................6-869
6.25.1 List of SFC Instructions ................................................................. 6-869
6.25.2 Explanation of SFC Instructions...................................................... 6-870
6.26 High-speed Output Instructions ......................................................6-877
6.26.1 List of High-speed Output Instructions............................................. 6-877
6.26.2 Explanation of High-speed Output Instructions ................................. 6-878
6.27 Delta CANopen Communication Instructions ...................................6-992
6.27.1 List of Delta CANopen Communication Instructions............................ 6-992
6.27.2 Explanation of Delta CANopen Communication Instructions ................ 6-993
6.27.3 Frequently asked questions in Delta special CANopen communication and
Troubleshooting..........................................................................6-1062
Chapter 7 Troubleshooting
7.1 Troubleshooting ................................................................................7-3
7.1.1 Basic troubleshooting steps ............................................................7-3
7.1.2 Clear the Error States....................................................................7-3
7.1.3 Troubleshooting SOP .....................................................................7-4
7.1.4 System Log and Positions of the Error Step.......................................7-5
7.2 Troubleshooting for CPU Modules......................................................7-7
7.2.1 ERROR LED Indicators Are ON.........................................................7-7
7.2.2 ERROR LED Indicators Blinking Every 0.5 Seconds.............................7-7
7.2.3 ERROR LED Indicators Blinking Rapidly Every 0.2 Seconds..................7-9
7.2.4 ERROR LED Indicators Slow Blinking Every 3 Seconds and Lighting up for
1 Second .....................................................................................7-9
7.2.5 BAT. LOW LED Indicators Are ON ....................................................7-9
7.2.6 BAT. LOW LED Indicators Blinking Every 0.5 Seconds.........................7-9
7.2.7 The LED RUN and ERROR Indicators are Blinking Simultaneously Every
0.5 Seconds............................................................................... 7-10
7.2.8 The RUN and LED Indicators are Blinking One After Another Every
0.5 Seconds............................................................................... 7-10
7.2.9 Other Errors (Without LED Indicators)............................................ 7-10
7.3 Troubleshooting for Other I/O Modules...........................................7-18
7.3.1 Troubleshooting for Analog Modules (AD/DA/XA) and Temperature
Modules (RTD/TC)....................................................................... 7-18
7.3.2 Troubleshooting for the Positioning Module AS02/04PU..................... 7-19
7.3.3 Troubleshooting for the High-Speed Counter Module AS02HC............ 7-19

vi
7.3.4 Troubleshooting for the Load Cell Module AS02LC.............................7-20
7.3.5 Troubleshooting for the Module AS04SIL IO-Link as a Communication
Module.......................................................................................7-21
7.3.6 Troubleshooting for the Module AS00SCM as a Communication Module7-24
7.3.7 Troubleshooting for the Module AS00SCM as a Remote Module ..........7-25
7.3.8 Troubleshooting for AS01DNET Modules..........................................7-26
7.4 Error Codes and LED Indicators for Modules ................................... 7-27
7.4.1 Error Codes and LED Indicators for CPU Modules..............................7-27
7.4.2 Error Codes and LED Indicators for Analog/Temperature Modules .......7-33
7.4.3 Error Codes and LED Indicators for Positioning Module AS02 / 04PU....7-34
7.4.4 Error Codes and LED Indicators for High Speed Counter Module
AS02HC .....................................................................................7-34
7.4.5 Error Codes and LED Indicators for Load Cell Module AS02LC.............7-35
7.4.6 Error Codes and LED Indicators for Module AS04SIL IO-Link as
a Communication Module..............................................................7-35
7.4.7 Error Codes and LED Indicators for Module AS00SCM as a Communication
Module.......................................................................................7-36
7.4.8 Error Codes and LED Indicators for Module AS00SCM as a Remote
Module.......................................................................................7-36
7.4.9 Error Codes and LED Indicators for Module AS01DNET
(Master/Slave Mode)....................................................................7-37
7.4.10 Error Codes and LED Indicators for Module AS01DNET (RTU Mode).....7-38

1-1
Chapter 1 Introduction
Table of Contents
1.1 Overview ...............................................................................................1-2
1.1.1 Related Manuals ...........................................................................1-2
1.1.2 Model Description .........................................................................1-2
1.2 Software..............................................................................................1-10
1.2.1 Program Editor ........................................................................... 1-10
1.2.2 Program Organization Units and Tasks........................................... 1-12
1

AS Series Programming Manual
1-2
_1
1.1 Overview
This manual introduces you to programming the AS Series programmable logic controllers, the basic instructions, and
the applied instructions.
1.1.1 Related Manuals
The related manuals for the AS Series programmable logic controllers are listed below.
AS Series Quick Start
This guides you in getting started with the system before you read the other related manuals.
AS Series Programming Manual (this manual)
This introduces you to programming the AS Series programmable logic controllers, the basic instructions, and the
applied instructions.
ISPSoft User Manual
This introduces the ISPSoft software that you use to program the AS Series programmable logic controllers. It
describes the programming languages (ladder diagrams, instruction lists, sequential function charts, function block
diagrams, and structured texts), the concept of POUs, and the concept of tasks.
AS Series Hardware and Operation Manual
This introduces electrical specifications, appearances, dimensions, CPU functions, devices, module tables,
troubleshooting, and so forth.
AS Series Module Manual
This introduces the use of the special I/O modules; for example: network modules, analog I/O modules, temperature
measurement modules, and others.
1.1.2 Model Description
Classification
Model Name
Description
Power supply
module
AS-PS02 Input: 100-240 VAC, 50/60 Hz
Output: 24VDC/2A, 48W (for PLC internal use)
AS-PS02A Input: 100-240 VAC, 50/60 Hz
Output: 24VDC/1.5A, 36W (for PLC internal use)
Output: 24VDC/0.5A, 12W (for external use)
Power
module
adaptor
AS-ATXB Used with external power supplies for PLC racks which require more
then 2A. For easier wiring, this adaptor allows wiring on the bottom of
the module instead of on the left-side of the module.
AS300 Series
CPU module
AS332P-A
CPU module, 24VDC power input, PNP output, 1x Ethernet port, 2x
RS-485 ports, 1x USB port, 1x Micro SD interface, 2x function cards
(optional), supporting 32 I/Os (16DI+16DO) and up to 1024 I/Os.
Program capacity:128K steps, high-density terminal blocks
AS332T-A
CPU module, 24VDC power input, NPN output, 1x Ethernet port, 2x
RS-485 ports, 1x USB port, 1x Micro SD interface, 2x function cards
(optional), supporting 32 I/Os (16DI+16DO) and up to 1024 I/Os.
Program capacity:128K steps, high-density terminal blocks
AS324MT-A
CPU module, 24VDC power input, NPN differential output, 1x

Chapter 1 Introduction
1-3
1_
Classification
Model Name
Description
Ethernet port, 2x RS-485 ports, 1x USB port, 1x Micro SD interface,
2x function cards (optional), supporting 24 I/Os (12DI+12DO) and up
to 1016 I/Os. Program capacity:128K steps, high-density terminal
blocks
AS320P-B
CPU module, 24VDC power input, PNP output, 1x Ethernet port , 2x
RS-485 ports, 1x USB port, 1x Micro SD interface, 2x function cards
(optional), supporting 20 I/Os (8DI+12DO) and up to 1024 I/Os.
Program capacity:128K steps, removable terminal blocks
AS320T-B
CPU module, 24VDC power input, NPN output, 1x Ethernet port, 2x
RS-485 ports, 1x USB port, 1x Micro SD interface, 2x function cards
(optional), supporting 20 I/Os (8DI+12DO) and up to 1024 I/Os.
Program capacity:128K steps, removable terminal blocks
AS300N-A
CPU module, 24VDC power input, no I/Os, 1x Ethernet port, 2x RS-
485 ports, 1x USB port, 1x Micro SD interface, 2x function cards
(optional), and supporting up to 1024 I/Os. Program capacity:128K
steps
AS200 Series
CPU module
AS228P-A
CPU module, 24VDC power input, PNP output, 1x Ethernet port , 2x
RS-485 ports, 1x USB port, 1x Micro SD interface, CAN
communication port, supporting 28 I/Os (16DI+12DO) and up to 1024
I/Os. Program capacity: 64K steps, removable terminal blocks
AS228T-A
CPU module, 24VDC power input, NPN output, 1x Ethernet port , 2x
RS-485 ports, 1x USB port, 1x Micro SD interface, CAN
communication port, supporting 28 I/Os (16DI+12DO) and up to 1024
I/Os. Program capacity: 64K steps, removable terminal blocks
AS228R-A
CPU module, 24VDC power input, Relay output, 1x Ethernet port , 2x
RS-485 ports, 1x USB port, 1x Micro SD interface, CAN
communication port, supporting 28 I/Os (16DI+12DO) and up to 1024
I/Os. Program capacity: 64K steps, removable terminal blocks
AS218PX-A
CPU module, 24VDC power input, PNP output, 1x Ethernet port , 2x
RS-485 ports, 1x USB port, 1x Micro SD interface, CAN
communication port, supporting 18 I/Os (8DI+6DO+2AI+2AO) and up
to 1024 I/Os. Program capacity: 64K steps, removable terminal blocks
AS218TX-A
CPU module, 24VDC power input, NPN output, 1x Ethernet port , 2x
RS-485 ports, 1x USB port, 1x Micro SD interface, CAN
communication port, supporting 18 I/Os (8DI+6DO+2AI+2AO) and up
to 1024 I/Os. Program capacity: 64K steps, removable terminal blocks
AS218RX-A
CPU module, 24VDC power input, Relay output, 1x Ethernet port , 2x
RS-485 ports, 1x USB port, 1x Micro SD interface, CAN
communication port, supporting 18 I/Os (8DI+6DO+2AI+2AO) and up
to 1024 I/Os. Program capacity: 64K steps, removable terminal blocks
AS100 Series
CPU module
AS132P-A
CPU module, 100-240 VAC power input, PNP output, 1x Ethernet
port, 2x RS-485 ports, 1x USB port, 1x Micro SD interface, CAN
communication port, supporting 32 I/Os (16DI+16DO) and up to 1024
I/Os. Program capacity:64K steps, removable terminal blocks
AS132T-A CPU module, 100-240 VAC power input, NPN output, 1x Ethernet
port , 2x RS-485 ports, 1x USB port, 1x Micro SD interface, CAN
communication port, supporting 32 I/Os (16DI+16DO) and up to 1024

AS Series Programming Manual
1-4
_1
Classification
Model Name
Description
I/Os. Program capacity: 64K steps, removable terminal blocks
AS132R-A
CPU module, 100-240 VAC power input, Relay output, 1x Ethernet
port , 2x RS-485 ports, 1x USB port, 1x Micro SD interface, CAN
communication port, supporting 32 I/Os (16DI+16DO) and up to 1024
I/Os. Program capacity: 64K steps, removable terminal blocks
AS148P-A
CPU module, 100-240 VAC power input, PNP output, 1x Ethernet
port, 2x RS-485 ports, 1x USB port, 1x Micro SD interface, CAN
communication port, supporting 48 I/Os (24DI+24DO) and up to 1024
I/Os. Program capacity:64K steps, removable terminal blocks
AS148T-A
CPU module, 100-240 VAC power input, NPN output, 1x Ethernet
port , 2x RS-485 ports, 1x USB port, 1x Micro SD interface, CAN
communication port, supporting 48 I/Os (24DI+24DO) and up to 1024
I/Os. Program capacity: 64K steps, removable terminal blocks
AS148R-A
CPU module, 100-240 VAC power input, Relay output, 1x Ethernet
port , 2x RS-485 ports, 1x USB port, 1x Micro SD interface, CAN
communication port, supporting 48 I/Os (24DI+24DO) and up to 1024
I/Os. Program capacity: 64K steps, removable terminal blocks
AS164P-A
CPU module, 100-240 VAC power input, PNP output, 1x Ethernet
port, 2x RS-485 ports, 1x USB port, 1x Micro SD interface, CAN
communication port, supporting 64 I/Os (32DI+32DO) and up to 1024
I/Os. Program capacity:64K steps, removable terminal blocks
AS164T-A
CPU module, 100-240 VAC power input, NPN output, 1x Ethernet
port , 2x RS-485 ports, 1x USB port, 1x Micro SD interface, CAN
communication port, supporting 64 I/Os (32DI+32DO) and up to 1024
I/Os. Program capacity: 64K steps, removable terminal blocks
AS164R-A
CPU module, 100-240 VAC power input, Relay output, 1x Ethernet
port , 2x RS-485 ports, 1x USB port, 1x Micro SD interface, CAN
communication port, supporting 64 I/Os (32DI+32DO) and up to 1024
I/Os. Program capacity: 64K steps, removable terminal blocks
Digital
input/output
module
AS08AM10N-A
24VDC
5mA
8 inputs
Spring-clamp terminal block
AS08AN01P-A
5 - 30VDC
0.5A/output, 4A/COM
8 outputs
Sourcing output
Spring-clamp terminal block
AS08AN01R-A
240VAC/24VDC
2A/output, 8A/COM
8 outputs
Relay
Spring-clamp terminal block
AS08AN01T-A
5 - 30VDC
0.5A/output, 4A/COM
8 outputs
Sinking output

Chapter 1 Introduction
1-5
1_
Classification
Model Name
Description
Spring-clamp terminal block
AS16AM10N-A
24VDC
5mA
16 inputs
Spring-clamp terminal block
AS16AN01P-A
5 - 30VDC
0.5A/output, 4A/COM
16 outputs
Sourcing output
Spring-clamp terminal block
AS16AN01R-A
240VAC/24VDC
2A/output, 8A/COM
16 outputs
Relay
Spring-clamp terminal block
AS16AN01T-A
5 - 30VDC
0.5A/output, 4A/COM
16 outputs
Sinking output
Spring-clamp terminal block
AS16AP11P-A
24VDC
5mA
8 inputs
5 - 30VDC
0.5A/output, 4A/COM
8 outputs
Sourcing output
Spring-clamp terminal block
AS16AP11R-A
24VDC
5mA
8 inputs
240VAC/24VDC
2A/output, 8A/COM
8 outputs
Relay
Spring-clamp terminal block
AS16AP11T-A
24VDC
5mA
8 inputs
5 - 30VDC
0.5A/output, 4A/COM
8 outputs
Sinking output
Spring-clamp terminal block
AS32AM10N-A 24VDC
3.2mA
32 inputs

AS Series Programming Manual
1-6
_1
Classification
Model Name
Description
MIL connector
AS32AN02T-A
5 - 30VDC
0.1A/output, 3.2A/COM
32 outputs
Sinking output
MIL connector
AS64AM10N-A
24VDC
3.2mA
64 inputs
MIL connector
AS64AN02T-A
5 - 30VDC
0.1A/output, 3.2A/COM
64 outputs
Sinking output
MIL connector
Analog
input/output
module
AS04AD-A
4-channel analog input module
Hardware resolution: 16 bits
0–10V, 0/1–5V, -5 to +5V, -10 to +10V, 0/4–20mA, -20–+20mA
Conversion time: 2 ms/channel
AS08AD-B
8-channel analog input module
Hardware resolution: 16 bits
0 to +10V, 0/1–5V, -5V to +5V, -10V to +10V
Conversion time: 2 ms/channel
AS08AD-C
8-channel analog input module
Hardware resolution: 16 bits
0/4–20mA, -20mA–+20mA
Conversion time: 2 ms/channel
AS04DA-A
4-channel analog output module
Hardware resolution: 12 bits
-10 to +10V, 0–20mA, 4–20mA
Conversion time: 2 ms/channel
AS06XA-A
4-channel analog input
Hardware resolution: 16 bits
0–10V, 0/1–5V, -5 to +5V, -10 to +10V, 0/4–20mA, -20 to +20mA
Conversion time: 2 ms/channel
2-channel analog output
Hardware resolution: 12 bits
-10 to +10V, 0–20mA, 4–20mA
Conversion time: 2 ms/channel
Temperature
measurement
module
AS04RTD-A
4-channe, 2-wire/3-wire RTD
Sensor type: Pt100 / Ni100 / Pt1000 / Ni1000 / JPt100 / LG-Ni1000 /
Cu50 / Cu100 / 0-300Ω / 0-3000Ω input impedance
Resolution: 0.1°C/0.1°F (16 bits)
Conversion time: 200ms/channel
AS06RTD-A 6-channe, 2-wire/3-wire RTD
Sensor type: Pt100 / Ni100 / Pt1000 / Ni1000 / JPt100 / LG-Ni1000 /
Cu50 / Cu100 / 0-300Ω / 0-3000Ω input impedance, Resolution:

Chapter 1 Introduction
1-7
1_
Classification
Model Name
Description
0.1°C/0.1°F (16 bits)
Conversion time: 200ms/channel
AS04TC-A
4-channel thermocouple
Sensor type: J, K, R, S, T, E, N, B and -100 to +100 mV
Resolution: 0.1°C/0.1°F (24 bits)
Conversion time: 200ms/channel
AS08TC-A
8-channel thermocouple
Sensor type: J, K, R, S, T, E, N, B and -100 to +100 mV
Resolution: 0.1°C/0.1°F (24 bits)
Conversion time: 200ms/channel
Load cell
module AS02LC-A
2-channel, 4-wire/6-wire load cell sensor
Eigenvalues for a load cell: 1, 2, 4, 6, 20, 40, 80 mV/V
Highest precision 1/10000 @ 50ms of conversion time
ADC Resolution : 4 bits
Conversion time: 2.5–400ms (nine options to choose from)
Positioning
module
AS02PU-A
2-axis motion control,
5-24 VDC, 1 differential input (A/B/Z phase ),
maximum hardware input bandwidth at 200 k Hz
24 VDC, 5 mA, 5 inputs,
maximum hardware input bandwidth at 1 k Hz
5 VDC, 2-axis, 4 differential outputs,
high-speed output frequency at 200 k Hz
AS04PU-A
4-axis motion control
24 VDC, 5mA, 6 outputs,
maximum hardware input bandwidth at 1 k Hz
5-30 VDC, 0.1A, 4-axis, 8 NPN outputs,
maximum high-speed frequency at 100 kHz
Counter
module AS02HC-A
2-channel high-speed counters
Input methods for the 2-channel are pulse-input (max. at 200 kHz)
and SSI communication interface input (max. at 1.25 MHz)
Incrementing / decrementing encoder input
4-point high-speed open collector output, 5-30 VDC, 0.1A,
work with high speed differential output
Network
module
AS00SCM-A Serial communication module, 2x communication ports for
communication cards, supporting MODBUS protocols
AS01DNET-A
DeviceNet communication port, functioning as master or slave
AS04SIL-A
IO-Link module, built-in with 4 IO-Link communication ports
Remote I/O
module
AS00SCM-A
+
AS-FCOPM
For AS-FCOPM function cards
AS00SCM-A
+
AS-FEN02
For AS-FEN02 function cards
AS01DNET-A (RTU) DeviceNet remote IO slave, its right side connects with AS Series
extension modules, including digital modules, analog modules,
temperature modules, etc.
Function cards
AS-F232
Serial communication port, RS232, functioning as master or slave

AS Series Programming Manual
1-8
_1
Classification
Model Name
Description
AS-F422
Serial communication port, RS422, functioning as master or slave
AS-F485
Serial communication port, RS485, functioning as master or slave
AS-FCOPM CANopen communication port, supporting DS301, AS series remote
modules and Delta servo systems
AS-F2AD 2-channel analog input
0-10V (12 bits), 4-20mA (11 bits)
Conversion time: 3ms/channel
AS-F2DA 2-channel analog output
0-10V, 4-20mA (12 bits)
Conversion time: 2ms/channel
AS-FEN02 Only available for AS300 Series PLC CPU, 2x Ethernet ports,
supporting switch function, Modbus TCP, EtherNet/IP Adapter and AS
Series remote control
AS-FPFN02 Only available for AS300 Series PLC CPU, 2x Ethernet ports,
supporting switch function, PROFINET Device (Slave)
AS-FOPC02 Only available for AS300 Series PLC CPU, 2x Ethernet ports,
supporting switch function, OPC-UA Server, Modbus TCP
Programming
cable
UC-PRG015-01A
(1.5M)
Used for the connection between a PLC and a PC via a mini USB
port, use for AS332T-A, AS332P-A and AS324MT-A
UC-PRG030-01A
(3M)
Use for the connection between a PLC and a PC with a mini USB
port, use for AS332T-A, AS332P-A and AS324MT-A
UC-PRG030-20A
(3M)
Use for the connection between a PLC and a PC with a RJ45 port,
use for AS332T-A, AS332P-A, AS324MT-A, AS-FEN02 and AS-
FPFN02
I/O extension
cable
UC-ET010-24B (1M)
UC-ET020-24B (2M)
UC-ET030-24B (3M)
MIL connector, 40Pin ↔40Pin, shielded, use for AS32AM10N-A,
AS32AN02T-A, AS64AM10N-A and AS64AN02T-A
UC-ET010-24D (1M)
UC-ET020-24D (2M)
UC-ET030-24D (3M)
MIL connector, 40Pin↔2x 20Pin, shielded, use for AS332T-A,
AS332P-A, AS324MT-A, AS32AM10N-A, AS32AN02T-A,
AS64AM10N-A, and AS64AN02T-A
External
terminal
module
UB-10-ID16A 16 inputs/outputs, 20-Pin MIL connector, use for AS332T-A, AS332P-
A, AS324MT-A, AS32AM10N-A, AS32AN02T-A, AS64AM10N-A and
AS64AN02T-A
UB-10-ID32A 32 inputs, 40-Pin MIL connector, use for AS32AM10N-A and
AS64AM10N-A
UB-10-IO32D Terminal block (spring clamp/MIL connector), MIL connector to 40-Pin
spring clamp terminal block, use for AS332T-A, AS332P-A, AS324MT-
A, AS32AM10N-A, AS32AN02T-A
UB-10-OR16A 16 relay outputs, 20-Pin MIL connector, NPN, use for AS332T-A,
AS32AN02T-A and AS64AN02T-A
UB-10-OR16B
16 relay outputs, 20-Pin MIL connector, PNP, use for AS332P-A
UB-10-OT32A 32 transistor outputs, 40-Pin MIL connector, NPN, use for
AS32AN02T-A and AS64AN02T-A
Network cables UC-CMC003-01A
(0.3M)
CANopen communication cable, use for AS-FCOPM series
UC-CMC005-01A
CANopen communication cable, use for AS-FCOPM series

Chapter 1 Introduction
1-9
1_
Classification
Model Name
Description
(0.5M)
UC-CMC010-01A
(1M)
CANopen communication cable, use for AS-FCOPM series
UC-CMC015-01A
(1.5M)
CANopen communication cable, use for AS-FCOPM series
UC-CMC020-01A
(2M)
CANopen communication cable, use for AS-FCOPM series
UC-CMC030-01A
(3M)
CANopen communication cable, use for AS-FCOPM series
UC-CMC050-01A
(5M)
CANopen communication cable, use for AS-FCOPM series
UC-CMC100-01A
(10M)
CANopen communication cable, use for AS-FCOPM series
UC-CMC200-01A
(20M)
CANopen communication cable, use for AS-FCOPM series
UC-EMC003-02A
(0.3M)
Ethernet communication cable, use for AS Series CPU modules, AS-
FEN02 and AS-FPFN02 function cards.
UC-EMC005-02A
(0.5M)
Ethernet communication cable, use for AS Series CPU modules, AS-
FEN02 and AS-FPFN02 function cards.
UC-EMC010-02A
(1M)
Ethernet communication cable, use for AS Series CPU modules, AS-
FEN02 and AS-FPFN02 function cards.
UC-EMC020-02A
(2M)
Ethernet communication cable, use for AS Series CPU modules, AS-
FEN02 and AS-FPFN02 function cards.
UC-EMC050-02A
(5M)
Ethernet communication cable, use for AS Series CPU modules, AS-
FEN02 and AS-FPFN02 function cards.
UC-EMC100-02A
(10M)
Ethernet communication cable, use for AS Series CPU modules, AS-
FEN02 and AS-FPFN02 function cards.
UC-EMC200-02A
(20M)
Ethernet communication cable, use for AS Series CPU modules, AS-
FEN02 and AS-FPFN02 function cards.
Other manuals for AS Series
4
This manual suits for next models
64
Table of contents
Other Delta Network Hardware manuals

Delta
Delta R2-EC 004 Series User manual

Delta
Delta PD-01 User manual

Delta
Delta DVPEN01-SL User manual

Delta
Delta DX-2100 Series User manual

Delta
Delta Vivotek ND9213P User manual

Delta
Delta DVP series User manual

Delta
Delta MNVR1104-GCW User manual

Delta
Delta AHCPU560-EN2 Series User manual

Delta
Delta VIVOTEK ND9442P User manual

Delta
Delta CMC-EC01 User manual