Home

IO-Link Master Module ME1IOL6-L

image

Contents

1. NOTE The Use prohibited signals cannot be used by the user since they are for system use only If these signals are turned ON OFF by the sequence program the performance of the IO Link mas ter module cannot be guaranteed 4 18 ata MITSUBISHI ELECTRIC I O Signals for the Programmable Controller CPU Detailed Description of the Module 4 4 2 Details of Input Signals Device No Signal Name Description Xn0 Module ready e When the programmable controller CPU is powered on or reset this signal turns on once the module has finished internal initialization e When a watchdog timer error occurs Module ready X0 turns OFF digital input mode The digital input value of the corresponding channel is reflected e The signal is ON when the channel s input is logical high e The signal is OFF when the channel s input is logical low These signal values are only valid if the external 24V supply voltage is in the specified input range CHO data mask result IO Link mode This signal represents the result of the input process data combined with the input data mask defined by the user refer to section 4 3 3 External power supply READY The state of the external power supply 24 V DC is shown by signal Xn7 e The signal turns ON 50 ms after the external power supply is turned on e The signal turns OFF immediately after a loss of the external power supply is detected The
2. to to 2B3H 691 Acyclic communication request Command Index Sub index Data size Data 128 words Section 4 5 14 2B4H 692 to to 2BFH 703 System area 2COH 704 2C1H 705 22H 706 2C3H 707 2 4H 708 to to 343H 835 Acyclic communication request Command Index Sub index Data size Data 128 words Section 4 5 14 344H 836 to to 34Fu 847 System area 350H 848 351H 849 352H 850 353H 851 354H 852 to to 3D3H 979 Acyclic communication request Command Index Sub index Data size Data 128 words Section 4 5 14 3D4H 980 to to 3DFH 991 System area 3E0H 992 3E1H 993 3E2H 994 3E3H 995 3E4H 996 to to 463H 1123 Acyclic communication request Command Index Sub index Data size Data 128 words Section 4 5 14 464H 1124 to to 46FH 1135 Tab 4 24 Buffer memory assignment of the ME1IOL6 L 4 9 System area Indicates whether reading from and writing to a sequence program are enabled R Read enabled W Write enabled MELSEC L series IO Link Master Module ME1IOL6 L Detailed Description of the Module Buffer Memory Address Hexa decimal Decimal Description Default
3. When X30 Error reset signal is switched ON while the module error flag is ON the error reset flag for a mod ule error is set When there is no module error indicated the error reset flag is reset Without a module error the user message on the display unit is cleared Tab ON 5 Description of the program shown above MELSEC L series IO Link Master Module ME1IOL6 L 6 5 Programming Example 1 Input of Process Data Processing for a channel error X4F U4G280 0 U4 126 j F MOV G283 D120 Processing at error detection N 2 X30 U4 t SET G281 0 U4 G280 0 U4 G281 0 uU4 153 RST G281 0 0 X4F SM412 162 X7 O Fig 6 8 Sequence program for error handling Number Description When the error detection flag for CH1 is ON Un G280 0 the diagnostic information for CH1 is moved to the register D120 Processing at error detection for CH1 When X30 Error reset signal is switched ON while the CH1 error flag is ON the error reset flag for CH1 is set When there is no error indicated for CH1 the error reset flag is reset An module error or an error at channel 1 is indicated by a flashing lamp SM412 is a 1 second clock signal Tab 6 6 Description of the program shown above 6 6 4 MITSUBISHI ELECTRIC Example 2 Output of Process Data Programming 6 3 System configuration Example 2 Output of Process Data In this e
4. Writing of data using acyclic communication X32 40 JA U4 G1281 0 85 KO x40 M10 ua 4 To m F MOV D150 G416 ua MOV D151 G417 U4 MOV D152 G418 U4 F MOV D153 G419 G u4 BMOV D1200 G420 K128 O U4 SET G1280 0 O ua Lai ua ua U4 ua f G416 G12 G417 G12977 df G418 G1298 kO U4 La J HO 61299 RST G12800 Q Fig 6 11 Number Program sequence for acyclic communication reading of data from the IO Link device Description Command When the module is ready and the initialization of CH1 has been completed without an error the header information for the communication request is moved to the buffer Data size The data intended for the IO Link device is transferred to the buffer memory The acyclic communication request flag for CH1 is set Tab 6 12 The acyclic communication request flag for CH1 is reset when e the acyclic communication response flag for CH1 is set Un G1281 0 e the acyclic communication answer area contains the same command index and subindex as the request e the operation was successful contents of Un G1299 Result 0000n Description of the program shown above a MITSUBISHI ELECTRIC Troubleshooting using the LEDs of the Module Troubleshooting 7 Troubleshooting The following section explains the types of errors that may occur when the IO Link master module ME1IOL6 L is used and how to troubleshoot such er
5. Switches 1 and 2 fel o o o n o Fixed to OH Switch 3 o o o fo H HOLD CLEAR function setting bi5 b6 b5 b4 b3 b2 br bo o o o o o o o o GH6 CH5 CH4 CH3 CH2 CH CH1 to CH6 0 CLEAR default Fixed to OH Switches 2 and 5 o o o 0 1 Fixed to OH Fig 6 3 Setting of the switches 1 to 5 for this example On the Parameter setting screen of GX Works2 select the I O assignment tab click Switch setting and make settings of the switches 1 to 5 as on the screen shown below for details about the setting refer to section 5 5 2 Switch Setting for I O and Intelligent Function Module input Format FEGI Type ModelName switchi Switch2 switch3 switcha switchs a ff _ Buit in 1 0 Function aaa CA Sss 2 Built in CC Link o M 3 input S e 4 inteligent menors 0000 oooo oooo Goo 0000 Fig 6 4 Switch setting for this example MELSEC L series IO Link Master Module ME1IOL6 L 6 3 Programming Example 1 Input of Process Data 6 2 2 Program For full documentation of all the instructions used with examples please refer to the Programming Manual for the MELSEC System Q and the MELSEC L series List of used devices Device Function Error reset signal Remark LX40C6 X30 to X3F Module ready External power 24 V DC ready Error ME1IOL6 L
6. Fig 4 11 Assignment of the channel mode change complete flags CHL Channel Mode Change Result Un G242 Un G243 The result of the mode change is stored separately for each channel Un G242 to Un G247 b15 b14 b13 b12 bit b10 b9 b8 b7 b6 b5 b4 b3 b2 bi bO CH1 UNG242 Change result CH2 Un G243 CH3 Un G244 CH4 Un G245 CH5 Un G246 CH6 Un G247 Fig 4 12 Assignment of bits for the channel mode settings Valid values for the CHL Channel mode change result are shown in the following table Change result Meaning Description 00001 Success 0001H State Conflict Mode setting is not supported 0002H Wrong Cycle Time The setting for the cycle time is invalid E9FFH Time out Tab 4 32 Mode change results 4 MITSUBISHI ELECTRIC Buffer Memory Detailed Description of the Module 4 5 7 CHO Current Mode Un G272 Un G273 The actual mode of each channel is shown in the buffer memory address for CHLI current mode Un G272 to Un G277 The format is the same as for Mode setting refer to section 4 5 6 b15 b14 b13 b12 bit b10 b9 b4 b3 b2 bi bO CH1 Un G272 0 1 Oto 7 Time base Multiplier 0 to 63 CH2 Un G273 CH3 Un G274 CH4 Un G275 CH5 Un G276 Information of b12 CH6 Un G277 to b15 is fixed to 0 Mode Cycle Time Data Align Fig 4 13 Assignment of the bits for the current channel mode 4 5 8 Data Storage
7. aaa 7 2 7 2 Errors related to Process Data aaa aan cece tence nee e kaaa een ann 7 3 7 3 Errors related to Acyclic Communication aaa aaa eenes 7 4 7 4 Checking the IO Link Master Module Status seen cence eee eere 7 5 MELSEC L series IO Link Master Module ME1IOL6 L VII Contents VIII 4 MITSUBISHI ELECTRIC 1O Link System Overview Overview 1 11 1 1 1 Overview This User s Manual describes the specifications handling and programming methods for the IO Link Master Module ME1IOL6 L hereinafter referred to as the ME1IOL6 L which is used with the program mable controllers of the MELSEC L series Before using the ME1IOL6 L please read this manual and the relevant manuals carefully and develop familiarity with the functions and performance of the MELSEC L series programmable controller to handle the product correctly 10 Link System Overview The ME1IOL6 L is a master module for IO Link Up to six IO Link devices slaves or conventional I O devices can be connected to a single ME1IOL6 L An IO Link system consists of IO Link devices often sensors actuators or combinations thereof a standard 3 wire sensor actuator cable and an IO Link master Only one IO Link device can be connected to each port of the master Thus IO Link is point to point communication and not a fieldbus Data exchange in an IO Link System Two types of data may basically be exchanged Cyclic
8. Byte Input area number Bata 7 Input data neg L Data 1 Data 1 Data 1 Data 1 men Data 2 Je L L H H area Data 2 Data 2 Data 2 Data 2 AA Data 1 H L L H L 5 m Data 1 w a LE m o o e Byte 3 Bie Output area A Data 4 O n 3 7 2 Output data L Data 3 Data 3 Data 4 Output H L H data p l Data3 area Data 4 Data 4 Data 3 H L L a Data 3 H IO Link H High byte data L Low byte exchange Fig 4 4 In this figure the data swapping is activated Swapping of data can be enabled or disabled for each channel of the ME1IOL6 L The function is con trolled by the data align flag in the mode setting register buffer memory addresses Un G248 to Un G253 refer to section 4 5 6 By default Data align 0 Data swapping active the contents of the high and low byte is swapped This operation is shown in the above figure If Data align is set to 1 the swapping is disabled and the byte order of the data bytes in buffer memory will be the same as coming from the device MELSEC L series lO Link Master Module ME1IOL6 L 4 9 Detailed Description of the Module Functions of the IO Link Master Module 4 3 6 NOTE 4 10 Exchange of Consistent Data To exchange more than two bytes of process data in a consistent way or to have a synchronization between reading input data and writing output data it is necessary to use the consistency handshake signals provided by the M
9. CH6 Un G370 Fig 4 26 Buffer memory addresses for the event code NOTE Please refer to the IO Link specification for a detailed explanation of the event attributes CHL Event Auto Confirmation Setting Un G320 Un G321 The user can specify event types to be ignored These events will be confirmed automatically The type of events to ignore can be set in the CHL event auto confirmation setting b2 bi bO b4 CH1 Un G320 0 1 0 1 CH2 Un G321 CH3 Un G322 CH4 Un G323 CH5 Un G324 CH6 Un G325 b15 b14 b13 b12 bit b10 b9 b7 Information of b14 to b3 is fixed to 0 Notification Warning Error Enable auto confirmation Fig 4 27 Assignment of the bits for the auto confirmation setting The meaning of the bits b0 to b2 and b8 is as follows Meaning Description Auto confirmation of events of type Error O No auto confirmation Auto confirmation of events of type Warning nan Auto confirmation Auto confirmation of events of type Error O Auto confirmation is disabled for this channel Enable auto confirmation The bits O to 2 have no affect 1 Auto confirmation is enabled for this channel Tab 4 38 Four bits are used for the setting of auto confirmation NOTE The activation of the auto confirmation does only affect events issued AFTER the activation It may be necessary to confirm an already pending event
10. Event ID 0000H CH1 Event Qualifier 0000H Event Code 0000H 7 Description Default Reference Decimal Section 4 5 13 System area Event ID Section Event Qualifier R 4 5 13 Event Code System area Event ID TE Section Event Qualifier R 4 513 Event Code System area Event ID Event Qualifier Event Code Section 4 5 13 System area Event ID Event Qualifier Event Code Section 4 5 13 System area Event ID Event Qualifier Event Code Section 4 5 13 System area Tab 4 23 Buffer memory assignment of the ME1IOL6 L 3 9 Indicates whether reading from and writing to a sequence program are enabled R Read enabled W Write enabled 4 24 4 MITSUBISHI ELECTRIC Buffer Memory Detailed Description of the Module Address Hexa decimal Decimal Description Default Reference TAOH 416 1A1H 417 TA2H 418 1A3H 419 TA4H 420 to to 223H 547 Acyclic communication request Command 0000H Index 0000H Sub index 0000H Data size 0000H Data 128 words 0000H Section 4 5 14 224H 548 to to 22FH 559 System area 230H 560 231H 561 232H 562 233H 563 234H 564
11. MITSUBISHI ELECTRIC Verifying IO Link communication Quick start IO Link 3 2 Verifying IO Link communication The current mode of each channel can be checked in the current mode registers Address Hexa decimal Deda Description soma High Byte Low Byte 1 1 Current mode 1 1 4 Bit 8 1 10 Link mode Tab 4 2 Value of the current mode registers Please note that the low byte values in the above table are depending on the cycle time settings of your current configuration and can differ from the shown status of the bits Active IO Link communication with a connected device is shown in the channel diagnostic registers Address Hexa decimal Description ee High Byte Low Byte 11BH 283 CH1 olo 0 11CH 284 CH2 11DH 285 CH3 Diagnostic 11EH 286 CH4 information 11FH 287 CH5 120H 288 CH6 j Bit 7 1 Device connected Tab 4 3 Value of the channel diagnostic registers NOTE Refer to section 4 5 1 for buffer memory assignment MELSEC L series lO Link Master Module ME1IOL6 L 3 3 Input process data Quick start IO Link 3 3 Input process data The input process data is received from the IO Link Device and written to the buffer memory auto matically Address Hexa decimal 0H 0 Byte 1 Byte 0 1H 1 Byte 3 Byte 2 Input
12. Reference 470H 1136 471H 1137 472H 1138 473H 1139 474H 1140 to to 4F3H 1267 Acyclic communication request Command 0000H Index 0000H Sub index 0000H Data size 0000H Section 4 5 14 Data 128 words 0000H 4F4u 1268 to to 4FFH 1279 System area 500H 1280 501H 1281 Acyclic communication System area Acyclic communication answer System area Acyclic communication answer Request flag Section 4 5 15 Response flag Command Section 4 5 16 Index Sub index Result Section Data size Data 128 words Command 4 5 17 Index Sub index Result Section Data size 4 5 17 Data 128 words System area Acyclic communication answer Command Index Sub index Result Section Data size 4 5 17 Data 128 words System area Tab 4 25 Buffer memory assignment of the METIOL6 L 5 9 Indicates whether reading from and writing to a sequence program are enabled R Read enabled W Write enabled ata MITSUBISHI ELECTRIC Buffer Memory Detailed Description of the Module Address Hexa decimal Decimal Description Default Reference
13. sponds to the contents of Un G283 D130 to D145 List of used devices Program parts Initial settings CH1 Output process data in IO Link mode The contents of D130 to D145 is transferred to the buffer memory addresses Un G112 to Un G127 The initial settings are the same as performed for example 1 please refer to section 6 2 2 MELSEC L series IO Link Master Module ME1IOL6 L Programming Example 2 Output of Process Data Writing of output process data M10 x40 X47 40 _ 3 To K4 K112 D130 K16 o Y51 Fig 6 9 The output data is stored in the registers D130 to D145 The output process data for CH1 is moved from the PLC CPU to the buffer memory of the ME1IOL6 L when e the changing of the channel mode has been completed without an error M10 e the lO Link master module is ready X40 e and the external power supply 24 V DC is ON X47 The output signal CH1 output data valid is turned ON when the conditions mentioned above are satisfied Every change of the contents of the registers D130 to D145 is reflected by the data sent to the IO Link device Tab 6 8 Description of the program shown above Processing for a module error The processing for an error of the ME1IOL6 L is the same as performed for example 1 please refer to section 6 2 2 Processing for a channel error The processing for an error at channel 1 is the same as performed for e
14. 5 10 Channel Error Flag Un G280 Channel Error Reset Flag Un G281 4 37 4 5 11 Module diagnostic information UN G282 cece eee eee eee eee 4 38 4 5 12 CHL Diagnostic information Un G283 Un G284 0 cece eee eee 4 39 4 5 13 IO Link event information Un G320 to Un G370 0 ccc 4 40 45 14 CHL Acyclic Communication Request Un G416 to Un G1267 4 44 4 5 15 Acyclic Communication Request Flags UNNG1280 sawaan 4 47 4 5 16 Acyclic Communication Response Flags Un G1281 eee eee 4 47 4 517 CHL Acyclic Communication Answer Un G1296 to Un G2148 4 48 4 5 18 Direct Parameter Page 1 DPP1 Read Access cece cece cece eens 4 51 5 Setup and Procedures before Operation 5 1 Handling PrecautionS 00 cee cece cece eee AGANG NG KN GAGANA kaaa tenes 5 1 5 2 Getting started AA sad eayeades pee ERENNERT GEES NNSA 5 1 5 3 Installation Environment and Installation Position aaa 5 2 5 3 1 Safety Precautions vacsktrneve veces KAANAK eu AA aa 5 2 5 4 ALALA AA ders aeons ae ar eee aceon eae iene Hen 5 4 5 4 1 Wiring precautions 4 22 0 nna BKA ester dene swnaser aban a E a 5 4 5 4 2 External WiN kana aaa BALAG tee cabs dee ees AKALA banaue deletes 5 5 VI ata MITSUBISHI ELECTRIC Contents 5 5 PLC Parameter Setting enneint cece cence E nee eee ee eee eee Kanan NG 5 7 5 5 1 OaSSIGNMEN 33 24 o ele AALANGAN hes ae oe Sones Sea 5 7 5 5 2 Intelli
15. 6C0n 1728 6C1H 1729 6C2H 1730 6C3H 1731 6C4H 1732 6C5H 1733 to to 744H 1860 Acyclic communication answer Command 0000H Index 0000H Sub index 0000H Result 0000H Data size 0000H Data 128 words 0000H Section 4 5 17 745H 1861 to to 74Fu 1871 System area 750H 1872 751H 1873 752H 1874 753H 1875 754H 1876 755H 1877 to to 7D4H 2004 Acyclic communication answer Command Index Sub index Result Data size Data 128 words Section 4 5 17 7D5H 2005 to to 7DF 2015 System area 7E0H 2016 7E1H 2017 7E2H 2018 7E3H 2019 7E4H 2020 7E5H 2021 to to 864H 2148 Acyclic communication answer Command Index Sub index Result Data size Data 128 words Section 4 5 17 865H 2149 to to 86DH 2157 System area Tab 4 26 Buffer memory assignment of the ME1IOL6 L 6 9 Indicates whether reading from and writing to a sequence program are enabled R Read enabled W Write enabled MELSEC L series IO Link Master Module ME1IOL6 L Detailed Description of the Module Buffer Memory Address Hexa decimal De
16. FDT DTM system structure FDT stands for Field Device Tool and DTM stands for Device Type Manager FDT DTM is a communication technique for the manufacturer independent configuration of field devices Input and Output Data in IO Link Mode or SIO Mode Each channel of the ME1IOL6 L can configured to run either in IO Link mode or in Standard 0 mode SIO mode as digital input or digital output Mixed operation of IO Link and conventional devices is MELSEC L series IO Link Master Module ME1IOL6 L 4 5 Detailed Description of the Module Functions of the IO Link Master Module possible A channel can also be deactivated In this case the 24 V DC voltage output on the channels L line is switched OFF To change the mode of a channel of the IO Link master module the user has to set the corresponding mode change bit of the channel in the buffer memory address Un G240 The module will try to change the mode and stores the result of the operation in an other buffer memory address For more information about the mode changing please refer to section 4 5 6 10 Link mode Input data In IO Link mode the input process data up to 32 bytes per channel from the connected IO Link device is stored in the buffer memory of the ME1IOL6 L The size and the structure of the data depends on the connected device Therefore the ME1IOL6 L maps the data straight into the input process data area without any interpretation refer to section 4 5 2
17. In case that IO Link communication stops e g due to undervoltage disconnection of an IO Link Device the input process data buffer is set to 0 Output data In IO Link mode output process data up to 32 bytes per channel stored in the buffer memory is output to the connected IO Link device The size and the structure of the data depends on the connected device To send output data to the IO Link device it is necessary to set the corresponding data valid signal Y n 1 1 to Y n 1 6 refer to section 4 4 The behaviour of these output signals in case of a PLC stop when the output data in the buffer memory is no longer refreshed can be defined by the intelligent function module switch no 3 refer to section 5 5 2 SIO mode SIO input mode In SIO input mode the state of the digital input signal of each channel is shown on the input signals Xn1 to Xn6 refer to section 4 4 SIO output mode When a channel is running in SIO output mode the output signal can be driven by the according output signal Yn1 to Yn6 The status of the signal is reflected by the channel s LED The behaviour of these output signals in case of a PLC stop output OFF or hold can be defined by the intelligent function module switch no 3 refer to section 5 5 2 a MITSUBISHI ELECTRIC Functions of the IO Link Master Module Detailed Description of the Module 4 3 3 Masking of Input Data To recognize certain bits in the first two bytes of the input dat
18. Low byte Decimal Output process data in IO Link mode Output process data in IO Link mode Output process data in IO Link mode Output process data in IO Link mode Output process data in IO Link mode Output process data in IO Link mode Tab 3 6 Output process data allocation in buffer memory data swap enabled In case of IO Link process output data the IO Link master needs to send an output data valid to the IO Link device For this purpose it is necessary to set the appropriate signals Signal direction CPU Module 5 ME1IOL6 L Value Device No Output Dic A Y40 Y4F Y50 Y5F Y51 CH1 output data is valid Y52 CH2 output data is valid Y53 CH3 output data is valid Y54 CH4 output data is valid Y55 CH5 output data is valid Y56 CH6 output data is valid Tab 4 7 Value of the output devices NOTE Refer to section 4 5 1 for buffer memory assignment and section 4 4 1 for the list of I O signals MELSEC L series IO Link Master Module ME1IOL6 L 3 5 Output process data Quick start IO Link MELSEC L series IO Link Master Module ME1IOL6 L 3 6 Part Names Detailed Description of the Module 4 Detailed Description of the Module 4 1 Part Names This section explains the names of the components for the ME1IOL6 L OLE L RUN 123456 Lio
19. Setting Un G255 The data storage function section 4 3 10 can be enabled by setting the appropriate bits in the buffer memory address for data storage setting Un G255 In this buffer memory address the user can select whether upload or download of data is enabled or disabled Upload Transfer of parameter data from the IO Link device to the data storage area Download Transfer of parameter data from the data storage area to the IO Link device As default both the upload and the download is disabled for all channels b15 b14 b13 b12 bit b10 b9 b7 b4 b2 bi Fixed to 0 Upload Fixed to 0 Download 0 Disable upload of data 0 Disable download of data 1 Enable upload of data 1 Enable download of data Fig 4 14 Assignment of the bits in buffer memory address Un G255 MELSEC L series IO Link Master Module ME1IOL6 L Detailed Description of the Module Buffer Memory 4 5 9 Current Data Storage Setting Un G279 The current settings of the data storage function section 4 3 10 can be checked in the buffer memory address Un G279 Whether to enable or disable the data storing function for each channel is set in Un G255 please refer to section 4 5 8 b15 b14 b13 b12 b11 b10 b9 b7 b4 b2 bi Fixed to 0 to O Upload Fixedto0 to 0 Download 0 Upload of data is disabled 0 Download of data is disabled 1 Upload of data is enabled 1 Download of data is enabled Fig 4 15 The
20. X40 to X5F CH1 input data invalid Internal relays Warning lamp IO Link error Initialization of CH1 completed without fault L26CPU BT YO to Y7 The mode for CH1 has been changed without fault M11 Error during initialization of CH1 An error has occurred during mode changing for CH1 D100 to D115 CH1 Input process data in IO Link mode The contents of D100 to D115 corresponds to the contents of Un GO to Un G15 Tab 6 2 List of used devices Program parts Initial settings CH1 Diagnostic information The contents of D120 corre sponds to the contents of Un G283 X40 U4 0 t T MOV H100 G248 G U4 MOV H1 G240 10 U4 G241 0 U4 18 t MOV HO G240 1o U4 HO G242 SET M10 1 U4 lt gt HO G242 SET M11 e M11 37 Processing at error occurrence O Fig 6 5 The channel mode setting is performed once when X40 Module ready turns on Number Description CH1 is set to IO Link mode data swapping fastest possible cycle time The channel mode change flag of CH1 is set After the channel mode change complete flag of CH1 is set the channel mode change flag of CH1 is reset When the result of the channel mode change for CH1 is O the initialization has been completed without error In this case M10 is set M11 Error occurrence is set when the result of the channel mode change for CH1 is not O Tab ON 3 Descrip
21. alas Has bi 012 jean Phone 385 0 1 36 940 01 02 03 Phone 40 0 21 430 40 06 ax 27 0 Fax 48 0 12 63047 01 Fax a 36 940 03 ni l Fax 40 gn 14304002 a Ta Russia AutoCont CS s r o ZECH REPUBLIC INEA RBT d o o ERBIA 52 bid 3 Kosmodamiansk haf Technologicka 374 6 Izletnicka 10 nia BOSA Me amianskaya nab 6 Noor CZ 708 00 Ostrava Pustkovec SER 113000 Smederevo gabo a Phone 420 595 691 150 Phone 381 0 26 615 401 AA AE fax ta 595 691 ba Ka 381 026 615 401 m MITSUBISHI ELECTRIC EUROPE B V SPAIN oe DENMARK Prue ai LOVAKIA aan ei DK 4000 Roskilde SK 911 01 Trencin alai saii Cugat del Vall s Barcelona Phone 45 0 46 75 76 66 Phone 421 0 32 743 0472 Phone 902 131121 34 935653131 kanan Se Fax 34 935891579 Ba jjer KABI Eesti OU ESTONIA ane pol sr o Pre ov SLOVAKIA MITSUBISHI ELECTRIC EUROPE B V TAP YA ey faa Daga PAT a Phone 372 0 6 51 81 40 Phone 421 0 51 7580 611 UK Hatfield Herts AL10 8XB Fax 372 0 6 1518149 Fax 421 0 51 7580 650 Phone 44 0 1707 27 61 00 Beijer Electronics OY FINLAND INEA RBT d 0 0 SLOVENIA anne Sein n vila z Jubijana alba gila CORPORATION JAPAN phone 358 0 207 463 540 Phone 386 0 1 513 8116 eee f Fax 358 0 207 463 541 Fax 386 0 1 513 8170 8 12 1 chome Harumi Chuo Ku Tokyo 104 6212 UTECO GREECE Beijer Electronics AB SWEDEN Phone 81 3 622 160 60 5 Mavrogenous Str Box 426 kaanib Pr NAA 3021120 900 Pa RAY OT 35 8600 one one MITSUB
22. area in the buffer memory Item Contents Meaning Description Command 301H Device validation Code for device validation write request OH Validation deactivated Validation of vendor ID and IO Link Device ID compatible Validation of vendor ID IO Link Device ID and serial number identical Sub index Index Validation type Data size Data see table below Device data Tab 4 15 Data required for an acyclic communication request for device validation The following table shows the arrangement of the data in the buffer memory Buffer memory address Meaning 4 16 Hexadecimal Decimal High byte Low byte BFMu 00001 BFM 0 Vendor ID 1 MSB Vendor ID 2 LSB BFMu 0001H BFM 1 Device ID 1 MSB Device ID 2 BFMu 0002H BFM 2 Device ID 3 LSB Serial number 1 BFMu 0003H BFM 3 Serial number 2 Serial number 3 BFMu 00041 BFM 4 Serial number 4 Serial number 5 BFMu 0005H BFM 5 Serial number 6 Serial number 7 BFMu 0006H BFM 6 Serial number 8 Serial number 9 BFMu 00071 BFM 7 Serial number 10 Serial number 11 BFMu 0008H BFM 8 Serial number 12 Serial number 13 BFMu 00091 BFM 9 Serial number 14 Serial number 15 BFMH OOOAH Tab 4 16 Storage of device data in the buffer memory BFM 10 Serial number 16 Re
23. bits in buffer memory address Un G279 show whether upload or download is disabled or enabled Upload Transfer of parameter data from the IO Link device to the data storage Download Transfer of parameter data from data storage to the IO Link device 4 MITSUBISHI ELECTRIC Buffer Memory Detailed Description of the Module 4 5 10 Channel Error Flag Un G280 Channel Error Reset Flag Un G281 When a channel error or a module error occurs the corresponding bit in Un G280 is set In addition the error signal XnF will be switched ON and the LED of the corresponding channel lights up red If the cause of the error disappears the red LED is switched OFF and the green LED indicates the current sta tus of the channel b15 b14 b13 b12 bii b10 b9 b7 b4 b2 b1 Information of b7 to b15 is fixed to 0 0 No error 1 Error Fig 4 16 Assignment of the error flags The error can be confirmed reset by setting the corresponding bit in Un G281 Error reset after the cause for the error was resolved b15 b14 b13 b12 bii b10 b9 b7 b4 b2 bi Information of b7 to b15 is fixed to 0 0 No reset 1 Error reset Fig 4 17 Assignment of the error reset flags When the error flags for all channels and the module are reset the signal XnF will go OFF The reset of the error will also cause the historical channel diagnostic flags to be cleared The timing of the signals is shown in the following figure magan gt P
24. following diagram shows the timing of this signal Performed by the ME1IOL6 L ON Power supply for PLC ON Module ready Xn0 External power supply External power supply READY Xn7 Error flag The error flag turns ON when one of the channel error flags or the module error flag turns ON To turn the error flag XnF OFF remove the cause of the error and confirm the error by setting the related error reset flag in buffer memory Event flag The event flag turns ON when one of the channels announces a new event The signal turns OFF when no un confirmed event is pending CHO input data invalid The channel input data invalid flag turns ON when input data IO Link or SIO mode is not updated any more The channel input data invalid flag turns ON when input data is marked as invalid by the IO Link device IO Link mode CHO consistent data available In case of consistent process data access the module indicates that the process data area in the buffer memory can be accessed It is not updated until the Data consist ency start signal Y n 1 A to Y n 1 F is reset by the user Tab 4 19 Detailed description of the input signals Signal direction ME1IOL6 L CPU Module MELSEC L series IO Link Master Module ME1IOL6 L 4 19 Detailed Description of the Module I O Signals for the Programmable Controller CPU 4 4 3 Details of Output Si
25. is the same as in the request area refer to section 4 5 14 b15 b14 b13 b12 bit b10 b9 b8 b7 b6 b5 b4 b3 b2 bi bO CH1 Un G1297 Index CH2 Un G1441 CH3 Un G1585 CH4 Un G1729 CH5 Un G1873 CH6 Un G2017 Fig 4 35 Buffer memory addresses for the index in the acyclic communication answer a MITSUBISHI ELECTRIC Buffer Memory Detailed Description of the Module NOTE CHL Sub index Un G1298 Un G1442 The index sent in the answer is the same as in the request area refer to section 4 5 14 b15 b14 b13 b12 bit b10 b9 b8 b7 b6 b5 b4 b3 b2 bi bO CH1 Un G1298 Sub index CH2 UNG1442 CH3 Un G1586 CH4 Un G1730 CH5 Un G1874 CH6 Un G2018 Fig 4 36 Buffer memory addresses for the sub index in the acyclic communication answer CHI Result Un G1299 Un G1443 b15 b14 b13 b12 bit b10 b9 b8 b7 b6 b5 b4 b3 b2 bi bO CH1 Un G1299 Result code CH2 Un G1443 CH3 Un G1587 CH4 Un G1731 CH5 Un G1875 CH6 Un G2019 Fig 4 37 Buffer memory addresses for the result of the acyclic communication request The result of the acyclic communication request is stored as hexadecimal code Result hexadecimal Meaning 0000H The operation was successful 1100H The operation was aborted due to time out EOFFH The operation could not be performed channel not in IO Link mode invalid index etc FFFFH The requested command code is not su
26. manually with the event reset flag Un G326 MELSEC L series IO Link Master Module ME1IOL6 L 4 43 Detailed Description of the Module Buffer Memory 4 5 14 NOTE CHL Acyclic Communication Request Un G416 to Un G1267 In addition to the cyclic exchanged process data a acyclic communication between the IO Link mas ter and an O Link device is also possible see section 4 3 7 In the buffer memory 132 addresses are reserved for each channel storing the data required for an acyclic communication request Command 1 word Index 1 word Subindex 1 word Data size 1 word Data 128 words CHL Command Un G416 Un G560 b15 b14 b13 b12 bit b10 b9 b8 b7 b6 b5 b4 b3 b2 bi bO CH1 Un G416 Transfer command code CH2 Un G560 CH3 Un G704 CH4 Un G848 CH5 Un G992 CH6 Un G1136 Fig 4 28 Buffer memory addresses for the acyclic communication request command code The valid command codes are shown in the following table Command Tab 4 39 i Meaning iene hexadecimal Communication request commands 01001 Read request 01011 Write request 01021 Command abort request 0200H Data read request Data storage Data write request Configuration Request Device validation write Other request codes than described above will return an result code of FFFFH in the acyclic com munication answer data refer to section 4 5 17 a MITSUBISHI ELECT
27. open up the project with the ME1IOL6 L After the selection of Parameter in the Project Navigator Window double click on PLC parameter The L parameter setting window will appear Click on the I O Assignment tab L Parameter Setting 3 PLC Name PLC System PLC File PLC RAS Boot File Program SFC Device I O Assignment Built in Ethernet Port Setting Built in 1 0 Function Setting I O Assignment a Slot Type Switch Setting mc lutinioFweon sl pang Detaled setting X Assigning the I O address is not necessary as the CPU does it automatically Leaving this setting blank will not cause an error to occur Fig 5 5 7 O assignment setting screen Set the following for the slot in which the ME1IOL6 L is mounted Type Select Intelligent Model name MET1IOL6 L Entering of the module model name is optional The entry is used for documentation only and has no effect on the function of the module Points Select 32 points Start XY Start I O number for the ME1IOL6 L Assigning of the I O address is not necessary as the address is automatically assigned by the PLC CPU MELSEC L series IO Link Master Module ME1IOL6 L 5 7 Setup and Procedures before Operation PLC Parameter Setting 5 5 2 Intelligent function module switch settings The HOLD CLEAR setting for each channel of the ME1IOL6 L is selected by a switch in the PLC param eters There are no
28. toacommunication failure To prevent this configure an interlock circuit inthe program and determine corrective actions to be taken between the external device and CPU module in case of a communication failure 5 2 a MITSUBISHI ELECTRIC Installation Environment and Installation Position Setup and Procedures before Operation Installation Precautions DANGER Cut off all phases of the power source externally before starting the installation or wiring work WARNING Use the programmable controller in an environment that meets GENERAL SPECIFICATIONS in the manual Safety Guidelines included in the CPU module or head module Failure to do so may result in electric shock fire malfunction or damage to or deterioration of the product To interconnect modules engage the respective connectors and securely lock the module joint levers Incorrect interconnection may cause malfunction failure or drop of the module Donot directly touch any conductive parts and electronic components of the module Doing so can cause malfunction or failure of the module MELSEC L series IO Link Master Module ME1IOL6 L 5 3 Setup and Procedures before Operation Wiring 5 4 5 4 1 Wiring Wiring precautions DANGER Cut off all phases of the power source externally before starting the installation or wiring work Afterinstallation and wiring attach the included terminal cover to the module before turning it on f
29. writing those parameter record sets for each channel The Acyclic Communication Request Data area see section 4 5 14 and the Acyclic Communication Answer Data area see section 4 5 17 Both areas have some header information followed by the parameter data The detailed setup of the data areas is given in the following tables Item Description Setting range Size words 100H to 102H Command The type of access to a parameter read write 200H to 202H 301H Index Defines the parameter to access 0 to 32767 Sub index Defines the offset within the parameter 0 to 231 The size in bytes of the data to be Rata sien transferred Only required in case of a 0 to 254 write request Data The data to be transferred Tab 4 10 Data required for an acyclic communication request Item Description Setting range Size words The type of access to a parame 100H to 102H ter read write 200H to 202H The data sent in the request 0 to 32767 is returned Command Index Defines the parameter to access Sub index Defines the offset within the 0t0231 parameter Result The result of the transaction 0000H to FFFFH Data size The size in bytes of the data that was transferred 0 to 254 Data The data that was transferred in case of a read request Tab 4 11 Data store in the acycliccommunication answer areas Ifan acyclic transaction request has f
30. 1 Handling Precautions Do not drop the module or subject it to heavy impact Do not remove the PCB of the module from its case Doing so may cause the module to fail Prevent foreign matter such as dust or wire chips from entering the module Such foreign matter can cause a fire failure or malfunction Before handling the module touch a grounded metal object to discharge the static electricity from the human body Failure to do so may cause the module to fail or malfunction Tighten the screws such as module fixing screws within the following ranges Loose screws may cause short circuits failures or malfunctions Screw location Tightening torque range Terminal block screws M3 screws 0 42 to 0 58 Nm Terminal block mounting screws M3 5 screws 0 66 to 0 89 Nm Tab 5 1 Tightening torques 5 2 Getting started C Start Module mounting Mount the ME1IOL6 L to the L series PLC Wiring Connect the external power supply and Refer to section 5 4 the IO Link devices es ee PLC parameter setting Refer to section 5 5 Programming and debugging Create and check the sequence program Refer to section 5 3 Refer to chapter 6 Fig 5 1 Function chart for the setup of an IO Link master module ME1IOL6 L MELSEC L series IO Link Master Module ME1IOL6 L 5 1 Setup and Procedures before Operation Installation Environment and Installation Pos
31. 2 The System Monitor displays comprehensive information of the connected PLC For further information about a module click on the module and then click Detailed Information see next page MELSEC L series O Link Master Module ME1IOL6 L 7 5 Troubleshooting Checking the IO Link Master Module Status Fig 7 3 Module s Detailed Information B m m CA solutiank Detailed information on the selected module allow an easy and quick troubleshooting Contents of Module s Detailed Information Module Module Name 1 O Address Mount Position Product information Production Number Module Information Module Access Status of external power supply Fuse blown status Status of I O Address Verify I O Clear Hold Settings Noise Filter Setting etc Error Display Shows the designation of the module e g METIOL6 L Head address of the module Shows where in the PLC the module is mounted Serial No of the module The letter shows the function version Shows whether the module is ready or not Not relevant for the ME1IOL6 L Not relevant for the ME1IOL6 L Indicates whether the parameter set module and the installed module are identical Not relevant for the ME1IOL6 L Not relevant for the METIOL6 L No error codes are issued by the ME1IOL6 L s4 MITSUBISHI ELECTRIC Index A Acyclic communication Answer area ee ee 4 48 for d
32. 5 2 e Check the device connected to the channel Is the input data being written to the buffer memory Check the sequence program Make sure that the input data is taken out of the correct buffer memory addresses refer to section 4 5 2 e Check that data is not moved from different sources into the same storage destination in the PLC CPU Is the input data moved from the buffer memory of the ME1IOL6 L to the PLC CPU correctly Verify that the correct handshake of signals is executed for the exchange of consistent data Is consistent data exchanged between an external device e X n 1 A to X n 1 F Consistent data available and the PLC CPU e Y n 1 A to Y n 1 F Data consistency start signal Refer to sections 4 3 6 and 4 4 When Output Process Data is wrong Verify the contents of the buffer memory addresses for the corresponding channel in the monitor of GX Works2 refer to section 4 5 3 Check the sequence program Make sure that the output data is moved to the correct buffer memory addresses Is the output data being written to the correct buffer mem ory addresses Verify that after writing the output data to the buffer mem ory the correspondent output signal Y n 1 1to Y n 1 6 is switched ON refer to sections 4 3 2 4 4 and 4 5 3 Verify that the correct handshake of signals is executed for the exchange of consistent data Is consistent data exchanged between an external de
33. 6 Timing of an acyclic communication request Description The PLC sets the request data command index etc The acyclic communication request for the corresponding channel is set The request is forwarded to the IO Link device The IO Link device responds to the request The PLC reads the answer and resets the request flag Tab 4 12 Explanation for the timing shown above The process of writing a certain parameter to an IO Link device is done accordingly The sequence program writes the required data to the acyclic communication request data area of the corresponding channel consisting of command parameter index sub index and data size Thesequence program writes the parameter data to the acyclic communication request data area The sequence program sets the corresponding acyclic communication request flag for the chan nel in the buffer memory address Un G1280 see section 4 5 15 The IO Link Master module performs the transfer to the device and writes a result code into the acyclic communication answer area In case of a write request there will be no more data than the result code in this area According to the status of the communication the ME1IOL6 L sets the corresponding acyclic communication response flags in the buffer memory address Un G1281 see section 4 5 16 NOTE The execution of an acyclic communication request is secured by a time out of 60 seconds If within that time no re
34. E1IOL6 L Using these signals ensures that the master will not update the process data during reading or writing from to buffer memory The handshake signals can be used for input and output separately The interaction of the signals is shown in the following figure CHL Consistent data available X n 1 A to X n 1 F 0 o CHI Output data consistency OFE enable flag Un G230 i i i i ji i I i i i i CHLI Data consistency start Sia i IN i Y n 1 A to Y n 1 F OFF i E i l i i i Fig 4 5 Timing of the data consistency signals Description Input data Output data The CHLI Output data consistency enable flag is always ON For each step cycle the setting of the CHL Output data consistency start flag is required for the consis tency of the output data The PLC sets the CHL Output data consistency start flag and requests consistency for input data The ME1IOL6 L stops updating the buffer memory The output of new data is stopped PLC reads inputs PLC can set output data ME1IOL6 L reads input data ME1IOL6 L sends output data Tab 4 9 Explanation for the example Each IO Link channel of the ME1IOL6 L can be used independently For requesting consistent input process data only it is sufficient to set the concerning data consis tency start signal Y n 1 A to Y n 1 F and wait until the co
35. FG terminal of the ME1IOL6 L must be connected to the ground certainly Observe the following items for wiring the terminal block Ignorance of these items may cause electric shock short circuit disconnection or damage of the product Use solderless terminals for the connection Twist the end of stranded wires and make sure there are no loose wires Solderless terminals with insulating sleeves cannot be used for the terminal block Covering the cable connection portion of the solderless terminal with a marked tube or an insulation tube is recommended Do not solder plate the electric wire ends Connect only electric wires of regular size Tightening of terminal block screws should follow the torque described on page 5 1 Fix the electric wires so that the terminal block and connected parts of electric wires are not directly stressed ata MITSUBISHI ELECTRIC Wiring Setup and Procedures before Operation 5 4 2 External wiring For the wiring method and how to remove or install a terminal block please refer to the User s Manual for the CPU modules of the MELSEC L series Hardware design Maintenance and Inspection Although the ME1IOL6 L is a IO Link master module it is possible to mix conventional devices in SIO mode with IO Link devices To each channel of the ME1IOL6 L one device can be connected in a point to point configuration Multidrop network connection more than one device to one channel is not possible Appl
36. ISHI ELECTRIC AUTOMATION Inc USA Fay 439 211 1206 999 Fax 46 0 40 93 23 01 500 Corporate Woods Parkway Vernon Hills IL 60061 MELTRADE Kft HUNGARY Omni Ray AG SWITZERLAND Phone 1 847 478 21 00 Fert utca 14 Im Sch rli 5 Fax 1 847 478 22 53 HU 1107 Budapest CH 8600 Diibendorf Phone 36 0 1 431 9726 Phone 41 0 44 802 28 80 Fax 36 0 1 431 9727 Fax 41 0 44 802 28 28 Beijer Electronics SIA LATVIA GTS TURKEY Ritausmas iela 23 Bayraktar Bulvari Nutuk Sok No 5 I LV 1058 Riga TR 34775 Yukar Dudullu Umraniye ISTANBUL Phone 371 0 784 2280 Phone 90 0 216 526 39 90 Fax 371 0 784 2281 Fax 90 0 216 526 3995 Beijer Electronics UAB LITHUANIA CSC Automation Ltd UKRAINE Savanoriu Pr 187 4 B M Raskovoyi St LT 02300 Vilnius UA 02660 Kiev Phone 370 0 5 2323101 Phone 380 0 44 494 33 55 Fax 370 0 5 232 2980 Fax 380 0 44 494 33 66 Systemgroup UKRAINE 2M Krivonosa St UA 03680 Kiev 0 MITSUBISHI ELECTRIC Phone 380 0 44 490 92 29 Fax 380 0 44 248 88 68 Mitsubishi Electric Europe B V FA European Business Group Gothaer Stra e 8 D 40880 Ratingen Germany FACTORY AUTOMATION Tel 49 0 2102 4860 Fax 49 0 2102 4861120 info mitsubishi automation com www mitsubishi automation com
37. L LEDs TOG geituak ond ibe bee esa eo 7 1 for troubleshooting 7 1 Overview 000 cee ee 4 1 RUN maman drag ga KE NNG KAG ko eae NG 7 1 M ME1IOL6 L Dimensions 00 eee eens 4 4 O assignment a 5 7 Intelligent function module switch settings 5 8 PED naaa oe as aa 4 1 Parameter setting 5 7 Specifications aa 4 3 Module ready input signal 4 19 N Noise filter eee 5 6 o Output data valid output signal 4 20 Output signal CHn digital output 004 4 20 Data consistency start 4 20 Output data valid aa 4 20 P Process data Troubleshooting a 7 3 R RUNILED daa a Ka damea NGAY Ll He KG Ki 7 1 S SIO mode Overview saa aa da a a Ee ee 4 6 Switch settings for intelligent function module 5 8 System monitor 00000 c eee 7 5 T Terminal block Overview 2 0000 ee 4 1 Signal layout 0 cee eee eee 4 2 Troubleshooting 0c eee eee eee 7 1 Acyclic communication 7 4 Process data eee eee eeee 7 3 Ww Wiring Connection ot external devices 5 5 External power supply 5 5 4 MITSUBISHI ELECTRIC sA MITSUBISHI ELECTRIC HEADQUARTE
38. NETHERLANDS 39 H aomanut Street E ANH 0 l H 68 57 57 Woluwelaan 31 Haarlerbergweg 21 23 IL 42505 Netanya ax 33 0 BE 1800 Vilvoorde NL 1101 CH Amsterdam Phone 972 0 9 863 39 80 MITSUBISHI ELECTRIC EUROPE B V IRELAND Phone 32 0 2 257 02 40 Phone 31 0 20 587 76 00 Fax 972 0 9 885 24 30 Irish Branch Fax 32 0 2 257 02 49 Fax 31 0 20 587 76 05 aL Terry eee Park Ballymount INEA RBT d o o BOSNIA AND HERZEGOVINA Beijer Electronics AS NORWAY Cebaco Center Block A Autostrade DORA pa u a ara Aleja Lipa 56 Postboks 487 Lebanon Beirut F sane 0 l y 98890 BA 71000 Sarajevo N0 3002 Drammen Phone 961 0 1 240 430 ax 353 0 Phone 387 0 33 921 164 Phone 47 0 32 24 3000 Fax 961 0 1 240438 MITSUBISHI ELECTRIC EUROPE B V ITALY Fax 387 0 33 524 539 Fax 47 0 32 84 85 77 labaha AKHNATON BULGARIA Fonseca S A PORTUGAL l koa Fr i Brine e 4 Andrei Ljapchev Blvd PO Box 21 R Jo o Francisco do Casal 87 89 Ph gina I maa BG 1756 Sofia PT 3801 997 Aveiro Esgueira AFRICAN REPRESENTATIVE H WEA a Phone 359 0 2 817 6000 Phone 351 0 234 303 900 ak Fax 359 0 2 97 4406 1 Fax 351 0 234 303 910 CBI Ltd SOUTH AFRICA MITSUBISHI ELECTRIC EUROPE B V POLAND NEA RBT d o o CROATIA Sirius Trading amp Services stl ROMANIA Private Bag 2016 Poland Branch ini m ZA 1600 Isando Krakowska 50 Losinjska 4a Aleea Lacul Morii Nr 3 Phone 27 0 11 977 0770 Pa da Bali HR 10000 Zagreb RO 060841 Bucuresti Sector 6
39. NIAJ Alw N o Tab 4 31 Setting of modes Data align Bit 11 Data align controls the byte order of the device data in buffer memory By default Data align 0 Data swapping active the byte order will be swapped If Data align is set to 1 the swapping is disabled and the byte order of the data bytes in buffer memory will be the same as coming from the device For a detailed description of the data swapping function please refer to section 4 3 5 NOTE Cycle time and data align setting is only possible together with setting the IO Link mode During IO Link operation no change is possible MELSEC L series IO Link Master Module ME1IOL6 L 4 33 Detailed Description of the Module Buffer Memory Channel Mode Change Flag Un G240 To trigger the mode changing for one of the channels of the ME1IOL6 L the user has to set the cor responding bit in Un G240 b15 b14 b13 b12 bit b10 b9 b7 b2 bi b4 Information of b6 to b15 is fixed to 0 0 Do not change channel mode 1 Change channel mode Fig 4 10 Assignment of the channel mode change flags Channel Mode Change Complete Flag Un G241 After the mode changing has been triggered by a bit in Un G240 the IO Link device sets the corre sponding bit in Un G241 to show that the mode change has been completed b15 b14 b13 b12 bit b10 b9 b7 b4 b2 bi b0 Information of b6 to b15 is fixed to 0 0 No mode change completed 1 Mode change completed
40. OEH Section 4 5 18 System area Direct parameter page 1 DPP1 System area High byte Low byte Master Cycle Time Address 01H Master Command Address 00H F sequence Capability Address 03H Min Cycle Time Address 02H Process Data In Address 05H IO Link Revision ID Address 04H Vendor ID 1 MSB Address 07H Process Data Out Address 06H Device ID 1 MSB Address 09H Vendor ID 2 LSB Address 08H Device ID 3 LSB Address 0BH Device ID 2 Address OAH Function ID high Address ODH Function ID low Address 0CH System Command Address OFH Reserved Address OEH Section 4 5 18 Tab 4 29 Buffer memory assignment of the ME1IOL6 L 9 9 Indicates whether reading from and writing to a sequence program are enabled R Read enabled W Write enabled a MITSUBISHI ELECTRIC Buffer Memory Detailed Description of the Module 4 5 2 NOTES 4 5 3 4 5 4 CHU Input Process Data Un GO to Un G15 Un G16 to Un G31 In IO Link mode the area of input process data reflects the current data of the connected IO Link device Up to 32 bytes of input process data can be stored for each channel The size and the structure of the data may vary for different IO Link device types For that reason the ME1IOL6 L maps the data straight into the input process data
41. RIC Buffer Memory Detailed Description of the Module CHI Index Un G417 Un G561 The index is used to address the parameter to access Valid index values are 0 to 32767 b15 b14 b13 b12 bit b10 b9 b8 b7 b6 b5 b4 b3 b2 bi bO CH1 Un G417 Index CH2 Un G561 CH3 Un G705 CH4 Un G849 CH5 Un G993 CH6 Un G1137 Fig 4 29 Buffer memory addresses for the acyclic communication request index CHL Sub index Un G418 Un G562 The sub index defines the offset within the parameter Valid sub index values are 0 to 231 b15 b14 b13 b12 bit b10 b9 b8 b7 b6 b5 b4 b3 b2 bi bO CH1 Un G418 Sub index CH2 Un G562 CH3 Un G706 CH4 Un G850 CH5 Un G994 CH6 Un G1138 Fig 4 30 Buffer memory addresses for the sub index of the acyclic communication request CHI Data size Un G419 Un G563 In case of a write request the data size defines the amount of bytes to be transferred Valid values for the data size are 0 to 254 bytes b15 b14 b13 b12 bit b10 b9 b8 b7 b6 b5 b4 b3 b2 bi bO CH1 Un G419 Data size CH2 Un G563 CH3 Un G707 CH4 Un G851 CH5 Un G995 CH6 Un G1139 Fig 4 31 Buffer memory addresses for the acyclic communication request data size MELSEC L series IO Link Master Module ME1IOL6 L 4 45 Detailed Description of the Module Buffer Memory CHL Data Un G420 to Un G547 Un G564 to Un G691 For the
42. RS EUROPEAN REPRESENTATIVES EUROPEAN REPRESENTATIVES EURASIAN REPRESENTATIVES MITSUBISHI ELECTRIC EUROPE B V EUROPE GEVA AUSTRIA ALFATRADE Ltd MALTA TOO Kazpromavtomatika KAZAKHSTAN German Branch Wiener StraBe 89 99 Paola Hill Ul Zhambyla 28 Gothaer Stra e 8 AT 2500 Baden Malta Paola PLA 1702 KAZ 100017 Karaganda D 40880 Ratingen Phone 43 0 2252 85 55 20 Phone 356 0 21 697 816 Phone 7 7212 50 10 00 Phone 49 0 2102 486 0 Fax 43 0 2252 488 60 Fax 356 0 21 697 817 Fax 7 7212 50 1150 Fax 49 0 2102 486 1120 TECHNIKON BELARUS INTEHSIS srl MOLDOVA MITSUBISHI ELECTRIC EUROPE B V org sl CZECH REP Oktyabrskaya 19 Off 705 bld Traian 23 1 Czech Branch BY 220030 Minsk MD 2060 Kishinev Avenir Business Park Radlick 714 113a Phone 375 0 17 210 46 26 Phone 373 0 22 66 4242 MIDDLE EAST REPRESENTATIVES C2 158 00 Praha 5 Fax 375 0 17 210 46 26 Fax 373 0 22 66 4280 ANACAN ISRAEL tap ESCO DRIVES amp AUTOMATION BELGIUM HIFLEXAUTOM TECHNIEKB V NETHERLANDS 24 Shenkar St Kiryat Arie aX PIU 291 931 Culliganlaan 3 Wolweverstraat 22 1L 49001 Petah Tiqva MITSUBISHI ELECTRIC EUROPE B V FRANCE BE 1831 Diegem NL 2984 CD Ridderkerk Phone 972 0 3 922 18 24 French Branch Phone 32 0 2 717 64 30 Phone 31 0 180 46 6004 Fax 972 0 3 924 0761 25 Boulevard des Bouvets Fax 32 0 2 717 64 31 Fax 31 0 180 44 23 55 GEE UTE ET Rata anore Calar Koning amp Hartman b v BELGIUM Koning amp Hartman b v
43. a an input data mask can be used to filter the input process data For each channel one mask composed of two bytes is provided section 4 5 4 The IO Link master module will perform the following operation between the mask and the first two bytes of input process data for the corresponding channel refer to section 4 5 2 Input data AND Input mask XOR Input mask Xn The result of this operation will be shown for each channel by the signals Xn1 to Xn6 section 4 4 The signal Xn will be 1 if at least each bit in process data input is set to 1 where the same bit in the input data mask is set to 1 The following example will illustrate this logical operations In this example the input signal Xn is used to notify the PLC that the bit 3 of the input is set to 1 No match between the input data mask and the input data Operation High byte Low byte Description Input data 01101111 1011 0001 Input data mask 0000 0000 0000 1000 AND operation 0000 0000 0000 0000 Result of the AND operation 0000 0000 0000 0000 Input data mask 0000 0000 0000 1000 XOR operation 0000 0000 0000 1000 Tab 4 5 Example for masking input data no match Description A bitwise AND operation between the input data and the input data mask is performed A bitwise XOR operation between the result of the AND operation and the input data mask is performed Since a bit is set in the result of the XOR operation the in
44. a MITSUBISHI ELECTRIC MELSEC L Series Programmable Logic Controllers User s Manual IO Link Master Module ME1IOL6 L Art no 254015 PEX 23 07 2012 at MITSUBISHI ELECTRIC INDUSTRIAL AUTOMATION oe Version A ersion About this Manual The texts illustration diagrams and examples in this manual are provided for information purposes only They are intended as aids to help explain the installation operation programming and use of the programmable logic controllers of the MELSEC L series If you have any questions about the installation and operation of any of the products described in this manual please contact your local sales office or distributor see back cover You can find the latest information and answers to frequently asked questions on our website at www mitsubishi automation com MITSUBISHI ELECTRIC EUROPE BV reserves the right to make changes to this manual or the technical specifications of its products at any time without notice 2012 10 Link Master Module ME11OL6 L User s Manual Art no 254015 Version Changes Additions Corrections A 07 2012 pdp dk First edition Safety Guidelines For use by qualified staff only This manual is only intended for use by properly trained and qualified electrical technicians who are fully acquainted with the relevant automation technology safety standards All work with the hard ware described including system design installation con
45. able e The flash ROM is not accessible and the data storage function is disabled External 24 V DC undervoltage The appearance of the 24 V fault is stored here until it has been confirmed by the user Tab 4 33 Module diagnostic information 4 38 a MITSUBISHI ELECTRIC Buffer Memory Detailed Description of the Module 4 5 12 CHO Diagnostic information Un G283 Un G284 In case of an error at a channel the cause of the error is shown in the diagnostic information register of the corresponding channel Un G283 to Un G288 b15 b14 b13 b12 bit b10 b9 b b7 b4 b b2 bi b 8 b6 b5 3 0 CH1 Un G283 1 1 1l101 o 1 0 7 r 1 4 4 4 i f CH2 Un G284 Do on fon on 0 1 0 0 0 1 O 0 0 0 0 CH3 Un G285 CH4 Un G286 CH5 Un G287 Historical information Current information CH6 Un G288 Fig 4 20 Assignment of the bits for the channel diagnostic information The CHL diagnostic information is divided into flags for the current situation and flags describing the historical appearance since the last error confirmation with the CHLI error reset flag Un G281 The meaning of the bits is as follows Meaning when bit is set to 1 Description L undervoltage The voltage on the L line is too low L overload An overload has occurred on the L line C Q overload An overload has occurred on the C Q line Overheat The temperature is to high This fault can be cau
46. acyclic communication is stored in registers This allows for an easy change of command index subindex data size and data Before creating a program Before creating the program perform the steps described in section 6 2 1 Program For full documentation of all the instructions used with examples please refer to the Programming Manual for the MELSEC System Q and the MELSEC L series List of used devices Function Remark Acyclic communication start signal LX40C6 X30 to X3F Module ready ME1IOL6 L X40 to X5F The mode for CH1 has been changed without fault Internal relay Initialization of CH1 completed without fault Command The header information required Index for the request is stored in these Sub index registers by instructions else where in the program Acyclic communication request Data size The contents of the registers D1200 to D1327 is transferred to the buffer memory addresses Read to be written to the IO Link device con Un G420 to Un G547 nected to CH1 D1200 gt Un G420 D1201 gt Un G421 D1200 to D1327 D1327 gt Un G527 Tab 6 11 List of used devices for acyclic communication writing Program parts Initial settings The initial settings are the same as performed for example 1 please refer to section 6 2 2 MELSEC L series IO Link Master Module ME1IOL6 L 6 11 Programming Example 4 Acyclic Communication Writing 6 12
47. ailed the result area will contain an error code Exchange of data with an IO Link device A certain parameter is read from an IO Link device by the following sequence The sequence program writes the required data to the acyclic communication request data area of the corresponding channel consisting of command parameter index and sub index The sequence program sets the corresponding acyclic communication request flag for the chan nel in the buffer memory address Un G1280 see section 4 5 15 The IO Link Master module performs the transfer and writes a result code into the acyclic communication answer area In case of a read request the response data and the data size will be stored also into this area According to the status of the communication the ME1IOL6 L sets the corresponding acyclic communication response flags in the buffer memory address Un G1281 see section 4 5 16 MELSEC L series IO Link Master Module ME1IOL6 L 4 11 Detailed Description of the Module Functions of the IO Link Master Module The dependency of the signals and the flags is shown in the following figure CHU Acyclic communication request Un G1280 OFF CHE Acyclic communication response Request accepted Un G1281 CHE Acyclic communication response Request completed Un G1281 OFF Sl eae gt Performed by the ME1IOL6 L Performed by the sequence program Fig 4
48. alues from it and write new values to it which the module can then process output values settings for the function of the IO Link devices etc Each buffer memory address consists of 16 bits Bit 15 14131211109 8 7 65432 1 0 Buffer memory address Fig 4 7 Assignments of bits to a buffer memory address Do not write data in the system areas of the buffer memory If data is written to any of the system areas the PLC system may not be operated properly Some of the user areas contain partially sys tem areas Care must be taken when reading writing to the buffer memory Also do not write data e g in a sequence program to the buffer memory area where writing is disabled Doing so may cause malfunction The Default value indicated in the following tables is the initial value set after the power is turned on or the PLC CPU is reset Instructions for data exchange with the buffer memory Communication between the PLC CPU and the buffer memory of special function modules is per formed with FROM and TO instructions The buffer memory of a special function module can also accessed directly e g with a MOV instruction Format of the device address Un Gn Un Head address of the special function module Gn Buffer memory address decimal For example the device address U3 G1 1designates the buffer memory address 11 in the special func tion module with the head address 3 X Y30 to X Y3F In this User s Manual the la
49. area of the channel see below and then set the corresponding bit in Un 327 to 1 Additionally the signal X n 1 0 turns ON as long as there are any events pending The signal will turn OFF when all events were confirmed b15 b14 b13 b12 bit b10 b9 b7 b2 bi b4 Information of b6 to b15 is fixed to 0 0 No event 1 New event Fig 4 21 Assignment of the event flags Event reset flags Un G326 The PLC has to acknowledge an event by setting the bit for the corresponding channel in Un G326 The ME1IOL6 L will ignore any further IO Link events from that channel as long as the former one was not confirmed This behaviour is necessary to keep the data in the event information area consistent When no more events are pending for any channel resetting an event reset flag to 0 will cause the Event Signal X n 1 0 to turn OFF refer to the figure on the following page b15 b14 b13 b12 bi1 b10 b9 b7 b2 bi b4 Information of b6 to b15 is fixed to 0 0 No confirmation 1 Confirm event Fig 4 22 Assignment of the event reset flags An event flag in Un G327 will turn off after the corresponding event reset flag in Un G326 has been set to 1 An event reset flag should be set after processing the event information stored in the buffer memory because raising an event reset flag may cause the next event s data to be loaded into the buffer memory if there is any Otherwise the event data section will be rese
50. area without any interpretation For the easy recognition of high bits in the first two bytes of the IO Link process data the input pro cess data bytes 1 and 2 are combined with the input data mask and form a resulting input signal for each channel Xn1 to Xn6 For a detailed description of the input data mask please refer to section 4 3 3 The input process data area will be updated every time the connected IO Link device announces new data to the master Each channel s input process data area may be refreshed independently due to dif ferent cycle times of the channels In IO Link mode the signal Xn of the channel will stay OFF if the input data mask is zero even if the input process data is zero too In case that IO Link communication stops e g due to under voltage disconnection of an IO Link device the input process data buffer is set to 0 CHI Output Process Data Un G112 to Un G127 Un G128 to Un G143 In IO Link mode the output process data stored in this area is output to the connected IO Link device The output data size may be up to 32 bytes for each channel The size and the structure of the data may vary for different IO Link device types and shall match the devices specification To write output data to the IO Link device it is necessary to set the corresponding data valid signal Y n 1 1 to Y n 1 6 refer to section 4 4 In case of a PLC stop the output data is no longer refreshed in the buf
51. ata storage 220 02 eee eee 4 14 for device validation 4 16 Overview 0000 eee 4 11 Request area 1 ce es 4 44 Troubleshooting 20000000 7 4 B Buffer memory Overview 0000 cee ee 4 22 SUTUCTUIE ie eee ee band 4 21 c Channel mode Change complete flags 4 34 Change flags cee eee eee 4 34 Change result 0 00 eee eee eee 4 34 Current mode 000020 ee eee 4 35 Settings arte eet we ath assed i i ean 4 32 Consistent data available input signal 4 19 Enable flags eee eee eee 4 32 Output signal 00 4 20 Overview iaasa ayaa Aah aw Bua 4 10 D Data align ai xaaa ice NAA Se dba ee 4 33 Data mask result input signal 4 19 Data storage Current settings 00000 4 36 Overview 000 cee 4 14 Settingsinbuffermemory 4 35 Data swapping Overview 2 00 eee 4 9 Setting in buffer memory 4 33 Device validation 00000000 eee 4 16 Digital input input signal 4 19 DIN railhook 0000 ee eee eee 4 1 Direct parameter page read write access Aa 4 13 Reading of page1 4 51 MELSEC L series IO Link Master Module ME1IOL6 L E Error input signal 00022e0 eee 4 19 Event Auto confirmation setting 4 43 automatic confirmation overview 4 14 indicati
52. ay Initialization of CH1 completed without fault Acyclic communication request Used for calculation of the data Remainder of division operation Pr The buffer memory addresses Un G1301 to Un G1428 are reflected in D1000 to D1127 D1000 to D1127 Read data from the IO Link device at CH1 Un G1301 gt D1000 Un G1302 gt D1001 Un G1428 gt D1127 Tab 6 9 List of used devices for acyclic communication reading Program parts Initial settings The initial settings are the same as performed for example 1 please refer to section 6 2 2 MELSEC L series lO Link Master Module ME1IOL6 L 6 9 Programming Example 3 Acyclic Communication Reading Reading of data using acyclic communication x31 x40 M10 UA 40 JA ih mov D150 G416 1 UA Mov D151 G417 2 U4 fF MOV D152 G418 10 ua SET G1280 0 4 U4G1281 0 UA UA UM UA UA UA 76 _ bu mr G416 G1296 H G417 G1297 H G418 G1298 K0 gt U4 UA r 7 5 KO N HO G1299 Mov G1300 D154 oe UA RST G1280 0 F O D154 K2 D155 o o HO D156 J D155 K1 D155 1O UA Bmov G1301 D1000 D155 o Fig 6 10 Program sequence for acyclic communication reading of data from the IO Link device Description When the module is ready and the initialization of CH1 has been completed without an Command error the header information for the communication request is moved to the buffer memory Su
53. b index The acyclic communication request flag for CH1 is set The number of received bytes is stored in D154 This instruction and the following instructions to are only executed when e the acyclic communication response flag for CH1 is set Un G1281 0 e the acyclic communication answer area contains the same command index and subindex as the request e the operation was successful contents of Un G1299 Result 0000n The acyclic communication request flag for CH1 is reset The data size unit bytes is divided by two in order to get the data size in the unit words If the result is an odd number In this case D156 contains the remainder 1 is added to the result This ensures that all data received will be transferred to the buffer memory The data received from the IO Link device is stored in registers The number of points is determined by the contents of D156 Tab 6 10 Description of the program shown above 6 10 a MITSUBISHI ELECTRIC Example 4 Acyclic Communication Writing Programming 6 5 6 5 1 6 5 2 Example 4 Acyclic Communication Writing System configuration In this example data is written to an IO Link device connected to channel 1 of a ME1IOL6 L using acy clic communication The same system configuration as for example 1 is used refer to section 6 2 Program conditions CH1 is used in IO Link mode refer to section 4 5 3 The header information for
54. cimal Description Default Reference 86EH 2158 86FH 2159 Direct parameter page 1 DPP1 Read request flag 0000H Section Read response flag 0000H 4 5 18 Direct parameter page 1 DPP1 High byte Low byte Master Cycle Master Com Time mand Address 01H Address 00H F sequence Min Cycle Capability Time Address 03H Address 02H Process Data lO Link In Revision ID Address 05H Address 04H Vendor ID 1 Process Data MSB Out Address 07H Address 06H Section 4 5 18 Device ID 1 Vendor ID 2 MSB LSB Address 09H Address 08H Device ID 3 LSB Address 0BH Device ID 2 Address OAH Function ID Function ID high low Address ODH Address OCH System Command Address OFH Reserved Address OEH System area Direct parameter page 1 DPP1 System area High byte Low byte Master Cycle Master Time Command Address 01H Address 00H F sequence Min Cycle Capability Time Address 03H Address 02H Process Data lO Link In Revision ID Address 05H Address 04H Vendor ID 1 Process Data MSB Out Address 07H Address 06H Section 4 5 18 Device ID 1 Vendor ID 2 MSB LSB Address 09H Address 08H Device ID 3 LSB Address 0BH Device ID 2 Address OAH Function ID F
55. cle time The low byte of the mode setting which defines the cycle time is divided in the time base and a multiplier The multiplier is a 6 bit factor for calculating the cycle time Permissible values for the multiplier are O to 63 The permissible combinations for time base and multiplier are listed in the following table along with the resulting values for the cycle time Time Base Binary code Calculation Cycle time BE Value 0 1ms Multiplier X Time Base 0 0 ms to 6 3 ms 04ms 64ms Multiplier X Time Base 6 4 ms to 31 6 ms 1 6ms 32 0ms Multiplier X Time Base 32 0 ms to 132 8 ms Reserved Reserved 0 1 0 1 Tab 4 30 Relation between time base multiplier and cycle time When the cycle time bit 0 to bit 7 is set to 0 the master uses the fastest possible cycle time that is supported by the connected IO Link device The cycle time is only necessary when setting a port to IO Link communication and should be left zero for any other mode setting Mode The mode of the channel is defined by the bits b8 to b10 Possible values for the target mode are listed below Mode Signal setting Binary code Description LHT c L line C Q line Channel is deactivated OFF OFF IO Link mode ON Active Reserved ley o Digital input mode SIO mode Active Digital output mode SIO mode Active Reserved lolo lfolo
56. ction The precautions required when installing a noise filter are described below Ground the noise filter grounding terminal to the control cabinet with the shortest wire possible Donot bundle the wires on the external power supply side and ME1IOL6 L side of the noise filter When bundled the external power supply side noise will be induced into the ME1IOL6 L side wires from which the noise was filtered refer to the below figure a 7 Power CPU Power supply o supply o a i l0 Link 7 device External Noise filter External Noise filter power supply LAMBDA power supply LAMBDA 24 V DC MXB 1220 33 24V DC MXB 1220 33 The noise will be induced when the external power Separate and lay the external power supply side supply side and ME1IOL6 L side wires are bundled and ME1IOL6 L side wire Example of bad wiring Example of good wiring Fig 5 4 Precautions on noise filter The following noise filter is recommended Noise filter model MXB 1220 33 Tab 5 2 Maker LAMBDA Recommended noise filter Voltage 250 V AC 250 V DC Current 20A Rated output a MITSUBISHI ELECTRIC PLC Parameter Setting Setup and Procedures before Operation 5 5 PLC Parameter Setting In the PLC parameters the I O assignment for the ME1IOL6 L and the HOLD CLEAR function are set 5 5 1 1 O assignment Start GX Works2 and
57. d to 0 Acceptance Fixed to 0 Completion 0 No transaction accepted started 0 Transaction not completed 1 Transaction is accepted started 1 Transaction is completed Fig 4 33 Assignment of the bits in buffer memory address Un G1281 MELSEC L series IO Link Master Module ME1IOL6 L 4 47 Detailed Description of the Module Buffer Memory 4 5 17 CHI Acyclic Communication Answer Un G1296 to Un G2148 In addition to the cyclic exchanged process data acyclic communication between the IO Link master and an IO Link device is also possible section 4 3 7 When the IO Link master sends a request for acyclic communication to an lO link device refer to sec tion 4 5 14 the device answers and the data received by the master is stored in the buffer memory For each channel the following area is reserved for the response data Command 1 word Index 1 word Subindex 1 word Result 1 word Data size 1 word Data 128 words CHL Command Un G1296 Un G1440 The transfer command code sent in the answer is the same as in the request area section 4 5 14 b15 b14 b13 b12 bit b10 b9 b8 b7 b6 b5 b4 b3 b2 bi bO CH1 Un G1296 Transfer command code CH2 Un G1440 CH3 Un G1584 CH4 Un G1728 CH5 Un G1872 CH6 Un G2016 Fig 4 34 Buffer memory addresses for the transfer command code in the answer CHI Index Un G1297 Un G1441 The index sent in the answer
58. data process data Acyclic data service data Cyclic data is exchanged automatically Acyclic data is exchanged only after a request of the IO Link master Process data Process data can be comprised of process input data and or process output data The process data of the devices is transmitted cyclically in a data frame In some cases the process data is split up and transmitted in several cycles A diagnostic flag indicates that the process data is invalid Service data Service data can be comprised of on request data objects and events Service data is always exchanged acyclically and always upon request of the IO Link master First the IO Link master sends a request to the device and the device responds This is true for writing data to the device as well as for reading data from the device Service data can be used to read out parameter values or device states It can also be used to write parameter values or to send commands When an event occurs the device notifies the master The master responds and reads out the reported event This means that events or device states such as low supply voltage short circuit etc can be transmitted via the IO Link master to the PLC More information This short overview about IO Link is only a extract of the information provided on the website of the IO Link Consortium You can find much more information about IO Link and answers to frequently asked questions on their website at www io li
59. data transmitted with a write request 128 words of buffer memory are reserved for each channel Address Channel Description Un G420 Un G547 CH1 Data 128 words Un G564 Un G691 Data 128 words Un G708 Un G835 Data 128 words Un G852 Un G979 Data 128 words Un G996 Un G1123 Data 128 words Un G1140 Un G1267 Data 128 words Tab 4 40 Buffer memory addresses for the channel data acyclic communication request 4 MITSUBISHI ELECTRIC Buffer Memory Detailed Description of the Module 4 5 15 Acyclic Communication Request Flags Un G1280 To issue a request for acyclic communication section 4 3 7 the appropriate bit in the buffer memory address Un G1280 must be set Afterwards the request stored in the acyclic communication request data area for the corresponding channel section 4 5 14 is transmitted to the IO Link device b15 b14 b13 b12 bit b10 b9 b7 b2 bi b4 Information of b6 to b15 is fixed to 0 0 No request 1 Send request Fig 4 32 Assignment of the bits in buffer memory address Un G1280 4 5 16 Acyclic Communication Response Flags Un G1281 The contents of Un G1281 shows the state of an acyclic communication request The bits in the high byte show that the transaction is accepted started and the low byte shows the completion of the channels transaction b15 b14 b13 b12 b11 b10 b9 b7 b4 b2 bi Fixe
60. e 4 5 18 Direct Parameter Page 1 DPP1 Read Access The direct parameter page 1 DPP1 of an IO Link device containing device information and data specifications can be directly read by the master module The DPP1 has a size of 16 bytes CHLI Direct parameter page 1 DPP1 read request flags Un G2158 Each channel has a direct parameter page 1 read area in the buffer memory This area can be updated by setting the appropriate bits in the buffer memory address for direct parameter page 1 DPP1 read request Un G2158 b15 b14 bi3 b12 bii b10 b9 b7 b4 b2 bi Information of b6 to b15 is fixed to 0 0 No read request 1 DPP1 read request Fig 4 39 Assignment of the bits in buffer memory address Un G2158 CHLI Direct parameter page 1 DPP1 read response flags Un G2159 The direct parameter page 1 DPP1 read response flags in Un G2159 indicate that data is available in the corresponding buffer memory area b15 b14 b13 b12 bit b10 b9 b7 b2 bi b4 Information of b6 to b15 is fixed to 0 0 No data available 1 DPP1 data available Fig 4 40 Assignment of the bits in buffer memory address Un G2159 MELSEC L series IO Link Master Module ME1IOL6 L 4 51 Buffer Memory Detailed Description of the Module MELSEC L series IO Link Master Module ME1IOL6 L 4 52 Handling Precautions Setup and Procedures before Operation 5 Setup and Procedures before Operation 5
61. e cen cnet KANG ene ee seen eneneenee 1 1 1 1 1 Data exchange in an IO Link System 0c cece cece ence ence aasa 1 1 Features of the METIOL6 L eee cee cece eee TENAS ence eaten ERN EA 1 2 System Configuration Overall System Configuration 0 cece cece cece aaa 2 1 Applicable Systems ssrt iria E ied vat ela ASLEA NGANGA ol edacialar slidesiaiaveloaes 2 1 Quick start IO Link Enabling IO Link communication aaa aaa kaaa 3 2 Verifying IO Link communication aaa 3 3 Input process data mna dens tee baled ANG NARING batten 0NG baa GG 3 4 Output Process data ness Ni nana pan VOW ede BLS aN ee ANA a Wise Bale Naki eee ws 3 5 Detailed Description of the Module Part Names 3 5 terse sass acres KGABI ae alsa active sins aaa ares 4 1 4 1 1 Signal Layout of the Terminal Block 0 cece cece e cece ene e ees 4 2 Specifications s se fades aweiede AAP 4 3 4 2 1 External Dimensions 0 0 cece eee AA 4 4 Functions of the IO Link Master Module 0 waaa waaa aaa ee aaa 4 5 4 3 1 IO Link Master FUNCTION 20o k cece ce cece cent Aa ee en aa 4 5 4 3 2 Input and Output Data in IO Link Mode or SIO Mode 2 0 eee 4 5 4 3 3 Masking of Input Data amain 4 7 4 3 4 Output HOLD CLEAR Function cece aaa 4 8 4 3 5 Data Swapping FUNCTION aanak 4 9 4 3 6 Exchange of Consistent Data asaan aa aaa aa aa kaan 4 10 4 3 7 Reading a
62. e data required in the acyclic communication request area in the buffer memory item Contents Meaning Description Command 202H Data storage Code for accessing data storage 1 Upload Upload of parameter from IO Link device to data storage H Index 2H Download Download of parameter from data storage to IO Link device 3H Clear parameter data in data storage Sub index Data size Not used Data Tab 4 13 Data required for an acycliccommunication request related to data storage The execution of the command is requested by the acyclic communication execution flag section 4 5 15 and the result will be reflected by the acyclic communication response flag section 4 5 16 When the execution of the request has been completed the result will be stored in the acyclic com munication answer area see section 4 5 17 Possible values are shown in the following table Result hexadecimal Meaning 0000H The operation was successful 0001H Operation failed state conflict EOFFH Invalid index data storage is disabled Tab 4 14 Acycliccommunication request results for upload download deletion 4 MITSUBISHI ELECTRIC Functions of the IO Link Master Module Detailed Description of the Module NOTE NOTE According to the acyclic communication specification the command code and the index value will be reflected to the answer data area The buffer memory addresses for the sub index the da
63. e equipment regularly for breaks and insulation damage If cable damage is found immediately disconnect the equipment and the cables from the power supply and replace the defective cabling Before using the equipment for the first time check that the power supply rating matches that of the local mains power Take appropriate steps to ensure that cable damage or core breaks in the signal lines cannot cause undefined states in the equipment You are responsible for taking the necessary precautions to ensure that programs interrupt ed by brownouts and power failures can be restarted properly and safely In particular you must ensure that dangerous conditions cannot occur under any circumstances even for brief periods EMERGENCY OFF facilities conforming to EN 60204 IEC 204 and VDE 0113 must remain fully operative at all times and in all PLC operating modes The EMERGENCY OFF facility reset function must be designed so that it cannot ever cause an uncontrolled or undefined restart You must implement both hardware and software safety precautions to prevent the possibil ity of undefined control system states caused by signal line cable or core breaks When using modules always ensure that all electrical and mechanical specifications and requirements are observed exactly II 4 MITSUBISHI ELECTRIC Contents 2 1 2 2 3 1 3 2 3 3 3 4 4 1 4 2 4 3 Contents Overview IO Link System Overview 6 cece cece cec
64. en applying any of the program examples introduced in this chapter to the actual system ver ify the applicability and confirm that no problems will occur in the system control 6 1 Programming Procedure Create a program that will execute the data exchange with IO Link devices in the following procedure Start Initial settings for each channel Mode Data swapping e Cycle time Execution of acyclic communication parameter setting etc if required Input of process data Are input devices connected Reading of input process data to PLC CPU Output of process data Are output devices connected Writing of output process data to METIOL6 L Processing for error occurrence End Fig 6 1 Programming procedure for the ME1IOL6 L MELSEC L series IO Link Master Module ME1IOL6 L 6 1 Programming Example 1 Input of Process Data 6 2 6 2 1 Example 1 Input of Process Data System configuration The following figure shows the system configuration used for this example For the sake of simplicity only one IO Link device which exchanges process data with the master module is connected to the ME1IOL6 L CPU module L26CPU BT Input module LX40C6 IO Link master module ME1IOL6 L Power supply module L61P End cover L6EC N X30 to X3F o X40 to X5F External
65. ength 20m Cable specification Applicable wire size 0 3 to 0 75mm2 Overall loop resistance 6Q Effective line capacitance 3 nF Applicable solderless terminals R1 25 3 Solderless terminals with sleeves cannot be used Voltage External supply power 24V DC 420 15 ripple spike within 5 00mVp P In order to keep the specified IO Link output voltage levels L line the external supply voltage must be higher than 22 V DC Current The sum current on the L lines must not exceed 1 7 A Inrush current 8 Awithin 230 us Internal current consumption 5 V DC 04A Online module change Not supported Weight Tab 4 3 Specifications of the METIOL6 L MELSEC L series IO Link Master Module ME1IOL6 L 1809 Detailed Description of the Module Specifications 4 2 1 External Dimensions DIN rail cent 45 Hit 45 Hi HA neal neal a a 117 UK B5 83 6g og i j Unit mm Fig 4 2 Dimensions of the ME11OL6 L s4 MITSUBISHI ELECTRIC Functions of the IO Link Master Module Detailed Description of the Module 4 3 4 3 1 4 3 2 Functions of the IO Link Master Module Function Description Reference IO Link master function e Communication with IO Link devices Up to six IO Link devices can be connected to a single ME1IOL6 L e FDT DTM function support Usin
66. erformed by the ME1IOL6 L mz Performed by the sequence program ON Error flag Un 280 Error signal XnF Error reset flag Un 281 OFF Fig 4 18 Timing of the error flags MELSEC L series IO Link Master Module ME1IOL6 L 4 37 Detailed Description of the Module Buffer Memory 4 5 11 Module diagnostic information Un G282 In case of a module error the cause of the error is shown in the module diagnostic information register Un G282 b15 b14 b13 b12 b11 b10 b9 b7 b4 b2 bi bO Information of b12 to b9 is fixed to 0 Information of b7 to b3 is l fixed to 0 a l Na w o o cs 2 S 5 9 Z 3 5 aD E 7 o 2 v 3 o 9 o gt Z x v O N gt as st N Fig 4 19 Assignment of the bits for the module diagnostic information The meaning of the bits b0 to b2 and b8 is as follows Meaning when bit is set to 1 External 24 V DC undervoltage Delayed switch on or no 24V after switch on of the PLC are not shown as undervoltage fault Flash ROM access warning Excessive amount of write accesses to flash ROM more than 250 Writes in 24h Flash ROM write access is termi nated and after module or error reset the flash ROM access is working again e The maximum number of flash ROM accesses has been reached which is guaranteed by the flash ROM manufacturer It is recommended to not use the data storage function any more or to replace the module This flag is not reset
67. face or the direct mapping in the buffer memory Section 4 3 7 Section 4 3 8 Automatic confirmation of events By sending event data to the IO Link master an IO Link device can inform about warnings errors or certain states The ME1IOL6 L can con firm these events automatically Section 4 3 9 Data storage Device validation The ME1IOL6 L can backup parameter data from the IO Link device and also can write these data back to the device When the device validation is activated the METIOL6 L checks the con nected IO Link device at every start up of the IO Link communication A device error is indicated by the ME1IOL6 L in case that the validation is not successful Tab 4 4 Functions of the METIOL6 L 10 Link Master Function Section 4 3 10 Section 4 3 11 Up to six IO Link devices or conventional devices can be connected to a single ME1IOL6 L In IO Link mode process data e g analog values switching states are exchanged cyclically config uration data e g activation deactivation of functions as well as identification data manufacturer ID typically at startup and parameters or diagnostics are sent as needed acyclic communication FDT DTM function support Using a commercially available FDT reading writing the IO Link device parameters and monitoring the IO Link device status are executable via the ME1IOL6 L Refer to section 5 6 Setting of the IO Link devices for more details about the
68. fer memory The IO Link device is notified by the output data valid signal Y n 1 1 to Y n 1 6 The behaviour of the output data valid signals of the ME1IOL6 L can be defined by the intelligent function module switch no 3 refer to sec tion 5 5 2 CHO Input Data Mask Un G224 Un G225 to Un G229 The input data mask can be used to filter the input process data for parts of special attention Two bytes are used to form that mask The IO Link master module will perform a bitwise AND operation between the mask and the first two bytes of CHL input process data refer to section 4 5 2 The result of that operation will be shown for each channel by the signals Xn1 to Xn6 The CHLI input data mask is only active if their value is greater than O For more information about the masking of input data please refer to section 4 3 3 MELSEC L series IO Link Master Module ME1IOL6 L 4 31 Detailed Description of the Module Buffer Memory 4 5 5 NOTE 4 5 6 Output Data Consistency Enable Un G230 To request the writing of consistent output data the user has to set the output data consistency enable flag for the corresponding channel The output data from buffer memory will then be sent to the device only if the Data Consistency Start signal Y n 1 A to Y n 1 F is switched to ON or when the Output Data Consistency Enable flag is OFF again b15 b14 b13 b12 bii b10 b9 b7 b4 b2 b1 Information of b6 to b15
69. figuration maintenance service and test ing of the equipment may only be performed by trained electrical technicians with approved qual ifications who are fully acquainted with all the applicable automation technology safety standards and regulations Any operations or modifications to the hardware and or software of our products not specifically described in this manual may only be performed by authorised Mitsubishi Electric staff Proper use of the products The programmable logic controllers of the MELSEC L series are only intended for the specific appli cations explicitly described in this manual All parameters and settings specified in this manual must be observed The products described have all been designed manufactured tested and documented in strict compliance with the relevant safety standards Unqualified modification of the hardware or software or failure to observe the warnings on the products and in this manual may result in serious personal injury and or damage to property Only peripherals and expansion equipment specifically recommended and approved by Mitsubishi Electric may be used with the programmable logic con trollers of the MELSEC L series All and any other uses or application of the products shall be deemed to be improper Relevant safety regulations All safety and accident prevention regulations relevant to your specific application must be observed in the system design installation configuration maintenance
70. g a commercially available FDT Field Device Tool reading writ ing the lO Link device s parameters and monitoring the IO Link device status are executable via the ME1IOL6 L Section 4 3 1 Various modes selectable Each channel of the ME1IOL6 L can configured to run in IO Link mode in Standard I 0 mode SIO mode or can be deactivated Section 4 3 2 Masking of input data To recognize certain bits in the first two bytes of the input data an input data mask can be used to filter the input process data The result is shown for each channel on an input signal Section 4 3 3 Output HOLD CLEAR The output status can be retained when the PLC CPU module is placed in the STOP status or when an error occurs Section 4 3 4 Data swapping For communication with an lO device the order of bytes can be changed for each channel Section 4 3 5 Exchange of consistent data The exchange of more than two bytes of process data in a consistent way or the synchronization between reading input data and writing output data is possible by using the consistency handshake signals provided by the ME1IOL6 L Section 4 3 6 Acyclic communication Direct parameter page access In addition to the cyclic communication between the IO Link master and an IO Link device data can be exchanged using acyclic communication The direct parameter page 1 of an IO Link device can be accessed by using the acyclic communication inter
71. gent function module switch settings aaa 5 8 5 6 Setting of the IO Link Devices 0 TEENE NEEE EEEE CENAN ENEAN 5 9 6 Programming 6 1 Programming Procedure cece cece cece eee GAGA nen ence eee en ences eenes 6 1 6 2 Example 1 Input of Process Data 0 cece cece cece a 6 2 6 2 1 Before creating a program eee cece e cence cnet kakanan saaan 6 2 6 2 2 Progra nan Naa KIA RN Ga GSR aks ma wide Sieh RN anan 6 4 6 3 Example 2 Output of Process Data ccc cece cece cence cence ee te sentences 6 7 6 3 1 Before creating a program cece cece eect ence ene aaa enenenee 6 7 6 3 2 Progra a4 did A EAEE ideale T weed ce NA EA niveu wt ines 6 7 6 4 Example 3 Acyclic Communication Reading cece cece cence ee en eens 6 9 6 4 1 Before creating a program e cence cee nent n eee e et kaaa 6 9 6 4 2 PROQKAIN Sine Maan 2NA ndicacalie napedihass uh O E EESE EEEE ADES 6 9 6 5 Example 4 Acyclic Communication Writing aaa 6 11 6 5 1 Before creating a program 1 eee masa aa eee eect tent ee eeneaes 6 11 6 5 2 PLOQIAIM AA APA 6 11 7 Troubleshooting 7 1 Troubleshooting using the LEDs of the Module csc e eee aaa aan 7 1 7 1 1 When the RUN LED is turned off cece cece eee cnet tence ee 7 1 7 1 2 When any of the LEDs 1 to 6 is off 00 cece cece cece nen eens 7 1 71 3 When any of the LEDs 1 to 6 lights red
72. gnals Device No Signal Name Description CHO digital out put SIO mode Digital output signal in SIO mode Set this signal to ON to set the output data of the corresponding channel valid The d logical output level of the channel will stay low as long as the Channel output data a output data valid flag is OFF NOTE The lO Link master will only forward this signal to the IO Link device if it comprises output data Set this signal to exchange more than 1 word of input output process data in consis tent manner The module will then stop updating the input area and reading the out put area for that channel and turn ON X n 1 A to X n 1 F to indicate consistent access available CHO data consistency start When finished accessing the buffer memory reset Y n 1 A to Y n 1 F to allow data transfer Set the Output Data Consistency Enable Flag also to ON to get consistent output process data For more details on consistent data exchange please refer to section 4 3 6 Tab 4 20 Detailed description of the output signals Signal direction CPU Module gt METIOL6 L 4 20 4 MITSUBISHI ELECTRIC Buffer Memory Detailed Description of the Module 4 5 NOTE Buffer Memory The ME1IOL6 L has a memory range assigned as a buffer for temporary storage of data such as pro cess data or error information The PLC CPU can access this buffer and both read the stored v
73. gs errors etc The ME1IOL6 L will store these events into the buffer memory Some of the event types can be set to be ignored The ME1IOL6 L will confirm these events auto matically The type of events to ignore can be set in the event auto confirmation setting Un G320 to Un G325 For a detailed description of the event handling and the automatic confirmation of events please refer to section 4 5 13 Data Storage The data storage function is a feature of IO Link V1 1 which is only available if the connected IO Link device supports this function By default the data storage function is disabled The data storage function can be enabled by setting the appropriate bits in the buffer memory address for data storage setting Un G255 The user can select whether upload or download of data is enabled The enabling disabling of the data storage function is described in section 4 5 8 Upload and download of data from to IO Link devices and deletion of stored data Precondition for upload is an empty data storage or compatible device data Download is only exe cuted if the connected device is compatible To trigger the data exchange between the data storage and an IO Link device the sequence program has to use the acyclic communication function see section 4 3 7 The acyclic communication command code for accessing data storage is 202H Depending on the given index different commands can be triggered The following table shows th
74. he event qualifier MELSEC L series lO Link Master Module ME1IOL6 L 4 41 Detailed Description of the Module Buffer Memory Instance The meaning of the value for the instance is shown in the following table Instance Binary code Description b1 bo io N Unknown 0 PL physical layer DL data layer AL application layer Application Invalid o0 o0 lolo s lolo lolo NIL DO up AJo Nj o Tab 4 35 Event instances Source Bit 3 0 Device application remote Bit 3 1 Master application local Type Type Tab 4 36 Binary code Description Event types Invalid Notification Warning Error Type Tab 4 37 Binary code Description Event modes Invalid Event single shot Event disappears going Event appears coming 4 42 ata MITSUBISHI ELECTRIC Buffer Memory Detailed Description of the Module Event code The event code is a 16 bit value defined by the IO Link specification and the ME1IOL6 L just forwards it to the user as it is reported by the device Depending on the source of the event the meaning of the event code is either defined in the IO Link specification or by the vendor of the device b15 b14 b13 b12 bit b10 b9 b8 b7 b6 b5 b4 b3 b2 bi bO CH1 Un G330 Event code CH2 Un G338 CH3 Un G346 CH4 Un G354 CH5 Un G362
75. icable cables For the connection of IO Link devices standardized 3 conductor cables or in the control cabinet indi vidual leads are used No shield is required The maximum extension for each individual connection is 20 m The resistance and the capacity of the cable should not exceed 6 Q resp 3 nF The recommended minimum gauge values must be observed For 20 m cable length the minimum cross section is 0 34 mn External power supply For operation of the ME1IOL6 L an external power supply of 24 V DC 20 15 which gives a volt age range of 20 4 to 28 8 V DC is required NOTE In order to keep the specified IO Link output voltage levels L line the external supply voltage must be higher than 22 V DC Connection of the external wiring ME1IOL6 L IO Link device Internal circuit 24 V DC power supply Filter Fig 5 2 External wiring of the ME1IOL6 L MELSEC L series lO Link Master Module ME1IOL6 L 5 5 Setup and Procedures before Operation Wiring Noise filter external power supply line filter A noise filter is a component which has an effect on conducted noise It is not required to attach the noise filter to the external power supply line however attaching it can suppress more noise 230V AC Power CPU ME1IOL6 L External Noise filter power supply LAMBDA 24V DC MXB 1220 33 Fig 5 3 Noise filter conne
76. ink mode Check the connection status of the device section 5 4 2 Check the status of the input output signals In SIO mode In SIO mode is the input output signal OFF the LEDs 1 to 6 indicate the status of these signals When a LED is OFF the corresponding signal is OFF too Tab 7 2 When any off the LED 1 to 6 is off MELSEC L series IO Link Master Module ME1IOL6 L 7 1 Troubleshooting Troubleshooting using the LEDs of the Module 7 1 3 When any of the LEDs 1 to 6 lights red Check item Corrective action e Check whether the input signal XnF Error is ON refer to section 4 4 e Check the diagnostic information of the channel in the buffer memory refer to section 4 5 12 Tab 7 3 When any off the LED 1 to 6 lights red Has an error occurred on the corresponding channel 7 2 4 MITSUBISHI ELECTRIC Errors related to Process Data Troubleshooting 7 2 Errors related to Process Data Check item Corrective action Check that the external supply power terminals termi nals 16 24V and17 24G are supplied with a 24 V DC voltage In order to keep the specified IO Link output voltage lev els L line the external supply voltage must be higher than 22 V DC Check that the input signal Xn7 External power ready is ON refer to section 4 4 Check that the input signal Xn0 Module ready is ON refer to section 4 4 Check whether the input signal XnF Error i
77. ion line 24 V DC Power supply output for connected sensor actuator SIO mode Switching signal DI DO IO Link mode Coded switching Communication line 24 V DC Power supply output for connected sensor actuator SIO mode Switching signal DI DO IO Link mode Coded switching Communication line 24 V DC Power supply output for connected sensor actuator SIO mode Switching signal DI DO IO Link mode Coded switching Communication line 24 V DC Power supply output for connected sensor actuator SIO mode Switching signal DI DO IO Link mode Coded switching Communication line 24 V DC Power supply output for connected sensor actuator SIO mode Switching signal DI DO IO Link mode Coded switching Communication line oV Power supply output for connected sensors actuators 24 V DC External power supply input OV Frame Ground Tab 4 2 Signal layout for the detachable terminal block of the METIOL6 L For the wiring of the IO Link master module ME1IOL6 L please refer to section 5 4 4 MITSUBISHI ELECTRIC Specifications Detailed Description of the Module 4 2 Specifications The specifications for the METIOL6 L are shown in the following table For general specifications please refer to the User s Manual for the CPU modules of the MELSEC L series Hardware design Main tenance and Inspection Item Specifica
78. ional 1 0 module or IO Link master module intelligent function Power supply module CPU module ME110L6 L module End cover Fig 2 1 Connection of the ME1IOL6 L to a CPU module For the installation of the PLC and the mounting of modules please refer to the User s Manual for the CPU modules of the MELSEC L series Hardware design Maintenance and Inspection 2 2 Applicable System Number of connectable modules The number of I O modules and intelligent function modules that can be connected in a system is 10 in total If more than 10 modules are connected the CPU module detects SP UNIT LAY ERR error code 2124 The number of modules is exclusive of the number of power supply modules CPU modules display units RS 232 adapt ers and END covers There is no restriction on the number of IO Link master modules ME1IOL6 L as long as the total num ber of modules is 10 or less Compatible software version For the programming and monitoring of ME1IOL6 L installed ina MELSEC L series PLC use GX Works2 GX Developer can also be used MELSEC L series IO Link Master Module ME1IOL6 L 2 1 System Configuration Applicable System 2 2 4 MITSUBISHI ELECTRIC Quick start IO Link 3 Quick start IO Link This chapter explains based on a simple programming example how to start IO Link communication with the IO Link Ma
79. is fixed to 0 0 Data consistency disabled 1 Data consistency enabled Fig 4 8 Assignment of the bits in buffer memory address 230 If just an Output Data Consistency Enable flag is set the METIOL6 L will send the output data from the buffer memory to the device once when the Data Consistency Start signal Y n 1 A to Y n 1 F is being set to ON This is to ensure that the device will get the same data as in the buffer memory before the master signals consistent data available Changing the Channel Mode Un G240 to Un G253 At startup all channels of the ME1IOL6 L are deactivated The sequence program can set the channels of the IO Link master module to run in various modes or keep them deactivated The actual mode of each channel is shown in the buffer memory address for CHL current mode Un G272 to Un G277 section 4 5 7 CHLI Channel Mode Settings Un G248 Un G249 The setting of the target mode is done in the buffer memory address for CHL channel mode setting Un G248 to Un G253 b15 b14 b13 b12 bit b10 b9 b4 b3 b2 bi bO CH1 Un G248 0 1 Oto7 Time base Multiplier 0 to 63 CH2 Un G249 CH3 Un G250 CH4 Un G251 CH5 Un G252 Information of b12 CH6 Un G253 to b15 is fixed to 0 Mode Cycle Time Data Align Fig 4 9 Assignment of the bits for the channel mode settings a MITSUBISHI ELECTRIC Buffer Memory Detailed Description of the Module Cy
80. ition 5 3 Installation Environment and Installation Position For installation environment and installation position please refer to the User s Manual for the CPU modules of the MELSEC L series Hardware design Maintenance and Inspection 5 3 1 Safety Precautions Design Precautions WARNING Configure safety circuits external to the programmable controller to ensure that the entire system operates safely even when a fault occurs in the external power supply or the program mable controller Failure to do so may result in an accident due to an incorrect output or malfunction Emergency stop circuits protection circuits and protective interlock circuits for conflicting operations such as forward reverse rotations or upper lower limit positioning must be configured external to the programmable controller When the programmable controller detects an abnormal condition it stops the operation and all outputs are Turned off if the overcurrent or overvoltage protection of the power supply module is activated Held orturned off according to the parameter setting if the self diagnostic function of the CPU module detects an error such as a watchdog timer error Also all outputs may be turned on if an error occurs in a part such as an I O control part where the CPU module cannot detect any error To ensure safety operation in such a case provide a safety mechanism or a fail safe circuit external to the programmable contr
81. le Time Address 02H Process Data In Address 05H IO Link Revision ID Address 04H Vendor ID 1 MSB Address 07H Process Data Out Address 06H Device ID 1 MSB Address 09H Vendor ID 2 LSB Address 08H Device ID 3 LSB Address 0BH Device ID 2 Address OAn Function ID high Address ODH Function ID low Address 0Cu System Command Address OFH Reserved Address OEH Tab 4 28 Buffer memory assignment of the ME1IOL6 L 8 9 Indicates whether reading from and writing to a sequence program are enabled R Read enabled W Write enabled Section 4 5 18 Detailed Description of the Module Buffer Memory Address Hexa decimal Decimal Description Default Reference 8B0H Direct parameter page 1 DPP1 High byte Low byte Master Cycle Time Address 01H Master Command Address 00H F sequence Capability Address 03H Min Cycle Time Address 02H Process Data In Address 05H Vendor ID 1 MSB Address 07H IO Link Revision ID Address 04H Process Data Out Address 06H Device ID 1 MSB Address 09H Vendor ID 2 LSB Address 08H Device ID 3 LSB Address 0BH Device ID 2 Address OAH Function ID high Address ODH Function ID low Address 0CH System Command Address OFH Reserved Address
82. le in the buffer memory refer to section 4 5 11 Is the connected device working correctly Check the device connected to the channel Is the device correctly connected to the ME1IOL6 L Check the connection status of the device section 5 4 2 Is there any fault with the signal lines such as disconnection or wire break Check for faulty condition of the signal lines by a visual check and a continuity check Is the CPU module in the STOP status Set the CPU module to the RUN status Is the mode set for the channel correct Verify the contents of the buffer memory addresses 272 to 277 Un G272 to Un G277 in the monitor of GX Works2 refer to section 4 5 7 Has an error occurred on the corresponding channel Check whether the input signal XnF Error is ON refer to section 4 4 e Check the diagnostic information of the channel in the buffer memory refer to section 4 5 12 Is the header information for the acyclic communication request correct e Verify the contents of the buffer memory addresses for the acyclic communication request in the monitor of GX Works2 refer to section 4 5 14 e Check the codes for the command the index and the sub index e When writing data check the data size and the data Has the acyclic communication request flag been set Make sure that the acyclic communication request flag of the corresponding channel Un G1280 is set after the header i
83. nd Writing of Parameter Data 0c eee eee e eee eee 4 11 4 3 8 Direct Parameter Page ccc cee cece naanakan kaaa waaa 4 13 4 3 9 Automatic Confirmation of Events aaa 4 14 MELSEC L series IO Link Master Module ME1IOL6 L Contents A310 Data StOlaQe sevice pasakan anG cenereeswed eelenereu En neiaa 4 14 4 3 11 Device Validation emma ene een ence aaa 4 16 44 I O Signals for the Programmable Controller CPU cece cence eee eee ee 4 18 4 4 1 List Of O SIQNAS orni EE A EEO RONA 4 18 44 2 Details of Input Signals cece ence een ene n kaskas 4 19 4 4 3 Details of Output Signals 00 cece eee e kakanan ene aeeaes 4 20 4 5 Buffer MEMO kaaa ka kaaa Na GA KARLA Aa DAANG AKN paan 4 21 4 5 1 Buffer memory assignment aaa aanak a akan kaa ka sana 4 22 4 5 2 CHU Input Process Data Un GO to Un G15 Un G16 to Un G31 4 31 4 53 CH Output Process Data Un G112 to Un G127 Un G128 to Un G143 4 31 4 5 4 CHL Input Data Mask Un G224 Un G225 to UN G229 06 cee 4 31 4 5 5 Output Data Consistency Enable Un G230 casas aaa ee eee 4 32 4 5 6 Changing the Channel Mode Un G240 to UNNG253 aaa 4 32 4 5 7 CHL Current Mode Un G272 UNG273 2 4 35 4 5 8 Data Storage Setting UN G255 2 ccc e ene eee ence ees 4 35 4 5 9 Current Data Storage Setting UNNG279 aaa waaa 4 36 4
84. nformation has been entered in the buffer memory refer to sections 4 3 7 and 4 5 15 Is the acyclic communication response flag set Verify that the acyclic communication response flag Un G1281 is set by the ME1IOL6 L in response of a commu nication request refer to sections 4 3 7 and 4 5 16 Is the header information sent in the answer correct Is the result code equal to 0000H The codes for the command the index and the sub index sent in the answer should read the same as in the acyclic communication request refer to section 4 5 17 Check the result code for the communication request If the result code is not equal to 0000H an error has occurred while performing acyclic communication section 4 5 17 Is the data swapping function set correctly Check whether the data swapping function is activated or deactivated according to the needs of the application refer to sections 4 3 5 and 4 5 7 Tab 7 5 Troubleshooting for acyclic communication a MITSUBISHI ELECTRIC Checking the IO Link Master Module Status Troubleshooting 7 4 Checking the IO Link Master Module Status When the IO Link master module detailed information is selected in the system monitor of GX Works2 Diagnostics menu 5 System Monitor the status of the module can be checked ICR jsa ar 16Point Buit in yO 16Point 32Point Built in CC Link 32Point 16Point Fig 7
85. njeaen laolo nla n a cin ol 5 i CS Gill 019 Ci Gs Os a h Fig 4 1 Names of parts Name Description Module joint levers Levers for connecting two modules DIN rail hook A hook used to mount the module to a DIN rail Displays the operating status of the ME1IOL6 L On Normal operation Off Internal power supply 5 V DC is OFF External power supply 24 V DC is OFF An internal error has occurred Indicates the I O status of each channel of the ME1IOL6 L On red An error has occurred on this channel SIO mode On green Input output signal is ON Off Input output signal is OFF On red An error has occurred on this channel IO Link mode Flashing green Channel does IO Link communication Off Not connected Detachable terminal block Used for connection of the sensors or actuator and the external power supply A cover for preventing touching the terminals Terminal cover A label on it is used for recording the signal names of devices allocated to terminals Tab 4 1 Description of the parts of the METIOL6 L MELSEC L series O Link Master Module ME1IOL6 L 4 1 Detailed Description of the Module Part Names 4 1 1 Signal Layout of the Terminal Block Terminal No Signal name Description L 1 24 V DC Power supply output for connected sensor actuator CH1 C1 SIO mode Switching signal DI DO IO Link mode Coded switching Communicat
86. nk com MELSEC L series IO Link Master Module ME1IOL6 L 1 1 Overview Features of the ME1IOL6 L 1 2 Features of the ME1IOL6 L 10 Link master function Up to six IO Link devices can be connected to a single ME1IOL6 L Various modes selectable Each channel of the ME1IOL6 L can be configured to run in IO Link mode in digital input mode SIO mode digital output mode SIO mode or can be deactivated Useful functions for data input and output The following functions are available in IO Link mode Automatic update of input and output process data Exchange of consistent data Masking of input data Data valid output HOLD CLEAR Data swapping In SIO mode the HOLD CLEAR function is available in output mode Acyclic communication In addition to the cyclic communication between the IO Link master and an IO Link device data can be exchanged using acyclic communication Convenient functions associated with IO Link devices Direct parameter page access Automatic confirmation of events Data storage for automatic IO Link devices parameter back up Device validation For a detailed description of the functions of the ME1IOL6 L please refer to section 4 3 4 MITSUBISHI ELECTRIC Overall System Configuration System Configuration 2 System Configuration 2 1 Overall System Configuration The following shows a system configuration example for using the IO Link master module Display unit opt
87. nsistent data available signal X n 1 A to X n 1 F is turned ON To request the writing of consistent output data the user has to set the output data consistency enable flag in the buffer memory address Un G230 section 4 5 5 The output data from buffer mem ory will then be sent to the device only if the data consistency start signal Y n 1 A to Y n 1 F is switched to ON or when the output data consistency enable flag is OFF again If just an CHL Output data consistency enable flag is set the ME1IOL6 L will send the output data from the buffer memory to the device once when the CHL Data consistency start signal Y n 1 A to Y n 1 F is being set to ON This is to ensure that the device will get the same data as in the buffer memory before the master signals consistent data available 4 MITSUBISHI ELECTRIC Functions of the IO Link Master Module Detailed Description of the Module 4 3 7 Reading and Writing of Parameter Data IO Link defines service data to be exchangeable between an IO Link device and the application These parameters can be indexed from 2 to 32767 and may have a length of up to 232 bytes each index 0 and 1 is for direct parameter page addressing The exchange of service data happens in acyclic man ner on user application demand Request and answer area the buffer memory To provide this functionality to the PLC the IO Link Master module offers two buffer memory areas for reading and
88. oller For a fail safe circuit example refer to GENERAL SAFETY REQUIREMENTS in the manual Safety Guidelines included in the CPU module or head module Outputs may remain on or off due to a failure of a component such as a relay and transistor in an output circuit Configure an external circuit for monitoring output signals that could cause a serious accident In an output circuit when a load current exceeding the rated current or an overcurrent caused by a load short circuit flows for a long time it may cause smoke and fire To prevent this configure an external safety circuit such as a fuse Configure a circuit so that the programmable controller is turned on first and then the exter nal power supply If the external power supply is turned on first an accident may occur due to an incorrect output or malfunction When changing data of a running programmable controller from a peripheral device con nected to the CPU module to the running programmable controller configure an interlock circuit in the program to ensure that the entire system will always operate safely For other controls to a running programmable controller such as program modification or operating status change read relevant manuals carefully and ensure the safety before the operation Especially in the case of a control from an external device to a remote programmable con troller immediate action cannot be taken for a problem on the programmable controller due
89. oninbuffermemory 4 40 Input signal eee eee eee 4 19 Reset flags aa aie eed KG ANNA 4 40 External power supply Input signal 0 cee eee eee 4 19 Noise filter 2 0 20 0 000 cee eee ee 5 6 Specifications 0000 0c eee eee 4 3 WING ak atte ie oh care aw dae tela NG 5 5 External power supply ready input signal 4 19 H HOLD CLEAR function Overview 2 ee 4 8 Settings with intelligent function module switches 5 8 I Input data invalid input signal 4 19 Input data mask in buffer memory 000 eee eee 4 31 Overview ci e nsdn iie peua REA ee 4 7 Result input signal 4 19 Input signal CHn data mask result aa 4 19 CHn digitalinput aaa 4 19 Consistent data available 4 19 EMO Ka GA Pen aaa Beate aa 4 19 EVEN aiei An BA een a KANA a 4 19 External power supply ready 4 19 Input data invalid Aa 4 19 Module ready a 4 19 Intelligent function module Parameter setting 000 5 7 Setting switches 0000 e eee eee 5 8 IO Link Applicable cables n nannan aa 5 5 Overview 0000 ee 1 1 IO Link device Validation 000000 eee eee 4 16 1O Link mode Data mask result 200000 4 19 Input process data in buffer memory 4 31 Output process datain buffer memory 4 31 Overview 2 0 2 eee 4 6
90. or operation Failure to do so may result in electric shock WARNING Check the rated voltage and terminal layout before wiring to the module and connect the cables correctly Connecting a power supply with a different voltage rating or incorrect wiring may cause a fire or failure Connectors for external devices must be crimped or pressed with the tool specified by the manufacturer or must be correctly soldered Incomplete connections may cause short circuit fire or malfunction Tighten the terminal block screw within the specified torque range Undertightening can cause short circuit fire or malfunction Overtightening can damage the screw and or mod ule resulting in drop short circuit fire or malfunction When disconnecting the cable from the module do not pull the cable by the cable part For the cable connected to the terminal block loosen the terminal screw Pulling the cable con nected to the module may result in malfunction or damage to the module or cable Prevent foreign matter such as dust or wire chips from entering the module Such foreign matter can cause a fire failure or malfunction Please observe the following precautions for external wiring Do not lay control lines or communication cables close to the main circuit high voltage power lines or load lines Otherwise effects of noise or surge induction are likely to take place Keep a safe distance of more than 100 mm from the above when wiring The
91. power supply 24 V DC Fig 6 2 In this and the following examples the ME1IOL6 L is mounted to the CPU module together with an input module Channel HOLD CLEAR function setting Tab 6 1 CH1 CLEAR Conditions for the intelligent function module CH4 to CH6 switch setting Program conditions CH1 is used in IO Link mode for the input of process data refer to sections 4 5 2 and 4 5 6 In the event of a module error a message shall be displayed on the display unit of the PLC CPU The error shall be reset after removal of the cause A warning lamp is switched ON if the device connected to channel 1 is malfunctioning The CH1 error shall be reset after removal of the cause Before creating a program Perform the following steps before creating a program Wiring of external devices Mount the ME1IOL6 L to the MELSEC L series PLC and connect the external power supply and the IO Link device For details refer to section 5 4 2 a MITSUBISHI ELECTRIC Example 1 Input of Process Data Programming Switch setting in the PLC parameters Based on the setting conditions given on the previous page make the switch settings for the intelli gent function module in the PLC parameters The HOLD CLEAR setting is set to CLEAR by default Please note that the switches are not stored in the module so checking and setting of the switches is always required even if the module was used before in an other application
92. pported Tab 4 41 Acycliccommunication requestresults Any other result code indicates that the request itself has been executed but there were errors on IO Link level For the meaning of those result codes please refer to the IO Link specification MELSEC L series IO Link Master Module ME1IOL6 L 4 49 Detailed Description of the Module Buffer Memory CHI Data size Un G1300 Un G1444 In case of a read request the data size defines the amount of bytes sent in the answer Valid values for the data size are 0 to 254 bytes CH1 Un G1300 CH2 Un G1444 CH3 Un G1588 CH4 Un G1732 CH5 Un G1876 CH6 Un G2020 b15 b14 b13 b12 bii b10 b9 b8 b7 b6 b5 b4 b3 b2 bi bO Fig 4 38 Buffer memory addresses for the size of the received data CHL Data Un G1301 to Un G1428 Un G1445 to Un G1572 For the data transmitted with an answer 128 words of buffer memory are reserved for each channel Address Channel Description Tab 4 42 Un G1301 Un G1428 CH1 Data 128 words Buffer memory addresses for the channel data acyclic communication answer Un G1445 Un G1572 Data 128 words Un G1589 Un G1716 Data 128 words Un G1733 Un G1860 Data 128 words Un G1877 Un G2004 Data 128 words Un G2021 Un G2148 Data 128 words ata MITSUBISHI ELECTRIC Buffer Memory Detailed Description of the Modul
93. process data in IO Link mode k Description High byte Low byte Decimal Byte 31 Byte 30 Byte 1 Byte 0 Input process data in IO Link mode Byte 31 Byte 30 Byte 1 Byte 0 Input process data in IO Link mode Byte 31 Byte 30 Byte 1 Byte 0 Input process data in IO Link mode Byte 31 Byte 30 Byte 1 Byte 0 Input process data in IO Link mode Byte 31 Byte 30 Byte 1 Byte 0 Input process data in IO Link mode Byte 31 Byte 30 Tab 3 4 Input process data allocation in buffer memory data swap enabled If the input data invalid flags in IO Link mode are showing a high signal either there is no IO Link com munication or the input process data is marked as invalid by the IO Link Device Signal direction CPU Module ME1IOL6 L Device No Input pic A X40 X4F X50 X5F X51 CH1 input data is valid X52 CH2 input data is valid X53 CH3 input data is valid X54 CH4 input data is valid X55 CH5 input data is valid X56 CH6 input data is valid Tab 4 5 Value of the input devices MELSEC L series IO Link Master Module ME1IOL6 L 3 4 Output process data Quick start IO Link 3 4 Output process data The output process data stored in the buffer memory is sent to the IO Link Device automatically Address Hexa decimal Description High byte
94. put signal Xn is switched OFF Tab 4 6 Explanation for the example Match between the input data mask and the input data Operation High byte Low byte Input data 0111 1001 0010 1010 Input data mask 0000 0000 0000 1000 AND operation 0000 0000 0000 1000 Result of the AND operation 0000 0000 0000 1000 Input data mask 0000 0000 0000 1000 XOR operation 0000 0000 0000 0000 Description Tab 4 7 Example for masking input data match CA A bitwise AND operation between the input data and the input data mask is performed A bitwise XOR operation the result of the AND operation and the input data mask is performed Since no bit is set in the result of the XOR operation the input signal Xn is switched ON Tab 4 8 Explanation for the example MELSEC L series IO Link Master Module ME1IOL6 L 4 7 Detailed Description of the Module Functions of the IO Link Master Module 4 3 4 An input data mask is only active if their value is greater than 0 The byte order of the process data in buffer memory can be swapped refer to section 4 3 5 This takes impact also on the input mask operation When using the input mask on a channel which runs with reverse byte order Data align flag 1 the input mask should be set in reverse byte order too The following figure shows the mask operation and the dependency to the byte order of the input data Fig 4 3 put process 4 Data Data If the bits set
95. rors 7 1 Troubleshooting using the LEDs of the Module This section describes the errors that can be checked with the LEDs on the front of the ME1IOL6 L Fig 7 1 ME1IOL6 L LED display of the METIOL6 L RUN 123 4 5 6 7 1 1 When the RUN LED is turned off Check item Corrective action Confirm that the supply voltage for the power supply mod i i Is the power being supplied to the PLC ule is within the rated range Calculate the current consumption of the CPU module I O Is the capacity of the power supply module adequate modules and intelligent function modules to see if the power supply capacity is adequate e Confirm the error code and take corrective action refer to section 7 4 Reset the programmable controller CPU and verify that Has an error occurred in the PLC the RUN LED is lit If it does not light even after doing this the module may be malfunctioning Please consult your local Mitsubishi representative explaining the detailed description of the problem Is the module correctly mounted to the CPU module or to an ather module Check the mounting condition of the module Tab 7 1 When the RUN LED is off 7 1 2 When any of the LEDs 1 to 6 is off Check item Corrective action Is the corresponding channel deactivated Check the current mode of the channel section 4 5 7 Is an IO Link device connected to the corresponding chan nel when the channel is in IO L
96. rved Fixed to 0H Tab 5 3 Switch settings for the METIOL6 L ata MITSUBISHI ELECTRIC Setting of the IO Link Devices Setup and Procedures before Operation 5 6 Setting of the IO Link Devices For setting the parameters of the IO Link devices a commercially available FDT DTM can be used FDT stands for Field Device Tool and DTM stands for Device Type Manager FDT DTM is a communication technique for the manufacturer independent configuration of field devices For connection to an O Link device CPU port connection USB Ethernet as well as Ethernet networks can be used PLC CPU ME1IOL6 L Up to six IO Link devices slaves or conventional I O devices USB or Ethernet FDT Comm DTM Device DTM OOOO Fig 5 8 System configuration for the connection to the PLC CPU ETHERNET PLC CPU ME110L6 L Up to six IO Link devices slaves or FDT conventional I O Comm DTM devices Device DTM Fig 5 9 System configuration for an Ethernet connection IODD IO Link Device Description for each IO Link device Please ask the manufacturer of the IO Link device MELSEC L series lO Link Master Module ME1IOL6 L Setup and Procedures before Operation Setting of the IO Link Devices 5 10 4 MITSUBISHI ELECTRIC Programming Procedure Programming 6 Programming This chapter describes the programming of the IO Link master module ME1IOL6 L NOTE Wh
97. s ON refer to section 4 4 Check the diagnostic information for the module in the buffer memory refer to section 4 5 11 Is 24 V DC external supply power being supplied Is the ME1IOL6 L working correctly Is the device correctly connected to the ME1IOL6 L Check the connection status of the device section 5 4 2 Is the connected device working correctly Check the device connected to the channel Is there any fault with the signal lines such as disconnection Check for faulty condition of the signal lines by a visual or wire break check and a continuity check Is the CPU module in the STOP status Set the CPU module to the RUN status Verify the contents of the buffer memory addresses 272 to Is the mode set for the channel correct 277 Un G272 to Un G277 in the monitor of GX Works2 refer to section 4 5 7 e Check whether the input signal XnF Error is ON refer to section 4 4 e Check the diagnostic information of the channel in the buffer memory refer to section 4 5 12 Has an error occurred on the corresponding channel Check whether the data swapping function is activated or What is the status of the data swapping function deactivated according to the needs of the application refer to sections 4 3 5 and 4 5 7 When Input Process Data is wrong e Verify the contents of the buffer memory addresses for the corresponding channel in the monitor of GX Works2 refer to section 4
98. sed by an undervoltage of the external 24 V DC Internal undervoltage fault power supply e The lO Link device validation is negative refer to device validation Device error e The IO Link device does not support the configured cycle time The cycle time setting needs to be increased Data storage error An error in association with the data storage function has occurred b1 b2 b3 b4 b5 is e This bit is set to 1 when in IO Link mode a device has been detected e This bit is reset 0 when a device is not present b8 b9 L undervoltage L overload b10 C Q overload This is historical information It is stored until the error has been con firmed by the user b11 Overheat f n o For a more detailed description please refer to the description of bO to b12 Internal undervoltage fault b6 Device error b14 Data storage error b15 Fixed to 0 Tab 4 34 Channel diagnostic information Device connected MELSEC L series lO Link Master Module ME1IOL6 L 4 39 Detailed Description of the Module Buffer Memory 4 5 13 NOTE 10 Link event information Un G320 to Un G370 An IO Link device can send event data to the master ME1IOL6 L to inform about certain states prob lems errors etc The ME1IOL6 L will store these events into the buffer memory Event flags Un G327 When an event appears on one of the channels the module will store the data of the event in the event information
99. served Fixed to 0 To obtain the actual address add the start address for the request data area of the corresponding channel For example the Device ID 1 and the Device ID 2 of the device connected to channel 1 can be found in the address Un G420 1 Un G421 4 MITSUBISHI ELECTRIC Functions of the IO Link Master Module Detailed Description of the Module The execution of the command is requested by the acyclic communication execution flag section 4 5 15 and the result will be reflected by the acyclic communication response flag section 4 5 16 When the execution of the request has been completed the result will be stored in the acyclic com munication answer area see section 4 5 17 Possible values are shown in the following table Result hexadecimal Meaning 0000H The operation was successful 0001H Operation failed state conflict Tab 4 17 Acycliccommunication request results for device validation According to the acyclic communication specification the command code and the index value will be reflected to the answer data area The buffer memory addresses for the sub index the data size as well as the data area will not contain valid data when the function returns MELSEC L series IO Link Master Module ME1IOL6 L 4 17 Detailed Description of the Module I O Signals for the Programmable Controller CPU 4 4 O Signals for the Programmable Controller CPU 4 4 1 List of I O
100. servicing and testing of these prod ucts The installation should be carried out in accordance to applicable local and national standards Safety warnings in this manual In this manual warnings that are relevant for safety are identified as follows DANGER Failure to observe the safety warnings identified with this symbol can result in health and injury hazards for the user WARNING Failure to observe the safety warnings identified with this symbol can result in damage to the equipment or other property MELSEC L series IO Link Master Module ME1IOL6 L General safety information and precautions The following safety precautions are intended as a general guideline for using PLC systems together with other equipment These precautions must always be observed in the design installation and operation of all control systems DANGER Observe all safety and accident prevention regulations applicable to your specific applica tion Always disconnect all power supplies before performing installation and wiring work or opening any of the assemblies components and devices Assemblies components and devices must always be installed in a shockproof housing fitted with a proper cover and fuses or circuit breakers Devices with a permanent connection to the mains power supply must be integrated in the building installations with an all pole disconnection switch and a suitable fuse Check power cables and lines connected to th
101. signals Note that the I O numbers X Y shown in this section and thereafter depends on the mounting posi tion resp on the start O number or head address of the IO Link master module This head address has to be added to the shown I O numbers For example if the IO Link master module occupies the range from X Y040 to Y X05F the head address is X Y040 However the least significant digit is omitted and the head address n in this case reads as 4 The module ready input Xn0 will be X40 and the event flag will be X50 Signal direction CPU Module lt ME1IOL6 L Signal direction CPU Module ME1IOL6 L Device No Input Device No Output Module ready Use prohibited CH1 e Digital input Sar SIO mode Section CH3 Data mask result 44 2 CH4 IO Link mode CHS CH6 Signal name Reference Signal name Reference Section Digital output SIO mode 44 3 External power 24 V DC ready Use prohibited Use prohibited Error flag Event flag CH1 Section CH2 rina CH3 Section Input data invalid na Output data valid 443 CH5 CH6 Use prohibited Use prohibited PG Pas Pat Pat Wat Wat Pad Pas Was x CH1 CH1 CH2 CH2 CH3 i Section 5 CH3 j Section CHA Consistent data available 442 am Data consistency start 443 CH5 CH5 Ch6 CH6 Tab 4 18 O signals of the METIOL6 L
102. sponse is given by the IO Link device the execution will be aborted The request completed flag will be set and the acyclic communication result area shows 1100H indi cating the timeout 4 12 a MITSUBISHI ELECTRIC Functions of the IO Link Master Module Detailed Description of the Module 4 3 8 Direct Parameter Page Direct parameter page 1 DPP1 read access The data of parameter page 1 can be accessed by the acyclic communication function refer to section 4 3 7 but for easier handling is also directly mapped into the buffer memory For each channel a direct parameter page 1 read area is reserved in the buffer memory The IO Link master module reads the page from the IO Link device and stores the 16 bytes of parameter data into the buffer memory area A read access is initiated by setting the direct parameter page 1 DPP1 read request flag The direct parameter page 1 DPP1 read response flag indicates that data is available in the buffer memory For a detailed information of reading the direct parameter page 1 please refer to section 4 5 18 Direct parameter page 1 DPP1 write access A write access to direct parameter page 1 is not supported MELSEC L series IO Link Master Module ME1IOL6 L 4 13 Detailed Description of the Module Functions of the IO Link Master Module 4 3 9 4 3 10 4 14 Automatic Confirmation of Events By sending event data to the IO Link master an IO Link device can inform about warnin
103. ster A comprehensive description can be found in chapter 5 of this manual Module mounting Mount the ME1IOL6 L to the L series PLC maa ae Wiring Connect the external power supply and the IO Link devices Programming and debugging Create and check the sequence program Refer to section 5 3 Refer to section 5 4 Refer to chapter 6 Fig 3 1 Function chart for the setup of an IO Link master module ME1IOL6 L MELSEC L series IO Link Master Module ME1IOL6 L Quick start IO Link Enabling IO Link communication 3 1 Enabling IO Link communication After setting the IO Link master to IO Link mode IO Link communication with the connected IO Link Devices is started Please note that in the following example the ME1IOL6 L occupies the input and output addresses X Y40 to X Y5F x40 UA i r 7 0 HI MOV H100 G248 to UA MOV H100 G249 1 UA MOV H100 G250 UA MOV H100 G251 G UA MOV H100 G252 1 0 UA MOV H100 G253 1 O UA MOV H3F G240 Fig 3 2 Settings for channels CH1 to CH6 Number Description Channel CH1 Channel CH2 i Channel CH3 The relevant channel set to IO Link mode data swapping fastest possible cycle time Channel CH4 Channel CH5 Channel CH6 The channel mode change flags for CH1 to CH6 are set Tab 3 1 Description of the program for the settings 3 2 a
104. switches at the module itself The intelligent function module switches are set using 16 bit data 4 hexadecimal digits b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 bO PAP AAP o ON a NG NO TEN TON nd Digit 4 Digit 3 Digit 2 Digit 1 Fig 5 6 Bit assignment for one switch In the l O assignment setting screen section 5 5 1 click on Switch Setting to display the screen shown below then set the switches as required The switches can easily be set if values are entered in hexa decimal Change the entry format to hexadecimal and then enter the values IC on Switch Setting for I O and Intelligent Function Module Ex Input Format HEX J Switchi switch2 switch3 switch switchs 4 Fig 5 7 Switch setting for intelligent function modules When the intelligent function module switches are not set the default value for switches 1 to 5 is 0000H Switch 3 is used to define the behaviour of the output signals Yn1 to Yn6 SIO output mode and the output data valid signals Y n 1 1 to Y n 6 1 IO Link mode Switch Setting item Switch 1 Reserved Switch 2 Reserved Fixed to 0H HOLD CLEAR function setting CH1 to CH6 b15 b6 b5 b4 b3 b2 bi bo HOLD CLEAR function setting Switch 3 0 CLEAR the output 1 HOLD the output 0 CH6 CH5 CH4 CH3 CH2 CH1 Switch 4 Reserved Switch 5 Rese
105. t to zero a MITSUBISHI ELECTRIC Buffer Memory Detailed Description of the Module Th e indication and confirmation of events is shown in the following figure gt Performed by the ME1IOL6 L mz Performed by the sequence program ON CHU event flag Un 327 OFF Pleasesee NOTE 1 Event signal X n 1 0 OFF CHO event reset flag Un 326 OFF NOTE The event signal X n 1 0 is only switched OFF when there are no further events pending Fig 4 23 Timing of the event and event reset flags CH Event information area Un G328 to Un G330 Un G336 to Un G3338 The ME1IOL6 L stores events into the CHL event information area For each channel three words are res CH2 Un G336 CH3 Un G344 CH4 Un G352 CH5 Un G360 CH6 Un G368 erved for event information containing the detailed data of the latest event Event ID Each event is assigned an unique ID unique within the channel b15 b14 b13 b12 bit b10 b9 b8 b7 b6 b5 b4 b3 b2 bi bO Fig 4 24 TheeventID is unique within a channel Event Qualifier The contents of the event qualifier gives a detailed description of the event CH1 Un G329 0to3 Oto 3 Oto 7 CH2 Un G337 CH3 Un G345 b15 b14 b13 b12 bii b10 b9 CH4 Un G353 CH5 Un G361 Information of b12 to b15 is fixed to 0 3 CH6 Un G369 NI HA 3 ls Nn Fig 4 25 Assignment of the bits for t
106. ta size as well as the data area will not contain valid data when the function returns Read Write backup of data storage Backup of data storage data is done by use of the acyclic communication A total of 2048 bytes of parameter data can be exchanged with the data storage Since the buffer memory area for acyclic communication is limited to 256 bytes the data has to be exchanged with subsequent calls using the data size and the index values In case of reading writing data with sizes exceeding 256 bytes only one channel at a time can be accessed Reading of data from the data storage to the buffer memory The command code for reading data from the data storage to the buffer memory is 200H The use of index 0 will start the exchange process for the whole 2048 bytes This means that for reading the data from the master into the buffer memory the application has to start with a read command with index 0 The command will return after receiving all the data from the data storage and will present the first 256 byte in the acyclic communication answer area Further reads with indices 1 to 7 will then return the parameter data from byte 256 to 2048 The data size will contain the actual amount of data in that index The application can skip further reads on higher indices if the current one returned with a data size that is smaller than 256 In this case the rest of the parameter data is empty Writing of data from the buffer memory to the da
107. ta storage The command code for writing data from the buffer memory to the data storage is 201H For writing the data to the data storage the application should first fill the masters internal buffer with the data referred by indices 1 to 7 and finally set the first 256 bytes by use of index 0 The transfer process will start MELSEC L series IO Link Master Module ME1IOL6 L 4 15 Detailed Description of the Module Functions of the IO Link Master Module 4 3 11 Device Validation When the device validation is activated the ME1IOL6 L checks the connected IO Link device at every start up of the IO Link communication In case that the validation is not successful a device error is indicated by the ME1IOL6 L The device validation can be set using the acyclic communication refer to section 4 3 7 Two types of validation are selectable Compatible device The newly connected device must have the same vendor ID and IO Link Device ID as the configured device With this setting it is possible to replace a broken device by another device of the same type Identical device The newly connected device must have the same vendor ID IO Link Device ID and serial number as the confederated device In other words the same device must be connected again NOTE The validation setting must be executed after every PLC reset or after every power on of the PLC The following table shows the data required in the acyclic communication request
108. tion of the program for the initial settings These instructions are only executed when an error has occurred during mode changing ata MITSUBISHI ELECTRIC Example 1 Input of Process Data Programming Reading of input process data M10 x40 X47 X51 aox t Ip FROM K4 KO D100 K16 O Fig 6 6 The input data is stored in the registers D100 to D115 Number Description The input process data of CH1 is moved from the buffer memory of the ME1IOL6 L to the PLC CPU when e the changing of the channel mode has been completed without an error M10 1 e the lO Link master module is ready X40 the external power supply 24 V DC is ON X47 and the input data on CH1 is valid X51 Tab 6 4 Description of the program shown above Processing for a module error X4F U4 G280 6 64 a UMSG MEJIOL6 L fault o U4 G282 0 t Processing at error occurrence 2 U4 G282 1 li Processing at error occurrence 3 U4 G282 2 Processing at error occurrence O X30 Lai SET c216 U4 G280 6 U4 G281 6 U4 115 RST G281 6 O UMSG m 1 Fig 6 7 Program part for module error processing Number Description o When a module error is detected Un G280 6 the message ME1IOL6 L fault is displayed on the display unit of the CPU module External 24 V DC undervoltage Processing at error occurrence Flash ROM access warning Maximum number of flash ROM accesses
109. tions Number of ports Port configuration 6 10 Link e Digital output SIO mode e Digital input SIO mode e Disabled Rated voltage 24V DC IO Link mode Rated output current C Q 15mA Rated sensor actuator supply current L 200 mA Input type Sink Rated voltage 24V DC Digital input Internal pull down current C Q 5mA Input filter HW and SW 200 us Rated voltage 24V DC Rated output current C Q Digital output Rated sensor actuator supply current L Max current per port sum of Cand L 215 mA Output type Push pull Communication line C Q Port disabled Sensor actuator supply line L Switched OFF Protection Communication line C Q functions Sensor actuator supply line L Over current over load and short circuit Between the O terminals and PLC power Insulation supply method Photocoupler isolation Between channels No isolation Dielectric withstand voltage Between I O terminals and programmable controller power supply 500 V AC ms for 1 minute Insulation resistance Between I O terminals and programmable controller power supply 500 V DC 10 MQ or more Number of occupied I O points 32 points I O assignment Intelligent 32 points External wiring connection system 18 points terminal block Cable type Unshielded cable Maximum l
110. to 1 in the input data mask are set data H or L H or L also in the first two bytes of the input data the data mask result is set to 1 Logical operation pa KI Data Data npu ata mask P H Data mask result High and low byte order depends on data align setting Output HOLD CLEAR Function For the case where the programmable controller PLC CPU is placed in STOP or in a stop error status whether to hold HOLD or clear CLEAR the outputs can be set Make the setting in the HOLD CLEAR setting of the intelligent function module switch please refer to section 5 5 2 Switch 3 is used to define the behaviour of the output signals Yn1 to Yn6 SIO output mode and the output data valid signals Y n 1 1 to Y n 6 1 IO Link mode a MITSUBISHI ELECTRIC Functions of the IO Link Master Module Detailed Description of the Module 4 3 5 Data Swapping Function This is a function to exchange swap the upper and lower bytes of the process data and on request data acyclic data stored in the buffer memory of the ME1IOL6 L and the IO Link device With this function the word data processing need not swap the bytes using the sequence program for IO Link devices storing the data in a reversed order The following figure shows the data flow and the swapping functionality of the ME1IOL6 L IO Link Master IO Link Device
111. tter form of addressing is used widely For full documentation of all the instructions used with examples please refer to the Programming Manual for the MELSEC System Q and the MELSEC L series MELSEC L series IO Link Master Module ME1IOL6 L 4 21 Detailed Description of the Module Buffer Memory 4 5 1 Buffer memory assignment Address Hexa decimal OH 0 to to Input process data in IO Link mode FH 15 10H 16 to to Input process data in IO Link mode 31 32 to Input process data in IO Link mode 7 Description Default Reference Decimal 47 Section 48 4 5 2 to Input process data in IO Link mode 63 64 to Input process data in IO Link mode 79 80 to Input process data in IO Link mode 95 96 to System area Output process data in IO Link mode Output process data in IO Link mode Output process data in IO Link mode Section 45 3 Output process data in IO Link mode Output process data in IO Link mode Output process data in IO Link mode System area CH1 CH2 CH3 i Input data mask Section CH4 45 4 CH5 CH6 Tab 4 21 Buffer memory assignment of the ME1IOL6 L 1 9 Indicates whether reading from and writing to a sequence program are enabled R Read enabled W Write enabled 4 22 a MITSUBISHI ELECTRIC B
112. uffer Memory Detailed Description of the Module Address Hexa decimal 7 Description Default Reference Decimal Section E6H 230 Output data consistency enable 0000H 455 E7H 231 to to System area EFH Channel mode change flag Channel mode change complete CH1 CH2 CH3 CH4 Mode change result CH5 Section CH6 4 5 6 CH1 CH2 CH3 CH4 CH5 CH6 System area Mode setting Section Data storage setting 45 8 System area CH1 CH2 CH3 i Current mode Section CH4 45 8 CH5 CH6 System area Current data storage setting oe Channel error flag Section Channel error reset flag 4 5 10 Section Module diagnostic information 45 11 3 eee f Section Diagnostic information 4512 System area Tab 4 22 Buffer memory assignment of the ME1IOL6 L 2 9 Indicates whether reading from and writing to a sequence program are enabled R Read enabled W Write enabled MELSEC L series IO Link Master Module ME1IOL6 L 4 23 Detailed Description of the Module Buffer Memory Address Hexa decimal 140H 320 CH1 0000H 141H 321 CH2 0000H 142H 322 CH3 ee f 00004 Taga 33 CHa Event Auto Confirmation Setting Png BOKYA CH5 0000H 4 5 13 CH6 00001 Event reset flag 0000H Event flag 0000H
113. unction ID high low Address ODH Address OCH System Command Address OFH Reserved Address OEH Tab 4 27 Buffer memory assignment of the ME1IOL6 L 7 9 Indicates whether reading from and writing to a sequence program are enabled R Read enabled W Write enabled 4 MITSUBISHI ELECTRIC Buffer Memory Detailed Description of the Module Address Hexa decimal Decimal Description Default Reference Direct parameter page 1 DPP1 High byte Low byte Master Cycle Time Address 01H Master Command Address 00H F sequence Capability Address 03H Min Cycle Time Address 02H Process Data In Address 05H Vendor ID 1 MSB Address 07H IO Link Revision ID Address 04H Process Data Out Address 06H Device ID 1 MSB Address 09H Vendor ID 2 LSB Address 08H Device ID 3 LSB Address 0BH Device ID 2 Address OAH Function ID high Address ODH Function ID low Address 0Cu System Command Address OFH Reserved Address OEH Section 4 5 18 System area Direct parameter page 1 DPP1 System area MELSEC L series IO Link Master Module ME1IOL6 L High byte Low byte Master Cycle Time Address 01H Master Command Address 00H F sequence Capability Address 03H Min Cyc
114. vice Un G230 CHO Output data consistency enable flag and the PLC CPU a f H ii e Y n 1 A to Y n 1 F Data consistency start signal Refer to sections 4 3 6 and 4 4 Is the signal Channel O output data valid switched ON in order to output the data Tab 7 4 Troubleshooting for process data exchange NOTE If the process data is not read or written after the proper corrective action is taken in accordance with the above check item the possible cause is a module failure Please consult your local Mit subishi representative explaining the detailed description of the problem MELSEC L series IO Link Master Module ME1IOL6 L 7 3 Troubleshooting Errors related to Acyclic Communication 7 3 Errors related to Acyclic Communication Check item Corrective action Is 24 V DC external supply power being supplied e Check that the external supply power terminals termi nals 16 424V and17 24G are supplied with a 24 V DC voltage In order to keep the specified IO Link output voltage lev els L line the external supply voltage must be higher than 22 V DC Check that the input signal Xn7 External power ready is ON refer to section 4 4 Is the ME1IOL6 L working correctly Check that the input signal Xn0 Module ready is ON refer to section 4 4 Check whether the input signal XnF Error is ON refer to section 4 4 Check the diagnostic information for the modu
115. xample data is output to an IO Link device connected to channel 1 of a ME1IOL6 L The same system configuration as for example 1 is used refer to section 6 2 Program conditions CH1 is used in IO Link mode for the output of process data refer to section 4 5 3 In the event of a module error a message shall be displayed on the display unit of the PLC CPU The error shall be reset after removal of the cause A warning lamp is switched ON if the device connected to channel 1 is malfunctioning The CH1 error shall be reset after removal of the cause 6 3 1 Before creating a program Before creating the program perform the steps described in section 6 2 1 6 3 2 Program For full documentation of all the instructions used with examples please refer to the Programming Manual for the MELSEC System Q and the MELSEC L series List of used devices Device Function Remark Inputs Error reset signal LX40C6 X30 to X3F Module ready External power 24 V DC ready Error ME1IOL6 L X40 to X5F Outputs Warning lamp IO Link error L26CPU BT YO to Y7 CH1 Output data valid ME1IOL6 L Y40 to Y5F Internal relays Initialization of CH1 completed without fault The mode for CH1 has been changed without fault Error during initialization of CH1 An error has occurred during mode changing for CH1 Tab 6 7 CH1 Diagnostic information The contents of D120 corre
116. xample 1 please refer to section 6 2 2 4 MITSUBISHI ELECTRIC Example 3 Acyclic Communication Reading Programming 6 4 6 4 1 6 4 2 Example 3 Acyclic Communication Reading System configuration In this example data is read from an IO Link device connected to channel 1 of a ME1IOL6 L using acy clic communication The same system configuration as for example 1 is used refer to section 6 2 Program conditions CH1 is used in IO Link mode refer to section 4 5 3 The header information for acyclic communication is stored in registers This allows for an easy change of command index and subindex The read data is transferred from the buffer memory to registers for further processing Before creating a program Before creating the program perform the steps described in section 6 2 1 Program For full documentation of all the instructions used with examples please refer to the Programming Manual for the MELSEC System Q and the MELSEC L series List of used devices Function Remark Acyclic communication start signal LX40C6 X30 to X3F Module ready ME1IOL6 L X40 to X5F The mode for CH1 has been changed without fault Command The header information required Index for the request is stored in these registers by instructions else Sub index where in the program Acyclic communication answer Data size Unit Byte Data size Number of received data Unit Word Inputs Internal rel

Download Pdf Manuals

image

Related Search

Related Contents

OWNER`S MANUAL - Clean Energy Heating Systems  Manual de Utlilizaçaol  Fier partenaire des TIGRES!  Emerson Fisher M Series Installation Instructions  Betriebsanleitung firestar 18-40 Lambda Deutsch V 1.4    取扱説明書 HV-F125  JL Audio J2320.4 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file