background image

Summary of Contents for melsec-k

Page 1: ......

Page 2: ... program 3 1 I 4 3 1 4 3 2 4 3 3 4 3 4 Data Link Method in Local Programmable Controller System 35 4 4 1 Specifications of special data registers D special temporary memories M and special functions F in optical data link system 35 4 4 2 Data registers for storing error channel number DA06 to DA09 36 4 4 3 Programminginstructions 37 4 4 4 Programmingmethod of data sending from master to local side...

Page 3: ... power failure of programmable controller power in optical data link system 71 5 3 4 Master test and slave test 72 5 3 5 Errors of KJ71P3 and KJ72P5 74 5 3 6 Errorsof KOJlP 75 Corrective Actions for Master Programmable Controller K3NCPUP2 during Transmission Designation Errors 76 Errors during Optical Data Link of Master Programmable Controller K3NCPUP2 81 External Failure Numbers 81 Errors of K3N...

Page 4: ...I I GENERAL DESCRIPTION 1 GENERAL DESCRIPTION 3 5 ...

Page 5: ... K15BN K18BN K18BE K12BN K15BN K18BN K18BE Base unit Base unit which can be used for CPU unit I Number Of I O link points Max 128 points Local channel Max 512 points for fya 218 I Max 280 point Remote channel Ichannel for 1 channel Max 480 points in total for all channels Data register link I I I Max 24 points for 1 channel Max 24 points for 1 channel Number of points Max 2048 points I IMaster cha...

Page 6: ...unction is selected After the link system is restored communication is automatically re sumed Master Slave Slave channel channel channel b SIave channel Master channel Slave channel e Slave channel I Specific slave channel is disconnected I from the link system Specific slave channel and slave chan All channels are disconnected nels that follow are disconnectedfrom the link system I Provide jumper...

Page 7: ......

Page 8: ...2 SPECIFICATIONS 2 SPECIFICATIONS 7 14 Remote 1 0 System 9 Local ProgrammableController System 11 2 1 PerformanceSpecifications 8 2 2 2 3 2 4 Number of Link Points 13 7 ...

Page 9: ...ent temperature Operatingambient humidity Error control method Less than 3 5 dB km ON 0 85pm 25 dBm peak 25 to 37 dBm peak 0 to 55OC 10 to 75 C 10 to 90 RH no dew condensation Fail safe function Disconnection function Storage ambient humidity CRC generatingpolynominal X16 X12 Xs 1 and retry by overtime 10 to 90 RH no dew condensation When error is detected only a correspondingchannel is disconnect...

Page 10: ...um number of link units Number of link points Remote Total number of I O points of system Restrictions Optical data link system Remote 1 0system 1 3NCPU P2 Extensioncable Optical fiber cable 2 km betweenchannels E K3NCPUP2 Optical data link card incorporated 2048 points A total of 32 channels 2048 points total of link points 32 units Max 512 points for 1 channel a total of 2048 points for 32 chann...

Page 11: ... X 80 points Y 112 points Remote channel M 7FF I O area of K3NCPUP2 0 I O unit area of master channel Empty Link area of the 1stchannel X 80 points Y 80 points Empty Link area of the 2nd channe X 64 points Y 32 points Empty Link area of the 3rd channe X 80 points Y 1 12 points 3rd channel These areas can be continuedby eliminating the empty areas I The l O areas of remote channel indicate the link...

Page 12: ...nne1 128 points Local channel CPU unit Data link unit Maximum numbei of link points Maximum numbel of I O points CPU unit Maximum numbei of link units Number of link points Total number of 1 0points of system Optical data link system Localprogrammablecontroller system I o n cable 1 I I K3NCPUP2 ODtical fiber cable Prog am mable Programmable controller CPU controller CPU I v I I A maximum of 32 loc...

Page 13: ... 1st channel 2nd channel 224 points 32 points 32 points 256 points 32 points 48 points I 3rdchannel I 128points I 64 points I 16points I I C 7FF area of 2nd channel I O unit area Empty Linkareaof the 1st channel X 32 points Y 32 points Empty Linkareaof the2ndchannel X 32 points Y 48 points Empty Linkareaof the3rdchannel X 64points Y 16points X and Y link areas of local channels indicate the link a...

Page 14: ...there is the following restriction as a transfer 1 Used for its own channel without respect to link I__Number of exclusively used I O points of KJ71P3 condition I I J I Maximum link input points 512 1 Maximum link output points 512 Even if the number of maximum link points 512 512 1024 is used for both the input and output the expression of 10241 2048 32 numberof used 1 0points should be satisfied...

Page 15: ...MEMO 14 ...

