Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
759 views
Yaskawa PLC Programming
A PLC Programming manual
Uploaded by
sanct1
AI-enhanced title
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Yaskawa Plc Programming For Later
Download
Save
Save Yaskawa Plc Programming For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
759 views
Yaskawa PLC Programming
A PLC Programming manual
Uploaded by
sanct1
AI-enhanced title
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Yaskawa Plc Programming For Later
Carousel Previous
Carousel Next
Save
Save Yaskawa Plc Programming For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 224
Search
Fullscreen
YASNAC J300 PLC PROGRAMMING MANUAL Pe ie ie Py 0 ort) G80 G91 G30 YO 26 Ea Beet ny ce Bass ty YASKAWA. SIE-C843-13.1FOREWORD ‘The Programmable Logic Controller (hereafter refereed to as PLC) for YASNAC J300 series ‘NC functions as the interface between the YASNAC NC and a machine tool to execute se- quence control specific to the machine tools simply and efficiently by software. For the edition of PLC sequence, a personal computer can be used. This feature allows of- fline mode programming. The created programs can be checked by using the sequence de- bugging board (model: JANCD-JCPO2-3, name: SXSD) installed in the NC after transmit- ting the programs to the NC. This feature allows efficient program development. PLC sequence can be edited in online mode. ‘The online mode editing can be executed by using the standard hardware without requiring the XSD board, permitting simple modifica- tions to the PLC sequence which is already in operation. I is of course possible to develop ‘sequence program without using a personal computer. This manual explains the PLC instructions, program debugging methods, the procedure used for writing the programs to flash ROM, etc. so that a series of operation from PLC program development to writing the program to flash PROM can be performed smoothly.CONTENTS FOREWORD .. 1 SYSTEM CONFIGURATION 1.1. SYSTEM CONFIGURATION OF YASNAC J300 PLC SYSTEM . 2 SEQUENCE PROGRAM DEVELOPMENT PROCEDURE 2.1 SEQUENCE PROGRAM DEVELOPMENT eee 3 PLC PROGRAM SPECIFICATIONS 3.1 BASIC SPECIFICATIONS 3.2 PROGRAM FUNCTIONS 3-3 3.3 INPUT/OUTPUT SPECIFICATIONS ...... 4 SEQUENCE CONTROL METHOD 4.1 DIFFERENCES IN OPERATION 4.2 LEVEL AND OPERATION OF SEQUENCE PROGRAM . 4.3 RELATIONSHIP BETWEEN THE LADDER STOP COUNT AND THE SEQUENCE TASK . 4.4 SEQUENCE PROGRAM MEMORY CAPACITY AND MEMORY CONFIGURATION 5 ADDRESS NUMBERS AND ADDRESS MAP 5.1 ADDRESS MAP 5.2 ADDRESS MAP AND DISPLAY SYMBOLS .... 6 PLCINSTRUCTIONS 6.1 BASICS OF PLC INSTRUCTIONS 6.2 TYPES AND LIST OF INSTRUCTIONS6.3 RELAY INSTRUCTIONS 6.4 65 66 67 7 +JXSD OFFLINE SYSTEM 7.1 OUTLINE OF THE JXSD OFFLINE SYSTEM 7.4.4 Operating Environment . 7.4.2 Execution Files ... : 7.1.3 Outline of the Execution Files . 7.14 Ladder Program Development Procedure 7.2. SOURCE FILE 7.24 Source File Format .....-..-....-- 7.3 COMPILER 7.3.1 7Compiler Operation . 7.32. Compiler Error List 7.33 Compiler Check Item: 7.4 LINKER 7.4.1 Object Data and Linker Processing 7.4.2 Linker Operation ...... 7.43 Linker Output File 75 REMOTE CONTROLLER OPERATION .............0.00005 7-24 7.5.1 Connecting the UXSD to PLC. 7-24 7.5.2 Starting the Remote Controller 7-25 7.53 Description of Screen Display Information 7-26 7-28 7.4 Operation of Remote Controller . 7.6 LIST OF ERROR MESSAGES AND WARNING MESSAGES .. 7.8.1 Error Messages . 7.8.2 Waming Messages .8 ONLINE EDITING 8.1 OUTLINE OF ONLINE EDITING .. 8.1.1. Creating a Sequence Program Newly 8.1.2 Creating a Sequence Program by Modifying the Existing ‘Sequence Program . + 2 o eioae aan 8.2 FUNCTION TREE AND DISPLAY SCREENS 82.1 Function Tree .. 82.2 Ladder Display Screen 8.3 LADDER DISPLAY FUNCTION 8.3.1 BT/TOP (Bottom/Top) Function’...... 83.2 SYM DIS (Symbol Display) Function . 8.3.3 NET SEL (Net Selection) Function . 8.3.4 GOJSTP (Run/Stop) Function 8.4 NET EDITING FUNCTION . 8.4.1 Selection of Edit Mode . . 8.4.2 Keys Used for Editing the Ladder . 8.4.3 Inputting Contacts .. : 8.4.4. Inputting Vertical and Horizontal Lines 8.4.5 Inputting Register Instructions . 8.4.6 Canceling the Net Edit Function 8.4.7 Exiting the Edit Function 8.5 TABLE EDIT FUNCTION ........ 85.1 Editing the Data in the Conversion Table « 85.2 Editing the Data in the Message Table . 85.3 Editing the Data in the Symbol Table 8.6 INPUT/OUTPUT FUNCTION ... 8.6.1 Downloading the Sequence Program 8.6.2 Uploading the Sequence Program . 8.7 SEQ STS (SEQUENCE STATUS) FUNCTION . 8.7.1 Display of Sequence Status . 8.7.2 INIT! (Initialization) Function 8.8 LISTOF MESSAGES . 88.1 List of Messages .. 8.82 List of Waming Messages i : 8.8.3 List of Alarm Messages Scere es = 8-52 ey © 3 oae @aa2oaao o hag Se gegneass Ao ecer 869 DOWNLOADING AND UPLOADING LADDER PROGRAM 9.1 DOWNLOADING LADDER PROGRAM (PC CARD - FLASH ROM) ........... 02sec cece ee eee ee 9-2 9.2 UPLOADING LADDER PROGRAM (FLASH ROM => PC CARD) «0.0.0... e eee e eee e nee e eee eens 9-4SYSTEM CONFIGURATION Chapter 1 describes the system configuration of YASNAC 4300 PLC system. 1.1 SYSTEM CONFIGURATION OF YASNAC SEAN EME Creve ree 1-21.1. SYSTEM CONFIGURATION OF YASNAC J300 PLC SYSTEM NCoperation pane! Input/outputsignal display = — (with offine system software package) es Ld Se - peronalcompuerJoPe23 4 x80 is ncessay |] =p ™~ _! PCeard (Toshiba) THSSSIG0051AAA sent melasira a tean ROM, ‘aPC card is necessa Fig. 1.12 SEQUENCE PROGRAM DEVELOPMENT PROCEDURE Chapter 2 describes the procedure of sequence program development - offline and online mode operation. 2.1 SEQUENCE PROGRAM DEVELOPMENT ..........-0eeeseeeee oaTE EEE EEE EEE! 2.1. SEQUENCE PROGRAM DEVELOPMENT Processing on the Desk Processing at Personal Computer Processing at NC Unit Deaterminingthe number ot) ‘Creating the VO signal alooation table Lave ______t (Creatingtne sequence adder y Completion of ist of Os Turing setat" Wiiing the binary fle to the 02.3 uxsp)) LMOSmemony Necessary t ‘Saving the binary fe to PC card Debuggingandondine editing T s0P023 UXSD) £ Natesesany S iS Yes "Transfering the ladder to PC card ‘Texte and binary fle Tuming he power OFF = ONwih SW1 ON on JOPOI-1 ‘Transioring the binary flo tromPC card flash ROM FTuming ine power OFF — ON by] turing "1" of 1SW on JCPOt No PCcand ‘Bioringthe sequenceladder Fig. 24PLC PROGRAM SPECIFICATIONS Chapter 3 describes the specifications of PLC programs. 3.1 BASIC SPECIFICATIONS ............- 3-2 3.2 PROGRAMFUNCTIONS ............. 3-3 3.3 INPUT/OUTPUT SPECIFICATIONS ....3-4 3-4ee 3.1. BASIC SPECIFICATIONS The basic specifications of PLC programs are indicated below. Control method Scanning method Processing time 0.5 usistep (approximate value) High-speed processing scan time 4ms Low-speed processing scan time 4ms Xn Note: Value "n" is determined by the high-speed processing capacity and total program capacity. Program memory capacity Basic 256K bytes Program 128K bytes ‘Table symbol 128K bytes ‘Note: 128K bytes are equivalent to approximately 32K steps of basic instructions. Instructions Basic instruction 61 kinds Macro instruction 22 kinds3.2 PROGRAM FUNCTIONS 3.2. PROGRAM FUNCTIONS Internal relays 11960 points Registers 1495 registers (8 bits/register) Timers 188 timers (5 types) 8 msec to 2.4 see 40 timers ‘50 msec to 12.75 sec 60 timers 100 msec to 25.5 see 60 timers 1 sec to 255 see 20 timers ' 1 min to 255 min 8 timers Sequence parameters 100 sets (8 bits/set) Keep relays 7200 points Battery back-up memory 2900 sets 1, Internal relays and registers occupy the same addresses and the addresses used for internal relays cannot be used for registers. Similarly, the addresses used for regis- ters cannot be used for internal relays. 2. Keep relays and battery back-up memory occupy the same addresses, and the ad- dresses used for keep relays cannot be used for battery back-up memory. Similarly, the addresses used for battery back-up memory cannot be used for keep relays. Note that the Keep registers (#8000 to #9999) cannot be used for the keep relays,3.3. INPUT/OUTPUT SPECIFICATIONS General-purpose input/output ports are installed on the YO module (ANCD-FC810, FC860, FC861) and the JSP board (JSP02) in the NC operation panel. ‘The number of 1/0 points on each module is indicated below. Vouu.aweo | maeenea | Nana Sua ae FC810, FC860° 12 6 | FC861 6 56 For machine operation pane! = “ % ‘An input/output por is incorporated in the control board (JSP02) in the NC operation panel. Therefore, if modules FC810/FC860 are added, addition of a maximum of 4 boards (max. input: 512 points; max. output: 440 points) is possible, and if module FC861 is added, addition of a maximum of 9 boards (max. input: 640 points, max. input: 560 points) is possible.SEQUENCE CONTROL METHOD Chapter 4 describes the sequence control method. ‘Sequence control by PLC is executed sequentially by the soft- ware, which differs from the ordinary control by relay circuits. in which processing is executed simultaneously, Due to this characteristic, the sequence control by PLC results in consid- erably different operation from ordinary relay circuit proces- sing. When developing programs, this must be completely understood. 41 4.2 43 44 DIFFERENCES IN OPERATION ....... 4-2 LEVEL AND OPERATION OF SEQUENCE PROGRAM . RELATIONSHIP BETWEEN THE LADDER STOP COUNT AND THE SEQUENCE TASK .......... 4-6 SEQUENCE PROGRAM MEMORY CAPACITY AND MEMORY CONFIGURATION ..............eee ee 4-7 44DIFFERENCES IN OPERATION ‘There are two types of operation modes in the sequence control relay sequence and PLC sequence, (1) Relay Sequence All devices are processed simultaneously. (2) PLC Sequence Devices are processed sequentially and the ladder is executed repeatedly ina fixed peri- ‘od. This period is called the scan time. (Scan time example: 4 msec X n times) #10001 #t1001 #11002 Fig. 4.1 ‘The PLC sequence ladder given above operates in the following sequence. The opera- tion is not processed simultaneously. ® The status of contact A is read. ® The read status is output to intemal relay B. @® The status of contact A is read. @® AND operation is executed between the status of contact A and the status of NC contact of relay B. © The result of AND operation is output to intemal relay D. A the result of sequential processing, intemal relay D is never tumed ON. However, ifthe same ladder is executed in the relay sequence, relay D is momentarily tumed ON (one-shot operation). As discussed above, programming must always be carried out taking into consideration that processing by the PLC is executed sequentially.42 UEVEL AND OPERATION OF SEQUENCE PROGRAM —_—_—_ Oe 4.2 LEVEL AND OPERATION OF SEQUENCE PROGRAM Length of time necessary for the execution of one cycle of a sequence program is called the scan time. The scan time of this model of PLC is indicated below. * High-speed processing scan time: 4 msec + Low-speed processing scan time: 4 msec x n ‘This means, with this PLC, the sequence program can be processed by dividing it into ahigh- speed processing part and low-speed processing part. Therefore, the sequence program must be written in the format indicated below. ~ High-specdprocessing part ++ Endinetrictionofhigh-speed processing ‘Low-speed processing part EETD—— + Endinstruction of sequence program Fig. 4.2 ‘As indicated above, the sequence program that requires high-speed processing should be en- tred first and the sequence program for which low-speed processing is acceptable should be entered after that (8) Operation Time Chart ‘The operation time chart of a sequence program is indicated below. Nevo 1 ' 1 1 1 : High-speedprocessingladdor, ey Low-speedprocessingladder ey Sorta Pt ios sca) i Sesgrndpetessng ) 22% ott Brae Fig. 4.3, 4(@) High-speed processing sequence program ‘The high-speed processing sequence program, from the beginning of the sequence pro- ‘gram up to the RTH instruction, is executed once every 4 msec or less as shown in the ‘time chart above. During the processing of the high-speed sequence program, the input status remains un- changed. (b) Low-speed processing sequence program ‘The low-speed processing sequence program entered following the RTH instruction is divided into “n” sections and one of these sections is executed in the remaining time in each 4-msec interval. That is, the low-speed processing sequence program is, executed once in “4 msec Xn” ‘As seen above, value “n” will be smaller as the total program capacity and the high- speed processing program capacity are smaller. Since the low-speed processing sequence program is executed in several sections, the input status will be changed during its execution. Therefore, the precautions indicated in item (3) below must always be observed. (©) Reading the input state At the beginning of the 4-msec interval, the status of all inputs is read into the PLC col- lectively. (d) Outputting the output status Atthe beginning of the 4-msec intervals, the previous output status is output collective- yy. (4) Precautions on High-speed Processing Sequence Program ‘The high-speed processing sequence program treats only the portion where high-speed response is required, such as counting the contact ON/OFF. ‘Therefore, this should be limited only to the requisite program. The capacity must be less than 1000 steps when converted into the contact instructions. (6) Precautions on Low-speed Processing Sequence Program ® Scan time of the low-speed processing sequence program is influenced by the total ‘capacity of the sequence program. It is calculated by “4 msec X n”. ‘The sequence program size that can be processed in a 4-msec interval is approxi- mately 3000 steps in contact instructions. This size isthe total of high-speed pro- ‘cessing sequence program and low-speed processing sequence program.4.2LEVEL AND OPERATION OF SEQUENCE PROGRAM @® Since the low-speed processing sequence program is executed in several sections, the status of inputs will be changed curing the execution of the program. There~ fore, the inputs that are used for the execution of the low-speed processing se- quence program should be taken into the internal relays atthe start ofthe low-speed processing sequence program, and for the execution of the low-speed processing sequence program, the contacts ofthe relays where the inputs have been received should be used as the input signals. ‘High-speedprocessing sequence program { Fig. 4.4 By creating the program in this manner, one cycle of the low-speed processing se~ uence program can be executed under the same input signal status. @ Tithe results of the high-speed processing sequence program are output to the low- speed processing sequence program, the same consideration must be given to the creation of the program. @® The signals that should not be output until one cycle of the low-speed processing program is executed should not be directly output to the PLC address used for ex- {eral outputs. Such signals should first be input to the internal relays and they should be connected to the extemal output addresses at the end of the low-speed processing sequence program. Pa = vite te ets tat ous woe erat at te ‘exooudon of one cys of te low-epeod processing sequence rogramat tis pat Fig. 4.54.3 RELATIONSHIP BETWEEN THE LADDER STOP COUNT AND THE SEQUENCE TASK The service task includes the following: + User's message display processing + TO ‘signal display processing ** Background processing * Others ‘The task operates during the period, from the completion of one scan of the low-speed pro- cessing sequence program and until the start of the next scan. ‘The ladder stop count (the number of times the low-speed processing ladder should be stopped) should be set based on the load during the processing of the service task. Recommended value: 14.4 SEQUENCE PROGRAM MEMORY CAPACITY AND MEMORY CONFIGURATION ‘The sequence program is finally written to the flash memory (ROM). ‘The program memory of this PLC can be divided into the areas indicated below. 120Kbytes ‘wakbytes Fig. 4.6 Generally, relay instructions occupy 3 to 7 bytes and other instructions 1 t025 bytes. Assum- ing that one instruction occupies an average of 4 bytes, 128K byte memory area is equivalent ‘Cont Table High-speed Processing Program: Lom-speedProcessing Program DataTable Message Tablo t0 32K steps (128K/4 = 32 K). 45 ADDRESS NUMBERS AND ADDRESS MAP Chapter 5 describes the address numbers and address map. 5.1 ADDRESS MAP .........----. 200000 5-2 5.2 ADDRESS MAP AND DISPLAY SYMBOLS ........ yee et eeeeneeeeenee 5-351 ADDRESS MAP ‘When creating a sequence program, input/output signals of PLC, internal relays, timers, bat- tery back-up memory and other devices in the PLC are all designated by an address number (four-digit number following #) and a bit number (bit 0 to bit 7) # 0000 t Bit number (0 to 7) Address number a) Name of eight points of a signal b) Name of one-byte (eight bits) data (1) Designation of /O signals, internal Relays, and Other Devices (One-bit De- vice) ‘The devices which have one-bit information are designated by a five-digit number (ad- dress number + bit number) following “#” as indicated below. Device Designation 1 WOsignals + 2 Tnternalrelays ‘Bitnumber 3 Keeprelays Address umber Inthiscase, the address number has the same meaning as a) explained above, and itcan be considered to be the name assigned collectively to eight points of a signal. (2) Designation of the Registers, Timers, and Other Devices (One-byte Devices) ‘The devices which have one-byte (eight bits) information are designated by the address number. In this case, the address number has the same meaning as b) explained above, and it can be considered to be the name assigned to one-byte data. Device Designation 4 Registers ee # Of00 6 Sequencerparameters Address number 7__Keepmemory [Note: With some types of instructions, designation of “#1500”, for example, specifies two bytes of "91500" and “1501” Example: PUSH #1500‘5. ADDRESSMAP AND DISPLAY SYMBOLS. 5.2 ADDRESS MAP AND DISPLAY SYMBOLS ‘The address map and the relationship with external devices are shown below. StandardMainNCSecton __PLCSecfon__UOSecton_ Machine | few ramet) Po) paca wane &) #3000 | | #1000 ae aa) Leen | ts eb pte waalte Ta ego | ance 4 of ee! GT oa (5) aa 7000 asenr|) odrsar “200 rT. omg 7100 Fee) cn] Tinars F100] | gas : sete), | "rae #1700, bieeed Haste | LSat790 a (1) Addresses of Input Signals from the Machine (#1000 to #1063) For the signals input from the machine operation panel and electric control panel, such. as those of pushbutton switches and limit switches, addresses #1000 to #1063 are as- ‘signed. The correspondence between the address and the input signal should be deter- ‘mined by the machine tool builder, © One bit of address (#1000s) corresponds to one point of input signals. @ Address number and bit number are determined depending on the pin number and the connector number of the /O board where the input signal is connected. Example: ee (1000 (pase sezil Sas [SENSED SHEE] LE pane. 10 Gomez No.1 Enter the input signal name, ® The input signals of #1000s are expressed by the following symbols. 1— AF} #10000 #toco0 {NO contact) (NC contact)(2) Addresses of Output Signals to the Machine (#1100 to #1163) For the signals output to the machine operation panel and electric control panel, such as the signals of lamps and solenoids, addresses #1100 fo #1163 are assigned. The cor- respondence between the address and the output signal should be determined by the ma- chine tool builder. ® One bit of address (#1100s) corresponds to one point of output signals. ® Address number and bit number are determined depending on the pin number and the connector number of the I/O board where the output signal is connected. Example: BitNo. as10 6 4 8 2 1 08 ig Leva letcr [ote Bras ors BLS T piano. 10 ‘Connector No, 08 Enter the output signalname, @® The output signals of #1100s are expressed by the following symbols. —O— Ff coats 4 stone Semninsy fd contacy (8) Addresses of Input Signals from the NC’s Main Section (#3500 to #3799) For the signals input from the NC main section, in other words, the signals output from ‘the NC main section to the PLC, such as M-BCD signal, addresses #3500 to #3799 are assigned. ‘The correspondence between the signal name and the address is determined by the NC and cannot be changed. @® One bit of address (#3500 to #3799) corresponds to one point of input signals. y 6 5 4 5 2 1 0 son [a7 [ns [was [wat [ wa [ne wat | WA First M code outputS.2ADDRESS MAP AND DISPLAY SYMBOLS ® The input signals of #3500 to #3799 are expressed by the following symbols. 4 —H— once exo (4) Addresses of Output Signals to the NC Main Section (#3000 to #3159) For the signals output from the PLC to the NC main section, such as EDIT and MEM. mode selection signals, addresses #3000 to #3159 are assigned. ‘The correspondence between the signal name and the address is determined by the NC and cannot be changed. © One bit of address (#3000 to #3159) corresponds to one point of output signals. Example: rc, ; ABISY HHstGEE Seay eatistr eeeige adtia( WStEEEE sso [eoT | Mew] wor] TP | STP] _H | soa] AT Edt MomoryManval Tape Step Hande Jog Rapid ® The output signals of #3000 to #3159 are expressed by the following symbols. E owputo enc : —Q—— secon contest: JK woceo noon(5) Addresses of Internal Relays (#1200 to #2994; excluding #1300 to #1399 and #1700 to #1799) For the internal relays that can be used only in the PLC to create a sequence program, addresses #1200 to #2994 (excluding #1300 to #1399 and #1700 to #1799) are as- signed. © One bit of address of #1400s, for example, corresponds to one piece of internal relay. Example of VO list: No, s4 3 ils se eects a ® The number of usable intemal relays is indicated below. 500 bytes X 8 bits = 4000 relays ® The internal relay and its contact are expressed by the following symbol. Inmatriay S00 Contact: —1}— qucoo #44000 (NOcontact) (NC contact) ‘There are no limits to the number of contacts (NO and NC contacts) as long as the program capacity is not exceeded. @ The addresses used for registers cannot be used for internal relays.‘5.2 ADDRESS MAP AND DISPLAY SYMBOLS —_— OOOO (6) Addresses of Registers (#1200 to #2994; excluding #1300 to #1399 and #1700 to #1799) For the general-purpose one-byte (eight bits) register, addresses #1200 to #2994 (ex- cluding #1300 to #1399 and #1700 to #1799) are assigned. ‘These registers are used for register instructions and workpiece address for macro instructions. @® One address number corresponds to a one-byte register. Example of UO list: 1501 Enteraragistername. @ The number of usable registers is in the range from #1200 to #2994 (excludes #1300 to #1399 and #1700 to #1799) @ For the registers, the address number itself is used as the symbol in a ladder. E See the examples below. | 4} Tass }-— FRogistarinstructon (exampie: (NR) [fs Macro instruction (example: PUSH) @ The addresses used for internal relays cannot be used for registers.(7) Addresses of Timers (#1300 to #1399 and #1700 to #1799) For the timers, addresses #1300 to #1399 and #1700 to #1799 are assigned. @® One address number corresponds to a timer. Example of VO list: #1700 #1701 Enteratiner name. Enteraseting value @® The number of available timers and timer setting units are indicated below. Table 5.1 ‘Address No. Timer Type Nomber of Timers #1700 10 #1709, #1760 10 #1769 ‘a #1300 to #1309, #1360 t0 #1369 #1710 0081729, 41790 to #1799 a #1310 10 #1329, #1390 10 #1399 ‘#1730 0 #1749, #1780 to #1789 a £91330 0 #1349, #1380 t0 #1389 #17501 #1759 7 #1350 0 #1359 i770 © ITS 7 #1370 #1373, @ Anexample of a timer symbol is indicated below. (Example) He ES _GSH Timer insiueton Timersetingvalue (@ypes)——_(hexadecirat)‘52 ADDRESS MAP AND DISPLAY SYMBOLS (8) Battery Back-up Memory (pm7000 to pm7099, #7100 to #9999) For the memory to which addresses of #7000s are assigned, such memory is called the “attery back-up memory”. The data saved to this type of memory are therefore re tained even when the power is tumed OFF. Inthe PLC sequence ladder program, only the image data at the PLC side can be han- dled, Itis not possible to handle (read and write) the source data in the NC main section. ‘The battery back-up memory data are classified into the following three types. ‘ Sequencer parameters: pm7000 to pm7099 + Keep relays: #7100 to #7999 ‘+ Keep memory: #7100 to #9999 StandardNC Main Scion _ PLO Section Battery backup memory ag pm 7000 parameters © pm 7000 pm7099 ‘opm7099 amioo Keeprelays te #710010 #7009 Keepmemory #710010 #9099 GA (a) Transferring the sequencer parameter data to the PLC ‘The sequencer parameter data are transferred from the NC main section to the PLC in the following case in addition to the time when the power is turned ON. Ifeven one item of sequencer parameter data is changed by parameter write operation, the entire sequencer parameter data are transferred collectively. Ina sequence program, itis allowed only to read the sequencer parameter data. Do not attempt to change the data.() @) @) ‘Transferring the data in the keep relay and keep memory data to the NC Image data saved in the keep relays and the keep memory in the PLC change continu- ously since the data are read and written as the sequence program is executed. There- fore, itis necessary to transfer the latest image data in the PLC to the battery back-up ‘memory in the NC main section as the source data, This data transfer is called the auto- ‘matic data transfer. ‘While the power is ON, the data in #7100 to #9999 are collectively transferred from the PLC to the NC. Addresses of Sequencer Parameters (pm7000 to pm7099) For the sequencer parameters, addresses pm7000 to pm7099 are assigned. The data set for sequencer parameters can be changed by using the normal parameter write opera- tion. ‘When using the data of these parameters in a sequence parameter, the following two methods are available. + To use as one-bit data + To use as one-byte data Using as one-bit data Example of 1/O list: 7000 Entersignal name. ‘The symbol used in the ladder is indicated below. ——-— t—‘5.2ADORESS MAP AND DISPLAY SYMBOLS (©) Using as one-byte data Example of VO list: ‘pm7000| ‘pmro01 Emtrparameterdatanare, In this case, the address number itself is used as the symbol. See the example below where a parameter is used with a timer instruction. LHe at bo} 7 Vaasie imer seting by insmscton—_aparametor (10) Addresses of Keep Relays (#7100 to #7999) For the keep relays that can be used in the PLC, address #7100 to #7999 are assigned. E @® One bit corresponds to one piece of keep relay. Example of 10 list: i - ecg ceecgeese eae egg ec. mot [ees] I Enterkeop olay name, ® The number of usable keep relays is indicated below. 900 bytes x 8 bits = 7200 relays @ Keep relays and contacts are expressed by the following symbol. Keaprelay —o—— wricoo Contact: —1+-—- § —+F-— a7icco. | a7inoo. @ ©(11) Addresses of Keep Memory (#7100 to #9999) Forthe one-byte keep memory where the data can be retained after power OFF, address- s #7100 to #9999 are assigned. With the exception that the keep memory can retain the saved data, it can be used in the same manner as with the registers. ‘Therefore, the keep memory can be used as the object of register instructions or auxilia- ry data of macro instructions. "When writing a sequence program for random type ATC memory, akeep memory must bbe used. ® For one-byte (8 bits) keep memory, address number #7100 or above is assigned. Example of VO list: 7108 ars Fy Leer rernrane @® The number of usable keep memory 2900 in the range from #7100 to #9999 @® For the keep memory, the address number itself is used as the symbol. See the example below. Laney] eres MOV: Contents of register #1500ar transfered tokeep memory #7100.2 ADDRESS MAP AND DISPLAY SYMBOLS @® Forthe devices that have one-byte or larger information, a four-digit address num- ber is assigned. Although the data are basically of one-byte construction, the data can be handled as two-byte or four-byte data by the setting for the parameter. Inthe case of two- or four-byte data, the address is specified as a one-byte unit ad- dress; the address of the least significant byte is used as the address for two- or four- byte data. Pye Word 200 #7200 wa wae ar02 7203 fa Word star number sting parameter: pmses0 Dovblewerdstahumbersetingperameter: — pmaest Setingrange: 800010 5000 prado
| mr | BOR operation betwesna ner value and he content of a theregiser. To | pac | Coincidence between anumeic value andthe content ofthe oe register Tr | cor ._ | Ceiseidence between aaumeric vale andthe contencofthe registe: 12 | CMP _| Compares ammeric vale the content ofthe reise. = 13 | CPt | Compares a numeric value tothe content ofthe epister. 14 | _MVI__ | Losdsamumesie value to the register = 15 | app | Excouesaddion baween register RI and register RZ and Ee stores the sult toR2. ‘Executes ubvacion berweenreiser RI and egister R2 a 16 | SUB | andstoesthe result to R2 TExscules AND between regiser Rl andegiser R2 and a 17 | ANR | stores the resulttoR2. Executes OR between ester RI andregister 2 and stores a 18 | ORR | treresutioR2,6.2 TYPES ANDLIST OF INSTRUCTIONS No. | Instruction Desertion Fifater Operation ‘Brcctes KOR between episies Rl and RZ and sores the | ome oe resulttoR2 ‘Brecis comparison beween egiten RI and RZ and 7 a stores the result toRR. 8 zr | co _ | Exszes comparison between registersRI and RZ and + stores the “oie” result tO RR 22_| MOV _| Transfers the content of threiterRI forester 2. = we | per | Betcutes AND between anumeie valve and the content of am theregister | andtranstrsthe result orepsterR2. 2 | DIN | Brac = 2 | ADC _ | Brecuesdoublelength addon + ‘Breas adionberween double lnsthreaisier WR) 26 | ADDW | anddovblelength register WR!) and stores the resto - wre ‘Subtracts the content of double-length register (WR1) from 27 | suBw | thecontent of doublelengh register (WR2) and stores the - resutto WR2. Mlplies the coneatof double lengihregiter(WRIjand | RRisseiio"™ 28 | MULW | thecontent ofdoublelengh register (WR2)andsirestbe | whenoveriow result WR2. ecru Divides content of double length ister (WRI) bythe com 29 | DIVW | tentof double-length efister(WR2) and stores the resultto ° WR 30_|_INRW _| Adds "+1" wotbe content of he doubie length register: = BI_|_DCRW _ | Adds"-1" othe conten ofthe double nat esis = 32_|_GURW | Clears the content ofthe doable length registro" = 33 | _CMRW | Tnvers the conten ofthe double lengihegiter = TBreculs comparison between double length ester and 34 | conW | doubledengthregiserR2 ad stores the “enincie result to + RR 35 | cpnw | Brecies comparison between doable length epsier RT and ; dovble-leagh episer RZ and stores the result to RR 36_| _MVIW _ | Losdranamerc value tote double lenghregier es Executes AND berwern te conn! of doble-enghhregiser 37 DSTW | (WRI) and a numeric value and transfers the result to Hee
R2) ® There is no function to detect underflow. Make sure that the following is always satisfied: R1 = R2 (17) ANR (AND Register) RR after operation: RR — © The ANR instruction is basically the same as the ADD instruction with the excep- tion that the ANR instruction executes AND operation. (R2. AND RI + R2)‘6 5REGISTERINSTRUCTIONS (18) ORR (OR Register) RR after operation: RR— @® The ORR instruction is basically the same as the ADD instruction with the excep- tion that the ORR instruction executes OR operation. (R2OR RI + R2) (19) XRR (XOR Register) RR after operation: RR — @ The XOR instruction is basically the same as the ADD instruction with the excep- tion that the XOR instruction executes XOR operation. (R2 XORR1 > R2) (20) CPR (Compare Register) AR after operation: RR— @ Format CPR #XXXx, #XXXx Register or contact set (R2) Register or contact set (R1) @ The instruction executes comparison between R1 and R2 when the ST contact is ON (RR = 1), and sets “0” or “I” to Z1 according to the result of comparison. RI
(WR2) If the ST contact is OFF (RR = 0), the ADDW instruction is not executed. ® AnST contact must be entered before the ADDW instruction. @® The ADDW insiruction is executed in intervals of “4 x n" msec while the ST con- tact is ON. : st | Si iene I pow Lo stao12 ADDW #1500,61502
(wr) 7 ” aia! Conta 00] iso #1502 (wre @® There is no function to detect overflow. Make sure that the result will not exceed FFEFH.GSAEGISTER INSTRUCTIONS. (27) SUBW (SUB Word Register) RR after operation: RR — © Format SUBW #XXXxX, #XxXX Low side of double-length register (WR2) Low side of double-length register (WRI) @ The instruction executes subtraction between the contents of double-length regis ter (WR2) and doubie-length register (WR1) when the ST contact is ON (RR = 1) and stores the result to double-length register (WR2). (WR2)— (WRI) > (WR2) If the ST contact is OFF (RR = 0), the SUBW instruction is not executed. @® An ST contact must be entered before the SUBW instruction. @ The SUBW instruction is executed in intervals of “4 x n” msec while the ST con- tact is ON. st F-—fsuaw]_ #1500, 41508 1ao12 LD wa012 SUBW #1800, 21502
way Se > ea i507 #1602 wre} ® There is no function to detect underflow. Make sure that the following is always satisfied: WR1 S WR2 i(28) MULW (MUL Word Register) RR after operation: RR $ @® Format MULW #XxXXx, #XXXX Low side of double-length register (WR2) Register (RI) @® The instruction executes multiplication of the contents of double-length register (WR2) and the register (R1) when the ST contact is ON (RR = 1) and stores the result to double-length register (WR2). WRI) x (R2) > (WR2) If the ST contact is OFF (RR = 0), the MULW instruction is not executed. ‘An ST contact must be entered before the MULW instruction, eo ‘The MULW instruction is executed in intervals of “4 x n” msec while the ST con- tact is ON. ® Ifoverflow occurs, in other words, ifthe result exceeds FFFH, “I” is settoRR (RR =i. ‘The lower one word is stored to the register. Fi {Shenae} wire WD aoe MuLw #1500, #1502
[erm to00} Germ ov] GH x) cer of isos ansc2. (wR)G.SREGISTERINSTRUCTIONS (29) DIVW (DIV Word Register) RR after operation: RR— ® Format DIVW #xxxx, #XXXx Low side of double-length register (WR2) 7 Register (R1) ® The instruction executes division between the contents of double-length register (WR2) and register (R1) when the ST contact is ON (RR = 1) and stores the result to double-length register (WR2). ‘The content of Ri remains unchanged before and after the execution of the instruc- tion. (WR1) = (R2) > (WR2) If the ST contact is OFF (RR = 0), the DIVW instruction is not executed. @® AnST contact must be entered before the DIVW instruction. @® The DIVW instruction is executed in intervals of “4 > n” msec while the ST con- tact is ON. st HI pivw]_#1500,21502 #4012 LD weor2 DIVW #1500,#1502 ‘Description wre) aie ow, Cot | eee * So wigs 41802 (wre) © The instruction is not executed if the content of R1 is “0”. 6-35(30) INRW (Increment Word Register) AR after operation: RR — © Format INRW #xxxx Low side of double-length register ® The instruction adds “+1” to the content of the double-length register when the ST contact is ON (RR = 1). @ An ST contact must be entered before the INRW instruction. @® The INRW instruction is executed in intervals of “4 x n” msec while the ST con- tact is ON. Li hase | widore 1 Lo staor2 INRW #1500 ® There is no function to detect overflow. If the result of operation exceeds FFH, it returns to OH. (31) DCRW (Decrement Word Register) AR after operation: RR — ® The DCRW instruction is basically the same as the INRW instruction with the ex- ception that the DCRW instruction adds “1”. jd @® There is no function to detect underflow. If the result of operation exceeds OH, it returns to FEFH. (82) CLRW (Clear Word Register) RR after operation: RR — @ The CLRW instruction is basically the same as the INRW instruction with the ex- ception that the CLRW instruction clears the content ofthe double-length register ov. (33) CMRW (Complement Word Register) RR after operation: RR — @ The CMRW instruction is basically the same as the INRW instruction with the ex- ception that the CMRW instruction reverses the content of the double-length regis- ter‘8 SREGISTER INSTRUCTIONS: (34) CORW (Coincide Word Register) RR after operation: RR ¢ © Format CORW #XXxXx, AXXXX Double-length register (WR) Double-length register (WRI) @® The instruction executes comparison between WR1 and WR2 when the ST contact is ON (RR = 1), and sets “0” or “I” to ZI according to the result of comparison. WRI = WR2Z1 =1 ‘WRI = WR2 Z1=0 Ifthe ST contact is OFF (RR = 0), the CORW instruction is not executed. The con- tent of RR remains unchanged. @ After the execution of the CORW instruction, the contents of WR1 and WR2 re- main unchanged. @® AnST contact must be entered before the CORW instruction. © The CORW instruction is executed in intervals of “4 n” msec while the ST con- tact is ON. sr t+-—[comy 91500,91502 -5—| waore #129 LD #14012 i500 ~ #1502... Z1ieeet CORW #1500.#1602 #1500 = #1500 |... Zt isdleared. our” eras k(85) CPRW (Compare Word Register) RR after operation: AR ¢ © Format CPRW #XXXX, #XXXX Double-length register (WR2) . Double-length register cwRI) ® Theinstruction executes comparison between WR1 and WR2 when the ST contact is ON (R= 1), and sets “0” or “1” to ZI according to the result of comparison. Ifthe ST contact is OFF (RR = 0), the CPRW instruction is notexecuted. The con- tent of RR remains unchanged. ® After the execution of the CPR instruction, the contents of WRI and WR2 remain ‘unchanged. ® AnST contact must be entered before the CPRW instruction. © The CPRW instruction is executed in intervals of “4 x n” msec while the ST con- tact is ON. sr Ki com eson sen FO Lo araore #1500 < #1602 .... Z1isset (GPRW #1500,#1502 #1800 & #1502 |... Zriscteared. our ataiza.SREGISTER INSTRUCTIONS (36) MVIW (Move Immediate Word Register) RR after operation: RR — © Format MVIW #xxxxX, XX XxH [ei Numeric value (low side) ‘Numeric value (high side) Double-length register © The instruction transfers the numeric value to the register when the ST contact is ON (RR=1). Ifthe ST contact is OFF (RR = 0), the MVIW instruction is not executed. @® An ST contact must be entered before the MVIW instruction. @® The MVIW instruction is executed in intervals of “4 x n” msec while the ST con- tact is ON. |e | eal nicsace} —| Vote LD ataorz NVI #1500, 20°F Hl 6-39(37) DSTW (Data Store Word Register) RR after operation: RR— © Format DSTW #XXXX, #XXXX, XXXX Numeric value Register (WR2) Register (WR1) @® The instruction executes AND between the content of WR1 and the numeric value when the ST contact is ON (RR = 1) and stores the result to WR2. The content of the register (WR1) remains unchanged before and after the execution of the ‘instruction. If the ST contact is OFF (RR = 0), the DSTW instruction is not executed. Los V eraore, "LD aaor2 [DSTW #1800, #1502, OFOFH [pst] 97600, 1602, OFOFH @ An ST contact must be entered before the DSTW instruction. @ The DSTW instruction is executed in intervals of “4 x n” msec while the ST con- tact is ON. [es] [ors |] ore [or [oro [>> | oe [or] >] 66] [os] oe [or | 0 Regwerwai |B] B|B[B]B|B|5|8|5[BlB(8[ Bl B/ Ble Numeric valve | 0 Thifefejofe{ti |i: Reineewrt | 0 [0/0] 0|8|8|8|Bl[ofo[ojo|s{sis|B Be “Oro”6.8 CONTROL INSTRUCTIONS, 6.6 CONTROLINSTRUCTIONS ‘The control instructions are described below. | (1) NOP (No Operation) RR after operation: RR— © Format NOR ® No operation is exeéuted and the program advances tothe next step, ‘Thecontent of RR remains unchanged before and after the execution of the instruc- tion, (2) MCR (Master Control) RR after operation: RR— © Format MCR ® The instruction executes the sequence ladder when the both X1 and X2 contacts are ON (RR = 1). If the X1 or/and X2 contacts are OFF (RR = 0), the ladder is executed to END in the state of “RR = 0". x waaay wilooe US LD #14001 Descriptions AND #14002 1 and X2 contact are OFF, "0" is outputto the McR 1 . MER os rel relays 21,22, ard 23 OUT #4010 LD #14004 OUT ai4ort LD #14005 Our #14012 i END ‘ © Itis possible to enter another MCR instruction between the MCR and END instruc tions (max. 7 levels). @® When a timer instruction is included in the MCR instruction, the timer is cleared when the MCR instruction is OFF. | © Evenifthe self-holding circuit is formed between the MCR and END instructions, the cireuit output is OFF when the MCR instruction is OFF,(3) END (Master Control End) RR after operation: RR — @® Format END ® The instruction indicates the end of the MCR instruction. (4) RET (Retum) | RR after operation; RR— @ Forma = RET @® The RET instruction indicates the end of a sequence program. (6) RTI (Retum Indirect) RR after operation: RR— @® Format RTT @® The instruction executes the RET instruction when the ST contact is ON. Af the ST contact is OFF, the ladder of the next step is executed. sv n atgont Lo’ on RT (6) SET (Set Result Register) AR after operation: RR — A © Format SET @® The instruction forcibly sets “I” for “RR”. (7) RITH (Retum High Sequence) FAR after operation: RR— @® Forma = RTH ® The instruction indicates the end of a high-speed processing sequence program.&.6CONTROL INSTRUCTIONS. (®) MP (Jump) RR after operation: RR — @® Format = IMP xxx Eater number of jump destination ® The instruction executes jump to the ADRO12 when the ST contact is ON (RR = ; jump D. : If the ST contact is OFF (RR = 0), the ladder of the next step is executed. “IMP ot st ‘w14000 eee be ‘ADROT2 Lo #14000 SMP OB © With the JMP instruction, the states of output coils up to ADR are retained when RR=l. With the MCR instruction, however, the output coil state is not retained. (9) ADR (Address) AR after operation: RR — @® Format ADR Xxx i cise number @® The instruction indicates the destination of jump called up by the JMP instruction. @ The JMPand ADR instructions are always used in pairs. The label numbers speci- fied by the IMP and ADR instructions given in a pair must be the same.— 6.7 MACROINSTRUCTIONS ‘There are several machine control sequences that cannot be programmed easily if only basic instructions (relay instructions, register instruction, etc.) are used. The macro instructions are provided to simplify programming such sequences: Macro instructions are written in the following format, (1) SUBP 003 (UP: Detecting rising edge of a signal) (@)_ Function ‘The instruction detects the rising edge of a signal. (b) Format ‘Working area dross fAPsH] #1600 oF Rt (Output signal ise detection ‘SUBP 003, CContactto be detocted APSH #1500... Working area across, UD #14000..|- Contact tobe detactad A SUSP 003... UPinstucton OUT #11000... Ouputotsignat se detection (©) Control conditions @® Working area address (APSH #x x X X), Designate an address that is not used by other instructions. Prepare one byte for one SUBP 003. ® Contact to be detected (ACT) and output of signal rise detection (R1) ~ ACT = 0: -Rising edge of a signal is not detected; RI = 0 ++ RI value changes “0” + “I” —+“0" atthe detection of the rising edge. » TIL = 1” when the power is tumed ON, it is regarded as the rise.6.7 MACRO INSTRUCTIONS. (2) SUBP 004 (DOWN: Detecting falling edge of a signal) (e) Function The instruction detects the falling edge of a signal. (b) Format | at ‘aPsn] #1800 Down 7 A ‘Output signalfalldetecton #14000 | i000 SUBP 004 ‘cénacto be detactes APSH. #1500...... Working aad adcrass LD 14005 "1"! Contacto be datectad SUBP 008 .....), DOWNinstructon OUT #11000 "11"! Ouputet signal as detection (©) Control conditions © Working area address (APSH #x x x X) Designate an address that is not used by other instructions. One byte is necessary for one SUBP 004 ® Contact to be detected (ACT) and output of signal fall detection (R1) : Falling edge of a signal is not detected; R1 = 0 1 value changes “O" + “i"—+ “0” at the detection of the falling edge. « LL oo r oa i Rt ee i) @ Even if “ACT = 0” when the power is tumed ON, it is not regarded as the falling edge.(3) SUBP 005 (COUNTER) (@) Function ‘The counter can be used for the following purposes to control machine tool operation as indicated below according to the applications. © Ring counter ‘The counter is aring counter. Accordingly, the counter value rettrs tothe initial value if a count signal is input after counting up to the preset value. ® Preset counter ‘The count-up signal is output when the count value reaches the preset value. ® Upléown counter ‘The counter can be used for both up and down counters. (b) Format . pera pe | conan — j el na 7 owmteaiea | ay ee #34000. #14001 6 { Count-upoutput _ #71000 i “ae HE enon16.7 MACRO INSTRUCTIONS (©) Control conditions ® Designation of preset value (PSH x x) Designate the preset value directly To designate a variable value, use the PUSH instruction instead of the IPSH instruction. If the PUSH instruction is used, the contents of the designated address are used as the preset value, : Example: PUSH #1550 : With the designation indicated above, two bytes of #1550 and #1551 are used. Even if only one byte is used, #1551,must not be used for other instructions. ® Designation of counter address (APSH #x x x x) Designate the counter address. ‘If APSH #1500" is designated, continuous two bytes (#1500 and #1501) are used. for the counter address. ® Designation of working area address (APSH #x x x x) Designate an address that is not used by other instructions. One byte is necessary for one SUBP 005. Iftwo or more SUBP 005 instructions are used, itis necessary to designate an ad- dress for each SUBP 005 instruction, ® Designation of initial value (CNO) ¢ ‘CNO =0: Counting begins with "0". (0, 1, 2, CNO = 1; Counting begins with “1”. (1, 2, 3, © Designation of up/down counter (UPDOWN), UPDOWN = 0: Up counter ‘The initial value is “0” with CNO =0. ‘The initial value is “1” with CNO UPDOWN = 1: Down counter ‘The initial value is the preset value.@© Reset (RST) S RST =0: Reset released RS’ Reset - RL is cleared to “0”. Counted value is reset to the initial value. @ Count signal (ACT) ACT =0: The counter does not operate. Contents of Rl remain unchanged. ACT = 1: Counts atthe rising edge (“0” “I”. AF the content of the counters greater than the preset value, the counter operates in the following manner. UP counter: The value retums to the initial value atthe first ACT signal, DOWN counter: The value is reduced at each input of ACT until the count value is reduced to the preset value. After thatthe counter operates as oma ne ee fight cinch @® Count-up output (R1) Upcounter: _““1"is set for R1 upon counting up to the preset value. Down counter: “1” is set for RI eta! earn condition. cNO=0 nese . Upon counting down to “0” ~ CNO=1 ‘Upon counting down to “1{6.7 MACRO INSTRUCTIONS (4) SUBP 006 (ROTATION) (@) Function ‘This instruction is used to control rotating units such as turrets, ATCs, and rotary tables. Ithas the following functions: ‘ Determination for shorter-path when determining the direction of rotation + Calculation ofthe number of steps between the present position and the target posi- tion + Calculation of the position one step before the target position or the number of steps to the position one step before the target position () Format CCalevationresultadirass APSH #1510 Target positon adaress wal na +} Pestponon eons ‘apsH] _ #1590 | steepest pater in testi] 10H me HOF + 22 Rt #1000 Tho L suse eos | Calculation resutadsross “Taget postion across. | Presertpositonaddress 211 Number of rotating uitpositoning points 1 Postion number from“0" or rom" Positon data; 1 bytaor2 bytes * ietion of retaion; fked or shorter path “Target postion or postion 1 step before the target poston Postton numoor ortho numberof stops | Execution 1) ROT Instruction 5 Outputot erection of tation(©) Control conditions @ Designation of calculation result storing addresses (APSH # x X X) ‘The ROT instruction calculates the number of steps the rotating unit should rotate, the number of steps of the position one step before the target position, or the posi- tion one step before the target position. ‘The result of calculation is stored in the designated address. @® Designation of target position address (APSH #X X X X) Designate the address where the target position is stored: for example, the address ‘where the T command is output from the NC. ® Designation of the present position address (APSH #x x X X) Designate the address where the present position data are stored: for example, the address of the counter where the position of the rotating unit is stored. @® Designation of the initial value of the position number of the rotating unit (RNO) RNO=: RNO. !: Position number of the rotating unit begins with “0”. |: Position number of the rotating unit begins with “I”. © Designation of the number of bytes of the position data (BYT) © Designation of whether or not shorter-path rotation direction is determined (DIR) DIR =0: Determination is not made. Rotation direction is only the FOR direction. DIR=1: Determination is made. @® Designation of operation conditions (POS) i POS = 0: The number of steps to the target position is calculated. POS = 1: The position or the number of steps to the position which is one position or one step before the target position. ® Designation of the position number or the number of steps (INC) INC =0:; The position number is calculated. INC =1: The number of steps is calculated.{8:7 MACRO INSTRUCTIONS ® Execution command (ACT) : ACT =0: ROT instruction is not executed. R1 is not influenced. : ROT instruction is executed. (Not by the rising edge of the signal.) acT @® Output of rotation direction (RI) R1=0: The rotation direction is “forward”. Ri ‘The rotation direction is “reverse”. “The direction in which the number increases in FOR (forward) direction | ferenceto the index position. ‘The direction in which the number decreases in REV(revere) direction | THE Snecothe index poston 4 IndoxPostton + If the number of steps to the position one step before the target position is calcu- lated while the present position is equal to the target position (POS = 1, INC= 1), the result of calculation is “0”. rn(5) SUBP 007 (CODE CONVERT) (a) Function ‘This instruction converts the data by using the conversion table created on the PLC table. - DATATABLE Starasdess |, inTable | Serversion Comenionstandarddataadiress yc DOKK Conroe 9 @® BYT=0 1f “2” is specified for the conversion standard data address as shown above, the instruction stores the “third data” from the start ofthe table to the conversion data output address. ‘The start of the table is Oth. @ BYT=1 Inthiscase, the size of the conversion data table should be an even number of bytes. oaaranie : Sataccee [RT] COT Sto [aves fave baa ricnsanantcntnedines OOM FRE ENTS axxxx [3] ort ; zm 3 48 comersndtaat a6.7 MACRO INSTRUCTIONS (b) Format i Number ofconvorsion f vat =F atatome | CConvorsionstandare aes] #1500 J-——] datmeceress Conversion data output apse] #1510 adiens Contctenatons J TrenumberctPc table es reooo eantaingte conversion ee +8 __f" coo }o— Fiao10 {_susea7} PLCTabe — [no.inrabil Sono eee ° | me + | 50 2) ao See a | owe 38 | 2H wo_| 50H 1PSH 14H... Siz9otconvorsin data table (umber ofbyes) APSH #1500 |... Conversion standard data address APSH #510 |. Conversondata cuputadcress {TPSH 49000 |. PLC table umber containing the convarson data, LD. #74000... Data nthe data table; t byte, 2 bytes STR 14001 || Reset STR 14002... Execution 007 ws. CODInstucson OUT #t40t0!!! Enorouput 30H i Conversiondatatabe » “aH 128H 3cH(©) Control conditions ® Designation of the number of conversion data items (PSH x x) ‘Designate the size of the conversion data table by the number of bytes. The maxi- mum size is 256 bytes. @® Designation of the conversion standard data address (APSH #X X x X) ‘The data in the conversion data table can be read out by designating the number in the table. ‘ Designate the muinber in the table. - ® Designation of the conversion data output address (APSH #x x X X) Designate the address where the data, stored at the number in the table which is specified in item 2 above, should be output. Ie“BYT, address. the upper byte data are output to the address next to the designated @® Designation of the conversion data table (TPSH x X X X) ‘The size of table differs depending on the PLC table number. + 9000 to 9007: Max. 256 bytes + 9008 to 9023: Max. 128 bytes @® _Designation of the data size (BYT) Designate the size of the data in the conversion data table. : 1 byte 2bytes @© Reset (RST) Designate whether or not the error output coil RI is reset. RST =0: Not reset RST=1: Reset ® Execution command (ACT) ACT =0: The COD instruction is not executed. Ri remains unchanged. ACT = 1: The COD instruction is executed. @® Error output (Rl) fan error occurs during the execution of the COD instruction (a numeric value greater than the size of the table is set), “1” is set for “RI” (RI = 1) indicating the ‘occurrence of an error.6.7 MACRO INSTRUCTIONS (6) SUBP 009 (PATTERN CLEAR) (@) Function ‘The instruction writes the same numeric value repeatedly by the designated number of bytes beginning with the designated address. wiitapatom [20] orang repeatedly (b) Format 7 Witepattem Sil of amber oft by which [> the sama number ewan eu] 1h J=—=—T repeatedly Conrcteonditons [Stan acress a | act rata 16.1 cupurotcomplotonct rte vi000 roo = Witepattem Numder of ytas by which ie eame number is waten repeatedly 1 Stamtaddress for wring Execution ctReommand Outputot completion of write ron(©) Control conditions © Designation of the write pattern (PSH x x) Designate the pattern to be written, ‘To designate a variable pattern, use the PUSH instruction to designate the address instead of using the IPSH instruction. ® Designation of the number of bytes by which the same number is written repeated- ly (PSH x x) Designate the number of bytes to clear the pattern. ® Designation of the start address of writing (APSH #x x x x) Designate the start address of writing. Pattern clear is executed beginning with this address by the designated number of bytes. @ Execution command (ACT) ACT =0: The PCLR instruction is executed. ACT = 1: The PCLR instruction is not executed. © Output of completion of write (R1) RI =0: Writing not completed R1= I: Writing completed{6.7 MACRO INSTRUCTIONS (7) SUBP 011 (PARITY CHECK) (@) Function The instruction executes parity check (even parity or odd parity) for the data to be checked (I-byte data). If an erroris detected, an error output is given. () Format Check dotaadorees 1500 CControlconditons ene RY #4010 susp ont APSH #1500... Check ata aderess Ub” 614000 | Desgnaton of party scheme verdad) STR #4001... Resot STA_ #4002... Executonconmard SUB Of... PARlinsucton OUT #4010... Enocouput * (©) Control conditions ® Designation of check data address (APSH #x X X X) Designate the address where the data to be checked are stored. kt Parity check is made for 1 byte (8 bits) of data. @® Designation of parity scheme (OE) " OE = 0: Even parity check OE = 1: Odd parity check @ Reset (RST) RST =0: Error output R1 is not reset. RST=1: Error output RI is reset; @® Execution command (ACT) ‘The PARI instruction is not executed. RI remains unchanged. ‘The PARI instruction is éxecuted. © Error output (Rt) : If the result of parity check does not meet the designated party scheme, “1” is set for “RI” (Ri =1).(8) SUBP 014 (DATA CONVERT) fa) Function : The instruction converts the binary data to the BCD data and the BCD data tothe binary data. sa (b) Format Inputdata dees a ‘Ouputdata access ‘aPsH]_ e510 oN Contrtcoratons } > w___| a Fer Levees] - |e Fat aan usr O16 APSH_ #1500... Conversion data adoss ‘APSH #1510... Converted dotasteingeddress Lp F14000... aye or 2b procesing STR #14001... BOD-+ BIN er BIN BOD STR #14002” Reset STR #14003... Exenuton SUBP Ota... DoNVinstction A Su So... row (© Control conditions © Designation of the conversion data address (APSH #x x XX) Designate the address where the data to be converted are stored. If “BYT = 1”, continuous two bytes are used. ® Designation of the converted data address Designate the address where the result of conversion is stored. i“BYT, , continuous two bytes are used. © Designation of the number-of bytes (BYT) BYT=0: The data to be processed are 1-byte data 1: The data to be processed are 2-byte data.{&.TMACRO INSTRUCTIONS @® Designation of the conversion type (CNV) CNV =0: Conversion of binary data to BCD data CNV = 1: Conversion of BCD data to binary data © Reset (RST) RST =0:. Error output R1 is not reset. RST=1: Enror output R1 is reset.' © Execution command (ACT) ACT =0: The DCNV instruction is not executed. ACT =1: The DCNV instruction is executed. ® Error output (R1) (An attempt is made to convert the binary data when “CNV byte length is exceeded when “CNV = 0”) (9) SUBP 017 (DATA SEARCH) (@) Function ‘The instruction executes search in the table for the data identical to the input data and stores the address where the identical data are found by the relative address from the start of the table. If the identical data arg not found, an error is output. Note: When “BYT = 1° the size ofthe able must be an even number of bytes. 2 the data tobe searched exis at more than oe place, the data found fists regarded as he objective data. 3: The daa adress tobe stored is in units of bytes if “BYT = 0" orin units of word if *BYT(b) Format Data tabie size (the number bytes) __——F Startaddress ofthe data table 31500 Inputdata adress 1510 Outputdata adéress 1520 LE enerovpie SUBPO‘7 Datatable siz (the numberof bytes) ‘The elarteddress of the data table ‘Soareh dataaddress ‘Search resutetoring addross ‘bya or byte processing Rocat (c) Control conditions @ ® Designation of the data table size (the number of bytes) (IPSH x x x x) Designate the size of the data table by the number of bytes. Designation of the start address of the data table (APSH #x x X X) Designate the start address of the data table. ‘The data table can be created at any place. Designation of the input data address (APSH #% x XX) Designate the’address where the data to be searched are stored. Designation of the output data address (APSH #X x x X) ‘When the specified data are found (R= 0), the number in the table where the found data are stored is output. Designate the address where that number is stored.6.7 MACRO INSTRUCTIONS: © Designation of the data size (BYT) ; BYT=0: The data stored in the data table are 1-byte data. BYT= 1: The data stored in the data table are 2-byte data. © Execution command (ACT) ACT =0: The DSCH instruction is executed. ACT = 1: The DSCH instruction is not executed. @ Reset (RST) ' RST=0; Error output R1 is not reset. RST =1: Error output R1 is reset. ® Error output (Rl) R1=0: The search data are found. RI=1: The search data are not found. (10) SUBP 018 (INDEX DATA MOVE) (@) Function ‘The instruction reads the data from the data table or rewrites the data in the data table. ® Reading ‘To read the contents by designating “3” (the number in the table). r ‘Adress storing the number inthe table | ‘Address storing the VO data (Cusput data, inthis case) ers® Rewriting ‘To rewrite the contents by designating “3” (the number in the table). No.inTable | Data ‘Aese storing the nuriberin the table Be Ades storing ro VO data {irputsoia ints case) pooxx [SE] mt (0) Format Detain size (he number of byes) ire] 20 Startaderes ofthe data table fapsn] wis00 === VO data storing adoress arse] visio <= Contrteondions Acress storing the rumberin the abo ‘arsu] #1520, a ai a] me arao10 tft suppose wraog CF SRROIS IPSH_ 20H....... Datatable size (he number ofbytes) ‘APSH #1500... The start address of ho data able ‘APSH #1510 .... Address storing the UO data : ‘APSH #1520... Address storing the purnborin he table LD #14000"; t-oytgor2-byta processing STR 814001 |.” Readorowste STR #14002... Reset STR #14003 SUBP 018... OUT stadt8.7 MACRO INSTRUCTIONS. (©) Control conditions i © Designation of the data table size (number of bytes) (IPSH x x) Designate the size of the data table by the number of bytes. @® Designation of the start address of the data table (APSH #x x x Xx) Designate the start address of the data table, ‘The data table can be created any place. @ Designation of the address storing the /O data (APSH #x x x x) RW=0: The address where the output data are stored RW=1: The address where the input data are stored. @ Designation of the address storing the number in the table (APSH #X x x X) ‘The data to be read or rewritten are designated by the number in the table. Desig- nate the address where this number is stored. © Designation of the data size (BYT) , BYT=0: The data stored in the data table are I-byte data, BYT = 1: The data stored in the data table are 2-byte data. © Designation of read/write processing (RW) RW Data are read from the data table. RW=1: Data in the data table are rewritten. @ Reset (RST) | RST Error output R1 is not reset. RST = 1: Error output RI is reset. © Execution command (ACT) ; ACT: ACT ‘The XMOV instruction is executed. ‘The XMOV instruction ig not executed. ® Enror output (R1) i Ri =0: Normal RI =1: Error ‘The address specified for storing the number in the table is outside the allowable range. (Data table size is exceeded.)(11) SUBP 023 (MESSAGE DISPLAY) (a) Function ‘The instruction displays the message on the screen. Display area of PLO message @ _The maximum number of characters per line is 38 characters. Tuber | Maan Guanty 024019503 | Swords 300 Mevsageatle @ Ifmore than 14 message display requests are given for one display screen, 14 lines cof messages are displayed in order of priority (lower bit given highest priority). ® The message to be displayed or cleared can be selected by setting “O” or “1” to the corresponding bit. “I” for the message-to be displayed and “0” for the message tobe cleared. ‘The correspondence is indicated below. : TLé]s] 4] 312] 2 1 0 | #00 ossmnees | FREES Gitar bof Tretst«[3 12] 1 |e | miso | imtayequen {2p 22 f21 [0 [ie [ie Tar [i | aso “= ac] 30] 29 | 28 [27 | 26 [2s | 26 | visos ae m3 22 | 21 | 20 | 19 | a8 [17 | 16 | miso sams 1 Pax [30 | 29 | 28 [27 [26 | 25 [24 | aisor [Note 1: IIs forthe bie where no message I stored, blank spaces are displayed ‘2: Thisinstrotonis wed display message onthe Seen. Itcannotbeused to place tbe NCin the alarm state (1-blok ‘Hop, top afer deceleration, immediate sop) 13: Do no wit the dato #1502, #1503, #1506, and #1507 or ourpt the daa from hese adreses by using the OUT instruction.{6.7 MACRO INSTRUCTIONS. @ ThePLC system has two display screens for display of messages and they are con- trolled by the DISP (SUBP 023) instruction. Therefore, ifthe DISP instruction is specified more than onetime forthe same mes- sage display screen, the display processing is executed more than one time in one scan and the messages cannot be given correctly. (Messages will be written over.) Even if the DISP instruction is specified more than one time, it will not cause a problem when only one DISP instruction is processed in one scan by designating a IMP or other appropriate instructions. (b) Format Message conta adress a + Size ct message contol accroes Ht Display screen number Pent Sta adress of he PLC table TPSH 6 contarangte messages Disp supp02s z, essay [#15000 SPINDLE AL [steoet ce [#iso0o TAP BING ERROR woo29 | ai5018| wea0 [#15016 UN ages [vis017 [PARAMETER ERROR(©) Control conditions © Designation of the message control address (APSH #x x X X) Designate the start address of the’addresses that request the message. @® Designation of the sizé of message control address (IPSH x x) Designate the size of the message control address by the number of bytes. Example: APSH #1500 1PSH 1H ‘With the designation indicated above, contiguous four bytes starting from #1500 are used. If “IPSH 2H” is designated instead of “IPSH 1H”, contiguous eight bytes starting from #1500 are used. ‘Note: IC-PSH THis designated, a maximam of 16 Kinds of messages is used @® Designation of the display screen number (IPSH ) Designate the display page number to be used. A total of two pages (No. 1 and No. 2) can be used for both the high-speed proces- sing and low-speed processing sequence programs. @ Designation of the start address of the PLC table containing the messages (TPSH_ XXXX)[8.7 MACRO INSTRUCTIONS. (Example of the application of the DISP instruction When the contact of ALI to ALA is turned ON, the message corresponding to the ON bit is displayed on the screen and the machine operation stops after deceleration. ‘The display is cleared when the reset signal is input. cura isco Diy set cana wise | eR en [sta oF }O——{ Sopaterdocaorason S08 ari ies] ese] {ise see oe su0P 09, i (e) Selection of the USER MESSAGE screen On the USER MESSAGE screen, the méssage sent from the PLC is displayed. © Press the [COMMON] process soft-key. ® Press the [ALM] job softkey, @® Press the FUNCTION SELECT key. @® User's messages are displayed from the Ist to the 14th line. For the display of user's messages, two pages exist. To change the display page between No. I and No. 2 pages, use the page keys.(12) SUBP 025 (Binary Decoding) (@) Function ‘The instruction executes decoding of binary data (1 byte or 2 bytes length). Inthis decoding, the code data are converted into bits and written to the designated area. a oa ow 7 Designated 01015 ‘nnn | decodotable 16t03t Tuming ONDA mae 481063 1 1008%e 1023 e999 (b) Format : APSH #aaaa Code data area APSH — #bbbb Start address of the decode table TSH g- Max. decode number LD #eceee Selection of byte or word = Byte STR teeéee Reset STR #ffftf Execution SUBP 025 OUT #ddad.d Error output Byte (#eeee.c) = 0: Code data... 0 t0 255 =I: Code data .., 0t0 1023 * Decode table start number ‘© Max. decode number: 1 to 1023{€) Control conditions © Designation of the data code area (APSH x x) Designate the address ofthe code to be decoded. ‘Two bytes are used, ‘ @® Designation of the start address of the decode table (APSH x x x x) Designate the start address of the table to be decoded. © Maximum decode number (IPSH x x x X) Designate the maximum number of the decode bits. @® Designation of the size of the data in the decode area (LD x x) LD ‘The size of the data in the conversion table is 1 byte. LD=1: The size ofthe data in the conversion table is 2 bytes. © Reset (RST) : RST =0: Error output RI is not reset. RST= Error output RI is reset. © Execution command (ACT) ’: The binary decode instruction is executed. Rl remains unchanged. rE : The binary decode instruction is not executed. @ Error output (Ri). R(6) Example of ladder APSH APSH IPSH LD sTR sTR SUBP ouT aaa Code data area ‘ebb Start address of the decode table #gseg Max. decode number Hecce.c Selection of byte or word = Byte eco Reset ‘at Execution 025 #dddd.4 Error output = ab 000 teccce ase00 ‘suBPORS toocios etait(13) SUBP 027 (Binary Code Conversion) (@) Function ‘The instruction converts the data by using the conversion table created on the PLC table. From the contents of data “0” to “n” (= “m”) of the conversion standard data address, the data in the “mth line from the start of the table data are read and output tothe con- version data output address. For the type of output data, selection is possible from byte, word, and double-word. ‘The relationship between the number in the table and the table is as indicated below according to the data length, Doubleword Word Bye Table ° o a © 2 1 3 oi 2 7 : ie (b) Format k ISH a Size of the conversion table (number of bytes) APSH #bbbb Conversion standard data address APSH #eece Conversion data output address TPSH #9ddd ‘Table number of the conversion data PSH ec 0: Byte Word | 2: Double,word LD fff Reset STR #ggeg.¢ Execution | SUBP 027 \ OUT —#hhhhh Error output \ fl i(©) Control conditions © Designation of the size of the conversion data table (IPSH x x) Designate the size of the conversion data table by the number of bytes. ‘The maximum size is 256 bytes. @® Designation of the conversion standard data table address (APSH x x x X) ‘The data in the conversion data table can be read by designating the number inthe table. Designate this number in the table. ® Designation of the conversion data output address (APSH X XX) Designate the address where the data stored at the number in the table designated in item @ above are output. @® Designation of the number of conversion table (TPSH x x x X) The size of the table differs depending on the PLC number. 9000 to 9007: Max. 256 bytes 9008 to 9023: Max. 128 bytes : © Designation of the size of the data in conversion table (PSH x x) =i: 1 byte 2 bytes bytes © Reset (RST) RST = 0: Error output RI is not reset. RST = 1: Enor output RI is reset. ® Execution command (ACT) ACT =0; The binary code conversion instruction is executed. RI remains unchanged. ACT =1: The binary code conversion instructio not executed. ® Error output (RI) R1=0: Normal Rl=t: Error ‘Annumeric value greater than the table size is set.(@ Example of ladder PSH APSH APSH TPSH IPSH LD STR SUBP our ‘Size of the conversion table (number of bytes) #obbb Conversion standard data address Hocee Conversion data output address #9ddd ‘Table number of the conversion data e = 0: Byte = 1: Word = 2: Double-word ff Reset bad Execution 027 hhh. Error output, i abe ee e68 ante aren suBP027 05000(14) SUBP'031 (Double-word Data Convert) : @ (b) ©) Function”. ‘The instruction converts the binary data to BCD data and the BCD data to binary data. Format 2 APSH #asaa _ "Conversion data address APSH #bbbb © Converted data address LD feeec.c 1: 4 bytes : Skip STR” #dddd.d BCD — BIN or BIN + BCD STR #eeeee Reset STR #ffff Execution SUBP 031 OUT #egeg.g Error output, Control conditions: ® Designation of the conversion data address (APSH x x X X) Designate the address where the data to be converted are stored. Both the binary and BCD data use 4 bytes. ‘The sign of the BCD data is set at the most significant bit position. ‘Therefore, the expression of a numeric value within the range of #9999999 is pos- sible. @® Designation of the converted data address Designate the address where the result of conversion is stored. Both the binary and BCD data use 4 bytes, @ Designation of the number of bytes LD =0: No conversion @ Designation of the conversion type STR =0: Conversion of binary data to BCD data STR =1: Conversion of BCD data to binary data @® Reset (RST) RST=0: Error output R1 is not reset. RST Error output R1 is reset.@ Execution command (ACT) ACT =0: The double-word data conversion instruction is not executed. ‘ACT = 1: The double-word data conversion instruction is executed. ® Encor output (R1) R1=0: Normal RI=1: Enor (6) Example of ladder APSH fanaa Conversion data address APSH bbb Converted data address LD tecec.c A bytes ‘Skip STR #dddd.d BCD — BIN or BIN + BCD STR feeee.e Reset : STR #fffff Execution SUBP 031 OUT fesse. Error output ‘weaaa webb tecoee ‘99909 SUBPOst rade r t Weo00e anette |(15) SUBP 032 (Binary Comparison) (a) Function ‘The instruction executes comparison of the I-,2-, or 4-byte length binary data and out- ‘puts the result of comparison. Both the input data and the data for comparison must be the data of the specified length. {b) Format APSH #aaaa Input data address” APSH bbb ‘Comparison data address APSH #bhhh ‘Comparison result output address PSH on =O: 1 byte 2 bytes : 4 bytes LD affite Execution command SUBP 032 (c) Control conditions @® Designation of the input data address (APSH x X X X) Designate the address where the data to be compared are stored. @_ Designation of the comparison data address Designate the address where the comparison data are stored. @® Designation of the size of the data 0: I byte 2bytes 4 bytes ® Execution command (ACT) ACT =0: The binary data comparison instruction is not executed. ACT = 1: The binary data comparison instruction is executed. © Result of comparison #hhhh aaa = bbbb azaa > bbbb aaa < bbbb(d) Example of ladder 4 APSH APSH APSH PSH LD SUBP aaa Input data address #obbb Comparison data address ‘#hhhh Comparison result output address a 20: 1byte | 1: 2 bytes fe Execution command 032, ; ‘aaa abe = } enue ‘sUBPOS2(16) SUBP 034 (Binary Data Search) e (a) Function ‘Tiie instruction executes'search in the table for the data identical to the input data and stores the address where the identical data are found by the relative address from the start of the table. If the identical data are not found, an error is output. (e) ‘The relationship between the numbers in the data table and the designated table is as indicated below according to the data length. Double-word Word Bye Tape ° ° T o 2 1 3 2 4 Format TSH a ‘The size of the data table (number of bytes) PSH #bbbb Start address of the data table APSH #hhhh Search data address PSH #ecee Search result storing address Ipsh LD #fift STR #zgee.¢ SUBP 034 OUT = #hhh.h(©) Control conditions © Designation of the size of the data table (number of bytes) (IPSH x x) Designate the size of the data table by the number of bytes. @ Designation of the start address of the data table (APSH x x x x) Designate the start address of the data table. ‘The data table can be created at any'place. ® Designation of the input data address (APSH x x X x) Designate the address where the data to be searched are stored. @® Designation of the output data address (APSH #X x x X) ‘When the specified data ae found (RI =0), the number in the table where the found data are stored is output. Designate the address where that number is stored. ® Designation of the data size (IPSH x X) ‘The data stored in the data table are I-byte data, ‘The data stored in the data table are 2-byte data. ‘The data stored in the data table are 4-byte data. Error output RI is not reset. : Emror output RI is reset. ® Execution command (ACT) ACT =0: The binary-data search instructionis executed. RI remains unchanged. : The binary-data search instruction is not executed. @ Error output (RI). 4 ‘The search data are found. | : The search data are not found.~ (d)_ Example of ladder PSH «a ‘The size of the data table (number of bytes) APSH . bbb Start address of the data table PSH #hhh Search data address APSH fecce Search result storing address Tpsh_ Byte : Word i Double-word LD #ffhf Reset STR #gggg.g Execution SUBP O34. : OUT — #hhhhh Error output a wee whan We eerie ‘nn susPoss 99000(17) SUBP 035 (Binary Index Modifier Data Transfer) (@) Function ‘The instruction reads the data from the data table or rewrites the data in the data table, For the output data, selection is possible’from byte, word, and double-word. ‘The relationship between the numbers in the data table and the designated table is as indicated below according to the data length. Doubleword | Word Bye Table o = 1 ° 2 1 3 T z 7 (b) Format ' PSH a ‘The size ofthe data table (number of bytes) APSH_— #bbbb- Start address of the data table ‘APSH ~ #iiii ‘W/O data storing address APSH = #fecee Address storing the number in the table PSH ec Bye, Word | Double-word LD AEE Reset STR #dddd.d Read or rewrite STR #egegg Execution SUBP 035 OUT #hhihh ——-Eror ouput | 6-81(©) Control conditions ® Designation of the size of the data table (number of bytes) (IPSH x x) Designate the size of the data table by the number of bytes. ‘® Designation of the start address of the data table (APSH x x XX) Designate the start address of the data table. ‘The data table can be created at any place. ® Designation of the address storing the, /O data (APSH x x x x) Designate the address where the data to be searched are stored. @® Designation of the address storing the number in the table (APSH x x X X) ‘The data to be read or rewritten are designated by the number in the table. De: nate the address where this number is stored. . @® Designation of the data size (IPSH x x) ‘The data stored in the data table are 1-byte data. ‘The data stored in the data table are 2-byte data. ‘The data stored in the data table are 4-byte data. © Designation of read/write processing =0: Dataare read from the data table. =1: Data in the data table are rewritten. ® Reset (RST) Error output RI is not reset, : Exror output R1 is reset ® Execution command (ACT) ACT =0: ‘The binary-index modifier data transfer instruction is executed. RI remains unchanged. : ACT =1: ‘The binary-index modifier data transfer instruction is not executed.® Enor output (Ri) If an exror occurs when this instruction is executed, “I” is set for “R1” (RI = 1) to indicate the occurrence of an error. ‘An error occurs in the following cases: ‘* A numeric value greater than the size of the data table is set. + The size of the data table is not a multiple of the designated data size. Example: Data size = Byte 1 x N bytes (a) Example of ladder IPSH APSH APSH APSH IPSH LD STR STR SUBP ouT a Word 2 x Nbytes Double-word 4 x N bytes ‘The size of the data table (number of bytes) #bbbb Start address of the data table Aili VO data storing address Hoeee ‘Address storing the number in the table e =0; Byte = 1: Word = 2: Double-word EE Reset #addd.d Read ot rewrite fesse Execution 035 : #bhbh.h Error output ‘ob i a aoo88 ° anne sep ‘suaPo3s fess 20900(18) SUBP 096 (Binary-data Addition) “@) @) © Funetion : The result of operation is set to the registers: the numeric value of operation result is, set to the register designated by the operation result output address and the sign in- formation to #2999. Format APSH aaa Augend data address APSH(Gpshd) bbb. Addend data address APSH Hecce - Operation result output address IPSH n Operation type LD ftdddd.d Reset STR feeeee Execution ‘SUBP 036 ouT #fffE£ Error output Control conditions ® Designation of the augend data address Designate the address where the augend data are stored, @) Designation of the addend data address Designate the address where the addend data are stored. @ Designation of the operation result output address Designate the address where the result of operation is output. ‘The address is stored as 4-byte data. ® Designation of the type of operation. Designate thé data length and the data type of augend/addend. st digit: 1 byte 2 bytes A bytes 2nd digit Constant data : ‘Address data® Execution command (ACT) ACT =0: The binary-data addition instruction is executed. RI remains unchanged. ACT =1: The binary-data addition instruction is not executed, © Error output Normal : Error @ #2999 Operation status is written. d5=1: Overflow (19) SUBP 037 (Binary-data Subtraction), (@) Function ‘The instruction executes subtraction of the 1-, 2-, or 4-byte binary data. ‘The result of operation is set to the registers: the numeric value of operation result is set to the register designated by the operation result output address and the sign in- formation to #2999, (b) Format APSH fanaa Minuend data address APSH({ipshd) #bbbb ‘Subtrahend data address APSH #ecce Operation result output address PSH a Operation type LD fdddd.d Reset STR feeee.e Execution ‘SUBP 037 OUT ‘Ef = Error output (©) Control conditions @ Designation of the minuend data address Designate the address where the minuend data are stored. ® Designation of the subtrahend data address Designate the address where the subtrahend data are stored. Iris also possible to subtract the designated data. 6-85@® Designation of the operation result output address Designate the address where the result of operation is output. “The address is stored as 4-byte data. @® Designation of the type of operation i: Designate the data length and the data type of minuend/subtrahend. 1 byte 2 bytes 4 bytes: Constant data Address data © Execiition command (ACT) - ACT =0: The binary-data subtraction instruction is executed. Ri remains urichanged. ACT =1: The binary-data subtraction instruction is not executed. © Enor output ® 99(20) SUBP 038 (Binary-data Multiplication) @) (b) © Function ‘The instruction executes multiplication of 1-, 2-, or 4-byte binary data. ‘The result of operation is set to the registers: the numeric value of operation result is set to the register designated by the operation result output address and the sign in- formation to #2999. ‘ Format i APSH aaa Mailtiplicand data address APSH(ipshd) bbb Malltiplier data address APSH #ecce Operation result output address PSH 1 Operation type LD #dddd.d Reset STR #ecee.e Execution SUBP 038 ‘ our ALE Error output Control conditions i © Designation of the multiplicand data address Designate the address where the multiplicand data are stored. @® Designation of the multiplier data address Designate the address where the multiplier data are stored. ® Designation of the operation result output address Designate the address where the result of operation is output. i ‘The address is stored as 4-byte data: ® Designation of the type of operation, Designate the data length and the data type of multiplicand/multiplier. 1 byte i 2 bytes i 4 bytes: ! Constant data | =i: Address data ® Execution command (ACT) i ACT =0: The binary-data multiplication instruction is executed, RI remains unchanged. , : The binary-data multiplication instruction is not executed. acT= 6-87(21) SUBP 039 (Binary-data Division) () (o) Function ‘The instruction executes division of 1-, 2-, or 4-byte binary data. ‘The result of operation is set to the registers: the numeric value of operation result is set to the register designated by the operation result output address and the sign in- formation to #2999. oy Format APSH fanaa —_Dividend data address APSH (ipshd) #bbbb —_Divisor data address APSH Hecce Operation result output address IPSH 2 Operation type LD Hdddd.d Reset STR Heeeee Execution SUBP 039 ouT ‘#6986. Error output(©) Control conditions @® Designation of the dividend data address Designate the address where the dividend data are stored. ® Designation of the divisor data address Designate the address where the divisor data are stored. © Designation of the operation result output address Designate the address where the result of operation is output. ‘The address is stored as 4-byte data, ® Designation of the type of operation Designate the data length and the data type of dividend/divisor. 1 byte bytes ‘ A bytes Constant data Address data ® Execution command (ACT) ACT =0: The binary-data division instruction is executed. RI remains unchanged, ACT © Error output 1: Negative Overflow Division by “O” causes overflow. | |: The binary-data division instruction is not executed. k(d)_ Example of ladder : APSH aaa Augend data address APSH - #ebbb ‘Addend data address ‘APSH doce” Operation result output address PSH 1 . Operation type LD —#tddddid ~ “Reset .STR , #eeeee Execution SUBP 036 to 040 OUT fff Error output abo esse ante(22) SUBP 040 (Binary Constant Definition) (@) Function 4 ‘The instruction defines 1-, 2-, or 4-byte data. ‘Seta constant (decimal) to the constant output address by the specified number of bytes in the binary number. (b) Format APSH #aaaa Output address IPSHD 12345 Setting data PSH Byte length | LD #bbbbb Execution | SUBP 40 i | (©) Control conditions © Designation of the constant output address Designate the address where the data are output in binary format. @® Designation of setting data ‘Set the constant in decimal. Data length must be within the specified byte length. The range of setting data is £999999999, ® Designation of byte length @® Execution command (ACT) ACT = 0: The binary constant definition instruction is executed. Ri remains unchanged. ! ACT = 1: The binary constant definition instruction is not executed.(@)_ Example of ladder APSH #aaaa Output address IPSHD. b Setting data PSH on 2 Byte-length LD #bbbb.b Execution SUBP 40 i Weaaa, ° t sano suBPodo(23) Auxiliary Instruction of Macro Instruction (a) IPSH (Immediate Pus) RR after operation: RR — © Format PSH xxXxXH Numeric value (Hexadecimal) @® Directly designate the numeric value which is used by SUBP. (b) APSH (Address Pus) RR after operation: RR — © Format APSH #Xxx XX es L_ Register @® Designate the address of the register to be used by SUBP. (c) PUSH (Push) RR after operation: RR — ® Format PUSH #xxxx = Register ® Designate the address where the numeric value to be used by SUBP is stored. (6) TPSH (Table Push) AR after operation: RR — ® Format TPSH #xxxx ‘Table number ® Designate the table number of the PLC table which is used by SUBP. (@) IPSHD RR atter operation: RR — © Format IPSHD xxxx + Constant ® Directly designate the numeric value which is used by SUBP 036 to 040. kJXSD OFFLINE SYSTEM Chapter 7 describes the JXSD offiine system. 7.1. OUTLINE OF THE JXSD OFFLINE Peres Remmi rUrtra rete ie orbir eRe 7-2 bee 6 9] ot | 8 eerie einer 7-6 7.3, COMPILER Hr ANREP eerie teeter teeta 7.5 REMOTE CONTROLLER OPERATION ..-. 7.6 LIST OF ERROR MESSAGES AND WARNING — teeta 7-33 t7A TAA TAZ TAB OUTLINE OF THE JXSD OFFLINE SYSTEM ‘The JXSD offline system is used to create the sequence ladder by using the compiler, linker, and download tools among the utilities provided for the development of PLC sequence pro- grams. These tools run on the MS-DOS. Operating Environment ‘Hardware:' IBM PC compatibles os: ‘MS-DOS Ver. 6.2 or above Memory: 400K bytes minimum Execution Files “The IXSD offline systems consists of the following software packages. *SXLCOMPEXE —_Ladder language compiler ;OXLLINK.EXE —_Linker *IXPCCOMEXE —JXSD remote controller. * Outline of thé Execution Files* (1) Ladder Language Compiler ‘The compiler compiles the source file, coded using the ladder language, to generate the object file ‘The processing objective data by the compiler is indicated below. * Version No. + High-speed scari ladder program ‘+ Low-speed scan ladder program + Low-speed ladder stop count + Conversion data table ‘+ Message data table * Symbol data (2) Linker ‘The linker generates the binary file in the executable format from the object file which is output by the compiler. (3) JXSD Remote Controller By connecting the PLC and the IBM PC compatible personal computer with the RS-232C interface, the IXSD remote controller executes the following processing. * Display of the PLC's ladder execution status + Downloading the binary file to the PLC (PC + PLC) + Execution/stop control of the ladder 12J OUTLINE OF THE JXSD OFFLINE SYSTEM 7.1.4 Ladder Program Development Procedure The following chart shows the procedure for developing the ladder program. —> [ear Crstnge sce OOXSAS —] Conpetonotinesourcofie Gangier ] Comptes te source tb xLCOMP, 7OHOKOS) —] Conpetonot ne cbc ie 7a000c08) Objects end completed ner Gnas tein te excl fray SHLLNK. “BN I \ Rarciacorvoier | [~ FasvnoMboot = (eocirece DoveioangtothoPL.c t Totash ROM recat lair by Seon Heonetonis nectssary |__|® Create the source file in the ladder language, | Any editor that can create a DOS file can be used for creating the source file in the ladder language: Create the source file by using an appropriate editor. For details ofthe ladder language format, refer to the explanation on the compiler. YELADDER.SRC VERSION JXSD LADDER LOWSTOPCOUNT! + Low-speed scan ladéor program stop count HiGHsEQUENCE + High-speedecan adler program INCLUDE LADHI ENDP LowsEQuENce INCLUDE LADLOT INCLUDE LAD.LOZ INCLUDE LAD.LOS NDP : CONVERSION INCLUDE CONVDAT NDP MASSAGE INCLUDE MESSAGE .DAT ENDP SYMBOL INCLUDESYMBOL.DAT NDP @® Compile the created or modified source file. Generate the object file by using the JXLCOMP. For the operation procedure, refer to the explanation on the compiler.7.1 OUTLINE OF THE JSD OFFUNE SYSTEM ® By consolidating the object files into a single file, generate the executable file. Use the IXLLINK to generate the executable file For the operation procedure, refer to the explanation on the Tinker. This link processing is always necessary even if only one object file has been gen- erated. ‘The executable file (*.BIN) generated by the linker is the binary file having the same configuration as the file written to the PLC's flash ROM. ® Download the executable file (*.BIN) to the PLC. Connect the Personal Computer to the IXSD with an RS-232C cable and start the IXPCCOM. Use the object download function of the JKPCCOM to download the generated executable files to the PLC. For the operation procedure of the JXPCCOM, refer to the explanation om the re- ‘mote controller. ® Execute and check the ladder. After downloading the ladder, execute it to check the contents. ‘If an error is found in the ladder, correct the error by returning to step @ above. ‘Toreduce this debugging time, itis recommended to divide the source file into sev- eral files 50 that the compiling time can be reduced. © Boot the sequence ladder to the flash ROM. After finishing debugging, boot the correct sequence ladder by using the NC boot mode.SOURCE FILE ‘The format of the source file input to the compiler is described below. *Source File Format * (1) Definition of Character Codes +» All data including the comments and character data must be ASCII. Although upper case and lower case characters can be used, they are not distin- guished for the intemal processing. When entering characters in ladder programs, pay attention t6 this point: ‘* Note that all characters are processed in upper case characters. (2) Definition of Numeric Values * Decimal number 19,1234 * Hexadecimal number 1234H, 0ab12H, OFFH (note) * Characters aBe, a, Z ‘* Contact/ladder table number #1000, #10012, #9024 Note: Place “0 atthe brinnng of mhexadecimal number which begins with Ato F (3) Pseudo Instructions ‘The following characters are processed as pseudo instructions. ‘These pseudo instruc- tions ean be used only once in one source file. * version . FA + lowsequence © message x . * include + highsequence - + Iowstopcount * endp conversion _ (4). Definition of Version Number For one object file where high-speed scan ladder, low-speed scan ladder, tables and symbols are consolidated, one version number is assigned.7.2S0URCE FILE (6) Nesting in the Source File The source file of a ladder program will usually be a very large file and editing is not a simple task. Incompilation, the included file function allows the several divided files tobe compiled in one file. {Manytign-speedscan sequence] Low-speed sean sequence tTLow-epeed sean sequence 2] LADDER sre vom | High-speed INCLUDELADHI seansequencs INCLUDE LAD.LO Lane Lowepeed scan Laptoz ‘sequence + Low-speedscan INCLUDELADLE 02 sequence 2 Fig. 7.1 * As illustrated above, nesting of the files is possible up to two levels. + Pseudo instructions for the start and end of a high-speed scan/low-speed scan lad- der (HIGHSEQUENCE, LOWSEQUENCE, ENDP) must always be written in a main file, E(@) Main file ‘The format of a source file is described below using this as an example. YELADDER.SRC (main file) HIGHSEQUENCE | High-speedsscantadder prograrn INCLUDE LADH!. ENDP . LOWSEQUENCE Low-speed scan ladder program INCLUDE LAD.LOT INCLUDE -LADLOZ INCLUDE LADLOS ® @©08 © NOP @ | conversion INCLUDE CONV.OAT NDP. @® | massace - - INCLUDE MESSAGE.DAT NOP ® | syweot INCLUDE SYMBOL.DAT Fig. 7.2 1) Source file name ‘Source file name can be assigned as required by using an extension of “SRC”. SRC 2) Source file format ‘There are no restrictions on start position, the number of lines and the number of columns for entering the pseudo instructions, sequence program, and data. Characters appearing after “;” in a line are regarded as a comment.72SOURCEFILE 8) Pseudo instructions @ VERSION © Set a version number. | + A version number should be set in up to 20 characters using the following format. * VERSION AAAAAAAAAAAAAAAAAAAAA + Ifo entry is made, spaces occupy 20 columns. @ LowsToPcounT * Set the low-speed scan ladder sequence processing stop count. 0: ‘The compiler sets “I”. 1 to 127: Stop count (4 msec per count) + If no entry is made, the default value of “1” is set. @ HIGHSEQUENCE j «This indicates the start of a high-speed scan ladder sequence. + Am object file is generated as a high-speed scan ladder up to the ENDP instruction. ‘+ Format: HIGHSEQUENCE ..... ENDP + Ifo entry is made, a high-speed scan ladder is not generated, + This pseudo instruction must always be writen in a main file. @ INCLUDE + This instruction calls up the files to,be included. + Format; INCLUDE B : LAD.LOI ; “lename ofthe fle tobe includes Dive numberof he device where the fle j tobeinoudesl stored + Entry of a path name preceding the file name of an included file is possible. INCLUDE B:\LPROG\LOW\LAD.LO1 @® ENDP ‘* This indicates the end of a high-speed scan ladder sequence, low-speed scan ladder sequence, conversion data, and message data. + Format: ENDP ! * This pseudo instruction must always be written in a main file, © LOWSEQUENCE + This indicates the start of a low-speed scan ladder sequence. + An object file is generated as a low-speed scan ladder up to the ENDP instruction, * Format: LOWSEQUENCE ..... ENDP ‘If no entry is made, a low-speed scan ladder is not generated. + This pseudo instruction must always be written in a main file. 7-9@ CONVERSION : + This instruction generates the object file as the conversion data i the table. © Format: CONVERSION ..... ENDP * Tfno entry is made, itis regarded as there being no message data. @® MESSAGE + This instruction indicates the start of setting of message data in the ladder table. + The instruction generates the object file regarding the data up to ENDPas the mes- sage data, ‘+ Format: MESSAGE .... ENDP + If no entry is made, itis regarded as there being no message data. @. SYMBOL --. ° : + This defines the names for individual coils. + Definition is possible in up to 8 characters. + Inthe display of ladder, the first 5 characters ofthe specified symbol name are dis- played, + Registration capacity'of the symbol names is 5000. + Format: SYMBOL..... ENDP - (b) Included files it Files stiown in @ to @ below are examples of high-speed scan ladder, low-speed scan ladder, conversion data, and message data that are included in the main file (YELAD- DER.SRC).Pseudo instructions such as HIGHSEQUENCE, LOWSEQUENCE, CONVERSION, MESSAGE, SYMBOL and ENDP must not be written in the source. files @ to@. They must be written in a main file. @ LADHIour #1010 i @® LaDLo2 i i Low SpeedLadter (intermediate) = Lo rntose OST #552, #1592,0FFH our 40s @® CONVDAT No000 Nooes wr00t2 #14500 ss4010 (OH, 1H, 2H, 3H, 4H, BH, 6H; 7H ‘FAH, OFBH, OFCH, OFOH, OFEH, OFFH 7.2SOURCE FILE© MESSAGE.DAT72SOURCE FILE () Source files © High-speed scan ladder, low-speed scan ladder source files + Write the sequence source ladder programs which should be processed at high- or low-speed. * Although there are no restrictions on start position, the numberof lines or the nurn- ber of columns for entering characters, atleast one space must be placed between an instruction and address. ® Conversion data source file * Write the conversion table which is used by macro instruction SUBPOO7. « Although there are no restrictions on the data start ine ot column, atleast one space ‘must be placed between the table number and data, * A table number must begin with “N”. + Delimiter “,” is used between data. * The table numbers that can be used are indicated below. #9000 to #9007: 256 bytes #9008 to #9023: 128 bytes «In normal format, data are stored in the ladder table as byte data. Nooco 1,2,3,4,5 ‘No009(0) 1 m 2 fc) 3 pi ieeeereeee ) 6 * To store word data, place an underscore preceding the numeric values. 9000 1,2... Nap00%0), A | 1 ; el ’ 2 a ro eee 6 E‘= To store double-word data, place two underscores preceding the numeric values. a ‘+ Entry of the data should be only the necessary data. If the mamber of data to be converted is specified as “5” using the SUBPOO7 instruction (N9000 "1, 2,3, 4, 5"), entry of 5 data is necessary, and itis not neces- sary to enter 256 data ‘Omission of entry is treated as OH. @® Message data source file ‘+ Write the message data to be used by the macro instruction SUBPO23. + The message data must be within 40 characters. * The message data must be enclosed by “"". ‘+ Although there are no restrictions on the data start line or column, at least one space must be placed between the table number and “"”. * A table number must begin with “ * The allowable range of the table numbers is indicated below: #9024 to #9323: 40 words #9024: "Spindle error occurred!7.2SOURCE FLE —_——$ meee (d) Recommended source file format + ‘The explanation has been given using examples in which source files are consolidated in one file using the include function. In practical programming steps, the source file is created in several sections to reduce ladder execution/check cycle time. By creating the source files in several sections, necessary correction should be made only for the source file which is involved with errors, thus compiling time can be reduced. Examples of source file division are indicated below, KANKYOU.SRC i EmvronmentSating VERSION JXSD LADDER, LAKDHISRC HIGHSEQUENCE rT) Ne OUT —attot0 NOP LADLOWLSRC LOWSEQUENCE 1D #14000 NA our att010 NDPLADLOW2.SRC Low Spood acer (itormociate) LOWSEQUENCE Lo 14086 DsT #1590, 1592, OF FH our #14085 NDP LADLOW3.SRC ‘CONVERSION 'N9000 OH, 1H,2H, OH, 4H SH, 6H, 7H 1N9023. “FAH, OFBH, OF CH, OFDH, OFEH, OFFH ENDP. eee ee ‘MESSAGE.SRC MESSAGE Nooz4"'SPINDLEALARM’ Nogza_ “TROUBLE IN EXTERNAL DEVICE" NOP72SOURCE FILE -—oorer———— ete SYMBOL.SRCSe sesso Serer 7.3 COMPILER 7.3.1 Compiler Operation By executing the JXLCOMP instruction, the source file which has been created or edited is ~ compiled to generate the object file. - (1). Starting the JXLCOMP ‘The SKLCOMP is started by the following procedure. JXLCOMP file-1 [SRC] {file-2 LOB) [file-3 [ERRJ] [ENTER] (2) Description of Parameters file-1: Source file name Gnput) file-2: Object file name (outpat) file-3: Error file name (output) Entry for the items in [] can be omitted. ‘= If the entry is omitted for file-2 and file-3, a default file name is set. « Ifonly “IXLCOMP" is input, the guide messages for inputting the parameters are displayed. © Example: JXLCOMP _B : LADTEST [ENTER] ‘The LADTESTSRC file is input and compiled: If an error occurs, LAD- TESTERR file is created. When the source is compiled without errors, LAD- TEST.OBI file is output. «* When the include function is used, compilation is required only for the main file, ‘The files included in the main file are compiled automatically.73 COMPILER 7.3.2 Compiler Error List fan error occurs during compilation, the compiler outputs the error lis file having the exten- sion of “ERR” with the same main file name as the input file. Itis also possible to designate the file name of the erro list file atthe start of the JXLCOMP, In this case, the error list is output inthe designated file name. ‘The compiler error information is stored tothe error list file. If the file has the same name as the error list file name, the existing file is deleted when the ‘error list file is generated. Error list file: i LAD 40.——lagalcharacar are used LADO 33—_lnvalidoperator ‘AADLON 88 Insuficientnumber of operands ne = Errormassage Hee Exerinorumber L Enerfiename 7.3.3 Compiler Check Items ‘The compiler checks the source file for the format whether itis written in the processing per- mitted format. In addition to this check, it also checks the following items. (1) Instruction Check ® Operand code check Permitted: LD, LD-NOT, AND ... j, Not permitted: ABS, XOR-NOT ...; @® Operand number check \ Permitted: DEC #1001, OFFH....j > Not permitted: DEC #1001... | ® Operand address designation range check Penmitted: LD #10001 ... Not permitted: LD #10 ... @ Operand constant designation range check Penmitted: MV1 #1405, 55H Not permitted: MV1 #1405, OFFFFH@) @ 4) @) © @) (9) ‘The number of Setting Characters For the characters to be setto the ladder table, the compiler checks the number of charac- ters whether it is within the upper and lower limits. Output Contact Check + The compiler checks the output addresses of the OUT instruction whether they are all unique. E « It also checks the output contact addresses whether they are within the specified Tange. : ‘Check on MCR/END and Nest Level ‘The compilér checks the correspondence between MCR and END, and also the nesting level. ‘Timer Check. ‘+ The compiler checks the range of registers used for timers. « Italso checks the interference in the addresses of the timers (#1700s and #13008). Label Check + The compiler checks the ADR label names for overlapped definition. ‘* The correspondence between the JMP and ADR is also checked. STR and AND-STR Check ‘The compiler checks the correspondence between the STR (STR-NOT) and AND-STR (OR-STR). : SUBP Calling Sequence Check + The compiler checks the correspondence between the SUBP and PUSH (APSH, TPSH, IPSHD)." * It also checks the correspondence between the SUBP and STR. Existence Check for RTH and RET ‘The compiler checks the RTH and RET for the following: * Only one RTH exists. © Either RET or RTI exists.7.4 LINKER ‘The linker reads the object files in the order in which they are designated in the link module designation file and maps the data contained in these files in the executable format that is the same format as in the flash ROM. ! 7.4.1 Object Data and Linker Processing Linker processing for the data contained in the object files is described below. (1) High-speed Scan Ladder Data (HIGHSEQUENCE Data) ‘Execution order of the high-speed scan ladder is determined in the order of link object. If the object data are divided into multiple objects, they are stored additionally starting from the first address of the ladder storage area in the order of link object. * If the high-speed scan ladder data appear after the low-speed scan ladder data, it ‘causes an error. * The linker executes the max. check for the ladder storage area. * An error occurs if there is no RTH. ; * The linker checks the ADR label names for overlapped definition. i (2) Low-speed Scan Ladder Data (LOWSEQUENCE Data) « Execution order of the low-speed scan ladder is determined in the order of link ob- ject. If the object data are divided into multiple objects, they are stored additionally starting from the first address of the ladder storage area in the order of link object. «The linker executes the max. check for the ladder storage area. ‘+ An error occurs if there is neither RET nor RTI. + The linker checks the ADR label names for overlapped definition. (3) Conversion Table Data (CONVERSION Setting Data) + The designated message data are stored to the address (N9000 to N9023) corre- sponding to the variable number. | ‘* An error occurs if the same variable’ data exist in more than one object file. 4 (4) Message Table Data i * The designated message data are stored to the address (N9024 to N9323) corre- sponding to the variable number. ! + An error occurs if the same variable’ data exist in more than one object file. } i(6) Version Number Data (VERSION Setting Data) + The linker stores the version number data to the designated address. ‘= An error occurs if a version number is defined in more than one object file. (6) Low-speed Scan Ladder Stop Count (LOWSTOPCOUNT Setting Data) «The linker stores the low-speed scan ladder stop count to the designated address. ‘+ Anerror occurs ifthe low-speed scan ladder stop count is defined in more than one “object file: : 7.4.2 Linker Operation ‘The linker generates the link binary file from the object file output from the compiler by us- ing the JXLLINK instruction. (1) Link Module File tis necessary to create the link module file before starting the IXLLINK. The object files to be linked are designated by this file. (a) Link module file name FILELLNK File name can be assigned as required. However, the extension must be “NK”. (b) ‘Link module file format « Designate all object files to be linked as indicated below. + There are no restrictions on the start line/columnn for the entry of characters. (The - - maximum number of characters per line is 80 including the path name.) + Designation of the link module file must be made in one line, within 80 characters including path name. - + The high-speed and low-speed scan ladders are executed in the order they are des- ignated in this file. YELADLNK743 7AUNKER (2) Starting the JXLLINK JXLLINK FILEILNK (FILE?) {ENTER} * Description of parameters: FILEL: Link module designation file name (input) FILE2: Binary file name (Catpat) Entry for the items in [ } can be omitted. If the entry is omitted for FILE2, the same file name as FILE! is assigned. + Ifonly “IXLLINK” is input, the guide messages for inputting the parameters is dis- played. Linker Output File ‘The result of link by the execution of “JXLLINK” is generated in one output file. Example: JXLLINK YELAD.LNK[ENTER] Output file YELAD BIN Ladder execution file 7-237.5 REMOTE CONTROLLER OPERATION By using the KPCCOM, communication between the personal computer and PLC is pos- sible. 7.5.1 Connecting the JXSD to PLC ‘Connect the CN3 port in the IXSD to the standard RS-232C port in the PLC. Itis notneces- ‘sary to use the SWITCH command to set the communication parameters; they are automati- cally set at the start up of the IXPCCOM. Connection between Personal Computer and JXSD (CN3): Personal . SXSD (CNS) Computer 7 78 ee as ms ms ee osm sa pg Se7.5 REMOTE CONTROLLER OPERATION. 7.5.2 Starting the Remote Controller SXPCCOM [ENTER] By the entry a india above the tarp screen i displayed and the SKPCCOM waits for the key entry. (1) PLC Status Display Area. ROM STATUS: VERSION NUNGER: RAMSTATUS: VERSION NUMBER: LADDER RUN STATE: NUMBER OF EXPANSION SYMBOLS: =e OOF Fig. 7.3 7-257.5.3 Description of Screen Display Information ay @ 8) PLC Status Display Area 5 - In this area, the status of PLC is displayed at the start-up of JKPCCOM and at the completion of operation @ ROM STATUS. . VALID:- Ladder program exists in the flash ROM. - INVALID: Ladder program does not exist in the flash ROM. @ RAMSTATUS VALID: Ladder program exists in the RAM area used for editing. INVALID: Ladder program does not exist in the RAM area used for editing. @ VERSION NUMBER - ‘The version number of the stored data is displayed only when the contents of edi ing RAM are correct. f @ LADDER RUN STATE STOP: Ladder program is stopped. RUN: Ladder program is run © NUMBER OF EXPANSION SYMBOLS ‘The number of expansion symbol cases stored in the ladder edit RAM area. Operation Guide Display Area Guide messages for key entry are displayed when key operation becomes necessary due to pressing a function key. Message Display Area ‘The results of operation having been conducted according to the guide messages are displayed.‘7 5REMOTE CONTROLLER OPERATION (4) Function Keys i ‘The function keys are used to select the operation @® OBJ TRANSFER \ ‘The operation mode enters the downloading of the ladder object files to the PLC. ® BITMEMCLR ‘The bit memory is cleared to “0”. @ END ‘The operation quits the PCCOM. i. - ® evr The operation mode enters the ladder edit mode. @ RUNSTOP ‘The operation mode enters the mode for switching run/stop of the ladder.7.5.4 Operation of Remote Controller (1) Downloading the Object Files, Use the procedure indicated below to download the object files. © Press the [OBJ DOWN) function-key. ‘The following screen is displayed. "ROM STATUS: Mounied VERSION NUMBER: JXSD Laster RAMSTATUS: Valid VERSION NUMBER: JXSD Ladder2 LADDER RUN STATE: Stopped NUMBER OF EXPANSION SYMBOLS: 0 Input Binary Flo Name Name: ~ Execute with [ENTER] (Cancel with (ESC), |e (6) Function Keys eee7.5 REMOTE CONTROLLER OPERATION ® Designate the file name of the object file to be downloaded. ‘The file which has been output by the linker can be designated. Example: B:LADTESTBIN It is not allowed to omit the extension “.BIN” in the designation of a file name. Press the [ESC] key to return the screen tothe start-up screen, ROM Status: Mounted VarsionNuribar JXSD Ladder 1 \VarsionNumber: JXSD Lador2 ‘Number ot Expansion Symbols: 0 Selectand specty [SPACE] wih the cursor keys 1} and} Execute with [ENTER] and cancol wit [ESC] Function Keys, Gael LC ® Designate the data to be downloaded. Move the cursor tothe data to be downloaded by using the cursor up/down keys and press the space bar. ‘The data displayed in highlighted cheracters are downloaded. ‘Selection by the space bar is toggle. E ‘The data actually downloaded in response to the selection of the data name on the screen are indicated below. ' ‘* Ladder Program Specification | New/old ladder classification | ‘Low-speed scan ladder stop count " ‘High-speed scan ladder \ ‘Low-speed scan ladder i Conversion ladder i Label ladder ‘Version number + Ladder Table Specification Conversion table ‘Message table + Symbol Table Specification 7-29@® In the first downloading operation,-all of the data that are used for the operation ‘must be transmitted. If conversion data and message data are used, itis necessary to transmit the ladder table in addition to the ladder program. ‘The operation procedure to be followed when transmitting the ladder table in addi- tion to the ladder program is indicated below. ‘Move the cursor to “Ladder Program” (The “Ladder Program” will be highlighted.) ‘ Move the cursor to “Ladder Table”. Press the space bar. (Both the “Ladder Program” and “Ladder Table” are highlighted.) 1 Press the [ENTER] key. (Download starts. The following message appears in the message display area. “SENDING OBJECT”) Downloading is complete if the following message is displayed. “ENDED NORMALLY” @ Ifthe ladder is modified after it has been downloaded, only thé modified data re- quire downloading. If the contents of the ladder program are modified while the conversion data and the message data remain unclianged, only’ the ladder program should be down- loaded and it is not necessary to download the ladder table. © After the completion of downloading, RAM Status information and the informa- tion of Number of Expansion Symbols will be changed.7.5 REMOTE CONTROLLER OPERATION (2) Run/Stop of Ladder By pressing the [RUN STOP] function key, operation starts. If this function key is pressed after the execution of the ladder has started, it is stopped. Conversely, when it is pressed while the ladder execution is stopped, it stars. After the execution, the Ladder Run State information is changed. ‘The procedure to run the ladder while the ladder stop status is indicated below. © Press the [RUN STOP] function-key. ‘The following screen is displayed. ROM STATUS: Mounted VERSIONNUMBERY JXSD Laddor 1 AM STATUS: Valid VERSION NUMBER: JXSD Laddor2 LADDER UN STATE: Stopped NUMBER OF EXPANSION SYMBOLS: 0 Fun ladder ‘Run with [ENTER] (Cancel with Esc) EDO) ® Press the (ENTER) key. Operation is complete if “ENDED NORMALLY” is displayed in the message dis- play area. The Ladder Run State information changes from “Stopped” to “Run”. Ek “The screen retums tothe start-up screen when the [ESC] key is pressed. | rH(3) Clearing the Bit Memory ; ‘The operation starts in response to pressing the [BITMEM CLR] function-key. After : the execution, the bits of the /O signals and the internal relays are cleared to “O”.The operation procedure is indicated below. © - Press the [BITMEM CLR] function-key.. ‘The following screen is displayed. ROM STATUS: Mounted VERSIONNUMBER: JSD Ladder RAMSTATUS: Valid \VERSIONNUMBER: JXSD Ladder 2 LADDER RUN STATE: Stopped NUMBER OF EXPANSION SYMBOLS: Clear btmemoryt00. Executowih ENTER] Cancel wih (ESC) ~ z a ® Press the [ENTER] key. Operation is complete if “ENDED NORMALLY” is displayed in the message dis- Play area.7.SLIST OF ERAOR MESSAGES AND WARNING MESSAGES 7.6 LISTOF ERROR MESSAGES AND WARNING MESSAGES 7.8.1 Error Messages ine characters over Illegal character is used. ‘Over the nest of source-file. legal character is used instead of pseudo-instruction. ‘A pseudo-instruction is used duplicatedly. * *ENDP” cannot be found. “ Characters of a word is too long. Invalid operator. Object-file memory size over. Operand of an instruction is not enough. Operand-address is not correct. Operand-byte-data is not correct. ‘Operand-word-data is not correct. Label define error. SUBP number is not correct. Label define error. ‘Total number of defined-label exceeds 256. ‘Stop-count-setting-range is not correct. ‘Table-number define error. Table-number-setting-range is not correct. Character data define error. Character data range define error. Character data lines over. ‘Variable number error. Out instruction address range over. Timer-register range error. Number of MCR & END is unmatch. Byte data define error. Word data define error. Data range define error. ‘Number of Operands are too large, or Include valid characters. Nest of MCR over. There is no version number character. Duplicatedly define of label-characters. JUMP & CALL are used too much. Duplicatedly use of variable number. ‘Stop-count of low-speed-scan must be defined. Symbol-case-number exceed 6500. ‘ SUBP calling sequence error. ‘Number of SUBP & PUSH is unmatch. Nest of STR over. ‘Number of stack instruction by STR is not correct. SUBP parameter ercor. Operand double word data error. Nesting fir open error. 7.6.2 Waming Messages (Output contact of OUT-instruction is defined cuplicatedly. ‘Symbol-case-number exceed 5000.ONLINE EDITING Chapter 8 describes online editing operation. 8.1 OUTLINE OF ONLINE EDITING ....... 8-2 8.2 FUNCTION TREE AND DISPLAY SCREENS .. 8.3 LADDER DISPLAY FUNCTION ........ 8-6 8.4 NET EDITING FUNCTION ........... 8-10 8.5 TABLE EDIT FUNCTION ............. 8-38 8.6 INPUT/OUTPUT FUNCTION apaenetie 8-43 8.7 SEQSTS (SEQUENCE ee FUNCTION 8.8 LISTOF MESSAGES—_— 8.4 B14 OUTLINE OF ONLINE EDITING Itis possible to edit the sequence ladder directly at the NC operation panel instead of using ‘personal computer. Sequence ladder edit operation procedure differs slightly depending. ‘on whether the sequence ladder is newly created or the sequence ladder is created based on the existing sequence ladder. Creating a Sequence Program Newly ‘The sequence program development flow chart for newly creating a sequence program is de- scribed below. ‘Alter setting 251 on JGPO1 to", tu the power ON. q Press the [INIT function sot Key. Carryout cing operation ‘Completion sequence program creation ‘The following processing is executed when the (INITT] function soft-key is pressed: © “TEST 'is set for “VERSION”. @ 3" is set for “LOW-SPEED STOP COUNT”. @® Sequence area is cleared and the following program is inserted automatically from the beginning. * HIGHSEQUENCE, °RTH + ENDP. * LOWSEQUENCE *RET + ENDP @ The message data area is cleared. ® The conversion data area is cleared. © The symbol data area is cleared. Se eee gv] YES Yes, yesOUTLINE OF ONUNE EDITING ao———— ons 8.1.2 Creating a Sequence Program by Modifying the Existing Sequence Program ‘The operation steps to be followed when creating a sequence program by modifying the ex- isting sequence program are described below., ‘After seting 23 on JOPOT 106%, tun the power ON. Garry outedting operation ves. NO ! ‘Select run made forthe sequence program. © : Yes i Run and check the sequence program. ves Bugs? NO. ‘Gomploton ot sequence program creationee EEE SEEEESEEEEE 8.2 FUNCTION TREE AND DISPLAY SCREENS 8.2.1 Function Tree : "The tree of functions called by selecting the ladder job are indicated below. Funston Dapay” | SRETECATTGTR Fi] LADDER Fi] LADDER Fi] StAOP ied aga In sequence progam acy ip Tra] srwose J. Seed disbupmode | Fey sara ‘While the JPXCOOM F While tne JPXCCOMi® |. is not connected with netoonnecied sequence program Ls stopped. L{rs] seosts A nt8.2 FUNCTION TREE AND DISPLAY SCREENS, 8.2.2 Ladder Display Screen i ‘An example of the ladder display screen is shown in Fig. 8.1. Displays the net numberof the ladder atthe top ne inthe presently cisplayed ladder. Displays the numberof selected nets. Oxsext No0000
Displays the sybolnario of 10000, O #tiaor Displays the status of contact Displays atributo when the contactis ON. Fig. 8.1 Ladder Display Screen INS (incor)—— 8.3 LADDER DISPLAY FUNCTION The ladder display function displays the sequence program stored in the NC in ladder form. ‘One line of ladder can contain a maximum of 13 contacts; the maximum number of contacts that can be displayed in a sequence ladder is 100. There are no limits on the number of lines as long as the maximum number of contacts is within the limit, Each instruction indicated in Table 8.1 is counted to have the specified number of contacts. Table 8.1 List of Instructions That Have Multiple Number of Contacts instruction | Number instruction | Number | instruction | Number of INR 2 "ANE 3 eMRW 2 DR 2 ‘ORR 3 CORW 3 - * [Tar 2 XRR 3 ‘CPRW 3 our [2 oR 3. | uw i : apr 3 cor 3 DsTWw 3 SBI 3 Mov 3 IP 2 “ANI ai DST 3 ‘ADR z ORL 3 DIN 4 FSH 2 RI 3 ‘De 3 APH 2 DEC 3 ‘ADDW 3 PUSH 2 cor 3 ‘SUB 3 TPs 2 CMP 3 MULW 3 TPSHD 3 CPI 3 DW i MR 3 : MVI 3 INRW 2 7 3 ‘ADD 3 DERW 2 ‘SUBP 3 SUB 3 ‘cLRW 2 8.3.1 BT/TOP (Bottom/Top) Function ‘The function searches and displays the top line or the bottom line of the sequence ladder. A This key is a toggle. : 8.3.2 SYMDIS (Symbol Display) Function . This function displays the symbol name of the contact which is set by the symbol pseudo instruction "SYMBOL". This key is a toggle - each time the key is pressed, the symbol display is given and cleared.B.SLADDER DISPLAY FUNCTION 8.3.3 NET SEL (Net Selection) Function ‘The function displays only the selected nets. This function is used when the nets tobe refer- enced are separated from each other so that displaying them on one display page is impossi- ble. ‘This function is executed in the following procedure, @ On the sequence ladder display. ‘screen, press the [WR] key when the net number to be selected is displayed. @® The selection symbol (see Fig. 8.2) is displayed and the net is set in the selected stats, Selection is possible for up to ten nets. If an attempt is made to select the net ex- ceeding this limit, a warning message is displayed. “SELECTION OVER” Press the [NET SEL] function soft-key. eo While the selected nets are collected, the message “COLLECTING? is displayed. After the completion of net selection, the ladder of the collected nets is displayed and the message is cleared, : © Press the [NET SEL] function soft-key once again, and the screen retums to the normal sequence ladder display screen. The selected status of the nets is cleared when the power is turned OFF. Ore 00000
9 ‘7001 MVE [A705 Fig. 8.28.3.4 GO/STP (Run/Stop) Function By using the [GO/STP] function soft-key, the sequence program execution (run, stop) can be controlled. ‘Atthe start of sequence program execution, correctness of the sequence program is checked. During this check, the message “LADDER CHECKING" is displayed. Ifan error is found during this check, the sequence program cannot be executed even if the [GO/STP] function soft-key is depressed. The content of the error found during the check is displayed by the corresponding warning message. _ Note that the [GO/STP] function sofi-key is not valid while the NC is running. ‘After the start of the sequence program; message
is displayed on the screen. PLC processing flow atthe startot sequence program execution Checking the corécmness TADDERGHEGKING Tour] [“iweur NETSEL‘8. 3LADDER DISPLAY FUNCTION (1) Checking the Correctness of Sequence Program Before the execution of the sequence program, its correctness is checked. Table 8.2 ‘Sequence Program Correctness Check No. (Check items Description 1 IMP. ADR correspondence check ‘There must be an ADR entry corresponding io IMP. instruction, Wamingmessage: ‘A pair of JMP and ADR designation must exist within NOJMP-ADR the program ofthe same processing type (high-speed. scanar low-speed scan) ‘ 2 | SUBPcalling up sequence check | The order and argument ofthe following ae checked: i APSH, TPSH, IPSH, IPSHD, and PUSH message: ‘The third argument of SUBPOZ3 must be either “I” or ‘SUBP CALL ERROR Tr If an error is found in the correctness check, the sequence program is not executed. When the execution status shifts from “stop” to “run”, the total sum value is created in ‘addition to the correctness check. The total sum value can be confirmed by the SEQ information function.SS 8.4 NETEDITING FUNCTION ‘When the [NET EDT] function soft-key is pressed after placing the sequence program in the stop status, the pop-up menu showing the net edit items is displayed as shown in Fig. 8.8. “The objective of the net edit function is the net number (NET-NO) displayed at the upper left part in the screen, The net number indicates the net presently displayed on the screen. (Orsepek NO000 SELCOUNT. 0
atfoot Fig. 8.4 Net Edit Function Screen eee 1. During the execution ofa sequence program, if the objective of editing is either the RTH or RET instruction, editing (change, insert, delete) is not allowed, Ifthe [NET EDT] function soft-key is depressed during the execution of a sequence program, the following waming message is displayed. “LADDER CHECKING” 2. The contact status is not displayed during net editing. —_—‘8.4NETEDITING FUNCTION 8.4.1 Selection of Edit Mode ‘When selecting an edit item, either a net edit key or an action key on the NC operation panel can be used. (1) Selecting the Edit Mode by Net Edit Key Select the net edit mode from the menu items in the pop-up menu. Net edit items: CHG (change): This mode is used to change the net. INS (insert): This mode is used to insert a new net. DEL (delete): This mode is used to delete an existing net. (2) Selecting the Edit Mode by Action Key on the NC Operation Panel Selection of an edit mode is possible without displaying the pop-up menu screen. To clear the pop-up menu from the screen, press the [NET EDT] function sofi-key once again. ‘Without using the pop-up menu, change; insert, and delete modes can be selected by using the action keys on the NC operation panel. [ALT] key: This selects the change mode. (INS] key: This selects the insert mode. [ERASE] key: This selects the delete mode.(3) Description of the Edit Modes ‘ : (2) Change mode Inthis mode, a selected net can be changed, When the change mode is selected, change is possible for one selected net. If the change mode is selected while the net number “1* is displayed on the screen (NET-NO: 1) as in Fig. 8.4, the screen displays only the ladder of net number “1” as shown in Fig. 8.5. The shaded block in this screen indicates the edit cursor (blinking). When the change mode screen is displayed first, the cursor ‘appears at the contact displayed in the upper left area and the mode indication changes ‘The cursor within this Fig. 85,‘8.4NET EDITING FUNCTION (b) Insert mode In this mode, a new net is inserted preceding the selected net. When the insert mode is selected, the edit screen is opened for insertion operation. Since anew nets inserted, the opened screen does not show the ladder and the mode indication changes to
. Mat Oxpee# ND0000 SELCOUNT: 0 DSP STOPS STP LSK FADOER == |(©) Delete mode Inthis mode, the selected net is deleted. At the mode display area,
is displayed. ‘The “DELETING” is displayed. ‘ Figs. 8.7 and 8.8 show the delete mode screens before and after the deletion ofa net Upon completion of deletion, the new ladder charts displayed with the following mes- sage displayed. “DELETION COMPLETED” : Operation for deletion: ‘Select the contact to be deleted by moving the cursor onto it, select DEL pop-up menu land press the [WR] key. This deletes the selected contact. Fig. 8.7 Delete Mode Screen (Before Deletion)B.ANET EDITING FUNCTION. Fig. 8.8 Ladder Display Screen (After Deletion) 8.4.2 Keys Used for Editing the Ladder ‘The net edit screen is displayed when either the insert or the delete mode is selected. On the net edit screen, editing is possible for one net. Accontact instruction can be input by using a function soft-key. The same restrictions as ap- plied for displaying the ladder are also applied for editing the ladder: a maximum of 13 con- tacts in one line, no limitations on the number of lines in the vertical direction, and the maxi- ‘mum of 100contacts. Ifthe number of contacts exceeds 100, the following warning message is displayed. “CONTACT OVER” If the number of contacts exceeds the limit, reduce the number by dividing the net into two ‘or more nets or some other appropriate method and create a net again. Register instructions other than contacts can bé input in the conversational mode by entering the first character of the instruction. To input contacts and register instructions, move the ccursor to the position where the input is possible. If an attempt is made to input thern at a Position where input is not possible, the following waming message is displayed. In tis ase, move the cursor tothe position where the input is permitted and input them again, “INPUT ERROR’ i Inthe net edit mode (change or inser) the following function soft-keys are provided as the secondary function soft-keys. CSE CSE Ge ES a Fi Fe rae Fs:‘The functions of the keys'are indicated below. (1) Cursor Keys @ Cursor up key: Moves the cursor up by one line. If the cursor isin the top line in the net, the cursor does not ‘move even if the cursor up key is pressed. @ Cursor down key: Moves the cursor down by one line. If the cursor is in one line below the bottom line in the net, : the cursor does not move even if the cursor up key is pressed. @® Cursor right key: Moves the Cursor right to the next device. If the cursor right key is pressed when the cursor is at the right hand end position, the cursor moves to the left hand ‘end position. ~ @® Cursor left key: Moves the cursor left to the next device. Ifthe cursor left key is pressed when the cursoris at the left hhand end position, the cursor moves to the right hand end position.NETEDITING FUNCTION (2) Function Soft-keys ® ® + +: : Replaces the block where the cursor is positioned with the NO con- tact. If this key is pressed when the cursor is positioned on the block ‘which includes a register instruction, the remaining block is deleted as indicated below. ig 0 I Replaces the block where the cursor is positioned with the NC con- tact. If this key is pressed witen the cursor is positioned on the block ‘which includes. register instruction, the remaining block is deleted as indicated below. [AbD [#7000] #7002} ae : Replaces the block where the cursor is positioned with the OUT coil. If this key is pressed when the cursor is positioned on the block ‘which includes a register instruction, the remaining block is deleted as indicated below. Note: An OUT coil can be input only at the 13th contact. If itis input at any other position, an error occurs and “INPUT ER- ROR” message is displayed. —{ae Lr — + -o Replaces the block where the cursor is positioned with a horizontal line * —”. If this key is pressed when the cursor is positioned on the block ‘which includes a register instruction, the remaining block is deleted as indicated below. [Abo [#7000 [47002 _—_—- If this key is pressed when the cursor is positioned on the block of the horizontal line“, the horizontal line is deleted. See ee@® — =: Drawsa vertical line on the block where the cursoris positioned and also on the block above this block. How the vertical line is drawn is explained below: Ifa vertical line does not exist in the upper right ofthe cursor, a ver- tical line is drawn. ya =i ln a a Ifa vertical line exists in the upper right of the cursor, the vertical line is deleted. as td rece ecere tees It eco = Display method of a vertical line Varies depending on the cursor position and the information of the lines drawn above and below the cursor. : For details, refer to 8.4.4, “Inputting Vertical and Horizontal Lines”. (3) Other Key ‘@ ERASE: Deletes the instruction on which the cursor is positioned.8.4NET EDITING FUNCTION ———— _——————— ee 8.4.3 _Inputting Contacts 4 (1) Inputting Contacts @® _Whena function soft-key representing a contact is pressed, the message asking the input of the contact (switch) number is displayed as shown in Fig. 8.9. NeTEOT MEM. Osebioes NO0000 NETNO: 1 SELCOUNT: 0
INPUT SWITCH DIAGN] [“WOUT Ie Fig. 8.9 Contact Input Screen ® Input the contact number. ® The relationship between the contact instruction and the registers that can be input is indicated below. i IE = #1000 to #1063, #3500 to #3699, #7000 to #7999 HE = #1400 to #1699, #1800 t0 #2999 #3000 to #3159, #7000 to #7999, #1100 to #1163 O- * 41200 to #1299, #1400 to #1699, #1800 1 #2999 Ifa contact number which does not correspond to the designated contact instruc- tiom is input, an error occurs and the following waming message is displayed. “INPUT ERROR” If this warning message is displayed, check the contact number again and input the correct one.4 (2) Example of Contact Input fee @® _Whenany of function soft-keys f1, £2, or £3 is pressed, the screen gives the message requiring the input of the contact number. Key-inia contact number and press the [WR} key to input the contact mumber. ‘When inputting a'contact number, itis not necessary to input “#”. Examples: | 10000 [WRI:Coriect input 7 #10000 [WR]:_Incorrect input (input error) ® When acontact number is input correctly, the highlighted function soft-key returas to the normal display. ‘To cancél the input during key operation, press the [RST] key. Orserier Nooo00 SINGS
7_ INPUT SWITCHNUMBER, oe] (TOUT =e) == Fig, 8.10 Contact Input Screen‘8.4NETEDITING FUNCTION ® By the key operation of {1]0]{0}[0]{O]WRI, the LD instruction is input and the ‘contact number is input correctly. The cursor position is not changed before or af- ter the input of the LD instruction. Oxssr N00000 NSS
|p curate Fig. 8.12 Drawing a Vertical Line8.4.5 {8.4NETEDITING FUNCTION Inputting Register Instructions By keying in the first leter of a register instruction, pop-up menu for the selection of the reg- ister instruction appears on the screen. (1) Items Given in Pop-up Menu ‘The items displayed in the pop-up menu are indicated in Table 8.3. In response to the character keyed-in to the key buffer area, the corresponding list of register instructions is displayed in the pop-up menu. Select the required instruction by moving the cursor ‘on it and press the [WR] key. The required register instruction can be written in this ‘manner. Table 8.3 List of Register Instructions Displayed in Pop-up Menu §2V22" | Corresponding Register Instructions Displayed in Pop-up Menu | Quantity Character ‘A_| ANI-ADI, ADD, ANR, ADC, ADDW, ADR, APSE 8 | CER CMR, COL, CMP, CPT, CPR. CIR, CLRW, CMW, CORW, 7 1 cPRW D__ | DCR, DEC, DST, DIN, DIVW, DSTW, DCRW 7 T__ [INR INRW, IPSH, IPSHD a M_| MVI.MOV, MULW, MVIW, MCR 5 ‘SUB, SBI, SUBW, SET, SUBP3, SUBP4, SUBPS, SUBPS, SUBPT, ‘SUBP9, SUBP11, SUBPI4, SUBPI7, SUBPI8, SUBP23, SUBP2S, S| suspz7, SUBP31, SUBP32, SUBP34, SUBP35, SUBP36, SUBP37, | 76 SUBP38, SUBP39, SUBP4O T_ [TIM TMR TPs a | ORR.ORE X__[AREXRRXOR XN =(2) Contents of Pop-up Menu = ‘The pop-up menu displayed in response to the keyed-in character is indicated below. In the pop-up menu, it is not possible to move the cursor to the empty area. aL {c] © : m ™ ANE aR DCR INR MVE ADE MR _|. [pec INRW MOV ‘ADD, Cor pst PSH MULW ANE MP DIN 1PSHD VL ‘ADC. DIVW MCR ‘ADOW, CPR DsTWw "ADR ‘COR’ DeRW APSH. ‘CLRW = curw | = “CORW . . crew | : - is m (0) o sup |-supess | [Ta ORR _ XRT os ‘suppes | | TMR- ‘ORI RR supw. [supra | | Test : XOR set | SUBP3I NR ‘suprs_| supra ‘suaps | SuBPH ‘supes_| SUBPSS ‘suBps | SuBP36 ‘supe? _| SuBPS7 suaps_| SUBP3E SuBPI | SUBP39 suaPie | SUBP«O ‘SUBPIT ‘SUBPIT ‘SUBPIB‘8.4NETEDITING FUNCTION Ifthe following characters are keyed:-in, the pop-up menu is not displayed but the corre- sponding instruction is input. N: NOP E: END J: IMP ’ P: PUSH R: RT _ (3) Register Instruction inputting Procedure © Key-in the first character of the register instruction to be input. ‘The pop-up menu screen is displayed. ® Move the cursor to the required register instruction and press the [WR] key. ‘When the register instruction is input, the next pop-up menu screen is displayed for the input of the necessary operand. Input the contact number, register number, ‘or numeric value. Note that it is not necessary to input “#” when inputting a register number. ©® Press the [INS] key to insert the input register to the ladder.(4). Example of Input --MV1 Instruction ‘The operation and screen display are explained below using the input of MVI instruc- tion as an example. © Key-in“M” to the key buffer area. - ‘The pop-up menu showing five instructions beginning with “M" is displayed. The character “M” which has been keyed-in is not displayed in the key buffer display area. ‘To cancel the pop-up menu, press the [RST] key,, NETEDT MNT. ‘Onexex 00000 NETNO: 1° SELCOUNT 6
MOV" OL WW ‘Mv #7000}{80}4 8.14 MVI Instruction Input Screen@® Press the [INS] key. ‘The input instruction is inserted to the ladder in the manner 2s shown in Fig. 8.15. ‘The cursor position remains unchanged before or after the input of the MVIinstruc- tion. ai ‘Oreeee NO0000
Fig. 8.15 Ladder Display after Inputting MVI Instruction(5) Operand Input Pop-up Box Screen {3.4NET EDITING FUNCTION (@) Types of operand input pop-up boxes Depending on the input register instruction, the corresponding operand input pop-up box appears on the screen. For the operands, check is made whether or not the input is allowed. © met @® [PSH [7000] @ INRWN [7000] @ INRWN (9023) © CPI# [7000], #[ TH © ADDW# [7000], #[ J @® DIN# (7000). # [7000], { JH (b) Registers that can be input ‘The registers that can be input in the operand input pop-up box for the individual regis- ter instructions are indicated in Table 8.4, IMP, ADR IPSH, IPSHD, SUBP INR, DCR, CLR, CMR, INRW, DCRW, CLRW, APSH, PUSH, XOR, XNR TPSH ‘TMR, ADI, SBI, ANT, ORI, XRI, DEC, COI, CMP, CPI, MVI TIM, ADD, SUB, ANR, ORR, XRR, CPR, COR, MOV, ADC, ADDW, SUBP, MULW, DIVW, CORW, CPRW, MVIW DST, DIN, DSTW Ifa register outside the allowable range is input, the following warning message is dis- played. “INPUT ERROR” Table 8.4 Range of Registers that can be Input for Individual Register Instructions Rogsterinetucton Input Ponmited Registers Range Group TM 191300 to #1399, #1700 0 #1709 iu TR £1300 t0 #1399, #1700 19 #1799 TPS 155000 0 N9323 B $1000 10 #1063, #1100 w #1163, #1200 1 #1299 LOtrerinsiuctions | 1400 to #2999, #3000 ro #3158, #3500 10 #3699 os E(0) Input range: : With each register instruction, the input range is determined for individual operands. If a value outside the allowable range is input, the following waming message is dis- played. “INPUT ERROR” ‘The ranges of registers and reals that can be input for individual registers are indicated in Table 85.8.4NETEDITING FUNCTION Table 8.5 Range of Registers and Reals of Register Instructions Tnemuaion | NOT Opa 77 THR TE Dex Cu ‘ADI ‘Br AN ‘ORT RT DEC! ‘cor cM MT ‘ADD ua TARE ala}a}alalala|a|alala}alalalalalalala}alalalalola}alalala}ala]>|>| ofololalo}al a] anes valve of 10356 ‘Naresie valve of Ito 286 OFA c E a FET9 TT 123.1, "2.3435, 36,51. 38.39 ge paran (A.B, C= Range Group in Table 5) 0: FH aa saalaalag o}o}o} c c € € € € afololo] ‘No. @ Operand Check Range()Operand input procedure (decimal, hexadecimal) Inthe operand input pop-up box, a real can be input in either decimal or hexadecimal. If “HT” is entered after entering a real, itis regarded as a hexadecimal number. Examples: 64H_” Regarded as “100” 64. Regarded as “64” : (6) Moving the Cursor on the Register and SUBP Instructions ‘Thereare cases in which the cursor movements not allowed when the register or SUBP instruction is on the edit screen. ‘The cursor movement on the register or SUBP instruction is executed in the following manner. Table 8.6 CursorPostion Descipon on Curae Display Postion ‘When te carer poiond i the area win a [PUSH] #7000} = | frame, corsor movement is posible only within the ‘nsession pay aa. SL (ros Freer} Tithe cursor up ey is pressed, the cursor movesto the posi WOU #7060 [_ e710 tion as indiared below. 10001 EDO [os | srooo [wre [10H] Cerorpoaion Sr ol Hiri a ‘roar #0002 a-324 NET EDITING FUNCTION. (7) Patterns that does not Allow Register Instruction Input of a register instruction is not allowed in the positions indicated below. NET EDT vt ‘Oper NO0C00 NEFNO. 1 SELCOUNT: Q
0 #00 | a ‘#10000 Tithe narberf contacls tat can benpatia wo, ha ‘ogistorinstructon hatcaneinputisthe onethathas ‘upto two blocks. a register instruction that uses ‘motethanthree contactis input tnewamingmessage of input aro is splayed.8.4.6 Canceling the Net Edit Function . I's possible-o cancel (quit) the contents of net edit diving editing. Key-in “Q” and press the [WR] key. 8.4.7 Exiting the Edit Function (1) Operation Procedure _ © Press a process, job, or function soft-key other than [NET EDT] to exit the net edit function. “When exiting the net edit function, the NC executes thé check on the following six items. ® Check 1: Checking the connection status in one net ‘The NC checks whether all lines are contiected. If the edit has been finished with an open line remaining as shown below, the “NOT CONNECTED” error occurs. 7 Example 1: Net is not connected. NET EDT ‘Oreer+ Noo000 war NEFNO: 1 SELCOUNT. 0 INS>
Ly ae Bar [jee att Fig. 8.17 Line Disconnection Error8.ANETEDITING FUNCTION —_—<—<—<—<——_ EEE" ~« Example 2: In the case of the ladder shown in Fig. 8.18, the ladder is not one net. and therefore connection error occurs. Fig. 8.18 Incorrect Net (More than One Ladder) © Check 2: Start instruction check ‘The NC checks whether any of the instructions indicated below is designated at the start of a net. If not, the “START INST ERR" is displayed. ‘CMP, DEC, PUSH, ADR, SET, RET, END, POP, IPSH, NOP, LD, LD-NOT, ‘TPSH, APSH, SUBP23, IPSHD ® Check 3: Double-instruetion check ‘The NC checks that no instruction is designated with any of the following instruc- tions. If designated, the “DOUBLE INST ERR” is displayed. END, RET, RTH, IPSH, APSH, PUSH, TPSH, ADR, IPSHD © Check 4: — Single-instruction check ‘The NC checks whether some instruction is designated with any of the following instructions. If not designated, the “SINGLE INST ERR” is displayed. TIM, TMR, INR, DCR, CLR, CMR, ADI, SBI, ANI, ORI, XRI, DEC, COL, CMP, CPI, MVI, ADD, SUB, ANR, ORR, XRR, CPR, COR, MOV, DST, DIN, ADC, ADDW, SUBW, MULW, DIVW, INRW, DCRW, CLRW, CMRW, CORW, CPRW, MVIW, DSTW, MCR, RTI, IMP© Checks: ~ Analysis possibility check ‘The NC checks if the edited net can be converted into a sequence program. If con- ‘version is not possible, the “INVALID NET” is displayed. @ Check 6: , Sequence program size check ‘The NC checks that a sequence program is within the allowable size. ‘The maximum’ size of a Sequence program is 131,055 bytes which are approxi- ‘mately 32,700 steps (I step =4 bytes). If the size of the sequence exceeds 131,055 bytes, the “SIZE OVER" is displayed. @® After the completion of the check indicated above, the screen changes. ‘During net check, the “NET CHECKING” is displayed on the screen as shown in Fig. 8.19. wT. ‘Gees NoG000 SELCOUNT: 0 “
—
NET CHECKING:B.4NETEDITING FUNCTION (2) Waming Messages If an error is found in net check, a corresponding warning message is displayed. Table 8.7 4 ‘Warring Message Gorectve Acton NOT CONNECTED (Check te rated or eed net and con- ect the lin, ‘SIZEOVER Review the program and dee sever exes STARTINSTERR | Anistrcton Gar rustbe placed athe | Designate an instaction that must be beginning of ane is aot designated. placed at the beginning of net, SINGLEINSTERR | Aninswwcton tharmast be designated ina | Referto tbe PLC lorrution manval and ‘net with another instrcton i designated | make comecions. ‘without other intucton. DOUBLEINSTERR | inone net some insrustion is Gecignted | Delete an instruction that is deignted ‘withan instruction that must be éesignated | with he instruction that mast be desig net without anther inszuction. aed in nt without otbernatrvton. (3) Forced stop of net check Ifthe power is tumed OFF during net check, the information might not be updated en- tirely. Therefore, the sequence is automatically initialized (booting from flash ROM to CMOS) when the power is turned ON next. Edit the sequence again. 8-37 ‘oe—_—_ 8.5 TABLE EDIT FUNCTION ‘The table data editor is provided to edit the table data. ‘The data of the following three tables can be edited. + Message table + Conversion table ‘* Symbol tableTABLE EDIT FUNCTION. Editing the Data in the Conversion Table ‘The conversion data that have been set by using the pseudo instruction “CONVERSION” can be edited. ‘The data can be edited in units of bytes. The data for which word or double-word designation thas been made in the conversion table of the source program are also displayed in units of words in this screen. anor Conversion data are set in hexadecimal. , ‘The conversion data numbers are indicated below: N9000-N9007 256 bytes 9008-9023 _ 128 bytes “FFH” is displayed for undefined conversion data, “Theconversion data number changes by passing thepage key. (NS000—+N8001) Datadisplayarea: Thecursormovestothis area whenthelINS]keyiepressod. Janae eT TE BSSSISs' a a or A 5 oe oF SESLBERSSVSESBSS’ 388 BOLLBRRBAAVASNSS: aaggenssagaaena: PERCEREENEERER [ARRARRERARKE RT FILGSSRSARSSSBA: Raggarssiagaes: Fig. 8.20 Conversion Data ‘The conversion data editing procedure is explained below. 7 © After displaying the conversion data page of the required conversion data number, press the [INS] key. : ‘The cursor appears on the first byte position in the data display area.® Move the cursor to:the data to be changed. Key-in the required numeric value and press the [WR] key. . Example: [4][2][WR] @® Press the [INS] key. 85.2 Editing the Data in the Message Table : ‘The message data that have been set by using the pseudo instruction “MESSAGE” can be edited. Up to 40 characters can be input as message data. Fig. 8.21 shows the message data edit screen. ‘The message data number is indicated below: 49024 to #9323: TeLEOT 9024 | SPINDLEALARM e025, ‘TOOL SET OK #9026 0129456780123486780012945678001294567800 027 e028” Fig: 8.21 Message Data Edit Screen ‘The message data editing procedure is explained below. fi ® “Move the cursor to the message data number of the message that should be changed. ® ‘Key-in the required message and press the [WR] key.STABLE EDIT FUNCTION. 8.5.3 Editing the Data in the Symbol Table ‘The symbol name that has been set by using'the pseudo instruction “SYMBOL” can be edited. : Asasymbolname,acharacter-string of up to five characters can be set for one contact. Reg- istration of a symbol is not possible in the byte register. ‘When registering symbol names, there must be no blank in the contact number area. If there, is a blank, itis regarded as the end of registration and the symbol data registered after the blank, if any, is not output in text output operation, ‘Serial symbol numberares: Upto 5000 numbers are splayed. ‘Thoretor, up to 5000 symbol names can be registered. ‘Contactrumber area: Thocontaet numbers for which symbotnames are defined are splayed. The numbers must be five-digit rurbers. ‘Tho cursor can be movedin tis area, ‘Syinboiname ares: Symbol names are spayed corresponding to ‘econtactrumbers. Symboinames shouldbe ‘setin uptofive characters. The cureor can be movedinthis area, J<— Nothing is displayed when ‘symbol names not defined. Fig. 8.22 Symbol Name Edit Screen‘The symbol name editing procedure is explained below. : ® Move the cursor to the contact number area and input the contact number to be set. ‘The maximum serial number is $000. ® Move the cufsor to the symbol name area and input the symbol name. A symbol name should be input in a maximum 6f five characters. 1. Whén inputting a register numbe, it is not necessary to input “#”. = 2. Fora register number, only a numeric value is allowed. If a character other than a numeric value is input “INPUT ERROR" is displayed. 3. A symbol namie is a character-string of up to five characters. If a character-string longer than five characters is input, “INPUT ERROR” is displayed. = 7 Bee‘86INPUT/OUTPUTFUNCTION 8.6 INPUT/OUTPUT FUNCTION ‘The VO function uploads the created sequence to a PC card and downloads the sequence stored in a PC card to the NC. 8.6.1 Downloading the Sequence Program ‘The procedure used for downloading the sequence program (execution module *.BIN) stored in the PC card to the NC is explained below. ® Save the sequence execution module to be downloaded to the PC card. ® Select the maintenance job and select the “SEQUENCE DATA” by the IN/OUT PARM function, See Fig. 8.23. ® ‘Select the sequence execution module to be downloaded from the list of files in the PC card. See Fig. 8.24. Ifa file other than a sequence file is selected, the following warming message is displayed. “FILE DATA ERR” Press the [WR] key. ee The following message starts blinking and download starts. “INPUTTING” : © Upon completion of downloading, the following message is displayed. “INPUT COMPLETED” IWOUTPARM MNT INPUT ALL PARAMETER SETTING PARAMETER SEQ. PRM & KEEP MEM PITCH EAROA PRM. OPTIONAL PARAMETER, *SEQUENCE DATA STP LSK PARAM DIAGN iNeuT _] [OuTeUT ] (Cwoor] porary | t Fig. 8.23 IN/OUT PARM Function Screen 8-43INOUTPARM MNT PC GARD DIR (A: \YASNAC) DinEcTo: pinecroa 30000001 BIN 3000002 BIN 20000003 BIN 20000K04 BIN 30000005 BIN, 200000106 BIN, 30000007 81N 300000K08 IN oT PARAM DIAGN.
REMAINING Ore ND0000 yo0000K00 BIN. 3000010 BIN 2000001 BIN 3000012 IN 3O000KI3 BIN 2000014 BIN, 2OO0OKKIS BIN 200006 BIN, 200007 BIN, 20000018 BIN, 2oO00K19 BIN, 2oD000@0 BIN 3,128,458BYTES STP Usk ~ Coeur] [OuTFuT ] (wen ora] | Fig, 8.24 PC Card File Directory Screen8 SINPUTIOUTPUT FUNCTION, 8.6.2 Uploading the Sequence Program It is possible to upload a sequence program from the NC to a PC card. The file format of the upload file can be selected from the execution module format (the same format as in downloading) and the text format. ‘Text format: ‘The ladder sequence program (object file) in the NC is reversely converted to the state before compilation. ‘The sequence program consisting of multiple modules which are linked is output in one file. If such a file is compiled, the object file capacity exceeded could occur (one object file is ‘preaterthan 64K.). Inthis case, divide the sequence program into two or more files and create the execution module by using the SSD offline system software package, ‘The procedure used foruploading the sequence program stored in the NCiis explained below. Prepare a PC card having sufficient free area, Select the maintenance job and select the “SEQUENCE DATA (TEXT)” or ”SE- QUENCE DATA (BIN)” by the IN/OUT PARM function. See Fig. 8.25. Key-in the sequence execution module name to be uploaded. See Fig. 8.26. Press the [WR] key. ‘The following message starts blinking and upload starts. “OUTPUTTING” ; Upon completion of uploading, the following message is displayed. “OUTPUT COMPLETED” © ©8090 ©0 ‘SETTING PARAMETER SEQ. PRM & KEEP MEM PITCH ERROR PRM, ‘OPTIONAL PARAMETER *SEQUENCE DATA (TEXT) oT STP isk | _PARAM DIAGN | (Civeur) Coureury (wont) (oer) Fig. 8.25 IN/OUT PARM Function ScreenSNOUT PARM MNT" ‘Oe NOOCOO ‘SEQ OUT (TEXT) ste isk 7 - Caer poser | Fig. 8.26 Sequence Execution Module Name Input Screen @® Ifthe file having the same name as the file to be uploaded already exists in the PC ‘card, the following message is displayed. “OVERWRITE? (Y/N)” Press [Y] to overwrite. If the existing file must not be overviritten, press (N]. Se Waring Related with PC Card. - < ‘There are cases that inpaVoutput using a PC card is not possible due to defective PC card, writing error, or other problems. If input is not possible, the relevant warning message is displayed. “DEVICE NOT READY?” A PC card is not installed. “PORMATERROR!":; The PC card is not formatted. “ACCESS'ERROR": —— Read/write is attempted while a file in the PC card is ‘input/output. “PC CARD FULL! PC card free area is insufficient. ——————————————.7 SEQ STS (SEQUENCE STATUS) FUNCTION 8.7 SEQ STS (SEQUENCE STATUS) FUNCTION 8.7.1 Display of Sequence Status On the SEQ STS screen, sequence memory status and sequence scan speed can be displayed. It's also possible to change the set values. The SEQ STS screen is shown below. ‘SEQUENCE STATUS 72000_BYTE 7 RRA H 3MS VALUE TEST 2 Fig. 8.27 (1) SEQ FREE ‘The size of the free area for storing sequence programs is displayed. (2) TOTAL SUM ‘Total value of the data stored in the CMOS area, including sequence programs and tables, is displayed, : f (3) LSCAN TIM 5 The time required to execute a low-speed scan sequence program once is displayed in multiple of 4 msec. t ‘pass ime (ree) | Highspeed 7 preter TLL Lows ; ee ee lea Time + z — 1 pass tm of tom-spoed scan ‘sequence program (12msec)(4) VERSION 7 4 : ‘The version name of the sequence designated by thé pseudo instruction “VERSION” is displayed. ‘The sequence version can be changed while the sequence is stopped. ‘The version name can be set in up to eight characters. If more than eight characters are __ input, an error occurs and the following message is displayed. “INPUT ERROR” ~ 4 © STOP CNT The stop count designated’ by the pseudo instruction “LOWSTOPCOUNT” is dis- played. The STOP CNT can be aaa ‘while the sequence is stopped. Setting range is from 1 to 20; if anumeric value oitside this range is set, an error occurs ‘and the following message is displayed. “INPUT ERROR” * 8.7.2 _ INITI ({nitialization) Function ‘The function initializes the sequence programs in 1 the NC. The table related data is also cleared. ‘When the [INITT function sof-key is pressed, the PLC ‘manager executes the following pro- cessing, ‘Sets “TEST” for VERSION. ‘* Sets “3” for ‘LOW-SPEED STOP COUNT”. ° = lears the sequence program area and inserts the following programs from the be- LOWSEQUENCE,” ~ RET, ” ENDP, * Clears the message data area. ‘© Clears thé conversion data area. * Clears the symbol data area.® Press the [INITI] function soft-key. The following message is displayed. “INITIALIZE SEQ.? (Y/N)" .7 SEQ STS (SEQUENCE STATUS) FUNCTION ‘SEQUENCE STATUS SEGFREE 72000_BYTE TOTAL SUM TAAAR HL TSCANTIM 2_MS VERSION VALUE TEST ‘STOP CNT INTIALIZE SEQ.2 (YN) Fig. 8.28 Sequence Initialization Screen 8209® Press [Y] and [Enter] keys. ‘The sequence programs in the NC are initialized and the following screen is dis- played. ‘Omesien NO0000
‘SEQUENCE STATUS SEQFREE 72798_ OTE TOTAL SUM aia TSCANTIM 12MS = VALUE VERSION TEST ‘STOP CNT Fig. 8.29 Sequence Initialization Screen (After Initialization) eS 1. Initialization operation initializes all data being edited 2. Before executing initialization, make sure that the data can be initialized.BSLISTOF MESSAGES 8.8 LISTOF MESSAGES ‘Messages displayed during online editing are given in Tables 8.8, 8.9, and 8.10. 8.8.1 List of Messages Table 8.8 List of Messages ‘Wessage Description ‘COLLECTING: “The nets ae beng eecied. DELETING, Tienetis being deleted. DELETIONCOMPLETED | Net leon has been copied, (NET CHECKING Ens sequence program sting checked dung te exertion of «sequence program. INPUTTING: ‘Sequeace program data are being inpat fom a PC card TNPUTCOMPLETED | Inputing of sequence program deta has been compleed comely (OUTPUTTING ‘Sequence program dun ae being output aPC card. ‘OUTPUTCOMPLETED | Ouputing of sequence program data as ben completed conecly. ‘SEARCHING Search processing is being executed onthe ladder screen. INPUTCONTACTNUM. | The message requesting the input of contact number when the conta Fanon fe BER ‘OVERWRITET YIN) INITIALIZE SEQ7 (7)ee 8.8.2 _List of Waming Messages Table 8.9 List of Warning Messages Message Description SELECTION OVER _| Innet selection, more than 1Onets are selected. INPUTERROR Errorin deta input CONTACTOVER | Morethan 100 contacts are setinone net.» DEVICE NOTREADY | PCcard is notset. FORMATERROR! __| PCcardisnot formatted. ACCESSERROR! | PCcard read/writeeror PC CARD FULL! PC cd free area is insufficient for writing the data Z NOJMP-ADR "ADR instruction snot designated corresponding to IMP. ° NO START INST, "An instruction that must be designated atthe Beginning ofa ladder isnot desig- nated, : NOTCONNECTED __| Line connection is incomplete. SUBP FORMAT ‘Format erfor in the SUBP instruction ERROR SHE EXECUTING. “An invalid fancionis selected during sequencs execution. DOUBLE INSTERR ~ | Aninstruction which must not be designated with another instruction is desig nated in a net. SINGLE INST ERR | An insruction which must be designated wih another instruction is designated ‘without other nstroction ina net. ‘SIZE OVER “The sizeof sequence exceeds the allowable mit. FILE DATA ERROR | The data input vo the PC card are not the sequence file for JX. DOUBLE LABEL | Thereis more than one label for IMP instruction. TNVALID NET “Anet which cannot be analyzed is edited. 8.8.3 . List of Alarm Messages Table 8.10 List of Alarm Messages SECS CSREES ere eee eee Message, Deseiton ‘BACKUPTHE, “Aer editing the soquence program, te system has been ated with the system number SEQUENCE PROGRAM _| switch seat “U" of “A without backing op the sequence progr PLCCMOSERROR "The CMOS (hardware) i the CPO hasbeen destroyed. "RESETTING HASBEEN | Since the soquence data inthe 1CPO2 fave been destroyed, the eamtat in fash ROM MADE! fave ben vanafered to the CMOS.DOWNLOADING AND UPLOADING LADDER PROGRAM Chapter 9 describes the procedure for downloading and uploading the ladder program using flash ROM. i 9.1 DOWNLOADING|LADDER PROGRAM (PC CARD — FLASH ROM) ........... 9-2 9.2 UPLOADING LADDER PROGRAM (FLASH ROM — PC CARD) ..........5 9-4 ot9.1 DOWNLOADING LADDER PROGRAM (PC CARD FLASH ROM) “The procedure for downloading the sequence program from PC card to flash ROM is indi- cated below. @® Tum ON the SW! on the JCPO1 board. 00 mM sw? @® Tum ON the power. © Ansert a PC card to CNO3 (CARD) in the JCPO1 board. @® The following screen is displayed. = SYSTEMLOAD
MAN OPTION : SH ‘COM NONE COMUBINN SYSTEM NONE SHSYS.8IN AcGo NONE AGGC.BIN APL NONE SHAPLBIN (iia NONE SHLANBIN USER. DRAW NONE SHORWBIN — *LPLCLADDER] NONE Puc NONE PLOBIN, ‘ACGC APL NONE ee INT NONE INTIN ACGCFILE NONE Message - MoT - NONE MOTIONSIN —CLANGAPL NONE: ‘dsplayarea AXIS NONE AXISIN oe MAN OPTION USER DOWNLOAD UPLOAD _ ® Move the cursor to “PLC LADDER" of USER by using the cursor up/down keys 7 and press the [WR] key. © The “*” symbol appears to the left of “PLC LADDER” and the cursor moves to the file name input area. 4 @® The message “INPUT FILE NAME” appears. ® Input the file name of the ladder program.19, DOWNLOADING LADDER PROGRAM (PC GARD ~» FLASH ROM) © Press the [DOWN LOAD] function soft-key. The following message is displayed. “TRANSFERRING” @ After the completion of transmission, the following message is displayed. “COMPLETED” @ _ Return SW1 to OFF and tum OFF the power. 9.39.2 UPLOADING LADDER PROGRAM (FLASH ROM — PC CARD) ‘The procedure for uploading the sequence program from flash ROM to PC card is indicated below. @ Carry out steps 1:to,8 described in section 9.1. @® Press the [UP LOAD} function. soft-key. ‘The following message is displayed. “TRANSFERRING” © After the completion of transmission, the following message is displayed. “COMPLETED” @® Rerum SW to OFF and tum OFF the power. 4YASNAC J300 PLC PROGRAMMING MANUAL Shen Crprsttetguron Si Uae Sve Howse rszatze USA hcope Tova Contr H59 acre le Nemvook 1 EEE299, USA Prone saap snout Spe ts? 201 Woroan ne Te ry ne st Carotion. On 440, USA Miesdnraeas Fara vat S/S S80 Pole, Orch isla etc eee Gs rare too ab an ao wtSS SO Dene Soe ora rons Face Poe setae aes {ASsAWA ELECTING KOREA CORPORATION She Nam ay 2 eh 1a Eula, oor Gu Seo, Kota Brora dea 6 teee conta 1558008 YARAWA ELECTING GGAPORO PTE TO. nora 6p 2803601 Fox 66 280:3008 \OATEC ENGnEEANG ConeorATON Shas Hang Yona Sins Grong Doch 10° 146 Sig Cnerg sed, Tae: Tawar SUING OFFICE Poor No. Wan Zhong Gurcing 13 Van An eget) Snengne 200080, rina Pronsansveoresois rm seelceietace Sea ACO Om COMPANY AE YASKAWA ELECTRIC CORPORATION YASKAWA NOTICE: To enable cngoing pcsuct medications and inproverarts, {rectcaen ae sutec ochre who oa S16 0840.13 (© Prinze Japan August 996.0681. <>
You might also like
PLC by John Webb
PDF
No ratings yet
PLC by John Webb
129 pages
Servodrive Vma 35 BR 001 D Bosch Manual PDF
PDF
No ratings yet
Servodrive Vma 35 BR 001 D Bosch Manual PDF
131 pages
Sinamics V90
PDF
No ratings yet
Sinamics V90
53 pages
PLC User Manual (CNC System) V2.0
PDF
100% (1)
PLC User Manual (CNC System) V2.0
112 pages
Panasonic FP0R Manual
PDF
No ratings yet
Panasonic FP0R Manual
345 pages
Panasonic PLC FP X PDF
PDF
No ratings yet
Panasonic PLC FP X PDF
24 pages
Omron NB
PDF
No ratings yet
Omron NB
192 pages
PLC Mitsubishi
PDF
No ratings yet
PLC Mitsubishi
228 pages
Servo and Drives R7D - B - Manual - en - 201202 PDF
PDF
No ratings yet
Servo and Drives R7D - B - Manual - en - 201202 PDF
327 pages
Omron CJ1M Motion Introduction
PDF
No ratings yet
Omron CJ1M Motion Introduction
76 pages
M100780A MX1 LX1 For Yasnac Manual
PDF
100% (1)
M100780A MX1 LX1 For Yasnac Manual
8 pages
Sinamics G120 Cu240s DP
PDF
No ratings yet
Sinamics G120 Cu240s DP
31 pages
MT8000 User Manual WinView HMI EazyBuilder
PDF
100% (2)
MT8000 User Manual WinView HMI EazyBuilder
428 pages
BasicPLCProgramming Micro850
PDF
100% (1)
BasicPLCProgramming Micro850
88 pages
En Master Follower std6x FW 2
PDF
No ratings yet
En Master Follower std6x FW 2
38 pages
Panasonic Fp0r Programmable Controllers
PDF
No ratings yet
Panasonic Fp0r Programmable Controllers
265 pages
G120 Manual 080414
PDF
No ratings yet
G120 Manual 080414
16 pages
Positioning Control Training Manual Mitsubishi)
PDF
No ratings yet
Positioning Control Training Manual Mitsubishi)
74 pages
MITSUBISHI Manual PLC Fx5 Application
PDF
No ratings yet
MITSUBISHI Manual PLC Fx5 Application
306 pages
DELTA DVP 14SS2 - Modbus RTU - Omron E5CC Tutorial
PDF
100% (1)
DELTA DVP 14SS2 - Modbus RTU - Omron E5CC Tutorial
11 pages
Moeller PS3 and PS306 Common Cables
PDF
No ratings yet
Moeller PS3 and PS306 Common Cables
1 page
Panasonic FPWIN Manual
PDF
No ratings yet
Panasonic FPWIN Manual
317 pages
PLC All en Bradley
PDF
No ratings yet
PLC All en Bradley
106 pages
ABB PLC-2 System 1772
PDF
100% (1)
ABB PLC-2 System 1772
170 pages
810 GA1 Installation Instructions
PDF
No ratings yet
810 GA1 Installation Instructions
292 pages
Servodrivers 1394 PDF
PDF
No ratings yet
Servodrivers 1394 PDF
301 pages
infoPLC Net L02 Advanced Micro800 PPT PDF
PDF
No ratings yet
infoPLC Net L02 Advanced Micro800 PPT PDF
19 pages
Programmable Logic Controller (PLC) : Abhishek Soni
PDF
No ratings yet
Programmable Logic Controller (PLC) : Abhishek Soni
36 pages
D027B Omron
PDF
No ratings yet
D027B Omron
141 pages
Fanuc Hardware User Guide 6 Quickpanel View
PDF
No ratings yet
Fanuc Hardware User Guide 6 Quickpanel View
66 pages
PLC - Logic Gates
PDF
No ratings yet
PLC - Logic Gates
14 pages
Codesys
PDF
No ratings yet
Codesys
79 pages
Omron PLC & Remote Io - Cat2014
PDF
No ratings yet
Omron PLC & Remote Io - Cat2014
40 pages
DVP-PLC Application Manual 【Programming】 Table of Contents
PDF
No ratings yet
DVP-PLC Application Manual 【Programming】 Table of Contents
586 pages
D027B Mitsubishi
PDF
No ratings yet
D027B Mitsubishi
120 pages
Powerflex Drives With Totalforce Control Parameters Reference Data
PDF
No ratings yet
Powerflex Drives With Totalforce Control Parameters Reference Data
1,902 pages
Yasnac MX-1
PDF
No ratings yet
Yasnac MX-1
252 pages
Panasonic PLC FP X
PDF
No ratings yet
Panasonic PLC FP X
20 pages
Universal Programmer Pgmj-r2 Operation Manual
PDF
No ratings yet
Universal Programmer Pgmj-r2 Operation Manual
24 pages
Mitsubishi Melsec Fx0s Fx0n Fx2n Series PLC Technical Catalogue
PDF
50% (2)
Mitsubishi Melsec Fx0s Fx0n Fx2n Series PLC Technical Catalogue
84 pages
Moog ServoDrives DS2110 Manual en
PDF
No ratings yet
Moog ServoDrives DS2110 Manual en
312 pages
HMI To PLC Linking Preparation
PDF
No ratings yet
HMI To PLC Linking Preparation
13 pages
Proficy - Logic Developer - PLC 7.0 Getting Started, GFK-1918P
PDF
No ratings yet
Proficy - Logic Developer - PLC 7.0 Getting Started, GFK-1918P
176 pages
Siemens S7 200 Ethernet
PDF
No ratings yet
Siemens S7 200 Ethernet
7 pages
Yasnac Servo Pack
PDF
No ratings yet
Yasnac Servo Pack
20 pages
Cip Safety Pf527 Hott 2015 v1 - 2 Mar 18 2015
PDF
100% (1)
Cip Safety Pf527 Hott 2015 v1 - 2 Mar 18 2015
16 pages
Yasnac J300 PLC Programming Manual
PDF
100% (1)
Yasnac J300 PLC Programming Manual
224 pages
Gsk980td PLC User Manual
PDF
No ratings yet
Gsk980td PLC User Manual
162 pages
980TD PLC User Manual (English Version)
PDF
No ratings yet
980TD PLC User Manual (English Version)
162 pages
CNC Turing Controller PLC User Manual
PDF
No ratings yet
CNC Turing Controller PLC User Manual
162 pages
PLC User Manual: GSK980TD Turning CNC
PDF
No ratings yet
PLC User Manual: GSK980TD Turning CNC
166 pages
Programmable Logic Controllers: Laboratory Eight
PDF
No ratings yet
Programmable Logic Controllers: Laboratory Eight
7 pages
Chap 1.2
PDF
No ratings yet
Chap 1.2
11 pages
English GSK980TC3
PDF
No ratings yet
English GSK980TC3
232 pages
Centroid Cnc10 PLCMAN
PDF
No ratings yet
Centroid Cnc10 PLCMAN
91 pages
Yasnac PC NC PLC Programming Manual: Version: Beta 1.0
PDF
No ratings yet
Yasnac PC NC PLC Programming Manual: Version: Beta 1.0
216 pages
Yea Siaz C844 0.1 PDF
PDF
No ratings yet
Yea Siaz C844 0.1 PDF
216 pages
Batteries LiFePO4
PDF
No ratings yet
Batteries LiFePO4
2 pages
How To Upgrade S5 Hardware To S7
PDF
No ratings yet
How To Upgrade S5 Hardware To S7
3 pages
Controlling 3-Phase AC Induction Motors Using PIC18F4431
PDF
No ratings yet
Controlling 3-Phase AC Induction Motors Using PIC18F4431
24 pages
Syncrometer
PDF
100% (5)
Syncrometer
192 pages
Syncrometer
PDF
100% (5)
Syncrometer
192 pages
Mosfet Gate Driving Circuit
PDF
No ratings yet
Mosfet Gate Driving Circuit
37 pages