Page 16: ... 10 List of Equipment 16 System Configuration 16 K3NCPUP2 Hardware 17 KJ71P3 and KJ72P5 Hardware 19 KOJlP Hardware 21 Setting Procedureof intermittent Control Time 23 Intermittent Control Time 24 Optical Link Interface 25 Link Data Flow in Optical Link Loop 26 Concept of Channel Numbers in Optical Link Loop 27 El 15 r _ ...

Page 17: ...f2km distance between 32 inputs outputs Maximum of channels exclusively used 32 channels Optical fiber cable sing1e core loop wiring AI h E n I Machine number 1 Machine number 4 N a d h i n e 2 number 32 Remote I O unit Local programmable Remote I O controller Fig 3 1 System Configuration Example 0 Load KJ72P5 into the CPU position of basic base unit K18BE K18BN K15BN K12BN The KOJIP can also be u...

Page 18: ... control time 3 4 Be sure to keep switches 4 5 and 6 a t OFF position Switches 4 5 and 6 are used for factory setting test Therefore if they are moved to ON position normal operation cannot be performed Keep at OFF position Not used 6 OFF to fix intermittent See Section 3 6 page 23 1 7 1 control time I When a slave channel is disconnectedfrom the link system due to function automatically reconnect...

Page 19: ...les from SD for sending to RD for receiving and from RD for receiving RD for receiving to SD for sending SD for sending RD for receiving Modesetting digital switch Be sure to set the upper 2 digital switches to 00 Factory set to 00 Online Should always be 0 normally Offline Set when slave channel is put to master test Cannot be set Unused Mode setting digital switch 1 OFF LINE Caution Setting the ...

Page 20: ...n Switches 4 5 and 6 are used for factory setting test Therefore if they are moved to ON position normal operation cannot be performed Keep at OFF position Not used OFF to fix intermittent 1 7 1 control time See Section 3 6 page23 When a slave channel is disconnectedfrom the link system due to error or offline mode selection the automatic reconnection function automatically reconnects the slave ch...

Page 21: ...e for the control of mode switch during operation Overrun Error Aborted or Invalid Frame Error Data receivingdelay error Data are all I Turns on when error I S Reset switch KJ72P5 When the operation of system is resumed after error has occurred and remedied not for the start or auto m atic reconnection of optical data link system press the RESET switch to start the operation of system See Table 3 ...

Page 22: ...hannel number 32 Set to 00 for Mode and channel number setting rotary switch Example I I independent programmablecontroller I fJJ Q v a r 9 9 s 4 o s 9 I I I 3 5 KOJIP Hardware 0 ON 0 2 M TST 3 s TST Before use remove the front cover and set the internal slide switches according to the purpose of use I I I r Setting t I 0 e 1 2 3 4 9 I I I I Number L 4 I e I I L r r r r r r r r r r r r r r r r r R...

Page 23: ...ms or longer this LED is lit during over time See Section 5 3 1 page62 Connector for connecting an optical fiber cable When connectingthe cable remove the connector cover positively insert the connector of optical fiber cable turn it clockwise and securely connect it Be careful not to touch the core a t the center of optical connector or not to apply dust to the core RD for receiving RD for SD for...

Page 24: ...l link unit of remote channel to the optical link unit in the l 3NCPUP2 After X Y data are transferred between the optical link unit of remote channel and the optical linQ unit in the K3NCPUP2 Y data are output to the output card in its own channel remotechannel After Y data are output to the output card input data are input from the input card to the optical link unit remote channel After the trb...

Page 25: ...ed by checking which coil of MI to M8 is on by moni toring of PU or GPP For instance when M5 is on the intermittent control time required is 25 ms Therefore set SW3 to the ON position After the setting the programshown in Fig 3 3 is not required Therefore it is recommended to delete it After the setting of intermittent control time however if error information is transferred from the remote channe...

Page 26: ...ternal processing circuit Fig 3 5 Online Data Communication O U T SWA T I Data sending online 1 During data sending in the online mode SWA is closed and SWB is open as shown in Fig 3 6 Send data transferred from the internal processing circuit are sent from the driver D to the next channel via SWA Internal processing circuit 1 Fig 3 6 Online Data Communication m OUT SWA In the offline mode SWA is ...

Page 27: ...master programmable controller M transfers link data to the local pro grammable controllers L1 L2 L3 in due order 1 Link data is transferred from M to L1 2 Link data is transferred from L1 to M 1 3 Link data is transferred from M to L2 4 Link data is transferred from L2 to M 5 Link data is transferred from M to L3 0 f r o 6 Link data is transferred from L3 to M As indicated by 1 to 6 data is trans...

Page 28: ...2 channel Number 2 channel A and are not transferred to the master channel because the switch across R and D of Number 2 channel A is open Therefore when the same channel numbers exist within a link loop the master channel receives data from the last channel in relation to the master channel in this example only the data of Number 2 channel A are trans ferred to the master channel Accordingly sinc...

Page 29: ... 28 ...

Page 30: ...Repeatedcontinuous data sending method bbtween master and local sides 42 4 4 7 Application example of data sending between master and local sides 42 4 4 8 Application circuit example 43 ProcessTime 47 4 5 1 Transmission delay time 47 4 5 2 X Y data flow in remote channels 48 4 5 3 X Y data flow in local channel 49 4 5 4 D data flow at the time of data register write 50 4 5 5 D data flow at the tim...

Page 31: ... 55 I O units can be loaded Number of I O points 2048 points number of link points Local channel The number of I O points is calculated by the following expression Number of 1 0points 1 7 1points 32points number of link points t Number of total link points assigned to its own channel r Number of exclusively used points of KJ71P3 K2CPU S3 K2HCPU K2NCPU 512 K3NCPU 2048 Note I Since the KCUIP has a b...

Page 32: ...ing points Format of initial program n The last step number of initial program 1 Block M X Y link range of master p channel Block L X Y link range of slave channel __I I Control program Restrictions on format of initial program 1 Be sure to specify the link I O range with a multiple of 16 points 2 a 0 5eo bF 5fF CO 5go and dF 5gF should be satisfied 3 The l O addresses between M blocks e g between...

Page 33: ...er of Y link points 32 points When the KOJlP i s used for the local channel the link address of locai channel always begins at 100 For Remote Channel K12BN Base for remote K15BN KlBEN KlBE T I CJ K13 l3 t 1 0used for master channel 112 points 00 6F Local channel CPU KJ72P5 Number of X link points 64 points Number of Y link points 64 points When the KJ72P5 is used for the remote channel assign the ...

Page 34: ...I X X X X Y Y Y Y 8F 9F A0 Bo C O D AF BF CF D F Remote ch K12BN nnel 1 k 4C J K13 1 0used for master channel 48 points 00 2F Remote channel CPU KJ72P5 Number of X link points 64 points Number of Y link points 64 points When there are empty slots in the base of master channel it is possible to assign the link 1 0 addresses beginning with the start address 30 in the above example of empty slots How...

Page 35: ...KOJlP X 32 points Y 32 points 24 points actuallv Cautions for initial program of master channel when the link system is a combination of remote 1 0system and local system 0 In regards to the assignment of link on master channel side of initial program the link range is assigned consecutive ly beginning with the address next to the 1 0 address used for the master channel In the above example the nu...

Page 36: ...a register link DOto 95 DA22 data MA18 MA19 I Special Data I Register Number Turned on duringwrite BUSY in data register link Turned on during read BUSY in data register link I Function F140 M channel write signal of M master L local send data I DAB8 IAreafor storingerror channel number of data link system Number 21 to 30 channels I F142 Datasend request for M master L local F144 I Area for storin...

Page 37: ...2 B21 A 8 DA06 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 0 81 to 632 correspond to machine numbers 1 to 32 Only the bit of machine number of which error has been detected turns to I However moving the RUN STOP switch to the STOP position is not regarded as error In the case of reset reset is regarded as error 8 8 I If the power of remote 1 0channel or local channel has turned off or the optical fiber cable ...

Page 38: ...al signal activates MC to allow control program processing b link data However when the RUNYSTOP switch of local channel is moved to STOP position the return signal from oca1 channel is turned off resulting in disconnected state If disconnected operation is pedormed in this state turning on SW1 and SW2 permit control program processing by link data continuously if the content of DA06 is 0 no error...

Page 39: ...from M I I 4 1 Besure to set contacts F121 and F141 SET F121 though they have no meaningin regards I I I I F141 Readcompleted Fig 4 2 Local Side Program to processing Data move to other Processing of read Mote 7 2 3 4 As a matter of course it is required to set data which is desired to be sent at Db to Db c 7 in advance I The maximum number of data registers for data sending is 24 Therefore Kc sho...

Page 40: ... In DA20 set the channel num ber of destination Specify local channel 3 MOV K3 DA20 I In DA21 set the head num ber of data register to which data are sent D10 In DA22 set the number of data registers to which data are sent 11 D10 D20 Master local channel send data write instruction 1 1 8 1 8 8 1 8 1 8 8 8 8 8 1 8 8 8 8 5 1 8 8 8 8 8 8 1 8 8 1 8 8 1 8 8 1 8 8 8 8 1 1 1 8 1 1 1 1 8 8 Q 8 8 8 1 8 8 1...

Page 41: ...regards to processing tp Processing of read data 2 b Data move etc c A is given to send data of register Db to channel arr maximum of 24 points RST F143 F123 request from M Write completed 1 RST F144 Read completed Fig 4 3 Master Side Program Fig 4 4 Local Side Program Note 9 The maximum number of data registers for data sending is 24 Therefore Kc should not be more than 24 Also since the data reg...

Page 42: ... I I In DA20 set the local channel number of data request destina tion Specify local channel 3 In DA21 set the head number of requested data 050 In DA22 set the number of requested data registers 6 D50 to D55 Specified data register read in struction from local channel Since the contents of D50 to D55 of local channel are sent to 050 to D55 it is required to move the contents to other data registe...

Page 43: ...de is made by specifying the range maximum 24 points among 96 points of the data registers DO to 95 See Section 4 4 4 and Section 4 4 5 The master programmable controller has data registers DO to 999 I000points Therefore when the data within the range of D96 to 999 are sent to the local side transfer the data in blocks into the sending range of DO to 95 by using the data block transfer instruction...

Page 44: ...ad write M O XI I L K3 D O 1 Number 2 channel write command M O K2 DO Number 1 channel read command MO IL X I M3 KO D O 1 Number 2 channel read command b Designationof data registerswritten into number 1 channel DIOto D14 c MOV K1 D1 MOV K5 D3 I MOV K1300 D4 D MOV K1010 D5 Designationof contents written into number 1channel D300 to D304 Continued Fig 4 6 Program Example of Continuous Data Communic...

Page 45: ...ad from number 1 channel D20to D24 Contents of data registers read from number 1channel are saved 0310to 0314 Designation of data registerswritten into number 2 channel 030to 034 Designation of contents written into number 2 channel D320to 0324 wed Fig 4 6 Program Example of Continuous Data Communicationwith 2 Channels Continued 44 ...

Page 46: ...ber 2 channel i Contentsof data registers read from number 2 channel are saved 0320to 0324 MOV K I M 0 D7 MOV K1330 0 8 MOV K5 D9 M3 MA19 MA18 SET M7 4 Designationof channel number head register number and the number of registers Sending data preparation Sending data write instruction Continued Fig 4 6 Program Exampleof ContinuousData Communicationwith 2 Channels Continued 45 ...

Page 47: ...tents of D300 to D304 are stored into D10 to D14 by the data block transfer instruction OUT F158 The contents of D10 to D15 are sent to channel number I 4 When DO is I M4 turns on This gives request to send the contents of D20 to D24 to channel number 1 The received contents of D20 to D25 are stored into D310 to D314 by the data block transfer instruction OUT F158 5 When DO is 2 M5 turns on The co...

Page 48: ... time in each sending and receiving is as shown in Table 4 1 3 cycles of K3NCPUP2 1 cycle of KCPU 2 cycles of K3NCPUP2 2 cycles of KCPU 3 cycles of K3NCPUP2 2 cycles of KCPU I Table 4 1 Maximum Transmission Delay Time 1 2 1 cycle in Table 4 1 means 1 scan time from step 0 to step 0 of the next cycle Transmission process time means the time required until the sending and receiving of X Y data to an...

Page 49: ...he operation of 0 step to OUT FlOO again Therefore the process time is longer by the data communication time with the optical data link card approximately 5 ms when X Y points are 2048 2 Transmission delay time The output of K3NCPUP2 is sent to the remote channels after the next OUT FIOO If this output changes in the vicinity of step number 0 the sending delay time to channel number 32 is 1 cycle ...

Page 50: ...ata communication time with the optical data link card approximately 5 ms wt ien X Y points are 2048 The operation of 0 stepto END is also repeated in the local channel After this END instruction the K2CPU S3 executes data communication with the KJ71P3 The required data com munication time is approximately 3 5 ms when X Y points are 64 Therefore the process time is longer by 3 5 ms 2 Transmission ...

Page 51: ...unieati0 k 024 1lms X Y data communieation I I T i Compleiion t signal Fig 4 9 D Data Flow at the Time of Data Register Write D data flows as shown by the thick line in Fig 4 9 L 1 Process time is longer by approximately 1 ms in the master channel when the data registers are the maximum simultaneous 24 points DA22 24 In the local channel the process time is longer by approximately 11 ms The transm...

Page 52: ...s time is longer by approximately 1 ms in the master channel when the data registers are the maximum simultaneous 24 points D A D 24 In the local channel the process time is longer by approximately 11 ms The transmission delay time in response to the read request from the master channel to the local channel is 3 cycles of K3NCPUP2 2 cyclesof K2CPU S3 The time required 2 cycles of K2CPU S3 and F144...

Page 53: ...2 Application TYPe KA62 KA63 No Insulation amplifier unit High speedcounter unit Analog timer unit InteIIigent communication unit PID unit Computer link unit Data link unit for coaxial cable for master channel Data link unit for coaxial cable for local channel Yes I A D D A converter unit I KA62ArKA63A I I KA64 Yes KD61 Yes KT61 No KD51E No KD81 Yes No KJ71L2 No KJ71L3 No KJ71L7 KJ71L4 Optical dat...

Page 54: ...the initial program at the he adof sequence program of K3NCPUP2 from step number 0 Remote I O unit machine number 1 K3NCPUP2 master programmablecontroller I I LL 0 0 LL cv 0 c 0 N X LL M 0 c 0 P LL e 0 J 0 d u m 0 Y L co 0 0 co Y Optical fiber cable Fig 4 11 System Configuration Example 1 The output numbers inside lare the allotted numbers in relation to the master pro grammable controller 2 KJ72P...

Page 55: ...s correspond to Y80 to Y8F in the master programmable controIIer For reading the channel select signal of KA62A and the digital value which has been converted from analog signal after the selection of channel the special timing pulses F190 and FI91 are used 2 The special timing pulses F190 and F191 turn on during only 1 scan per 4 cycles of operation as shown in Fig 4 14 The pulse F191 turns on 3 ...

Page 56: ...shown in Fig 4 15 SET Y81 M2 F191 I H d t L l 3 x q X 4 RSTY81 4 JI F190 b Channel 1 selpct signal is turned on Content of channel 1 select signal is stored into D1 Channel 1 I f select signal is turned off I I RST Y83 Channel 3 select signal is turned off M3 is turned on when D10 5 Fig 4 15 Program Example for ContinuousReadingof Channels 0 to 3 of A D Converter Unit 55 ...

Page 57: ... output command I PLS M O SET M I D Output command is converted into pulse IOutput condition M1 of channel 0 is set MO MI F190 Digital values of DO are output to Y90 to 9B converted into analog signals and output H t Channel 1 outpat c W t PLS M2 1 Output command is converted into pulse 4 M2 I Output condition M3 of channel 1 is set M3 F191 Digital values of D1 are output to Y90 to 9B converted ir...

Page 58: ...onfiguration example shown in Fig 4 11 Correspond to XAO to XBF and the output signals correspond to YAO to YBF in the master programmable controller For presetting changingtemporary value setting set value and readingcounter value of KD61 the special timing pulses F190 and F191 are utilized and the program used for this purpose is as shown in Fig 4 17 PLS MO SET M1 4b 4 Contents of DO BCD 4 digit...

Page 59: ...MEMO ...

Page 60: ...ailure of programmable controller power in optical data link system 71 5 3 4 Master test and slave test 72 5 3 5 Errors of KJ71P3 and KJ72P5 74 5 3 6 Errors of KOJlP 75 Corrective Actions for Master Programmable Controller K3NCPUP2 during Transmission Designation Errors 76 Errors during Optical Data Link of Master Programmable Controller K3NCPUP2 81 External Failure Numbers 81 Errors of K3NCPU P2 ...

Page 61: ...A23 on CPU run K3NCPUP2 I I RUN STOP switch is at STOP position MA23 off CPUstop Do not forget initial programfor link system M250 of local channel off initiaI communication completion MA20 of local channel off initiaI communication completion RUN indicator is lit MA23 of master channel on CPU run M251 of local channel off during link MA21 of local channel off during link 1 Perform the steps indic...

Page 62: ...ster programmable controller is controlled the system functions as shown in Table 5 1 I RUN STOP 1 Sequence processing is stopped M251 and MA21 are turned on when link is interrupted Outputs of all points are turned off I I RdN I Operation is restarted I Operation is restarted I Operation is restarted When the automatic reconnectionhas not been set operation cannot be restarted Table 5 1 RUN STOP ...

Page 63: ...ter com munication YES 4 NO I A All slave channels result in Page 66 o Improper connection of optical Link is restored by automatic reconnection of master and 0 Breakage of optical fiber cable communication slave channels are 0 Hardware error of optical link unit fiber cable POWER LEDs No in master and slave channels Page 63 m 0 Replacement of power supply unit Take corrective action for error 0 C...

Page 64: ...eck the position of optical link mode select switch Check the positionof channel number select switch including the over lapping of number with another slave channel Check the position of function select switch Note 2 YES On F Error of sequence program or unit hardware of slave channel Note 3 Page 65 NO Error Note 2 Note 3 Refer to switch setting in Section3 3to3 5 When there is an instruction whi...

Page 65: ... Change the unit or optical fiber cable at error location 0 Change the sequence program so that the scan time of master chan nel is 250 ms or less Since the scan time of master chan ne1 has exceeded the time of watch dog timer the time check mechanism of slave channel is activated resulting in communication error i Correctthe sequence program so that the scan time of master channel is 250 ms or le...

Page 66: ...e 5 For reading method of error code see the instruction manual for perr pheral equipment For the error code and corrective action see the instruction manual and programming manual for corresponding unit 0 Error which has error code may occur due to instantaneous power faulure or voltage drop of programmablecontroller power 0 When the mode setting or channel number setting of master channel link u...

Page 67: ...al 0 Checking of output unit or output signal 0 Troubleshooting for I O action failure in normal programmable controller such as checking of optical link unit and CPU unit Note 6 For the initial program and l O number assignment see instruction manual andprogramming manual of master channel unit For devices of local link special care is required because X and Y are reversed between the master chan...

Page 68: ...op allows judgement where the error exists in the loop Carefully look a t the LED RD KOJIP or RS CS unit except KOJ1P in due order beginning with that of the master channel this method is valid only when the automatic recon nection function is selected If there is a channel of which LED is lit instantaneously channels upstream of that channel are normal When the LEDs of channels are always off the...

Page 69: ...gat the LED display TIME of each channel in the loop allows judgement where the error exists in the loop Carefully look at the LED TIME in due order beginning with that of the master channel this method is valid only when the automatic reconnection function is selected When the LED of channel is off channels upstream of that channel are normal If there is a channel of which LED is on the error is ...

Page 70: ...of channel is always off channels upstream of that channel are normal if there is a channel of which LED has been lit instantaneously the error is due to one of the following factors Between Number 2 and 3 channels in Fig 5 3 1 The optical fiber cable is connected improperly Between Number 2 and 3 channels in Fig 5 3 2 Failure of optical transmitter located upstream by 1 channel Number 2 channel i...

Page 71: ...arefully looking at the LED display ABORT of each channel in the off channels upstream of that channel are normal If there is a channel of which ABORT has L f loop allows judgement where the error exists iti the loop Carefully look at the LED ABORT in due order beginning with that of the master channel When ABORT of a channel is always been lit instantaneously the error is due to one of the follow...

Page 72: ...d I I I I 5 3 3 Instantaneous power failure of programmablecontroller power in optical link system When the power of programmable controller has become unstable in the optical link system due to instantaneous power failure etc link communication troubles indicated in the following table may occur Therefore connect the power of programmable controller to a high quality power supply Also if instanta...

Page 73: ...am is started Used to judge whether or not the optical fiber cables between channels are normal after making sure that the sending and receiving function of its own channel are normal by master test I By connecting the optical fiber cables as shown in Fig 5 6 set the mating channel to offline mode and operating the RESET switch the built in test program is started Normal 8 LEDs a t right row on th...

Page 74: ...he front flicker ERROR LED fIickers Slave channel Master channel 1 I k I I Link unit 0 Software intervention I Mode 3 Mode 2 LED of corres ponding error is lit Check the content of error by moni toring D126 I Fig 5 7 Slave Test Cautions for master and slave tests 1 Before making the tests move the RUN switch of programmable controller to the STOP po sition 2 When the KJ71P3 is used perform reset o...

Page 75: ...Detect Carrier detect CRC Error Code check error ABORT Aborted or Invalid INVAL I Frame Error DATA Data are all 1 Data Error Receive data error Turns on when error 1 is detected I TIME I TimeOver I Time over error I UNDER tEFj Not used Off CAR R 1 Time check error of communication interval from master channel AutomaticaIIy turned off when normal state is restored The display of this time over erro...

Page 76: ...f when initial data is received M251 Turned off when link communication is normal Turned on when link communication is interrupted M253 Turned on when link system error is detected When M253 turns on the error LED on the front panel is lit and at the same time the content of error is stored in D126 as shown below However the contents of M253 and D126 are rewritten to new contents at each com munic...

Page 77: ...al 2 The channel number setting digital link data link switch does not indicate 00 Initial program error The initial program of data link has error 1 The jump destination of CJ instruc tion is not a step next to the initial program 2 Step 0 does not have a dummy temporary memory M The reverse number and empty slot memories However they cannot be can be used only for the temporary memory M Correcti...

Page 78: ...int range designation is not 0 and its end is not F Head is not O End is not F 5 The input point range and output point range of 1 channel are not serial X500 XlOO XllF Not serial H H H H H H 1 Y53F Y12F 6 NOP is provided in the initial program 0 LDI MOO0 1 CJ 2 K 10 3 LD X300 4 AND X34F 5 NOP NOP is 6 AND XlOO Provided 7 AND X14F 9 OUT F l O l Provided 8 ORB NOP is 10 LD X O O O 11 OUT YO50 Initi...

Page 79: ...aded reduce the units to 3 or less However 2 units of the same type name cannot be loaded OWhen KD71N is loaded unload it from the base unit and check if SW2 I for function setting is at ON position 4 Load KD71N into the base unit B circuit board SW2 select switch I Leadwire Battery I I ON ON position I Positioningfunction OFF position I Data transfer function sw2 5 Turn on the power of program 6 ...

Page 80: ...n L2ROM is not used it is required to change the ROM for OS to L2ROM 5 Load KJ71L2 into the base unit 6 Turn on the power of program 7 Move the RUN key switch to STOP position mable controller mable controller RUN position 1 Move the RUN key switch to 2 Turn off the power of program 3 Unload KJ71L3 from the base unit 4 Check the following points OCheck the setting of channel number of KJ71L3 OChec...

Page 81: ... not L7ROM CorrectiveAction 1 Move the RUN key switch to STO P position 2 Turn off the power of program mable controlIer 3 Unload KJ71L7 from the base unit OCheck the setting of DIP switch of KJ71L7 OCheck if the ROM for OS inside KJ71L7 is L7ROM When L7ROM is not used it is required to change the ROM for OS to L7ROM 4 Load KJ71L7 into the base unit 5 Turn on the power of program Move the RUN key ...

Page 82: ... of re Failure of hardware ceived data Sending failure of sent data For example kept at high level Failure of hardware CorrectiveAction 1 Preventionof power off etc 2 Prevention of vibration and sho 3 Change defective unit and cable ck to units cables etc Change defective unit and cable Change unit Table 5 3 Error List during Optical Data Link The failure of unit includes that of light amount adju...

Page 83: ...sion cable is connected to CON13 of basic base resulting in the setting of 2nd extension sequence o q 7 B K 3 7 6 E 8 1 Extension base 1stentension 2nd extension sequence sequence z O points number of points of K37B 384points number of points of 2nd extension sequence CorrectiveAction 1 Move the RUN key switch to 2 Perform reset by the RESET key 3 Write OUT FlOO at the end of 4 Move the RUN key sw...

Page 84: ...key switch to STOP position 2 Monitor DA05 by K7PUE K8GPPE etc to check the error step number The error step number indicates the head step of instruction which has resulted in error 201 2 0 0 t r r r t t BCD DO K4Y30 In the above figure the error step is the head step 201 of BCD instruction 3 Read and correct the programwith error step number When S source is data register D correct the program w...

Page 85: ...al refresh are different L Devices a t the head and end are different 4 The specified devices of partial refresh are not X and Y pZF LDevices and Not X or Y 5 The end of partial refresh is speci fied smaller than the head I O number is smaller than that of head 6 The head and end of partial refresh are not LD and AND Head and end are not LD and AND CorrectiveAction 1 Move the RUN key switch to 2 P...

Page 86: ...as occurred the error number is disdaved 1 Move the RUN key switch to STOP position 2 Turn off the power of program mable controller 3 Unload K3NCPU P2 from the base unit 4 Check the loading state of KGBAT and the inserting state of lead wire connectors 5 Perform the following actions OKGBAT is not loaded Load KGBAT and positively insert the connectors of lead wires to the pin connectors of printe...

Page 87: ...front of OUT F170 or OUT F200 to 215 is not only 1 contact T h i s is not 1 contact CorrectiveAction 1 Move the RUN key switch to STO P position 2 Perfo m reset by the RESET key switch 3 Retrieve OUT F170 and OUT F200 to 215 and correct OThere are OUT F170 and OUT F200 to 215 above OUT F100 Provide OUT FlOO above OUT F170 and OUT F200 to 215 OOUT F170 and OUT F200 to 215 are provided two or more t...

Page 88: ... uses 16 points 1 0 numbers change Therefore caution should be ex ercised Slot 0 1 2 3 number exclusively used point X O 10 30 Y50 I O to to to to XF 2F 4FY5F UnloadK161 from slot 2 0 1 2 3 X O 10 30 Y40 to to to to XF 2F 3F Y4F 4 Turn on the power of program 5 Move the RUN key switch t c mable controlIer R UN position 1 Move the RUN key switch t c STOP position 2 lf DAOO is monitored by K7PUE the...

Page 89: ...perates normally without END instruction 2 If there is no END instruction read operation in the ladder mode of K8GPPE etc cannot be performed 1 Move the RUN key switch to 2 Write END instruction at the end STO P position step of program Sequence program ml OUTFl00 1 I Subroutine program IInterrupt program1 Program 3 Move the RUN key switch to RUN position 4 Turn off the error number by the error n...

Page 90: ...6 POWER SUPPLY CAPACITY 6 BQWER SUPPLY CAPACITY 89 90 ...

Page 91: ...PN 5V 15A 24V Null Power supply unit K61 PA I 24 5V4A V Null I 5V 3 85A 5V 3 5A 5V 1 85A IPower supply unit I K2HCPU with peripheral equipment without peripheral equipment 5V 2 05A K62 PA l 4 KJ71 P3 L 24V 2A I 5V 1 25A I Remote KJ72 P5 5V 1 4A I 5V 1 7A I K2NCPU 1 Power supply unit t I with peripheral equipment I Local I without peripheral equipment I 5V 1 85A 5V 1 5A Computer link KJ71 L7 Remote...

Page 92: ...Fiber Cable 94 How to specify optical fiber cable only 94 How to specify optical fiber cable with connector 94 Cautions for HandlingOptical Fiber Cable 9 5 Standards for Optical Fiber Cable Application 96 7 6 Cabling Plan 98 7 7 Cabling 98 Laying optical fiber cables without connector 98 Laying optical fiber cables with connector 98 Installation of connectors 98 7 3 1 7 3 2 7 4 7 5 7 7 1 7 7 2 7 7...

Page 93: ...Be careful not to touch the connecting parts of optical fiber cables and connectorswith bare fingers The optical fiber cables shall be installed starting from the transmitting connector of the master PC and proceeding to the receivingconnector through slave PCs as shown in Fig 7 2 In this case slave PCs may not always be in the order of small to large numberssuch as 1 2 3 Be careful not to connect...

Page 94: ...y 3 mm Approximately 11 mm 110 mm 1 Allowable bending radius I 20 mm 30 mm I Allowable tensile force I 30 kg 50 kg Approximately 25 g m 60 kg Approximately 100 g m Weight I Approximately 10 g m I 1 core 1 core I Transmission loss I 3 5 dB km or less A 0 85pm I Transmission band I 200 MHz km or less A 0 85pm band LD I Core I Quartz glass diameter 50 3pm CIad I Quartz glass diameter 125 f 3pm Core e...

Page 95: ...5 Length Specifies the length of optical fiber cable in units of meters 0 5 to 100 m IOOM 100m Exampleof specification 50 m of reinforced single coreoptical cable only OF 01OD BEO 50M c I I 7 3 2 How to specify optical fiber cable with connector YNumber Length of connectors installed I Connector type 1 Connector type 94756 Indicates D4M type connector 2 Number of connectors installed 1 2 Indicates...

Page 96: ...h ways otherwise they may be damaged 1 Do not bend a cable sharply and strongly Refer to Table 7 1 2 Do not compress a cable with a sharp rigid article 3 Do not twist a cable strongly 4 Do not pull a cable by holding the optical connector or cable 5 Do not pull a cable very strongly 6 7 Do not place an article on a cable 7 5 Standardsfor Optical Fiber Cable Application Refer to Table 7 1 1 Cable c...

Page 97: ...and Fig 7 4 Numbei 3 Site Conditions Distances and installation sites of terminals arecertain Distances and installation sites of terminals are uncertain Distances and installation sites of terminals are uncertain be cause the shop is new or for other reasons Cabling Process Prepare optional fiber cables with connectors on both ends and perform only cabling at the site Optical fiber cable with con...

Page 98: ...te site I Determination of optical fiber cable l specifications Meetingon cablingwork On siteinspection Preparation of cables I Preparation of cables with con nector on one end Laying cables V A Laying cables with connectors on both end r Installation of connector on 2 other end v 1 I Cable breakage inspection i I Installation of connec I I tors on both ends t 1 Cable breakage inspection L End d F...

Page 99: ...tensile force Do not bend or twist cables a t the roots of the optical connectors Optical fiber cables shall be laid separately from other electrical cables If they have to be placed in the same rack they shall be laid last If both are laid in the same duct optical fiber cables must not be given a big tensile force Be sure to provide a pull box if a duct has more than one bend Other conditions are...

Page 100: ......

Reviews: