Home
MELSEC iQ-F FX5 User's Manual (SLMP)
Contents
1. 90 zi eri 92 APPENDIX 94 Appendix 1 Device Memory Extension 94 Access to module access 94 Access with indirect specification of the device No by using index register or long index register 97 Access with indirect specification of the device No by using the values stored in word device 101 Appendix 2 Command Comparison between MC Protocol 51 104 Appendix 3 CPU Module Processing Time of 5 105 INDEX 106 Re VISIONS 244 55 eae eee ees Z eee 108 NARRANT a Gage a We aie we dee ae ee 109 5 110 CONTENTS RELEVANT MANUALS User s manuals for the applicable modules Manual name manual number MELSEC iQ F FX5 User s Manual Startup lt JY997D58201 gt MELSEC iQ F FX5U User s Manual Hardware lt JY997D55301 gt MELSEC iQ F FX5UC User s Manual Hardware lt JY997D61401 gt MELSEC iQ F FX5 User s Manual Application lt JY997D55401 gt MELSEC iQ F FX5 Programming Manual Program Design lt JY997D55701 gt MELSEC iQ F FX5 Programming Manual
2. stri su I I I wD 012 2165 2155 gt 0 jor S258g52282922B S 259528 5929 Iu S gt Dic D 5 3 9 2 S D Q o I I I 0 U lt ere lt a E I o iO o I jo 7 2 9 9 0 95 I lt lt z I I z T C Oo o l I L H L H L H L H L H L H L H L H 4 lt gt lt gt Specify the target device Specify the target device to be written 1st block to be written mth block p the target bit device Specify the target bit device data to be written for the data to be written for the device point of the 1st block device point of the mth block Response data Data name CPU module Contents of the character areas during device write block This section explains what is in the character area when a device write block function is performed llNumber of word device blocks and number of bit device blocks This data is for specifying the number of word device blocks or bit device blocks to be sent directly after this data field in the batch write to the word device or bit device respectively When communicating data in ASCII code Each number of blocks are converted to 2 digit ASCII code hexadecimal and sent Ex
3. 27 Chalactler ales u 32 CHAPTER4 COMMANDS 39 4 1 List of Commands and 5 39 4 2 ACCESS is gerne dox _ __ _ de ico es 43 GOMIT ECT OT TITIUS 43 DEVICE TANCE ecard a s Se bes BEG oe ered eee 44 Device Read Balch RR 46 Device Write 50 Device Read 53 Device Write Random u u Od uu RES yak UE EE GaAs 58 Device Read ua ado 65 Device Write BIOK 70 72 4 3 Remote Contool ss 80 Before the remote operation 80 emote PUN l ulus us ee need 80 P l O ___ as 82 FOTO PAU E aiid oe gt ____ _ __ _ 82 Remote latch 83 __ ____ ___ _ ____ _ 84 Processor type read C 85 4 4 Cear EnO E EE ______ m maa s x 87 4 5 boca be cee __ _ ____ ab sal 88 4 6 Remote Password Unlock or Lock
4. When completed When failed for 0400H ASCII code 0 0 0 O ASCII code 0 4 0 O 30H 30H 30H 30H 30H 34H 30H 30H Binary code Binary code 00H 00H 04H Request data MRequest message Header Application data Subheader Request Request Request Request Request Reserve Command Subcommand Request destination destination destination data data network station No module multidrop length No No station No Set a command to be executed and data for the argument of the subcommand Some commands and subcommands do not require the request data specification For details of the request data refer to Page 43 Device Access 26 3 MESSAGE FORMAT 3 1 Message Format Response data mResponse message Header Application data Subheader Request Request Request Request Response End Response destination destination destination destination data length code data network station No module I O multidrop No No station No The processing result of the request data is stored Some commands do not return response messages For details of the response data refer to L Page 43 Device Access Error information The request destination network number request destination station number request destination module I O number and request destination multi drop station number of the station which responded with errors are stored Numbers which differ fr
5. uoneis uonjejs uoneunsep Jequinu 5 I L H DOH 00H OBH 00H 51H COH 11 bytes 20 3 MESSAGE FORMAT 3 1 Message Format When data is written from external equipment to CPU module External equipment CPU module command message gt Text command Example 50H 00H Jepeeuqng Jequinu YIOMION Jequunu uonejs jsenbey r Jequinu lnpouu uoneursep jsenbey I Jequinu uols uoneunsep jsenbey 1senbe L H OCH 00 p AJ9s J L H 10H 00H CPU module External equipment response message When completed normally Jepeeuqng When completed with error Jepeeuqng DOH DOH 00H Jequinu YIOMION Jequunu uoneljs uoneunsep jequnu gt Text response uoneunsep jsenbey I 1senbey J quunu 5 gt Text response uonejs sso2oe Jequunu XJOM9N uonejs 55900 Jequinu uonejs Jequunu uoneunsep jsenbey I J quunu 5 doJp nnuu uoneunsep jsenbey u B5u 02H 00 OOH 2 bytes HO uey Jeujo
6. pJoM JO Jequinw vi 4 Specify the target device to be written 1st block i sa D 5 9 w E lt NE o 00 5 i o 9 a e 2 AJQ O C gt gt I I H ON 7 pJoM Jo 4 Specify the target device to be written nth block 4 gt Specify the target word device data to be written for the device point of the 1st block I l I I l I g ro cr 00 Z QnNn Oi 2 S s gt iOS Q c ioa 9 021005 oi I 9i gt 00 O lt 9 p oe lt S a 3 952 6 lt lt 1 I 3 557 gt lt F s o 5 roo s lt I e T o O I D lt I gt 5 Osa 10 9 5 de p ES peer m 5 Jo _ A23 InN IG I 5 I I 9 5 Ta lt a lt ct 7 3 2 3 2 3 I I I I I I I I I I I I I I I I Hyera Aisiak q S935 pep pem E Flee e o appo HEIDE S yb Hot 4 Specify the target device to q r Specify the target word device data
7. Connecting an external device used with MC protocol An external device that uses the QnA compatible 3E frame of MC protocol can be connected to an CPU module directly External device MC protocol CPU module Personal computer QnA compatible 3E frame lt HMI 3 Cognex product etc um 1 OUTLINE 1 2 Features of SLMP 2 SLMP DATA This chapter describes the SLMP data communication by which the external equipment reads or writes data to a CPU module 2 1 Typeand Application of the Data Communication Frame This section describes the type and application of the frame data communication message by which the external equipment accesses a CPU module with SLMP When the external equipment accesses a CPU module using Ethernet the data communication is executed by sending or receiving a command message access request and response message response of the following frame Target communication method Applicable communication frames Communication data code Section of control procedure frame The message format is the same as the QnA compatible 3E frame of MC protocol The main purpose of
8. device bit device Device No Device Numberot devices Device Ne Device Numberefdevices not specified blocks blocks code code Block 1 EN Extension seam re is specified speciicalion modification 2 bytes 4 bytes 2 bytes 2 bytes 2 bytes 1 byte Specify the subcommand selected from the item Word units 2 digit code 6 digit number specification Not specified Specified 4 digit code 8 digit number Specified specification Number of word device blocks and number of bit device blocks Specify the number of blocks of the device to be read in hexadecimal Number of word device blocks number of bit device blocks lt 120 and Total points of each blocks of word device total points of each blocks of bit device lt 960 Number of word device blocks number of bit device blocks x2 120 and Total points of each blocks of word device total points of each blocks of bit device x2 960 Specify the number of blocks of the word device to be read Number of word device blocks Number of bit device blocks Specify the number of blocks of the bit device to be read When device memory extension specification is used Number of word device blocks number of bit device blocks x2 120 and Total points of each blocks of word device total points of each blocks of bit device 960 When device memory exte
9. 4 digit code 8 digit number specification Specify the devices for the specified number of points 4 bytes 4 bytes 2 bytes 2 bytes 2 bytes 4 bytes 4 bytes 4 bytes 10 bytes 4bytes When Number of Number of extension 4 0 6 Subcommand device bitdevice F 5 is not specified 1st word device in the nth block Head device Written device d Extension When extension Extension specification is specified specification modification Last bit device in the mth block Head device Written device Specify the devices for the specified number of points 4 COMMANDS 4 2 Device Access 75 When communicating data in binary code 2 digit code 6 digit number Specify the devices for the specified number of points specification 2 bytes 2 bytes When 1st word device in the nth block Last bit device in the mth block extension aka Written device Written device 06H 14H t Subcommand word device bit device Eden Device No Device Numberof Data 4 Datan Device Device Number of Data 4 Data n code devices code devices specified ut Block 1 s Extension Extensi Direct memory extension IS specication modification specification specified 2bytes 1byte 2 bytes 2 bytes 1 byte 4 digit code 8 digit number Specify the devices for the specified number of points specification
10. in 16 point units 32 point units Writes device memory to word devices specified randomly in 1 point units or 2 point units Device Read Block Word units 0406 Sets n point s in the word device or bit device one 00000 point is specified by 16 bit as 1 block specifies multiple blocks randomly and reads the device memory Device Write Block Word units 1406 Sets n point s in the word device or bit device one 0000 point is specified by 16 bit as 1 block specifies multiple blocks randomly and writes the device memory O Available X Unavailable x 4 COMMANDS 4 2 Device Access 43 44 Device range This section shows accessible CPU module device Specify the device and device number range that exist in the module targeted for data read or write Internal user Input X device X Output Y Y Internal relay M M Latching relay L L Annunciator F F Edge relay V V Link relay B B Step relay 5 S Data register Word D D Link register W W Timer Contact Bit TS 157 Coil Bit TG TC Current value Word TN TN Long timer Contact Bit LTS Coil Bit LTC Current value Double Word LTN Retentive timer Contact Bit 55 STS Coil Bit SC STC Current value Word SN STN Long retentive Contact Bit timer LSTS Coil Bit LSTC Current value Double Word LSTN Counte
11. Communication adapter Analog adapter Bus conversion module Bus conversion module extension cable type Bus conversion module extension connector type Battery Peripheral device GOT Description Generic term for FX5U and FX5UC PLCs Generic term for FX3S FX3G FX3GC FX3U and FX3UC PLCs Generic term for FX5U CPU module and FX5UC CPU module Generic term for FX5U 32MR ES FX5U 32MT ES FX5U 32MT ESS FX5U 64MR ES FX5U 64MT ES FX5U 64MT ESS FX5U 80MR ES FX5U 80MT ES and FX5U 80MT ESS Generic term for FX5UC 32MT D and FX5UC 32MT DSS Generic term for FX5 extension modules and FX3 function modules Generic term for I O modules FX5 extension power supply module and FX5 intelligent function module Generic term for extension power supply module and FX3 special function blocks Input modules extension cable type Output modules extension cable type Bus conversion module extension cable type and Intelligent function modules Input modules extension connector type Output modules extension connector type Input output modules Bus conversion module extension connector type and Connector conversion module extension connector type Generic term for input modules output modules Input output modules and powered input output modules Generic term for Input modules extension cable type and Input modules extension connector type Generic term for FX5 8EX ES and FX5 16EX ES Generic term for
12. Ex In the case of 5 points and 20 points 5 points 20 points 05H 00H 14H 00H llData on specified number of device points This field holds the contents of the data written to the specified device or the contents of the data read from the specified device The data order changes depending on the processing units words or bits For the data contents and order transmission order refer to 15 Message Format MBit access points This data is for specifying the number of points to be accessed in units of bits It must be specified within the limits to the number of points processed per communication shown in the table in 43 Commands Q When communicating data in ASCII code The number of the bytes is converted into 2 digit ASCII code hexadecimal and sequentially sent beginning from the most significant digit Use capitalized code for alphabetical letter in ASCII code In the case of 5 points and 20 points 5 points 20 points 5 0 0 1 4 30H 30H 30H 35H 30H 31H 34H When communicating data in binary code The 1 byte value hexadecimal which indicates the number of the points is used for transmission Ex In the case of 5 points and 20 points 5 points 20 points 05H 00H 14H 00H 3 MESSAGE FORMAT 3 1 Message Format llDevice memory extension specification 687 For details refer to Page 94 Device Memory Extension Specification This section exp
13. 00H 01H 00H A0H Response data 1st block data of 2nd block data of 3rd block data of the 1st block data of the 2nd block data of the specified the specified specified bit specified word device the specified word device bit device bit device device 08H 00H 30H 20H 45H 15H 00H 28H 70H 09H 131H 01H 30H 20H 49H 48H DEH C3H 00H 28H 70H 09H AFH DO D1 D2 D3 W100 to W107 M15 M31 M143 M159 B10F B12F to to to to to to to MO M16 M128 M144 B100 B110 B120 Bit layout 15 to 0 1 7 0 MO M15 to M8 4 COMMANDS 1 4 2 Device Access T Device Write Block The examples shown in this section explain the control procedure for writing by randomly specifying multiple blocks where 1 block consists of n point s of a bit device memory one point is specified by 16 bit and a word device memory one point is specified by 1 word Data array in the character area during the device write block This section explains how data is ordered in the character areas during device write block lIWhen communicating data in ASCII code O Data name gt External m equipment 72 TI 5 lt gt 5 8 O9 o c 2 5 3 O O o gt 0 lQ gt lin LH L
14. Ethernet Another station Another station No 3 When specifying as the requested multi drop station number ASCII code 0 0 Binary code 30H 30H 00H Requested multi drop Requested multi drop station number station number 24 3 MESSAGE FORMAT 3 1 Message Format Request data length MRequest message Header Application data Subheader Request Request Request Request Request Reserve Command Subcommand Request destination destination destination destination data data network station No module multidrop length No No station No v A Specify the total data size from the reserve to the request data in hexadecimal Unit byte Ex When the request data length is 24 18H bytes ASCII code 0 0 1 8 Request data length Binary code 18H 00H Request data length Response data length llResponse message When normally completed the total data size from the end code to the response data is set in hexadecimal When completed with error the total data size from the end code to the error information is set in hexadecimal Unit byte When completed normally Request destination multi drop station number Request Request destination destination network station number number Request destination module I O number Response data length Header Subheader Response data When completed with error Request Request destination destinatio
15. External device personal computer Command Response A 1 message for TCP message Step 0 Step 0 END CPU module Communication TCP IP communication UDP IP communication Batch writ 0 001 i 0 001 Ex Calculation example 1 Time from when the request data of a personal computer is received until the processing is completed when a TCP IP communication is executed between personal computers and 32 points data read from the data register D of own station by the SLMP communication in binary code Unit ms The scan time of the mounted station is 40 ms Tfs 1 0 001 x 32 40 x 1 ACK processing time of external equipment Calculation example 2 Time from when the request data of a personal computer is received until the processing is completed when a TCP IP communication is executed between personal computers and 32 points data written to the data register D of own station by the SLMP communication in binary code Unit ms The scan time of the mounted station is 40 ms Tfs 1 0 001 x 32 40 x 1 ACK processing time of external equipment 2 SLMP DATA COMMUNICATION 2 5 Transfer Time 3 MESSAGE FORMAT This chapter describes the message data format the data specification method and limitations etc when performing SLMP data communication using the 3E frame to the built in Ethernet port Frame type Built in Ethernet port Remark 3E frame The message format is the same as the QnA
16. For 5 blocks Converted to 05 and sent sequentially from O For 20 blocks Converted to 14 and sent sequentially from 1 When communicating data in binary code 1 byte numeric value indicating the number of blocks is transmitted For 5 blocks 05H is sent For 20 blocks 14H is sent Specify the number of blocks so the following condition is satisfied 120 gt number of word device blocks number of bit device blocks When setting either number of blocks to 0 the corresponding device number device code number of device points and data specification are not necessary lIWord device number and bit device number This data is for specifying the head word device or bit device for each block to which batch read is performed where continuous word or bit devices are considered one block When communicating data in ASCII code The head device number of each block is converted to 6 digit ASCII code and sent Internal relay M1234 and link register W1234 The internal relay M1234 is converted to 001234 or 1234 and the link register W1234 is converted to 001234 or _ 1234 In both cases the transmission starts from 0 space When communicating data in binary code The head device number of each block is indicated in a 3 byte numeric value and sent Internal relay M1234 and link register W1234 Internal relay M1234 becomes 0004D2H and is sent in the order of D2H 04H and OOH The link regi
17. Sending a command message Data communication using SLMP communication is executed in half duplex communication To access the CPU module send the next command message after receiving a response message for the preceding command message from the CPU module Until the receiving of the response message is completed the next command message cannot be sent Command message Command External equipment SE message Response message Response message PLC CPU When a response message of completion for a command message cannot be received lWhen a response message of completion with an error is received Take corrective actions depending on the error code in the response message MWhen a response message or all messages cannot be received Resend a command message after the monitoring time of the response monitoring timer elapses Change the set value of the monitoring time as needed 2 SLMP DATA COMMUNICATION 2 3 Concept of Control Procedure of SLMP 2 4 Access Timing of the CPU Module Side The following shows the access timing of the CPU module side when the CPU module is accessed from the external equipment using the built in Ethernet port RUN deal device device Read Write command K to a command Command Response E MN CPU module Step 0 END Step 0 END Step 0 END Step 0 END END processing END processing END processing Processing for a command from
18. 30H 80H 00H 0 0 8 2 30H 30H 38H 32H 82H 00H MExtension specification Specify the module number of intelligent function modules Specify the module number in hexadecimal ASCII code 3 digits When Specify the module number in hexadecimal 2 bytes When described with 4 described with 4 digits specify the module number with the upper 3 digits digits specify the module number with the upper 3 digits Example 001 Example 001 u U 0 1 55H 55H 30FI 30H 31H ad LIL IH 01H 00H e 4 Access to buffer memories of modules other than intelligent function modules Specify O when accessing buffer memory of modules other than intelligent function modules such as CC Link IE Field Network Ethernet adapter module llDevice code Specify the following device codes G 35 ABH ABOOH Specify within the device No range of the Decimal module for access destination 1 For ASCII codes the device code is specified with 2 characters If the device text is one character only add ASCII code or a space ASCII code 20H after the device text APPENDIX Appendix 1 Device Memory Extension Specification 95 96 device or device No Specify the head device or device No in decimal with the same format as the message when extension is not specified Point Indirect specification of the access target device No can be performed by using the CPU module index register 2 or long index regist
19. Device modification Module access device Extension specification direct memory Device Head device No specification code or device No ZO zo Extension Device modification specification modification Point When specifying 0080 in subcommand specify the device with the message format shown above Message formats when extension is not specified and message formats when extension is specified cannot coexist in the same message APPENDIX 98 Appendix 1 Device Memory Extension Specification The following commands used for accessing Device Read Random 0403 Write Random 1402 5 When accessing in bit units 81H 00H 83H 00H 80H 00H 82H 00H When accessing in word units llExtension specification Specify the module number The values specified in this item turn to the offset value when performing indirect specification of the module number in extension specification modification Module access device Specify the module number in hexadecimal 2 bytes Specify the module number in hexadecimal 2 bytes Example 001 Example 001 O 1 01H 00H Specify 0 OOH 00H MExtension specification modification Treat the value specified in extension specification as the offset value Specify the index register or long index register number when performing indirect specification of the module number with index register or long in
20. LIH L 0 0 1 6 C 0 5 1 30H 31H 36H43H 35H 31H r I 5 Buipuodsej n Uonejs Duipuodsej 1 UOneunsep o L F H 33H 46H 46H Ww T r uoljguns p 92 0 Jequunu P SnI Sor c So F r Sor 6 T 3 22 bytes 3 MESSAGE FORMAT 3 1 Message Format When data is written from external equipment to CPU module External equipment gt CPU module command message Character area C Text command lt gt Request data area Jequunu uonejs Jepeeyqns S Or uoneunsep Data gt xXJOM 9N Jequunu uolels r uoneunsep ysenbey Jequunu uoneunsep jsenbey I r 0 Example gt 30H 33H 46H 46H 30H Example For 32 bytes The order of data items differs depending on the command or subcommand For details CPU module gt External equipment response message refer to the description on command details in Section 4 2 or later When completed normally Text response Jequunu uoneijs uoneunsep Jepee
21. 120 and Total points of each blocks of word device total points of each blocks of bit device 960 Device Read Block Device Write Block 0406H 0080H With n points of buffer memory in intelligent function modules and SLMP compatible devices as 1 block this command reads data by randomly specifying multiple blocks When bit devices are specified 1 point is 16 bits 0082H With n points of buffer memory in intelligent function modules and SLMP compatible devices as 1 block this command reads data by randomly specifying multiple blocks 1406H 0000H With n points of bit devices and word devices as 1 block this command writes data by randomly specifying multiple blocks When bit devices are specified 1 point is 16 bits 0080H With n points of buffer memory in intelligent function modules and SLMP compatible devices as 1 block this command writes data by randomly specifying multiple blocks When bit devices are specified 1 point is 16 bits ASCII Number of word device blocks number of bit device blocks x4 lt 120 and Total points of each blocks of word device total points of each blocks of bit device x2 lt 960 BIN Number of word device blocks number of bit device blocks x2 lt 120 and Total points of each blocks of word device total points of each blocks of bit device lt 960 ASCII Number of word device blocks number of bit device blocks x4 lt 120 and Total points of each blocks o
22. 2 E B Data name gt 58 O m a 3 B 5 59 29 BA 5 S5 5 gt SD E a o o 3 85 3 5 Q 2 LIH L Example 0 3 F F 35H 30H 30H 30H 46H 46H 30H 33H 46H 46H Example For 24 bytes The order of data items differs depending on the command or subcommand For details CPU module External equipment response message refer to the description on command details in Section 4 2 or later When completed normally Text response Character area B lt gt Response data area Jequunu uoneis uoneunsep jsenbey Jepeeuqng Jequunu YIOMION Jequunu uonejs r uoneumnsep Jequunu uoneunsep jsenbey uiBue H L 0 3 FF 30H 30H 30H46H 46H 30H 33H 46H 46H I r Example For 12 bytes When completed with error Text response Error information area Jequunu uoneijs doup ninuu uoneunsep Jepeeuqng Jequunu uonejs 9 uoneunsep uey Jequunu 5 Jequinu uonejs doJp ninuJ uoneurnsep jsenbey uonejs J quinu xXJOMj9N 5 sso2oe Jequunu uoneunsep jsenbey u B5u Jequinu C051H H
23. 2 bytes 2 bytes 1 byte When 1st word device in the nth block Last bit device in the mth block extension Number of Number of Head device Written device Head device Written device t Subcommand device bit device Dev Devi hs blocks blocks Device Number of devices Data 1 Datan Device evic Number of devices Data 1 Data n specified 06H14H code code T d Block1 Pas Extension TAM Xtens When specification extension S eco modification specification specified bytes 4 bytes B bytes 2 bytes 2 bytes 1 byte Subcommand Specify the subcommand selected from the item OOH Word units 2 digit code 6 digit number specification Not specified 30H 30H 30H 30H specification 7 6 4 COMMANDS 4 2 Device Access Number of word device blocks and number of bit device blocks Specify the number of blocks of the device to be write in hexadecimal Number of word device blocks number of bit device blocks lt 120 and Number of word device blocks number of bit device blocks x4 Total points of each blocks of word device total points of each blocks of bit device lt 770 Number of word device blocks number of bit device blocks x2 120 and Number of word device blocks number of bit device blocks x4 Total points of each blocks of word device total points of each blocks of bit device x2 lt 770 Number of word
24. Instructions Standard Functions Function Blocks lt JY997D55801 gt MELSEC iQ F FX5 User s Manual Serial Communication lt JY997D55901 gt MELSEC iQ F FX5 User s Manual MODBUS Communication lt JY997D56101 gt MELSEC iQ F FX5 User s Manual Ethernet Communication lt JY997D56201 gt MELSEC iQ F FX5 User s Manual SLMP lt JY997D56001 gt This manual MELSEC iQ F FX5 User s Manual Positioning Control lt JY997D56301 gt MELSEC iQ F FX5 User s Manual Analog Control lt JY997D60501 gt GX Works3 Operating Manual lt SH 081215ENG gt Description Performance specifications procedures before operation and troubleshooting of the CPU module Describes the details of hardware of the FX5U CPU module including input output specifications wiring installation and maintenance Describes the details of hardware of the FX5UC CPU module including input output specifications wiring installation and maintenance Describes basic knowledge required for program design functions of the CPU module devices labels and parameters Describes specifications of ladders ST FBD LD and other programs and labels Describes specifications of instructions and functions that can be used in programs Describes N N network MELSEC Communication protocol inverter communication non protocol communication and predefined protocol support Describes MODBUS serial communication Describes the functions of the built in Ethernet
25. MITSUBISHI ELECTRIC PROGRAMMABLE CONTROLLERS series MELSEC iQ F FX5 User s Manual SLMP PRECAUTIONS Read these precautions before use Before using this product please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety in order to handle the product correctly This manual classifies the safety precautions into two categories L N WARNING and N CAUTION Indicates that incorrect handling may cause hazardous conditions resulting in A WARN NG death or severe injury CAUTION Indicates that incorrect handling may cause hazardous conditions resulting in medium or slight personal injury or physical damage Depending on the circumstances procedures indicated by L N CAUTION may also cause severe injury It is important to follow all precautions for personal safety Store this manual in a safe place so that it can be read whenever necessary Always forward it to the end user DESIGN PRECAUTIONS NWARNING Make sure to set up the following safety circuits outside the PLC to ensure safe system operation even during external power supply problems or PLC failure Otherwise malfunctions may cause serious accidents 1 Note that when the PLC CPU detects an error such as a watchdog timer error during self diagnosis all outputs are turned off Also when an error that cannot be detected by the PLC CPU occurs in an input output control block out
26. circumstances solely at the user s discretion 109 TRADEMARKS Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and or other countries Ethernet is a trademark of Xerox Corporation MODBUS is a registered trademark of Schneider Electric SA The company name and the product name to be described in this manual are the registered trademarks or trademarks of each company 110 Manual number JY997D56001C Model FX5 U SL E Model code 09R541 When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN Specifications are subject to change without notice
27. code code Specify the devices for the specified number of points 4 COMMANDS 4 2 Device Access 53 54 When communicating data in binary code 2 digit code 6 digit number Specify the devices for the specified number of points specification 2 bytes 2 bytes When Word access Double word access Double extension word Subcommand ACCESS Is not access Device No Pece Device 088 Device 0 Device Device m oints code code code code specified 03H 04H p _ 1 point m Device Extension Direct When extension is indirect Device code modification SPectfication emoy w Bea specification specified specification 2bytes S3bytes 1byte 2 bytes 2 bytes 1 byte 4 digit code 8 digit number Specify the devices for the specified number of points specification 2 bytes 2 bytes 1 byte When Word access Double word access Double extension word ubcommand i is not access Device No 089 089 No Device Device No Device ies oints code code code code specified 3H04H p _ 2 1 point E Device modification When extension is indirect specified specification z bytes 4 bytes bytes 2 bytes 2 bytes 1 byte 5 Specify the subcommand selected from the item Word units 2 digit code 6 digit number specification No
28. manual number given at the end of this manual 5 SAFETYPRECAUTIONS 1 INTRODUCTION POPE 3 RELEVANT MANUALS lt 2 sccm sees bce td been eae dor EORR deae Face hee wean eee on Rare Rx E ews 6 ek ore T CHAPTER1 OUTLINE 9 1 1 Outline Of SUMP ea ae 9 1 2 Features Of SLMP se aa R ee 10 CHAPTER2 SLMP DATA COMMUNICATION 11 2 1 Type and Application of the Data Communication 11 2 2 Allowable Access Range of Each Data Communication Frame 11 SLMP 2 11 PECCSS TONGS L luu Gene Boe ek oe oe pu umata qusa 12 2 3 Concept of Control Procedure of SLMP 12 2 4 Access Timing of the CPU Module Side 13 2 5 TESTIS 14 CHAPTER3 MESSAGE FORMAT 15 3 1 Message Formal u t ss TER 15 How to understand command 15 Message format and control 16 Application data specification items 22 Transfer data in
29. ulBu suods Y L OBH OOH 51H For C051H Character area A Request data area pueuulooqng Example For 12 bytes The order of data items differs depending on the command or subcommand For details refer to the description on command details in Section 4 2 or later Error information area Jequinu YJOMION uoneis BuipuodsejJ uonejs Jaquinu H doJp ninuu uoneunsep jsenbey puewwoogns uole s uoreunsep jsenbey jsenbey Jequinu 5 11 bytes 3 MESSAGE FORMAT 21 3 1 Message Format Application data specification items This section describes the data contents and the specification method of common data items in the application data in each message when performing the data communication using the 3E frame Request destination network number and request destination station number llRequest message Header Application data Subheader Request Request Request Request Request Reserve Command Subcommand Request destination destination destination destination data data network station No module I O multidrop length No No station No mResponse message Header Application data Subheader Request Request Request Request Response End Response destination
30. 2 digit code 6 digit number Not specified jo j 00H 00H specification 30H 30H 30H 30H 30H 30H 38H 30H 4 digit code 8 digit number Specified 2 82H 00H specification 30H 30H 38H 32H MBit access points word access points double word access points Specify the number of bit device points in one point 1 to 94 1 to 188 units Bit access points When device memory extension specification is used 1 to 47 When device memory extension specification is used 1 to 94 4 COMMANDS 1 4 2 Device Access 6 62 Word access points Specify the number of points to be accessed in one word units The bit device is 16 point units the word device is one word units 1 lt word access points x 12 double word access points x 14 x 2 lt 1920 When device memory extension specification is used double the number of the access points 1 lt word access points x 12 double word access points x 14 lt 1920 When device memory extension specification is used double the number of the access points Double word access points Specify the number of points to be accessed in two word units The bit device is 32 point units the word device is two word units llDevice code device No write data Specify the target device of writing The data is specified in hexadecimal number Word access Specify the device points specified as word access points The specification is no
31. 44H 45H 32H 38H 30H 30H Device code Device No Number of devices Write data B 000100 00037709 7 0 42H 2AH 30H 31H 33H 30H 39H 37H 30H 42H 39H 41H 46H B10F to B100 to B12F to B120 0 OFF 78 4 COMMANDS 4 2 Device Access When communicating data in binary code Request data Number of word device Number of bit device blocks blocks Device Device Number of i Device Device Number of code devices Write data No code devices Write data 28H 00H 01H 00H BAH 08H 70 00H 00H OOH ABH 04H 00H 08H O0H Device Device Number of f Device Device Number f No code devices Write data code ofdevices Write data 00H 00H OOH 90H Device Device Number of f No code devices Write data 03H 70H 09H to B12F to B120 0 OFF B107 to B100 B10F to B108 4 COMMANDS 4 2 Device Access 19 80 4 3 Remote Control This section describes the command to set the SLMP compatible device or CPU module to the RUN status or STOP status by a message from the external device Before the remote operation When the accessed device or module is turned from off to on or the system is reset after the remote operation The information about the remote operation will be deleted Even if the Remote STOP is executed when the switch of the CPU module i
32. A to F is sent from the head lIWhen communicating data in binary code 2 bytes 2 bytes 2 bytes 4 bytes Loopback data 19H 06H 00H 00H Number of loopback data number of bytes The two byte numerical value which indicates the number of the bytes is used and data is sent from the low byte L bit O to 7 Loopback data user data Data is sent for up to 960 bytes from the head by treating each character code O to 9 A to F as a 1 byte value The same number of the loopback data and loopback data which the external equipment sent are sent back to the external equipment 88 4 COMMANDS 4 5 Self Test Communication example Send request messages from the external device by using the message format shown in the request data Page 88 When executing the Self Test by communicating in ASCII code Request data Number of Command Subcommand loopback data Loopback data 0 0 010 30H 36H 31H 39H 30H 30H 30H 31H 32H 61H 62H 63H 64H 65H 66H B 68H 69H ET 6BH 6CH Response data Number of loopback data Loopback data 001 2 b c de f ghi i jk I 30H 31H 32H 61H 62H 63H 64H 65H 66H 67H 68H 69H 6AH 6 6CH lWhen executing the Self Test by communicating in binary code Request data Number of Command Subcommand loopback data Loopback data 19H 06H 12H 00H 4 e es e 66H RS 68H 69H 6BH6CH Response data Number of loo
33. FX5 C32EX D and FX5 C32EX DS Generic term for output modules extension cable type and output modules extension connector type Generic term for FX5 8EYR ES FX5 8EYT ES FX5 8EYT ESS FX5 16EYR ES FX5 16EYT ES and FX5 16EYT ESS Generic term for FX5 C32EYT D and FX5 C32EYT DSS Generic term for FX5 C32bET D and FX5 C32ET DSS Generic term for FX5 32ER ES FX5 32ET ES and FX5 32ET ESS Generic term for FX5 extension power supply module and FX3 extension power supply module Different name for FX5 1PSU 5V Different name for FX3U 1PSU 5V The abbreviation for intelligent function modules Generic term for FX5 intelligent function modules and FX3 intelligent function modules Generic term for FX5 intelligent function modules Generic term for FX3 special function blocks Different name for FX5 40SSC S Generic term for board for FX5U CPU module Generic term for FX5 232 BD FX5 485 BD and FX5 422 BD GOT Generic term for adapter for FX5 CPU module Generic term for FX5 232ADP and FX5 485ADP Generic term for FX5 4AD ADP and FX5 4DA ADP Generic term for Bus conversion module extension cable type and Bus conversion module extension connector type Different name for FX5 CNV BUS Different name for FX5 CNV BUSC Different name for FX3U 32BL Generic term for engineering tools and GOTs Generic term for Mitsubishi Graphic Operation Terminal GOT1000 and GOT2000 series 5 MSoftware packages Engineering tool GX Works3 ilMan
34. For 5 blocks Converted to 05 and sent sequentially from 0 For 20 blocks Converted to 14 and sent sequentially from 1 When communicating data in binary code 1 byte numeric value indicating the number of blocks is transmitted Ex For 5 blocks 05H is sent For 20 blocks 14H is sent Specify the number of blocks so the following condition is satisfied 120 gt number of word device blocks number of bit device blocks When setting either number of blocks to 0 the corresponding device number device code number of device points and data specification are not necessary 4 COMMANDS 4 2 Device Access 73 74 _ 1234 In both cases the transmission starts from 0 or MWord device number and bit device number This data is for specifying the head word device or bit device for each block to which batch write is performed where continuous word or bit devices are considered one block When communicating data in ASCII code The head device number of each block is converted to 6 digit ASCII code and sent Internal relay M1234 and link register W1234 The internal relay M1234 is converted to 001234 or 1234 and the link register W1234 is converted to 001234 or space When communicating data in binary code The head device number of each block is indicated in a 3 byte numeric value and sent Internal relay M1234 and link register W1234 Internal relay M1234 becomes 0004D2H and is sent
35. Forced execution is used when the external device which performed the remote operation cannot execute Remote PAUSE because of a problem with the device Item Mode ASCII code Binary code Forced execution not allowed Remote RUN cannot be executed when other device executes Remote STOP or Remote PAUSE 0 0 0 4 30H 30H 30H 31H 01H Forced execution allowed Remote RUN can be executed when other device executes Remote STOP or Remote PAUSE 3 30H 30H 30H 33H 03H 00H Response data There is no response data for the Remote PAUSE command Communication example Set mode to Forced execution not allowed when executing Remote PAUSE lIWhen communicating data in ASCII code Request data Mode 1 0 O 310 0 O 010 O 31 31H 30H 30H 33H 30H 30H 31H lIWhen communicating data in binary code Request data Mode 03H 10H OOH 01H 00H Remote latch clear This command executes remote latch clear to the access destination module Point Before executing the remote latch clear set the status of the access destination module to STOP While the access destination is stopped or paused remotely by request from another external device The remote latch clear cannot be executed Abnormal completion of the command will occur Cancel the Remote STOP or Remote PAUSE before executing the command Request data lIWhen communicating data in ASCII code 4 bytes f 4 b
36. Name 104 APPENDIX Appendix 2 Command Comparison between MC Protocol and SLMP Appendix 3 CPU Module Processing Time of 5 When accessing the CPU module from an external device using SLMP communication the following intervention time to the scan time and number of scans for processing of the CPU module side are required On the request from the external device using SLMP communication the CPU module processes a specified number of points during each END processing in case the CPU module is running TL s n we __ ___ ____ Remote Read Type Name 0101 0000 one station 0 02 1 Control 1 This is the processing time when accessing with only word access points specified 2 Thisis the processing time when 1 is set to CPU Parameter Service Processing Setting Device Label Access Service Processing Setting Set Processing Counts of GX Works3 Number of scans required for processing The CPU module processes only one command during an END processing If GX Works3 or other modules are also accessing the CPU module simultaneously the number of scans required for processing may increase due to the waiting time Method of reducing the intervention time to the scan time Adjust the service process execution count of the CPU module in CPU Parameter Service Processing Setti
37. Number of word device blocks number of bit device blocks x4 Total points of each blocks of word device total points of each blocks of bit device x2 x770 BIN Number of word device blocks number of bit device blocks x2 lt 120 and Number of word device blocks number of bit device blocks x4 Total points of each blocks of word device total points of each blocks of bit device lt 770 4 2 Device Access This section explains the control procedure specification method and shows a specification example when the device memory is read and written Commands This section explains commands when the device memory is read or written Device Read Bit units 0401 Reads bit devices in 1 point units Batch 00011 Word units 0401 Reads bit devices in 16 point units 0000 Reads devices in 1 point units Device Write Bit units 1401 Writes bit devices in 1 point units Batch 00001 Word units 1401 Writes bit devices in 16 point units 0000 Writes devices in 1 point units Device Read Word units 0403 Reads bit devices specified randomly in 16 point units Random 00000 32 point units Reads word devices specified randomly in 1 point units or 2 point units Device Write Bit units 1402 Sets or resets device memory to bit devices specified Random 0001 randomly in 1 point units Word units 1402 Sets or resets device memory to bit devices specified 00000
38. Reference Manual Device data in a CPU module can be written or read from a personal computer or an HMI by using SLMP Writing and reading the device allows operation monitoring data analyzing and production managing of a CPU module by a personal computer or an HMI In addition external illegal access can be prevented by the remote password function CPU module Hub oO oo SLMP communication HMI The following shows the flow for starting SLMP communication 1 Connect cables and external devices Configure the connection for the SLMP communication 2 Set parameters Set parameters with engineering tool 3 Write the set parameters to the CPU module Write set parameters to a CPU module Validate the parameters by turning off to on or resetting the system 1 OUTLINE 1 1 Outline of SLMP 9 10 1 2 Features of SLMP System monitoring from an external device such as personal computer HMI An external device can send a request message in SLMP message format to an CPU module to enable device read allowing system monitoring Using SLMP allows not only device data reading but also device data writing and resetting an CPU module Reading devices Request message Message format of SLMP Message format of SLMP of SLMP Message format of SLMP Message format of SLMP of SLMP Response message
39. STOP This command executes Remote STOP to the access destination module Request data lIWhen communicating data in ASCII code 4 bytes rf 4 bytes 4 bytes Subcommand When communicating data in binary code 2 bytes 2 bytes 2 2 bytes Subcommand 02H 10H OOH OOH OOH 00H Response data There is no response data for the Remote STOP command Communication example Send request messages from the external device by using the message format shown in the request data above Remote PAUSE This command executes Remote PAUSE to the access destination module 6 Remote PAUSE can be executed when the switch of the access destination module is in the RUN status Even if the switch is in the STOP status Remote PAUSE command 1003H will be completed normally However the access destination does not change to the PAUSE status Request data lIWhen communicating data in ASCII code 4 bytes rf 4 bytes 4 bytes gt Subcommand EWhen communicating data in binary code 2 bytes 2 2 bytes 2 bytes Subcommand 10H OOH 00H 4 COMMANDS 4 3 Remote Control This mode specifies whether Remote PAUSE can be executed forcibly by a device other than the external device which performed Remote STOP or Remote PAUSE If forced execution is not allowed Remote PAUSE can be executed only by the external device which performed Remote STOP or Remote PAUSE
40. YJIOMISN Jequunu uonels uoneunsep jsenbey Jequunu uoneunsep jsenbey Jequunu 5 doJp ninuJ 1senbey 1senbe I L H L H 50H 00H OCH OOH 1O0H 00H Example For 12 bytes The order of data items differs depending on the command or subcommand For details CPU module gt External equipment response message refer to the description on command details in Section 4 2 or later When completed normally gt Text response Character area B lt gt Response data area Jepeeuqns Jequunu Jequunu uonejs uoneunsep jsenbey uoneunsep jsenbey doup njnw uoneuns p jsenbey ulBu Jequinu 5 T 1 o DOH 00H 06H OOH OOH 00H Example For 6 bytes When completed with error Text response Error information area doup nnui Jepeeuqng uonejs 559206 Jequinu YIOMISN uonejs sseooe Jequinu HO uey Jeujo Jequinu uonejs BuipuodseJ Jequinu uoneurnsep jsenbey uonejs uoreunsep jsenbey uoneurnsep jsenbey For C051H uoneunsep Jaquunu 5 doup ninuu u 6u
41. and SLMP compatible devices in units of 1 word 16 bits or 2 words Device Read 0000H Block With n points of bit devices and word devices as 1 block this command reads data by randomly specifying multiple blocks When bit devices are specified 1 point is 16 bits 0406H 4 COMMANDS 4 1 List of Commands and Functions 40 ASCII Word access points double word access points x4 lt 192 BIN Word access points double word access points lt 192 ASCII Word access points double word access points x4 lt 192 BIN Word access points double word access points lt 192 ASCII 94 points BIN 188 points ASCII Word access points x12 double word access points x14 x2 lt 1920 BIN Word access points x12 double word access points x14 lt 1920 ASCII 47 points BIN 94 points ASCII Word access points x12 double word access points x14 x4 lt 1920 BIN Word access points x12 double word access points x14 x2 lt 1920 ASCII 47 points BIN 94 points ASCII Word access points 12 double word access points x14 x4 x1920 BIN Word access points x12 double word access points x14 x2 x1920 ASCII Number of word device blocks number of bit device blocks x2 lt 120 and Total points of each blocks of word device total points of each blocks of bit device x2 lt 960 BIN Number of word device blocks number of bit device blocks
42. b7 b6 65 b4 b3 b2 b1 bO 1 Indicates ON 1010 10 1 1 0 0 0 110 0 1 0 0 0 1 1 0 1 0 0 1 1 0 0 1 1 0 1 0 Indicates OFF MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 22 Head End 3 MESSAGE FORMAT 3 1 Message Format lIWhen word device memory is read or written In the case of word device memory one word is expressed in 4 bit units in turn from the most significant bit in hexadecimal Ex When indicating the contents stored in the data registers D350 and D351 Device Head device No Number of code devices Io l l l l l l 0 5 iB 1 F We ORI Df l 44H 2AH 30H 30H 30H 33H 35H 30H 30H 30H 32H 35H 36H 41H 42H 31H 37H 30H 46H b15b14b13b12 b11b10 69 b8 b7 b6 b5 b4 b3 b2 b1 bO b15b14b13b12 b11b10 69 b8 b7 b6 b5 b4 b3 b2 b1 60 1 Indicates ON 0 Indicates OFF 0 141 701 oT 0407054 310102010 154 Indicates that 0350 stores Indicates that D351 stores 22187 in decimal 170FH 5903 in decimal 6 Point Use capitalized code for alphabetical letter When data other than integer value real number character string is stored in the word device memory for reading data the stored value are read as integer value Example 1 When a rea
43. device No of devices Response data 34H 12H 02H 00H I 107 to T ME to to to 124 4 COMMANDS 4 2 Device Access lBWhen reading data in word units word device Values in T100 to T102 are read It is supposed that 4660 1234H is stored in T100 2 2H is stored in T101 and 7663 1DEFH is stored T 102 When communicating data in ASCII code Request data Device Subcommand code Head device No Number of devices 0 4 0 0 0 0 OJT NIO O 0 0 010 0 0 30H 34H 31H 30H 30H 54H 4EH 30H 30H 31H 30H 30H 33H Response data 1 2 3 4 0 0 O 2 1 D E F 31H 32H 33H 34H 30H 30H 30H 32H 31H 44H 45H 46H T100 T101 T102 When communicating data in binary code Request data Device Subcommand code Head Number device No of devices 01H 04H O0OH 64 OOH 03H OOH Response data 34H 12H 02H OOH EFH 1DH T100 T101 1102 4 COMMANDS 4 2 Device Access 49 Device Write Batch Data in devices are written in a batch Request data lIWhen communicating data in ASCII code 2 digit code 6 digit number specification cel b Write data the is not specified code number of points Extension Extension n specification Anen extension specification is specified 4 4 4 _ 8 4 When extension is not specified Head device No Number of Write
44. device blocks Specify the number of blocks of the word device to be write Number of bit device blocks Specify the number of blocks of the bit device to be write When device memory extension specification is used Number of word device blocks number of bit device blocks x4 120 and Number of word device blocks number of bit device blocks x4 Total points of each blocks of word device total points of each blocks of bit device x2 x770 When device memory extension specification is used Number of word device blocks number of bit device blocks x2 120 and Number of word device blocks number of bit device blocks x4 Total points of each blocks of word device total points of each blocks of bit device lt 770 Device code device number of device points Specify the device points while satisfying the following conditions number of word device blocks number of bit device blocks x 4 total number of points for all word device blocks total number of points for all bit device blocks lt 770 Word device Specify the device points specified in Number of word device blocks When Number of word device blocks is set to 0 this specification is unnecessary Bit device Specify the device points specified in Number of bit device blocks When Number of bit device blocks is set to O this specification is unnecessary When specifying a contact and a coil of a timer retent
45. in the order of D2H 04H and OOH The link register W1234 is converted to 001234H and sent in the order of 34H 12H and 00H llDevice code This data is for identifying the head device memory for each block for which batch write is performed The device code for each device is shown in Page 44 Device range The double word device and the long index register LZ are not supported When communicating data in ASCII code Each device code is converted to 2 digit ASCII code hexadecimal and sent Internal relay M and link register V The internal relay M is converted to M and link register W is converted to W and sent from M and W respectively When communicating data in binary code 1 byte numeric value indicating each device code is sent Internal relay M and link register W 90H is transmitted for the internal relay M and B4H is sent for the link register W llNumber of devices This data is for specifying the number of points in the continuous device range of each block for which batch write is performed 1 point 16 bits for bit device memory and 1 point 1 word for word device memory where one block consists of continuous word or bit devices When communicating data in ASCII code The number of points for each block is converted to a 4 digit ASCII code hexadecimal and sent Ex For 5 points Converted to 0005 and sent sequentially from 0 For 20 points Converted to 0014 and
46. port communication function Explains methods for the device that is communicating with the CPU module by SLMP to read and write the data of the CPU module Describes the built in positioning function Describes the analog function System configuration parameter settings and online operations of GX Works3 TERMS Unless otherwise specified this manual uses the following terms indicates a variable part to collectively call multiple models or versions Example FX5U 32MR ES FX5U 32MT ES gt FX5U 32MLI ES For details on the FX3 devices that can be connected with the FX5 refer to FX5 User s Manual Hardware Terms MDevices FX5 FX3 FX5 CPU module FX5U CPU module FX5UC CPU module Extension module FX5 extension module FX3 extension module Extension module extension cable type Extension module extension connector type I O module Input module Input module extension cable type Input module extension connector type Output module Output module extension cable type Output module extension connector type Input output modules Powered input output module Extension power supply module FX5 extension power supply module FX3 extension power supply module Intelligent module Intelligent function module 5 intelligent function module e FX3 intelligent function module Simple motion module Expansion board Communication board Expansion adapter
47. target device to be read mth block 4 Specify the target device to read for the specified number of word device blocks Specify the target device to be read for the specified number of bit device blocks I I I I 01855 Fe C lt ost 5 iUe Toe lt 5 5 O00 005 0 ac 100F i gt e 0 9 1G O O ja 18 in co 5 I I lt I ct 5 lt i RM gt gt a i 1 0 e 00 e VOZII r I I I L _ H iL H L 4 H L H L H L H L H L H Total number of each block of the read word device data Total number of each block of the read bit device data 4 COMMANDS 4 2 Device Access 65 66 Contents of the character areas during device read block This section explains what is in the character area when a device read block function is performed llNumber of word device blocks and number of bit device blocks This data is for specifying the number of word device blocks or bit device blocks to be sent directly after this data field in the batch read to the word device or bit device respectively When communicating data in ASCII code Each number of blocks are converted to 2 digit ASCII code hexadecimal and sent
48. the devices for the specified number of points specification 2 bytes 2 bytes WE ep Double word access en TE access Word extension is ponis access Device No pio ps Device No P Write data 02H 14H 00H 00H points specified P d 1 point DRE Device _ _ Modification Extension Evenson Direct When extension is indirect specification memory modification SPecification specification specified specification 2 bytes 3 bytes 1byte 2 bytes 2 bytes 1 byte 4 digit code 8 digit number Specify the devices for the specified number of points specification 2 bytes 2 bytes When Word Double access Double word access extension is access O B p access Write Device not specified points bois Device No dafa Device No sode Write data z EU NN point Device modification Device Extension Direct When extension is Device No specification 2487801 indirect iens 7 faf code modification specification ce specified specification specification 2 bytes 4 bytes 2 bytes 2 bytes 2 bytes 1 byte llSubcommand Specify the subcommand selected from the item Bit units 2 digit code 6 digit number Not specified specification 30H 30H 30H 31H 30H 30H 38H 31H 4 digit code 8 digit number Specified j o js 8 83H 00H specification 30H 30H 38H 33H Word units
49. the external equipment External device STOP Read Write command Response to a command Command Response 1 ACK 2 ACK CPU module END END END END END END processing END processing END processing END processing Processing for a command from the external equipment 1 ACK shown in the figure is a response which is sent or received between the CPU module and external equipment a response for receiving a massage when the CPU module is accessed from the external equipment using TCP IP communication This response is not the same as the one for the processing requested from the external equipment by a command message processing result When access is executed using UDP IP communication via the built in Ethernet port an ACK response is not sent 1 Tosenda read request or a write request to the CPU module side from the external equipment a command message is sent 2 The CPU module reads or writes the data according to the description requested from the external equipment when the END instruction of the CPU module is executed and sends a response message response including the processing result to the external equipment of the request source Poin tr Access between the external equipment and CPU module is processed at each END processing when the CPU module is running for a command request The scan time becomes longer by the processing time of the command request When accesses are requested simultane
50. the station directly connected to external device Other station indicates a station connected to the own station on the network Other station External device Other station A station that includes two or more network modules Transient transmission is performed through this station to stations on other networks A generic term for the module access device of the MELSEC iQ R series MELSEC iQ F series and intelligent function module device of the MELSEC Q L series Memory areas of Intelligent function modules and SLMP compatible devices for storing setting values and monitor values 1 OUTLINE This manual describes the method reading writing data in CPU module with the data communication function of the external equipment using SLMP When transferring data using SLMP always refer to 11 SLMP DATA COMMUNICATION 1 1 Outline of SLMP is a protocol used for access from a CPU module or an external device such as a personal computer or an HMI to an SLMP compatible device through Ethernet SLMP communications are available among devices that can transfer messages by SLMP Poin tr The message format of 3E frame of SLMP is the same as that of the QnA compatible 3E frame of MC protocol Therefore external devices used with MC protocol can be connected to an SLMP compatible device directly For details on MC protocol refer to the following manual e L LIMELSEC Q L MELSEC Communication Protocol
51. to be written for the Data name PLC CPU 4 COMMANDS 4 2 Device Access device point of the nth block be written 1st block X Specify the target bit device data to be written for the device point of the 1st block lt Specify the target device to be written mth block X Specify the target bit device data to be written for the device point of the mth block When communicating data in binary code Request data T i 2 ms z a DAE IS D Zg Zz 5 0 Soar S 2 0 P VCRUCRM AMS D o2c5907795 59500 a a I a Data name 5 62658 a 6681055 166 8 3 9 o 00 21000 oslos o S pO 9 510 8 a gt 3 zo 5 zo oA x d External 22 Bom i F F ug equipment a wo Lie LH L HL H Li H L H L L lt gt lt gt Specify the target device Specify the target device to be written 1st block to be written nth block p p Specify the target word device Specify the target word device data to be written for the data to be written for the device point of the 1st block device point of the nth block
52. 0 010 0 0 30H 30H 38H 30H 30H 40H 30H 30H 30H 30H 30H 30H 44H 30H 30H 30H 30H 30H 30H 30H When communicating data in binary code Request data indirect Head device No Device Subcommand specification _ or device code 80H OOH OOH 80H OOH OOH OOH mi OOH OOH OOH APPENDIX 1 03 Appendix 1 Device Memory Extension Specification Appendix 2 Command Comparison between MC Protocol and SLMP The message format of 3E frame of the SLMP is the same as that of the QnA compatible 3E frame of MC protocol The correspondence table of MC protocol and SLMP is shown below When connecting an external device which uses MC protocol to a SLMP compatible device check if replacement of command is required Applicable command list Batch read in bit units 0401 Device Read Batch read in word units 0000 Batch write bit units 1401 Write Batch write in word units 0000 Random read in word units Read Random Random write in bit units Test 1402 Write Random Random write in word units Test 0000 Multiple block batch read Read Block Multiple block batch write Write Block Remote RUN 0000 Remote Control Remote Run Remote latch clear CPU model name read Loopback test Self Test COM ERR LED off Clear Error Remote password unlock Password Unlock Remote password lock Password Lock Remote Stop Remote Pause Remote Latch Clear Remote Reset Read Type
53. 4 0 6 Subcommand Word device bit device Device Number of Device devi not specified 34H 30H36H code evices Bock t 2 bytes 4 bytes 3 bytes 2 bytes 6 bytes Y Block 1 Extension When extension iS Extension specication specified specification modification 2 bytes 4 bytes 4 bytes 4 bytes 10 bytes Device Number of Specify the devices for the specified number of points 4 COMMANDS 4 2 Device Access Last bit device in the mth block When communicating data in binary code 2 digit code 6 digit number Specify the devices for the specified number of points specification 2 bytes 2 bytes Number of Number of 1st word device in the nth block Last bit device in the mth block Subcommand word device bit device Device No Device Number 0 Device No Device Number O6H 04H blocks blocks code devices code of devices E zd Block 1 URS Device When extension modification Device No Device Extension is specified code modification SPectication 2 bytes 3 bytes 1 byte 2 bytes 2 bytes 1 byte When extension is not specified 4 digit code 8 digit number Specify the devices for the specified number of points specification 2 bytes 2 bytes When Number of Number of 1st word device in the nth block Last bit device in the mth block extension is Subcommand
54. 4 4 COMMANDS 4 2 Device Access Device Read Block The examples shown in this section explain the control procedure for reading by randomly specifying multiple blocks where 1 block consists of n point s of a bit device memory one point is specified by 16 bit and a word device memory one point is specified by 1 word Data array in the character area during the device read block This section explains how data is ordered in the character areas during device read block lIWhen communicating data in ASCII code Request data I S gt eZle2 amp 3 iof Data name 3 9 5 3 3 5 3 2 5 958 zi 3 Pz2oo 89 lt lt D 6 so gt T 5 S x o I equipment EE 80 Ay Ap E FP L Hh LI p Ap py ey lt gt Specify the target device to be read 1st block lt gt Specify the target device to be read nth block Specify the target device to be read for the specified number of word device blocks opoo ON Jo 1st block lt gt Specify the target device to be read opoo ON iig Jo JOQUINN lt gt Specify the target device to be read mth block Specify the target device to be read f
55. ABH 170FH L H L HIT iH I bit 5EH 01H 00H 02H 00H ABH 56H OFH 17H H L v v v v v 1 0 1 0 1 0 1 1 0 1 0 110 1 1 010 0 0 0 1 1 1 0 VY a gt 1 Indicates ON ra 0 Indicates OFF 1 0 110 B 5 6 0 F 1 7 E ve gt b7 b6 65 b4 b3 b2 b1 bO b15b14b13b12 b11b10b9 b8 b7 66 b5 b4 b3 b2 b1 b15b14 b13b12 b11b10b9 b8 11111 X b15 b14 b13 b12 b11b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 bO b15 b14 b13b12 b11b10b9 b8 b7 66 b5 b4 b3 b2 b1 bO 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 1 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 1 Indicates that 0350 stores Indicates that D351 stores 56ABH 22187 in decimal 170FH 5903 in decimal Point When data other than integer value real number character string is stored in the word device memory for reading data the stored value are read as integer value Example 1 When a real number 0 75 is stored in DO to D1 the value is read as the following integer value DO 0000H D1 3F40H Example 2 When a character string 12AB is stored in D2 to D3 the character string is read as the following integer value 02 3231H 03 4241H Reading and writing extension file registers and buffer memory areas are performed in the same way as those of the word device memory 3 ME
56. CII code Request data Number of word Number of bit device blocks device blocks Subcommand Device Device code Device No Number of devices code Device Number of devices Device Device code Device No Number of devices code Device No Number of devices Device code Device No Number of devices 4 COMMANDS 4 2 Device Access Response data 151 block data of the 2nd block data of the specified word device specified word device eee 00 0 8 2 03 0 1 5 4 5 2 8 0 0 M15 to MO M31 to M16 M143 to M128 M159 to M144 B10F to B100 B11F to B110 B12F to B120 4 8 4 9 C 3 D E 32H 33H 30H 34H 38H 34H 39H 43H 33H 44H 45H 32H 38H 37H 42H 39H 41H 46H 42H 39H 41H 46 1st block data of the 2nd block data of the 3rd block data of the specified bit device specified bit device specified bit device Bit layout for M15 to MO lWhen communicating data in binary code Request data Number of word Number of bit device blocks device blocks 4 a a Subcommand Device Number Device Number Device Number Device Number of Device Number Device code ofdevices Device No code ofdevices Device No code of devices Device code devices DeviceNo code ofdevices OOH OOH 00H A8H 04H OOH 90H 2 OOH 90H 02H
57. Device Device Device No code No code No code No code Device Device Device Device Device Device i I L DCHO5H 00H A8H 60H 01H 00H 9DH 57H 04H 00H 90H 56 4 COMMANDS 4 2 Device Access Response data access access access access Double word Double word Double word read read read read access access access data 1 data 2 data3 data 4 read data 1 read data 2 read data 3 95H 19H 02H 12H 30H 20 49H 48H 4EH 54H 4CHIAFH B9H DEH C3H B7H BCH DDH BAH D0 TO M115 X2F D1500 D1501 YTZE M1141 to to to to M100 X20 Y160 M1111 Word access read data 3 Double word access read data 2 0 OFF 1 M107 to M0 M15 to 108 Word access read data 4 OFF 1 X27 to X20 1 X2F to X28 4 COMMANDS 4 2 Device Access 5 Device Write Random This command specifies the device No randomly and writes the data Request data When writing data in bit units When communicating data in ASCII code 4 bytes 4 bytes 2 bytes 2 When i extension is Device Device No Setor Device Device No Set or 2 int code reset code reset not specified 31H 34H 32 31H Points z 1 point Extension Device When extension is specification SPecification Device No 0 0 0 specified 30H30H30H 2 bytes 4 bytes 3 bytes 2 bytes 6 bytes 3 bytes 4
58. MP compatible devices or intelligent function modules Request data ASCII Devi H vice No Command Subcommand ee ead de era Number of devices code or device No Head device 0 0 Extension 0 0 Device 7 0 0 specification code or device No 30H 30H 30H 30H 30H 30H 30H 30H Binary Head device No Command Subcommand Device Number or device No code of devices Head device Device Extension or device No code specification OOH OOH OOH OOH F9u The following shows the module access device and request data When extension is not specified When extension is specified When extension is not specified When extension is specified Extension Device code Head device No specification or device No Poin tr Devices described in Page 44 In the case of FX5CPU can be accessed by specifying 0 in extension specification of commands which can specify multiple devices However when specifying 0080 in specify the device in the message format shown above Message formats when extension is not specified and message formats when extension is specified cannot coexist in the same message APPENDIX Appendix 1 Device Memory Extension Specification The following commands can be used for accessing Write 1401 Read Random 0403 Write Random 1402 Read Block 0406 Write Block 1406 5 0 0 8 O 30H 30H 38H
59. SSAGE FORMAT 31 3 1 Message Format Character areas This section explains character areas in the control procedure data area when communicating in binary code Character areas differ depending on command to be used and contents to be specified This section explains the data common to the character area when the device memory to be read or written is specified directly Character area data handled only by a certain command and not by others is explained in the section that explains the corresponding command Data of character area when communicating in ASCII code The data order and contents of character areas A B and C are identical when the same command is used under the same conditions in the control procedure when communicating using ASCII code Win the case of reading Character area A 2 g T c lt 3 o 5 D 2 External o equipment o Character area B c 3 5 m O 25 E PLC CPU o o O S gt Win the case of writing Character area C E M M M V T Y o 2 5 S E 8 5 35 5 S 4 D E s o Bn 9 Q External zi 9 equipment s 29 o E o PLC CPU The data array and the data contents marked with are shown in 15 Message Format 32 3 MESSAGE FORMAT 3 1 Message Format Data of data area when commun
60. a function other than device read random or monitor data registration is used Device memory extension specification 0 Device memory extension specification is not used 1 Device memory extension specification is used On the following cases the subcommand is 0000H or 0001H When neither monitor condition nor device memory extension is specified When using a command that cannot select monitor condition specification and device memory extension specification llDevice code Device codes are data for identifying the device memory to be read or written Q Device codes are shown in the table in lt Page 44 Device range OQ When communicating data in ASCII code Device codes are converted into 2 digit ASCII code when word device is specified or 4 digit ASCII code when long device is specified and the device codes are sequentially sent beginning from the most significant digit Use capitalized code for alphabetical letter in ASCII code Ex In the case of input X 2 digit code 6 digit number specification X 4 digit code 8 digit number specification X 58 2 58H 2AH 2AH 2AH The input relay device code X is sequentially sent from X The second character can be specified by a space code 20H G When communicating data in binary code The data is sent with the binary codes shown in 44 Device range are used Ex In the case of input X 2 digit code 6 digit number specificat
61. access FX5CPU Another station Another station Multi drop connection Multi drop Multi drop Multi drop I Connecting Relay connecting connecting connecting External device station station station station station Network Network No 1 MELSEC iQ R etc Another station Another station F in re No 1 No 2 No 3 22 3 MESSAGE FORMAT 3 1 Message Format Ex When specifying 26 1AH as the station number n and 16 10H as the station number of station ASCII code 1 A 1 O Binary code 31H 41H 31H 30H 1AH 10H Network number Station number Network number Station number Precauions The stations of network number 240 to 255 cannot be accessed FX5CPU cannot perform multi drop connection FX5CPU cannot perform connection via network Request destination module I O number lkRequest message Header Application data Subheader Request Request Request Request Request Reserve Command Subcommand Request destination destination destination destination data data network station No module multidrop length No No station No mResponse message Header Application data Subheader Request Request Request Request Response End Response destination destination destination destination data length code data network station No module l O multidrop No No station No Select the module number o
62. by using the message format shown in the request data above 4 COMMANDS 4 3 Remote Control Processor type read This command reads the processor module name code processor type of the access destination module Request data lIWhen communicating data in ASCII code 4 bytes rf 4 bytes Subcommand 30H 31H 30H 31H 00H OOH 00H 00H lIWWhen communicating data in binary code 2 bytes 2 bytes Subcommand 01H 01H 00H 00H Response data lIWhen communicating data in ASCII code 16 bytes 2 4 bytes When communicating data in binary code 16 bytes 2 2 bytes The characters of the module model are stored for 16 characters from the upper byte If the model to be read is less than 16 characters space 20H is stored for the remaining characters Even when communicating data in binary code the module model is stored in ASCII code iIModel code The following model codes will be stored When communicating in binary code the data is stored in order from the lower byte to the upper byte Model Model code hexadecimal FX5U 32MR ES 4A21H FX5U 64MR ES 4A23H FX5U 80MR ES 4A24H FX5U 32MT ES 4A29H FX5U 64MT ES 4A2BH FX5U 80MT ES 4A2CH FX5U 32MT ESS 4A31H FX5U 64MT ESS 4A33H FX5U 80MT ESS 4A34H FX5UC 32MT D 4A91H FX5UC 32MT DSS 4A99H 4 COMMANDS 4 3 Remote Control 85 The model of the CPU module is identified by the model cod
63. bytes When i extension is Setorreset not specified 31H34H 30H 32H 30H 30H 33H Points z 1 point _ 4 bytes 2 bytes ss Extension specification Device code Device No When extension is e specification modification specified 2 bytes 4 bytes 4 bytes 4 bytes 10 bytes 4 bytes I I I I L I Extension Device code Device No Set or reset 58 4 COMMANDS 4 2 Device Access When communicating data in binary code 2 digit code 6 digit number Specify the devices for the specified number of points specification 2 bytes 2 bytes 1 byte When extension Eno points specified 02H 14H 01H 00H Device modification Extension Extension Died When extension is indirect specticaion cifcation specified specification modification P specification 2 bytes 3 bytes 1 byte 2 bytes 2 bytes 1 byte 4 digit code 8 digit number Specify the devices for the specified number of points specification 2 bytes 2 bytes 1 byte When No Device Set or Derce No Device Set or IS not reset reset specified o2H44H D3H00H Points 4 X s 1 point Device modification ice Extension Direct When extension is indirect Device No Device specification ais memory ifi ficat code modifica
64. ccess D1500 to D1501 Y160 to Y17F M1111 to M1142 When communicating data in ASCII code Request data Word access Double word Subcommand points access points Device Device code Device No Write data code Device No Write data 0 30H 30H 30H 30H 30H 10 0 00002 0705 8 3 130H 30H 30H 31H 30H 30H 30H 35H 34H 58H 2AH 30H 30H 32H 30H 30H 35H 38H 33H 0 01 5 0 0 130H 30H 31H 35H 30H 30H TTT 0 OFF 1 ON id Eee M115 M100 to Y178 167 to Y160 1 ON M1142 to M1135 M1118 to M1111 0 5 8 3 i P SF _ ater IE E E ON X2F to X20 4 COMMANDS 4 2 Device Access 63 When communicating data in binary code Request data Word Double word access access points points Subcommand r 02H 14H 00H 00H Device Write Device Write Device No code data Device No code data ost d Data 2 00H 00H A8H 50H 05H 01H 00H 00H A8H 75H 05H 64H 00H 00H 90H 40H 05H 20H 00H 00H 9CH 83H 05H Data 1 M107 to M100 M115 to M108 Data 2 0 7 2 6 7 5 2 3 0 OFF NC S TN al P 1 ON ELE IE Ole T Y167 to Y160 Y16F to Y168 Y177 to Y170 Y17F to Y178 7 5 0 4 2 5 0 4 O OFF Ec RE 4 lt P ___ P 1 0 M1118 to M1111M1126 to 1119 1134 to M1127 M1142 to M1135 6
65. compatible 3E frame 3 1 Message Format This section describes the message format for each command when performing the data communication using the 3E frame How to understand command descriptions This section describes how to understand message diagrams in each command description shown in Page 43 Device Access and after The following example shows how to understand message diagrams in command descriptions for each control procedure when communicating with the built in Ethernet port When data is read from a CPU module by external equipment Command message External equipment CPU module Response message e Part A indicates transfer from the external equipment to the CPU module Part B indicates transfer from the CPU module to the external equipment Create a program in the external equipment so that each data is transferred sequentially from the left to the right In part A data is sent sequentially starting from ENQ In part B data is received sequentially starting from STX When data is written from external equipment to a CPU module External equipment CPU module Response message Part C indicates transfer from the external equipment to the CPU module Part B indicates transfer from the CPU module to the external equipment Create a program in the external equipment so that each data is transferred sequentially from the left to the right In part C data is sent seque
66. d reads data from bit devices in units of 16 bits This command reads data from word devices in units of 1 word This command reads data from link direct devices in units of 1 bit This command reads data from the buffer memory in intelligent function modules in units of 1 bit This command reads data from devices indirectly specified by index registers in units of 1 bit registers in units of 1 word This command reads data from link direct devices in units of 1 bit This command reads data from the buffer memory in intelligent function modules in units of 1 bit This command reads data from devices indirectly specified by index registers in units of 1 bit This command reads data from the buffer memory in intelligent function modules in units of 1 word This command reads data from devices indirectly specified by index registers in units of 1 word Device Write Batch 0000H This command writes data to bit devices in units of 16 bits This command writes data to word devices in units of 1 word 0081H This command writes data to the buffer memory in intelligent function modules and SLMP compatible devices in units of 1 bit Bit devices word devices and buffer memory are indirectly specified by index registers 0080H This command writes data to the buffer memory in intelligent function modules and SLMP compatible devices in units of 1 word 16 bits 0083H This command writes data to the b
67. data for the devices number of points Extension Extension eee Device specification When extension specification modification is specified bi l 2 bytes 4 bytes 4 bytes 4 bytes 10 bytes 4 bytes lIWhen communicating data in binary code 2 digit code 6 digit number specification 2 m 2 bytes When extension is p specified Device i i Direct modification memor When extension is indirect specified 4 digit code 8 digit number specification 2 Dm 2 When extension is specified ies Extension Direct When extension is inditect ication memory n E e ti T specified modification 4 COMMANDS 50 4 2 Device Access 5 Specify the subcommand selected from the item OOH 4 digit code 8 digit number Specified 83H 00H 2 30H _ 30H 38H 83H Word units 2 digit code 6 digit number Not specified e b bP _ 00H 00H 4 digit code 8 digit number Specified re 82H 00H llDevice code Specify the device code that corresponds to the device type to be written Refer to the device code list Bit units 2 digit code 6 digit number specification Not specified The double word device and the long index register LZ are not supported llDevice No Specify the head number of target device of writing llNumber of devices Specify the number of target device points of writing When writing data in bit units 1 to 1792 points 1 t
68. destination destination destination data length code data network station No module I O multidrop No No station No Specify the request destination network number and request destination station number to be used as an access destination in hexadecimal Specify the request destination network number and request destination station number according to installation conditions of access destination stations based on the following table Data of the response message is a value set in the request message No Access destination Station to be specified Request destination Request destination station network number number 11 Connecting station Within the range indicated in Specify the fixed value indicated 1 in the figure below on the right 2 Other stations or relay station Access destination station 01 to EFH 1 to 239 01 to 78H 1 to 120 Station Within the range indicated in No number 2 in the figure below 7DH Assigned control station Master station Present control station Master station 3 Multi drop connecting station via A station on the network where 01 to EFH 1 to 239 01 to 78H 1 to 120 Station network multi drop connecting stations are number Within the range indicated in No connected 7DH Assigned control station 3 in the figure below In the figure below A is Master station specified Present control station Master station 1 Please use specification No 1 to
69. dex register The following value is specified when the access point is a module of the MELSEC iQ R iQ F Series 0083 Specify the number of the index register in decimal 2 digit Specify the number of the index register Z in hexadecimal 0082 ASCII code Specification range 0 to 24 Specification range OOH to 18H z OO 20H 40H 0081 Specify the number of the index register in decimal 2 digit Specify the number of the index register Z in hexadecimal 0080 ASCII code Specification range 0 to 24 Specification range to 18H z 5AH LILIH 40H APPENDIX Appendix 1 Device Memory Extension Specification 99 e The following value is specified when the access point is a module of the Series Specify the number of the index register in decimal 2 digit ASCII code Specify the number of the index register in hexadecimal Specification range Specification range 0 to 15 0 to F z 5AH 40H 4 The long index register LZ can not be used in the extension specification modification llDevice code Specify the code of the device to be accessed 44 In the case of FX5CPU Specify the following device code when accessing the module access device G G ABH ABOOH Specify within the device No range of the Decimal module for access destination 1 For ASCII codes the device code is specified with 2 characters If the device text is one character
70. e Communication example lIWhen communicating data in ASCII code Request data 0 1 0 110 0 0 0 30H 31H 30H 31H 30H 30H data F X 5 U 3 2M R E S 4 A 2 1 46H 58H 35H 55H 2DH 33H 32H ADH 52 45H 53H 20H 20H 20H 20H 34H 41H 32H 31H When communicating data in binary code Request data 01H 01H OOH Response data F X 5 U 32 ES 46H 58H 35H 55H 2DH 33H 32H ADH 52 45H 53H 20H 20H 20H 20H 21H 4AH 8 6 4 COMMANDS 4 3 Remote Control 4 4 Clear Error This function turns off ERR LED of the FX5CPU from the external equipment and or initializes the communication error information or error code stored in the buffer memory This function is used to initialize the current error information due to an abnormal response for a command message and return it to the normal state or initialize the error code storage area of the buffer memory The order and description of the data item with shown in the figure of the control procedure differ depending on the frame and pattern in a communication This function can be used only for the FX5CPU which is connected with the external equipment This function cannot be used for the FX5CPU of another station via the network system The data part of the command and control procedure when the display LEDs of the FX5CPU are turned off and the communication error information is initialized from the external equipment is described C
71. er LZ 97 Access with indirect specification of the device No by using index register or long index register Response data The same as when extension is not specified Communication example Access to the buffer memory Address 1 of the intelligent function module whose module number is 003H When communicating data in ASCII code Request data Extension Device Head device No Subcommand specification code or device No 0 0 8 010 010 0 O 3 0 0 07 G 0 O 110 0 O 30H 30H 38H 30H 30H 30H 55H 30H 30H 33H 30H 30H 30H 47H 30H 30H 30H 30H 30H 31H 30H 30H 30H When communicating data in binary code Request data Head device No Device Extension Subcommand or device No code specification 80H OOH 00H OOH 01H OOH OOH 00n OOH 03H de APPENDIX Appendix 1 Device Memory Extension Specification Access with indirect specification of the device No by using index register or long index register Indirect specification of the device No can be performed by using the index register or long index register when accessing the device The access destination can be switched with one message by changing the value of the index register or long index register in CPU module programs Ex When accessing D4 with D0 and Z0 specifications Specify the value with the request data Device No Offset value 20 w Device No to be acc
72. essed NI e Equivalent to accessing D4 using the following program Stored value dios Device No 20 dof _____ 0 Access destination MOVP K DO0ZO Ex When accessing M16 to M31 with M0 and Z0 specifications Word units Specify the value with the request data Device No Offset value Z0 TES 16 Device to accessed Stored value 16 70 Equivalent to accessing 16 to 1 using following program Device 0 to M15 MOVP K16 ZO M16 to M31 Access destination 2 7 MOVP KAMOZO APPENDIX Appendix 1 Device Memory Extension Specification 97 Request data ASCII i i Device Head device No When extension is Command Subcommand code or device No Number of devices not specified Extension Extension Device Head device No Device specification specification code or device No modification modification When extension is specified Binary When extension is Head device No Device of or device No code devices da Command Subcommand not specified When extension is Head device No Device Extension specified or device code specification modification The following shows the approach for devices index registers long index registers and request data Other than the module access device Device Head device No code or device No
73. est Request Request Request Request Reserve Command Subcommand Request destination destination destination destination data data network station No module multidrop length No No station No mResponse message Header Application data Subheader Request Request Request Request Response End Response destination destination destination destination data length code data network station No module 1 0 multidrop No No station No Specify the station number of the SLMP compatible device linked by the multi drop connection in the access destination within the range shown in the table below When not specifying the SLMP compatible device linked by the multi drop connection set OOH No Access station of external equipment Request destination multi drop station number 1 Stations on the multi drop connection Set the station number 00H to 1FH 0 to 31 F in the figure below F in the figure below 2 A station that relays the network and the multi drop connection 00H 0 E in the figure below 3 Other than above 00H 0 1 Please use specification No 3 to access FX5CPU Another station Another station Multi drop connection Rela Multi drop Multi drop Multi drop Ext devi Connecting stati 2d connecting connecting connecting ernal device station station Network No 1 station station Network No n MELSEC iQ R series etc
74. f the access destination from the table below When the send destination of the request message is a multi drop connecting station that is connected to the request destination station set the number upper 3 digits of the serial communication module which is performing the multi drop connection 5 Own station 2 Other station control CPU 3 The module which 15 performing multi drop connection with serial 0000H to 01FFH communication module A in the figure below which is connected to the network 1 FX5CPU cannot perform multi drop connection FX5CPU cannot perform connection via network 2 Please use specification No 1 to access FX5CPU Another station Another station Multi drop connection Multi drop Multi drop Multi drop connecting connecting connecting External device station station station station station Network Network No 1 No n MELSEC iQ R Ethernet serles etc Another station Another station d No 1 No 2 No 3 3 MESSAGE FORMAT 2 3 1 Message Format 3 Ex When specifying the default processor 0005H as the request destination module I O number ASCI code 0 0 0 5 Binary code 30H 30H 30H 35H 05H 00H Request destination Request destination module No module I O No Request destination multi drop station number MRequest message Header Application data Subheader Requ
75. f word device total points of each blocks of bit device x2 lt 960 BIN Number of word device blocks number of bit device blocks x2 lt 120 and Total points of each blocks of word device total points of each blocks of bit device 960 ASCII Number of word device blocks number of bit device blocks x2 lt 120 and Number of word device blocks number of bit device blocks x4 Total points of each blocks of word device total points of each blocks of bit device x2 x770 BIN Number of word device blocks number of bit device blocks 120 and Number of word device blocks number of bit device blocks x4 Total points of each blocks of word device total points of each blocks of bit device lt 770 ASCII Number of word device blocks number of bit device blocks x4 lt 120 and Number of word device blocks number of bit device blocks x4 Total points of each blocks of word device total points of each blocks of bit device x2 x770 BIN Number of word device blocks number of bit device blocks x2 x120 and Number of word device blocks number of bit device blocks x4 Total points of each blocks of word device total points of each blocks of bit device lt 770 4 COMMANDS 4 1 List of Commands and Functions 41 42 Device Write 1406H 0082H Block Remote Run 1001H 0000H Remote Stop 1002H 0000H Remote Pause 1003H 0000H Remote Latch 1005H 0000H Clear Remote Rese
76. g specification Device code 1 byte in binary Device number 3 bytes in binary 4 digit code 8 digit Data or items related to the address specifications are extended to the following size number Device code 2 byte in binary specification Device number 4 bytes in binary Device memory Not specified Set this when specifying devices of a CPU module extension specification Set this when not using the device memory extension specification Specified Set this for the buffer memory specification of the intelligent function module This setting corresponds to the buffer memory indirect specification with index register 3 MESSAGE FORMAT 3 1 Message Format 33 34 Q When communicating data in ASCII code The value 0000H 0 or the following value is converted to a 4 digit hexadecimal ASCII code and sequentially transmitted beginning from the most significant digit 0 When communicating data in binary code The value 0000H or the following 2 byte value is used for transmission The following figure shows the specification contents of the subcommand 7 6 1 0 5555 Data size specification 0 Word Not specified 1 Bit Data specification format 0 2 digit code 6 digit number specification 1 4 digit code 8 digit number specification Monitor condition specification Not used 0 When
77. hibited signals among the signals which are output to the SLMP compatible device and intelligent function device Executing data writing to the system area or write protect area or outputting use prohibited signals may cause malfunction of the programmable controller alarm STARTUP PRECAUTIONS NWARNING Before modifying the program in operation forcible output running or stopping the PLC read through this manual carefully and ensure complete safety An operation error may damage the machinery or cause accidents Do not change the program in the PLC from two or more peripheral equipment devices at the same time i e from an engineering tool and a GOT Doing so may cause destruction or malfunction of the PLC program STARTUP AND MAINTENANCE PRECAUTIONS NCAUTION Read relevant manuals carefully and ensure the safety before performing online operations operation status change with peripheral devices connected to the running SLMP compatible device or CPU modules of other stations Improper operation may damage machines or cause accidents INTRODUCTION This manual explains the specifications and settings related to the SLMP function of the MELSEC iQ F Series It should be read and understood before attempting to install or use the module Always forward it to the end user Regarding use of this product This product has been manufactured as general purpose part for general indus
78. hnical documents are subject to change without prior notice Product application 1 In using the Mitsubishi MELSEC programmable controller the usage conditions shall be that the application will not lead to a major accident even if any problem fault should occur in the programmable controller device and that backup and fail safe functions are systematically provided outside of the device for any problem or fault 2 The Mitsubishi programmable controller has been designed and manufactured for applications in general industries etc Thus applications in which the public could be affected such as in nuclear power plants and other power plants operated by respective power companies and applications in which a special quality assurance system is required such as for railway companies or public service purposes shall be excluded from the programmable controller applications In addition applications in which human life or property that could be greatly affected such as in aircraft medical applications incineration and fuel devices manned transportation equipment for recreation and amusement and safety devices shall also be excluded from the programmable controller range of applications However in certain cases some applications may be possible providing the user consults their local Mitsubishi representative outlining the special requirements of the project and providing that all parties concerned agree to the special
79. icating in binary code Win the case of reading Data area corresponding to character area A gt QO I Z c c e 3 8 15 3 o 3 lt 5 8 External a is z lt equipment 9 Data area corresponding to character area B e 3 mv 2 5 o ag CPU module oo D OQ a Win the case of writing Data area corresponding to character area C lt gt I z E 3 8 i8 B 25 3 S el 4 5 lt o To 6 8 External a equipment o 5 c 3 CPU module The data array and the data contents marked with are shown 15 Message Format Data contents common to character areas 5 Subcommands are data for specifying the unit for reading and writing device type to be specified and the data reading condition The following table shows the details of setting items Setting item Description Data size specification Word units The target data is read or written in word units Select 0 even when the reading data or writing data does not exist in arguments of the command Bit units The target data is read or written in bit units Device specification 2 digit code 6 digit Data or items related to the address specifications are expressed in the following sizes which are the same format number as the existing settin
80. icating using binary code 6 to 32 characters Res sponse data There is no response data for the unlock command of the remote password Communication example When performing the unlock process in communication using ASCII code Remote Command Subcommand password length Remote password 1 6 3 010 0 O 0 0 O 1 Aja b e f h i j k I r 4 31H 36H 33H 30H 30H 30H 31H 41H 61H 62H 63H 64H 65H 66H 67H 68H 69H 6BH 6CH m n p q r s t u v W x y 2 6DH6EH 6FH 70H 71C 72H 73H 74H 75H 76H 77H 78H 79H 7 lIWhen performing the unlock process in communication using binary code Remote password Command Subcommand length Remote password a b e f h i j k mn o p q r s t u v W x y 2 30H 16H 00H 1 00H 61H 62H 63H 64H 65H 66H 67H 68H 69H 6AH 6BH 6CH 6DH EH 6FH 70H 71C 72H 74H 75H 76H 77H 78H 79H 4 COMMANDS 4 6 Remote Password Unlock or Lock 93 94 APPENDIX Appendix 1 Device Memory Extension Specification The following accesses are available by setting the subcommand of request data to 0080 Access to module access device Access with indirect specification of the device No by using index register long index register Access with indirect specification of the device No by using values stored in word device Access to module access device Access to the buffer memory of SL
81. ies whether Remote RUN can be executed forcibly by a device other than the external device which performed Remote STOP or Remote PAUSE If forced execution is not allowed Remote RUN can be executed only by the external device which performed Remote STOP or Remote PAUSE Forced execution is used when the external device which performed the remote operation cannot execute Remote RUN because of a problem with the device Forced execution not allowed Remote RUN cannot be executed when other device executes Remote STOP or Remote PAUSE 000 1 30H 30H 30H 31H 01H Forced execution allowed Remote RUN can be executed when other device executes Remote STOP or Remote PAUSE 3 03H 00H mClear mode This mode specifies whether the clear initialization processing of device is executed when starting the calculation for the Remote RUN Only 00H is valid Do not clear the device Set mode to Forced execution not allowed and set clear mode to Clear all devices including that in the latch range when executing Remote RUN When communicating data in ASCII code Request data Clear Mode mode 1 0 O 110 0 O 010 110 210 0 31H 30H 31H 30H 30H 30H 31H 30H 32H When communicating data in binary code Request data Clear Mode mode 01H 10H 00H 00H 01H 4 COMMANDS 1 4 3 Remote Control 8 82 Remote
82. ification range of the index register Z is 32768 to 32767 When the device modification range is not within 32768 to 32767 use the long index register LZ The following value is specified when the access point is a module of the MELSEC Q L Series Specify the number of the index register in decimal 2 digit ASCII code Specify the number of the index register in hexadecimal Specification range Specification range 0 to 15 0 to F ZOU 5AH LILIH 40H 1 0 0 APPENDIX Appendix 1 Device Memory Extension Specification llDirect memory specification only when communicating in binary code Specify the device type when accessing the module access device Item Binary code Module access device Specify F8H Other than the above Specify OOH Response data The same as when extension is not specified Communication example Accessing the device of D100 24 When communicating data in ASCII code Request data Extension Extension specification Device Head device No Device Subcommand specification modification code or device No modification 0 8 010 010 1 012 4 30H 30H 38H 30H 30H 30H 44H 30H 31H 30H 5AH 30H 34H When communicating data in binary code Request data Extension Direct Device Head device Device specification Extension memory Subc
83. igit code 6 digit number specification Not specified The double word device and the long index register LZ are not supported llDevice No Specify the head number of target device of reading llNumber of devices Specify the number of target device points of reading When reading data in bit units 1 to 1792 points 1 to 3584 points When reading data in word units 1 to 480 points 1 to 960 points The read device value is stored in hexadecimal The data order differs depending on the type of code ASCII code or binary code Read data llWhen data in bit units M100 to M107 are read When communicating data in ASCII code Request data Device Subcommand code Head device No Number of devices 0 0 0 1 0 0 1 1 30H 30H 31H 31H M100 to M107 4 COMMANDS 4 2 Device Access 47 When communicating data in binary code Request data Device Subcommand code Head Number device No of devices 01H 04H 01H OOH 64H OOH OOH 00H Response data 0 OFF 1 ON 00H 01H 00H M101 M100 lBWhen reading data in word units bit device M100 to M131 2 word are read When communicating data in ASCII code Request data Device Subcommand code Head device No Number of devices M115 to M100 M131 to M116 When communicating data in binary code Request data Device Subcommand code Head Number
84. ion 4 digit code 8 digit number specification 9CH 00H 9CH 3 MESSAGE FORMAT 3 1 Message Format MiHead device No device No Data for specifying the number of the device to read data from or write data to When specifying continuous device areas specify the head number of the device range The head device number is specified by the data expression decimal or hexadecimal shown in the Device number column of the table shown 44 Device range according to the corresponding device Q When communicating data in ASCII code The device number shown in the table Page 44 is converted to a 6 digit ASCII code when word device is specified or 8 digit ASCII code when long device is specified and sequentially sent beginning from the most significant digit The 0 column of the most significant digit in for example 001234 this refers to 0 of the first two characters can also be specified by a space code 20H In the case of the device number is 1234 2 digit code 6 digit number specification 0 0 1 2 3 4 4 digit code 8 digit number specification 0 0 0 0 1 2 3 4 30H 31H 32H 33H 34H 30H 31H 32H 33H O When communicating data in binary code The 3 byte 2 digit code 6 digit number specification or 4 byte 4 digit code 8 digit number specification binary code with the device number specified by the device specification format is sequentially sent starting from the low b
85. ive timer and counter use the bit device block Set up in order of word device bit device 4 COMMANDS 4 2 Device Access 77 Communication example Write values from devices as follows Word device Block 1 00 to D3 4 points Block 2 W100 to W107 8 points Bit device Block 1 to M31 2 points Block 2 M128 to 159 2 points Block 3 B100 to B12F 3 points lIWhen communicating data in ASCII code Request data Number of word Number of bit device blocks device blocks Subcommand B d code Device No Number of devices Write data D 0 0 00 04 00 0 8 v 2 0 44H 2 30H 30H 30H 30H 30H 30H 38H 32H 38H 30H DO to D3 i Device code Device No Number of devices Write data 0 0 Y 0 0 B 70 9 T Of 1 3 Wt 57H 2AH 30H 30H 31H 30H 30H 38H 30H 39H 37H 30H 30H 31H 33H 34H W100 to W107 Device Device Number of devices Write data M 0 00 00 0 0 O O 2 20 3 0 4 8 4 93 4DH 2AH 30H 30H 30H 30H 30H 30H 30H 32H 32H 30H 33H 32H 38H 34H 39H M15 to MO M31 to M16 Device i code Device No Number of devices Write data M 50 0 0 1 2 8 0 0 0 2 C 3 D E 8 O OT 4DH 2AH 31H 32H 38H 30H 30H 30H 32H 43H 33H
86. l number 0 75 is stored in DO to D1 the value is read as the following integer value DO 0000H D1 3F40H Example 2 When a character string 12AB is stored in D2 to D3 the character string is read as the following integer value 02 3231H 03 4241H Data in units handled when reading and writing buffer memory areas is expressed in the same way as the word device memory 3 MESSAGE FORMAT 29 3 1 Message Format Communicating data When communicating data in binary code When bit device memory is read or written The bit device memory is handled in 1 bit 1 point units or in 1 word 16 point units The transfer data in each case is described below n 1 bit 1 point units When the bit device memory is handled in 1 bit 1 point units one point is specified by 4 bits and a specified number of devices starting from the specified start device are expressed in turn from the most significant bit as 1 for the on status or 0 for the off status Ex When indicating the on off status of five devices starting from M10 Head device number 00000AH Device code 414 L 0 is shown as a dummy when the number of points is an odd number Indicates that M14 is ON Indicates that M13 is OFF Indicates that M12 is ON Indicates that M11 is OFF Indicates that M10 is ON 1 word 16 point units When the bit device memory is handled in 1 word 16 point
87. lains how to read or write from to a device to from module access device areas and how to specify a device indirectly by using index register Message format Response messages are extended as well When communicating data in ASCII code 2 digit code 6 digit number specification When extension Command amp abeemand s Head pud of is not specified code device No evices When extension Extension Extension Device Head device No or code device No specification is specified specification modification 30H 30H 30H When extension Command euibeemmand Devicetode Head of is not specified device No evices Extension eo sons specication Device cod L o dd is specified P modification lIWhen communicating data in binary code 2 digit code 6 digit number specification When extension Head device No Command Subcommand is not specified or device No Device When extension modification Head device No Device indirect is specified specification Extension Direct specification Extension memory or device No code modification SPecification Specification 4 digit code 8 digit number specification When extension Head device No or i Command Subcommand is not specified device No Device When extension modification Head device No Device EM indirect is specified specification Extension Direct specification Extension me
88. lear Error O The function can be executed m When communicating data in ASCII code 4 bytes 4 bytes When communicating data in binary code 2 bytes 2 bytes 4 COMMANDS 4 4 Clear Error 87 4 5 Self Test This function tests whether the communication function between the external equipment and FX5CPU operates normally or not The control procedure when this function is used is described with examples At the startup of the FX5CPU or when trouble occurs this function can check whether the connection between the external equipment and FX5CPU is correct and or whether the data communication function operates normally This function can be used only for the FX5CPU which is connected with the external equipment including a multi drop connecting station This function cannot be used for the FX5CPU of another station via the network system commana Self Test 0619 0000 Checks whether a data communication is executed normally O The function can be executed EWhen communicating data in ASCII code 4 bytes 4 bytes 4 bytes n bytes Number of Subcommand loopback data Loopback data e Number of loopback data number of bytes The number of the bytes is converted into a four digit ASCII code hexadecimal and data is sent from the upper digit 0 e Loopback data user data The order of character strings for up to 960 1 byte characters 0 to 9
89. mmunication using binary code Remote password Subcommand length Remote password a b e f h i j k mn o p q r s t u v W x y 2 31H 16H 00H 00H 1AH 00H 61H 62H 63H 64H 65H 66H 67H 68H 69H 6BH 6CH 6DH6EH 6FH 70H 71C 72H 73H 74H 75H 76H 77H 78H 79H 7 AH Unlock This command changes the remote password from locked status to unlocked status Enables communication to the device a Remote Unlock 1630 0000 Specifies a remote password and changes the lock status to the password unlock status Communication to the CPU module is enabled O The function can be executed When communicating data in ASCII code 4 bytes 4 bytes 4 bytes bytes Remote password Remote h length n password 31H 36H 33H OOH OOH OOH OOH When communicating data in binary code 2 bytes 2 bytes 2 bytes n bytes Remote Remote Subcommand password length n password 30H 16H 00H 00H llSubcommand Default 9 2 4 COMMANDS 4 6 Remote Password Unlock or Lock llRemote password length Specify the remote password length The password length is the specified characters 6 to 32 characters Cum fo fo 2 Character code 30H 30H 32H 30H 20H MRemote password Specify the remote password set for the SLMP compatible device CPU module or intelligent function module using GX Works3 opecify the remote password using ASCII code also when commun
90. mory device No code modification SPecification Specification 3 MESSAGE FORMAT 37 3 1 Message Format 38 Module access device specification The following shows the approach for module access device specification in programming and request data Extension Device Head device No specification code or device No specification Specify the module number of intelligent function modules Specify the start I O number in hexadecimal 3 digit ASCII code When Specify the module number in hexadecimal 2 bytes When described with 4 described with 4 digits specify the start I O number with the upper 3 digits digits specify the module number with the upper 3 digits Example oo Example oo1 LI LI LI U 0 1 55H 55H 30H 30H 31H 01H 00H MDevice code Specify the module access device in the device code list WHead device No or device The format is the same as the message when extension is not specified 3 MESSAGE FORMAT 3 1 Message Format 4 COMMANDS This chapter explains commands of For parts of the transmission message other than the command part refer to Page 15 MESSAGE FORMAT 4 1 List of Commands and Functions This section describes commands and functions when accessing from the external equipment to the CPU module 0401H 0001H 0000H 0081H 0080H 0083H 0082H 1401H 0001H Device Read Batch This comman
91. n network station number number access access station station Request destination multi drop station number Request destination module I O number Response data length Header Subheader Request Request destination destination network station number responding station Request destination module I O number End code station station number Error information 3 MESSAGE FORMAT 3 1 Message Format 25 Reserved MRequest message Header Application data Subheader Request Request Request Request Request Reserve Command Subcommand Request destination destination destination destination data data network station No module multidrop length No No station No Setting range Set OOOOH 0 Ex ASCII code 0 0 0 O Binary code 30H 30H 30H 30H 00H End code mResponse message Header Application data Subheader Request Request Request Request Response End Response destination destination destination destination data length code data network station No module I O multidrop No No station No The command processing result is stored When normally completed 0 is stored When completed with error an error code set at the request destination is stored For the set error code and corresponding error contents refer to manuals of the SLMP compatible device of the response station Ex
92. ng Device Label Access Service Processing Setting to reduce the intervention time to the scan time ELLIMELSEC iQ F FX5 User s Manual Application When extension of scan time affects the control Access multiple times with less points APPENDIX 1 Appendix 3 CPU Module Processing Time of SLMP 05 INDEX 0 A B D E H O R 5 106 09 SE Tale aio men suu 11 Application data 16 8 Data format 16 End 26 Error 27 External device 8 puede ae ee w mos s 16 protocol 8 MC protocol compatible device 8 Module access device 8 Other station 8 Own station 8 Relay station 8 Request data 26 Request data length 25 Requested multi drop station number 24 Reserved 26 Response 27 Response data length 25 SLUMP 4 0045 ak 8 SLMP compatible 8 107 REVISIONS November 2014 First Edition January 2015 IGAdded function Da
93. ning wind and water damage g Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi h Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user of production 1 Mitsubishi shall accept onerous product repairs for seven 7 years after production of the product is discontinued Discontinuation of production shall be notified with Mitsubishi Technical Bulletins etc 2 Product supply including repair parts is not available after production is discontinued Overseas service Overseas repairs shall be accepted by Mitsubishi s local overseas FA Center Note that the repair conditions at each FA Center may differ Exclusion of loss in opportunity and secondary loss from warranty liability Regardless of the gratis warranty term Mitsubishi shall not be liable for compensation of damages caused by any cause found not to be the responsibility of Mitsubishi loss in opportunity lost profits incurred to the user or third person by failure of Mitsubishi products special damages and secondary damages whether foreseeable or not compensation for accidents and compensation for damages to products other than Mitsubishi products replacement by the user maintenance of on site equipment start up test run and other tasks Changes in product specifications The specifications given in the catalogs manuals or tec
94. nsion specification is used Number of word device blocks number of bit device blocks x4 120 and Total points of each blocks of word device total points of each blocks of bit device x2 960 4 COMMANDS 4 2 Device Access 69 70 GO Device code device No number of device points Specify the device points while satisfying the following conditions Total number of points for all word device blocks total number of points for all bit device blocks lt 960 Word device Specify the device points specified in Number of word device blocks When Number of word device blocks is set to O this specification is unnecessary Bit device Specify the device points specified in Number of bit device blocks When Number of bit device blocks is set to O this specification is unnecessary When specifying a contact and a coil of a timer retentive timer and counter use the bit device block Set up in order of word device bit device e of the specified word device blocks Data of the specified bit device blocks word device bit device 1st block data nth block data 1st block data A mth block data gt ommunication example Values are read from devices as follows Word device Block 1 00 to D3 4 points Block 2 W100 to W107 8 points Bit device e Block 1 MO to M31 2 points e Block 2 M128 to M159 2 points Block 3 B100 to B12F 3 points lIWhen communicating data in AS
95. ntially starting from ENQ In part B data is received sequentially starting from ACK Poin tr After receiving a command message from the external equipment the CPU module completes the processing for part A and part C in the message and sends a response message part B then starts the receiving wait status neutral status 3 MESSAGE FORMAT 1 3 1 Message Format 5 16 Message format and control This section describes the message format and the control procedures when performing the data communication using the 3E frame Data format The data format for communicating between the built in Ethernet port and the external device consists of header and application data MRequest message Header Application data Subheader Request Request Request Request Request Reserve Command Subcommand Request destination destination destination destination data data network station No module multidrop length No No station No mResponse message Header Application data Subheader Request Request Request Request Response End Response destination destination destination destination data length code data network station No module I O multidrop No No station No Header This header is for TCP IP and UDP IP Add the header for external equipment to CPU module command message at the external equipment side before sending the message normally the header is added au
96. numbers of the Long index register Double 2 62H module to access Word L LZ 6200H File register Word R AFH R AFOOH ZR BOH ZR BOOOH Link direct Link input Bit X 9CH device Link output Y 9DH Y 9DOOH Link relay B B A000H Link special relay SB A1H SB A100H Link register Word W B4H W B400H Link special register SW B5H SW B500H Module access Link register Word W device W B400H Link special register SW B5H SW B500H Module access device G ABH G ABOOH 1 ASCII code If the device code is less than the specified character number add ASCII code or a space ASCII code 20H after the device code Binary code When Device code is less than the size specified add 00H to the end of the device code 2 O FX5CPU device exists No FX5CPU device 3 Device memory extension specification for sub commands must be turned ON 1 Hexade cimal Hexade cimal Decimal O Decimal Decimal O Decimal O Decimal Hexade cimal Hexade cimal Hexade cimal gt L Hexade cimal Hexade cimal Hexade cimal Hexade cimal Hexade cimal Decimal O 4 COMMANDS 4 2 Device Access 45 46 Device Read Batch Data in devices are read in a batch Request data lIWhen communicating data in ASCII code 2 digit code 6 digi
97. o 3584 points When writing data in word units 1 to 480 points 1 to 960 points Write data Specify value to be written to a device for the number of points specified in Device point When writing data i in bit units Values are written to M100 to M107 When communicating data in ASCII code Request data Device Subcommand code Head device No Number of devices Write data M100 to M107 1 ON 4 COMMANDS 4 2 Device Access 51 52 When communicating data in binary code Request data Device Subcommand code Number a Ne of devices Write data 0 OFF 1 ON ae M101 M100 When writing data in word units bit device Values are written to M100 to M131 2 word When communicating data in ASCII code Request data Device Subcommand code Head device No Number of devices Write data 1 ON M115 to M100 1 M131 to M116 When communicating data in binary code Request data Device Subcommand code Head Number of device No devices Write data 0 OFF ON M107 to M100 M115 to M108 M123 to M116 M131 to M124 When writing data in word units word device 6549 1995H is written in D100 4610 1202H is written in D101 and 4400 1130H is written in D102 When communicating data in ASCII code Request data Device Subcommand code Head device No Number of devices Write data When communicating data in binary c
98. ode Request data Device Subcommand code Number nos 2 of devices Write data 01H 14H 00H 00H 64H OOH 95 19H 02H 12H 30H 1 1H VV MO SV D100 D101 D102 4 COMMANDS 4 2 Device Access Device Read Random This command specifies the device No randomly and reads the device value Request data lIWhen communicating data in ASCII code 2 digit code 6 digit number specification Specify the devices for the specified number of points 4 bytes When Word Double Word access extension word is not 4 0 Subcommand specified 501 Extension Extension specification specification modification 4 bytes 2 bytes 2 bytes When extension is specified 2 bytes 4 bytes bytes 2 bytes 6 bytes 3 bytes Double word access i Devi Device Device No ENIGE Device No code code Specify the devices for the specified number of points 4 digit code 8 digit number specification Specify the devices for the specified number of points 2 bytes 2 bytes When Word Double 1st word device in the nth block extension word access is not 4 0 3 Subcommand points specified points Extension Extension specification 9Pecffication e modification specified 2bytes 4 bytes 4 bytes 4 bytes Double word access i Devi Device Device No SIME Device No
99. om the requested station specified by the request message may be stored because the information of the station which responded with errors is stored The command and the subcommand specified by the request message of the request data are stored Transfer data in character area This section describes how to transfer bit device data and word device data and data alignment in the character area sent and received between the external equipment and the CPU module by using each command The transfer data explained below is handled as the character area B for reading and monitoring and the character area C for writing testing and registering the monitor data are stored Character area MRequest message Header Application data Subheader Request Request Request Request Request Reserve Command Subcommand Request destination destination destination destination data data network station No module multidrop length No No station No ee area Aand ee mResponse message Header Application data Subheader Request Request Request Request Response End Response destination destination destination destination data length code data network station No module I O multidrop No No station No Character area B area B 3 MESSAGE FORMAT 27 3 1 Message Format 28 Communicating data when communicating in ASCII code When bit device memory is read or written The bit device mem
100. ommand modification device No code modification Specification specification 80H OOH 04H 40H 64H OOH dx OOH OOH OOH UN Access with indirect specification of the device No by using the values stored in word device Access the device corresponding to the address stored in word device for 2 points Ex When storing the address of D100 in D0 and trying to access D100 from external devices by accessing D0 The ADRSET instruction is used on the CPU module side and the address of D100 is stored in D0 M300 ADRSET D100 D0 D100 can be indirectly accessed by specifying D0 with the request data APPENDIX 1 01 Appendix 1 Device Memory Extension Specification Device Head device No code or device No Number of devices Command Subcommand Indirect Device Head device No Device specification 0 0 O code or device No modification 30H 30H 30H When extension is specified Binary When extension is Head device No Device Number of not specified or device No cod devices When extension is specified indirect specification The following shows the indirect specification devices and request data Indirect Device Head device No specification sade or device No When specifying 0080 in subcommand specify the device with the message format shown above Message formats when extension is not specified and message formats when extension is specified cannot coexist in the same mes
101. only add ASCII code or a space ASCII code 20H after the device text device or device No Specify the head device or device No with the same format as the message when extension is not specified The values specified in this item turn to the offset value when performing indirect specification of the device No in device modification llDevice modification Treat the value specified in Head device or device No as the offset value Specify the index register or long index register number when performing indirect specification of the device No with index register or long index register The following value is specified when the access point is a module of the MELSEC iQ R IQ F Series 0083 Specify the number of the index register in decimal 2 digit Specify the number of the index register Z in hexadecimal 0082 ASCII code Specification range 0 to 24 Specification range to 18H Specify the number of the long index register LZ in decimal Specify the number of the long index register LZ in 2 digit ASCII code Specification range 0 to 12 hexadecimal Specification range 00H to OCH z OO L 2 20H 4 40H 0081 Specify the number of the index register in decimal 2 digit Specify the number of the index register Z in hexadecimal 0080 ASCII code Specification range 0 to 24 Specification range 00H to 18H z 10 SAH LILIH 40H 1 The device mod
102. or the specified number of bit device blocks f r i i Giese 385g pcc gio oS To 250 5 8952 52525 6 Sof x F lt Q 5 285 58 988 g s 8g Sus z 2 Tes E 2 JSE Ie 059 254 93d 383 29 Q5 i8 9 5 PLC CPU gt 3 3 3 s 3 F I I I L L H gt lt Total number of each block of the read word device data Total number of each block of the read bit device data lIWhen communicating data in binary code Request data h 8282 55 982 982 2 YSZ 2 ggg 982 Data name 3 e 3 5 lt gt 5 lt 5 lt I lt gt 5 lt 3 x 5 5555 5885 2 885 885 8585 885 3 o 5 Ss o 5 o ais o o cdm Oo o 9 External alg gages amp amp Sig St jet S S ian S de 5 lt P o o Z 0 0 0 equipment Ww O v ts LHL H L H L H Li H L HIL H L HIL H L H L H L H Response data PLC CPU Data name 4 gt Specify the target device to be read 1st block nth block lt b gt Specify the target Specify the target device to be read device to be read 1st block lt gt Specify the
103. ords 7680 points BIN 960 words 15360 points ASCII Word access points double Word access points x2 lt 192 BIN Word access points double word access points 192 4 COMMANDS 39 Device Read 0080H Random This command reads data from the buffer memory in intelligent function modules and SLMP compatible devices in units of 1 word 16 bits 0082H This command reads data from the buffer memory in intelligent function modules and SLMP compatible devices in units of 1 word 16 bits This command writes data to bit devices in units of 1 bit by randomly specifying device numbers This command writes data to bit devices in units of 16 bits by randomly specifying device numbers This command writes data to word devices in units of 1 word or 2 words by randomly specifying device numbers 0403H 1402H Device Write 0001H Random 0000H 0081H This command writes data to the buffer memory in intelligent function modules and SLMP compatible devices in units of 1 bit Buffer memory is indirectly specified by index registers 0080H This command writes data to the buffer memory in intelligent function modules and SLMP compatible devices in units of 1 word 16 bits or 2 words 0083H This command writes data to the buffer memory in intelligent function modules and SLMP compatible devices in units of 1 bit 0082H This command writes data to the buffer memory in intelligent function modules
104. ory is handled in 1 bit 1 point units or in 1 word 16 point units The transfer data in each case is described below n 1 bit 1 point units When the bit device memory is handled in 1 bit 1 point units a specified number of devices starting from the specified start device are expressed in turn from the left end in 1 31H for the on status or 0 30H for the off status Ex When indicating the on off status of five devices starting from M10 Device Head device No Number of code adevices 30H 30H 31H 30H 35H Indicates that M14 is ON Indicates that M13 is OFF Indicates that M12 is ON Indicates that M11 is OFF Indicates that M10 is ON n 1 word 16 point units When the bit device memory is handled in 1 word units one word is expressed in 4 bit units in turn from the most significant bit in hexadecimal When indicating the on off status of 32 devices starting from M16 Because devices are handled in 16 point units the number of device is 0002 Devide Head device No Number of Data Data code devices M 1 6 0 0 0 2 3 4 4DH 2AH 30H 30H 30H 30H 31H 36H 30H 30H 30H 32H41H 42H 31H 32H 33H 34H 4 3H 44H A B 1 2 3 4 C D gt lt gt lt b15 b14 b13 012 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 bO b15b14 b13b12 b11 b10 b9 b8
105. ouble word access Read data 1 Read data m Read data 1 Read data n Communication example Read DO TO M100 to M115 X20 to X2F by word access and D1500 to D1501 Y160 to Y17F M1111 to M1142 by double word access It is supposed that 6549 1995H is stored in DO 4610 1202H is stored TO 20302 4F4EH is stored in 01500 19540 4C54H is stored in 01501 lIWhen communicating data in ASCII code Request data Word access Double word Subcommand points access points Device Device Device Device code Device No code Device No code Device No code Device No Device Device Device code Device No code Device No code Device No 0 01 50 0 00 1 6 OM 00 1 1 1 4 44H 2AH 30H 30H 31H 35H 30H 30H 59H 2AH 30H 30H 31H 36H 30H 4DH2AH 30H 31H 31H 31H 31H 4 COMMANDS 4 2 Device Access 55 Response data Word access Word access Word access Word access read data 1 read data 2 read data 3 read data 4 DO TO M115to M100 X2F to X20 Double word access Double word access Double word access read data 1 read data 2 read data 3 Word access read data 3 Double word access read data 2 0 OFF 1 ON M115 to M100 Word access read data 4 OFF 1 EWhen communicating data in binary code Request data Word Double word access points access points Ld L I a I Ld L Device Device Device Device Device
106. ously to the CPU module from multiple external equipment the processing requested from the external device may be on hold until several END processings take place depending on the request timing 2 SLMP DATA COMMUNICATION 1 3 2 4 Access Timing of the CPU Module Side 14 2 5 Transfer Time Link time lllCalculation method Calculate the minimum processing time of the SLMP communication by the following calculation formula However the processing time may become longer depending on the load of the network how much a line is crowded window size of each connecting device number of connections to be used simultaneously and system configuration As a guideline recognize the value calculated by the following calculation formula as the processing time when a communication is executed by only one connection Minimum processing time of the SLMP communication for batch read or batch write Tfs Kdt x Df Scr x Number of scans required for processing ACK processing time of external equipment Tfs Time from when the request data of a personal computer is received until the CPU module completes the processing Unit ms E Ke Kdt Constant Refer to the following table Df Number of words of the request data Number of words of the response data application data part Scr Scan time 1 The following shows the timing from when the request data of a personal computer is received until the CPU module completes the processing
107. pback data Loopback data a b c e f h i j k 12 00 61H 62H 63H 64H 65H 66H 67H 69H 6AH 6BH 6 4 COMMANDS 4 5 Self Test 89 90 4 6 Remote Password Unlock Lock This function prevents illegal access from a user who is not allowed to operate the SLMP compatible device If a remote password is set to the SLMP compatible device the remote password is checked when the SLMP compatible device is accessed The following shows how to use a command to lock or unlock the remote password by the SL MP Target of the remote password checking function When a remote password is set to the SLMP compatible device unlock the remote password using a command in this section Then execute data communication Control procedure The following shows the control procedure when a remote password is set to the SLMP compatible device MWhen accessing the FX5CPU Set a remote password using GX Works3 Start the CPU module Does the CPU module have remote password NO YES Remote password is unlocked Data is transferred Does the CPU module have remote password NO YES Remote password is locked 4 COMMANDS 4 6 Remote Password Unlock or Lock When the FX5CPU communicating data is set with a remote password communication is enabled after the completion of the unlock process until the lock process All commands received while the remote password is in locked status will genera
108. put control may be disabled External circuits and mechanisms should be designed to ensure safe machine operation in such a case Do not write any data into the system area of the buffer memory in the intelligent function module Executing data writing to the system area may cause malfunction of the programmable controller alarm When executing control data change to a running other station programmable controller by connecting the external device to the SLMP compatible device configure interlock circuits in the program of the other station programmable controller to ensure that the entire system operates safely at any time For other controls to a running other station 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 other station programmable controller immediate action cannot be taken for a problem on the programmable controller due to a communication failure Determine the handling method as a system when communication failure occurs along with configuration of interlock circuit on other station PLC program by considering external equipment and other station PLC Do not write any data into the system area or write protect area of the buffer memory in the SLMP compatible device or intelligent function module Also do not output ON any use pro
109. quentially from O When communicating data in binary code 2 byte numeric value indicating the number of points for each block is sent For 5 points Converted to 0005H and sent sequentially from 05H For 20 points Converted to 0014H and sent sequentially from 14H Specify number of devices so that the appropriate condition is satisfied 960 gt total number of points for all word device blocks total number of points for all bit device blocks Poin tr The extension specification is allowed for the device memory being read using the device read block functions 4 COMMANDS 4 2 Device Access 67 68 Request data lIWhen communicating data in ASCII code 2 digit code 6 digit number specification Specify the devices for the specified number of points 4 bytes 4 bytes 2 bytes 2 bytes 1st word device in the nth block Device Device No Number of devices code V Y When extension is not specified 30H 34H 30H 36H Number of Number of Subcommand word device bit device blocks blocks Extension specification modification When extension is Extension specified specification Last bit device in the mth block Device No Number of devices Specify the devices for the specified number of points 4 digit code 8 digit number specification Specify the devices for the specified number of points 2 bytes 2 bytes When 1st word device in the nth block extensionis 0
110. r Contact Bit CS CS Coil Bit CC CC Current value Word CN CN 4 COMMANDS 4 2 Device Access 9CH 9C00H 9DH 9D00H 90H 9000H 92H 9200H 93H 9300H 94H 9400H A0H A000H 98H 9800H A8H A800H B4H B400H C1H C100H COH C2H C200H 51H 5100H 50H 5000H 52H 5200H C7H C700H C6H C600H C8H C800H 59H 5900H 58H 5800H C400H C3H C300H C5H C500H Specify in the range of device numbers of the module to access cimal O O O O O O Do mm Specify in the range of device numbers of the module to access Decimal Hexade cimal l O O O O Internal user Long counter Contact Bit 55H Specify in the range of Decimal O device LCS 5500H device numbers of the Coil Bit __ 54H module to access LCC 5400H Current value Double 56H O Word LCN 5600H Link special relay Bit SB A1H Hexade O SB A100H cimal Link special register Word SW B5H Hexade O SW B500H cimal System device Special relay Bit SM 91H Specify in the range of Decimal SM 9100H device numbers of the SD module to access 507 A900H gt cO I Special register Decimal O Function input Bit Function output Function register Index register Word Z CCH Specify in the range of Z CC00H device
111. s created and sent by the CPU module Subheader configuration This section describes the subheader configuration When communicating data in ASCII code Command message Response message When communicating data in binary code Command message Response message 50H OOH Control This section describes the control procedures and the format of the application data when performing the data communication The O Thick line part shown in the message explanation diagram of this section are items common to all commands and correspond to the portion of the message explanation diagrams indicated in Page 72 Device Write Block or after in this chapter For the data contents and the data specification method of the Thick line part refer to 22 Application data specification items Point Data code ASCIl binary to be used when communicating it is determined by the parameters of the GX Works3 Module Parameter Ethernet Port gt Communication Data Code 3 MESSAGE FORMAT 1 7 3 1 Message Format 18 lIWhen communicating data in ASCII code When data is read from a CPU module by external equipment External equipment CPU module command message Character area A gt Text command lt gt 190 2 2852 2 Request data area O c 3 enn o gt oc cc TTS 3 a 59 28 3585
112. s in the RUN status the switch will return to the RUN status after resetting the module When remote password of the CPU module of the access destination is enabled Remote operation from the external device is not available An error will occur at the access destination and an abnormal response will be sent back to the external device Unlock the remote password of the CPU module side and resend the request message Operable station in one command Only one station can be operated remotely by one command When executing the remote operation to SLMP compatible device It is recommended to use the UDP protocol for the remote operation If TCP is used the connection will be terminated when resetting Therefore reestablishing of connection is necessary Remote RUN This command executes Remote RUN to the access destination module Poin Remote executed when the switch of the access destination module is status Even if the switch is in the STOP status Remote RUN command 1001H will be completed normally However the access destination does not change to the RUN status Request data lIWhen communicating data in ASCII code 4 bytes rf 4 bytes 4 bytes 2 bytes 2 bytes 00 30H 30H When communicating data in binary code EC 2 ME 2 bytes byt gt byt Subcommand 01H 10H 00H 00H 4 COMMANDS 4 3 Remote Control Mode This mode specif
113. sage The indirect specification and the device modification using index registers can not be set simultaneously The following commands be used for accessing Device Read Random 0403 Write Random 1402 llSubcommand 80H 00H 1 0 2 APPENDIX Appendix 1 Device Memory Extension Specification llindirect specification Device modification Specify the part of the indirect specification device Indirect specification can be specified only for word devices When communicating data in ASCII code 0 30H 40H When communicating data in binary code 00H llDevice code Only word device codes can be specified at indirect specification Specify the code of the device to be accessed 44 In the case of FX5CPU Without indirect specification 8H With indirect specification device or device No Specify the head device or device No with the same format as the message when extension is not specified Response data The same as when extension is not specified Communication example Access to DO Consider DO indirect specification of D100 At command execution store the D100 address in DO with the following programs M300 ADRSET D100 DO When communicating data in ASCII code Request data Indirect Device Head device No Device Subcommand specification code or device No modification 0 0 0 00 0 0
114. sent sequentially from 0 When communicating data in binary code 2 byte numeric value indicating the number of points for each block is sent Ex For 5 points Converted to 0005H and sent sequentially from 05H For 20 points Converted to 0014H and sent sequentially from 14H Specify number of devices so that the appropriate condition is satisfied 770 gt 4 x number of word device blocks number of bit device blocks total number of points for all word device blocks total number of points for all bit device blocks 4 COMMANDS 4 2 Device Access tr The extension specification is allowed for the device memory being written to using the device write block functions Request data When communicating data in ASCII code 2 digit code 6 digit number specification Specify the devices for the specified number of points 4 bytes 4 bytes 2 bytes 2 bytes When 1st word device in the nth block extension Number of Number of 1 4 O 6 Subcommand Word device bit device ead device Wriitendevice en device ie blocks blocks Device Device No Number of devices Data 1 Datan specified onde Extension When Extension specification extension is specification modification specified 2 bytes 4 bytes bytes 2 bytes 6 bytes 3 bytes Last bit device in the mth block Head device Written device Specify the devices for the specified number of points
115. ster W1234 is converted to 001234H and sent in the order of 34H 12H and 00H 4 COMMANDS 4 2 Device Access llDevice code This data is for identifying the head device memory for each block for which batch read is performed The device code for each device is shown in 44 Device range The double word device and the long index register LZ are not supported When communicating data in ASCII code Each device code is converted to 2 digit ASCII code hexadecimal and sent Internal relay M and link register VW The internal relay M is converted to M and link register is converted to W and sent from M and W respectively When communicating data in binary code 1 byte numeric value indicating each device code is sent Internal relay M and link register W is transmitted for the internal relay M is sent for the link register W llNumber of devices This data is for specifying the number of points in the continuous device range of each block for which batch read is performed 1 point 16 bits for bit device memory and 1 point 1 word for word device memory where one block consists of continuous word or bit devices When communicating data in ASCII code The number of points for each block is converted to a 4 digit ASCII code hexadecimal and sent For 5 points Converted to 0005 and sent sequentially from O For 20 points Converted to 0014 and sent se
116. t 1006H 0000H Read Type Name 0101H 0000H Global 1618H 0000H 0001H Self Test 0619H 0000H Clear Error 1617H 0001H Password Lock 1631H 0000H Password Unlock 1630H 0000H 4 COMMANDS 4 1 List of Commands and Functions With n points of buffer memory in intelligent function modules and SLMP compatible devices as 1 block this command writes data by randomly specifying multiple blocks This command performs a remote RUN request for a device This command performs a remote STOP request for a device This command performs remote PAUSE request device This command performs remote latch clear request when the device is in the STOP state This command performs a remote reset request to reset the device error stop state This command reads the processor module name code processor type of a device Turns off the global signal Turns on the global signal This command checks if normal communication is possible This command batch clears all errors and turns off the LED This command sets to the locked status from the unlocked status by specifying the remote password Sets the device to the state where communication is not possible This command sets to the unlocked status from the locked status by specifying the remote password Sets the device to the state where communication is possible ASCII Number of word device blocks number of bit device blocks x4 lt 120 and
117. t necessary when the word access points are zero Double word access Specify the device points specified as double word access points The specification is not necessary when the double word access points are zero llSet or reset Specify ON OFF of the bit device 2 digit code 6 digit number specification ASCII code x Two characters wil be sent in order from 0 Binary code 01H 00H The one byte numerical value shown left will be sent 4 digit code 8 digit number specification ASCII code 0001 0000 Four characters will be sent in order from O Binary code 0001H 0000H The two byte numerical value shown left will be sent lWhen writing data in bit units Turn off M50 and turn on Y2F When communicating data in ASCII code Request data Bit access Device Setor Device Set or Subcommand points code Device No reset code Device No reset M 0 0 0 0 5 0 31H 34H 30H 32H 30H 30H 31H 30H 32H A4DH 2AH 30H 35H 30H 30H30H 59H 2AH 30H 30H 30H 30H 32H 46H 30H 31H When communicating data in binary code Request data Bit access Device Setor Device Setor points code reset code reset Subcommand Device No DeviceNo 02H 14H 02H 32H 00H 00H 90H 00H 2FH 00H 00H 9DH 01H 4 COMMANDS 4 2 Device Access lWhen writing data in word units Write the value in a device as follows Word access DO D1 M100 to M115 X20 to X2F Double word a
118. t number specification When extension is not specified Extension Extension ification specification modification 4 digit code 8 digit number specification 4 _ 4 4 8 _____ 4 Number of devices When extension is ve 0 4 0 1 Subcommand Device code Head device No not specified 34H 30H 31H Extension specification Device code modification Extension 2 specification When extension is specified p 2 bytes 4 bytes 4 bytes 4 bytes 10 bytes 4 bytes lIWhen communicating data in binary code 2 digit code 6 digit number specification 2 m 2 bytes When extension is not Head device Device Saas s specified Subcommand No code 01H 04H Device modification When extension is indirect specified Direct memory 4 digit code 8 digit number specification 2 Dm 2 When extension is specified Device i Direct modification Extension memory When extension is indirect specification modification specified 4 COMMANDS 4 2 Device Access 5 Specify the subcommand selected from the item OOH 4 digit code 8 digit number Specified 83H 00H 2 30H _ 30H 38H 83H Word units 2 digit code 6 digit number Not specified e b bP _ 00H 00H llDevice code Specify the device code that corresponds to the device type to be read Refer to the device code list Bit units 2 d
119. t specified 30H 30H 30H 30H specification MWord access points double word access points Specify the number of target device points of reading Word access points Specify the number of points to be accessed in one word units The bit device is 16 point units the word device is one word units 1 lt word access points double word access points x2 lt 192 When device memory extension specification is used double the number of the access points 1 lt word access points double word access points lt 192 Double word access points Specify the number of points to be accessed in two word units The bit device is 32 point units the word device is two word units 4 COMMANDS 4 2 Device Access llDevice code device No Specify the target device of reading Item Description Word access Specify the device points specified as word access points The specification is not necessary when the word access points are zero Double word access Specify the device points specified as double word access points The specification is not necessary when the double word access points are zero Set up in order of word access device double word access device Response data The read device value is stored in hexadecimal The data order differs depending on the type of code ASCII code or binary code Data for the word access points Data the double word access points Word access D
120. ta code of ASCII April 2015 A part of the cover design is changed This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual 2014 MITSUBISHI ELECTRIC CORPORATION 108 WARRANT Y Please confirm the following product warranty details before using this product 1 Gratis Warranty Term and Gratis Warranty 2 Onerous repair term after discontinuation Range If any faults or defects hereinafter Failure found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company However if repairs are required onsite at domestic or overseas location expenses to send an engineer will be solely at the customer s discretion Mitsubishi shall not be held responsible for any re commissioning maintenance testing on site that involves replacement of the failed module Gratis Warranty Term The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place Note that after manufacture and shipment from Mitsubishi the maximum distribution period shall be six 6 months and the longest gratis warran
121. te an error response Execute communication after executing the remote password unlock process The remote password lock process is automatically performed when the line is disconnected Lock This command changes the remote password from unlocked status to locked status Communication to the device is disabled Remote Lock 1631 0000 Specifies a remote password and changes the unlock status to the password lock status Communication to the CPU module is disabled O The function can be executed When communicating data in ASCII code 4 bytes 4 bytes 4 bytes n bytes Remote password Remote length n password 31H 36H 33H 31H 30H 30H 30H 30H lIWhen communicating data in binary code 2 bytes 2 bytes 2 bytes n bytes Remote Subcommand password Remote length n password 31H 16H 00H 00H llSubcommand Character code 00H OOH llRemote password length Remote password length is not used llRemote password Remote password is not used There is no response data for the lock command of the remote password 4 COMMANDS 1 4 6 Remote Password Unlock or Lock 9 When performing the lock process in communication using ASCII code Remote Command Subcommand password length Remote password m n o p q r 5 t u W X y 2 6DH6EH 6FH 70H 71C 72 73H 74H 75H 76H 77H 78H 79H AH When performing the lock process in co
122. the frame is to access all the devices of the CPU module from the external equipment The frame enables access to the device of the MELSEC iQ R L Q A Series PLC CPUs the CC Link IE controller network CC Link IE field network or Ethernet Poin tr When using binary codes the communication time will decrease since the amount of communication data is reduced by approximately half comparing to using ASCII codes 2 2 Allowable Access Range of Each Data Communication Frame The following shows the frame and access range of a message used in SLMP SLMP frame Frame Type of the network which connects the Reference external device with the connecting stations Ethernet communication frame Ethernet Page 15 MESSAGE FORMAT frame 2 SLMP DATA COMMUNICATION 1 1 2 1 Type and Application of the Data Communication Frame 12 Access range Ethernet communication frame WEWhen the external device is connected directly with the CPU module via Ethernet In the following system configuration communication with the CPU module is possible using the Ethernet communication frame from the external device Connecting station External device Cr A Ethernet Assigned symbol Description Station directly connected to the external device 2 3 Concept of Control Procedure of SLMP This section describes the concept of the procedure control procedure when the external equipment accesses a CPU module with SLMP
123. tion SPecification specification specified specification z 4 bytes p bytes 2 bytes 2 pl 1 byte 4 COMMANDS 4 2 Device Access 59 60 lWhen writing data in word units When communicating data in ASCII code 2 digit code 6 digit number specification Specify the devices for the specified number of points 2 bytes 2 bytes When Double Word access extension word is not ate ACCESS plc Device No Write data 5 code specified Y I 1 n War as When extension is specified 2bytes 4 bytes 3 bytes 2 bytes 6 bytes 3 bytes Double word access Device Device N Wire dat pode evice No rite data Specify the devices for the specified number of points 4 digit code 8 digit number specification Specify the devices for the specified number of points 2 bytes 2 bytes When Double Word access extension word is nol Sevice Device No Wi a data Lsaatwsupakupuq cate iip points code specified _ V m em 1 point SS ea SU aL Bea T TE Extension cation When extension is specification modification specified 2bytes 4 bytes 4 bytes 4 bytes 10 bytes 4 bytes Double word access Device Specify the devices for the specified number of points 4 COMMANDS 4 2 Device Access When communicating data in binary code 2 digit code 6 digit number Specify
124. tions Function Blocks Generic term for MELSEC iQ F FX5 User s Manual Serial Communication MELSEC iQ F FX5 User s Manual MODBUS Communication MELSEC iQ F FX5 User s Manual Ethernet Communication and MELSEC iQ F FX5 User s Manual SLMP Abbreviation of MELSEC iQ F FX5 User s Manual Serial Communication Abbreviation of MELSEC iQ F FX5 User s Manual MODBUS Communication Abbreviation of MELSEC iQ F FX5 User s Manual Ethernet Communication Abbreviation of MELSEC iQ F FX5 User s Manual SLMP Abbreviation of MELSEC iQ F FX5 User s Manual Positioning Control Abbreviation of MELSEC iQ F FX5 User s Manual Analog Control Built in RS 485 port of the CPU module Generic term for the four ports consisting of the FX5 Series built in RS 485 port CH1 communication board CH2 communication adapter 1 CH3 and communication adapter 2 The abbreviation for Seamless Message Protocol A protocol for accessing SLMP compatible devices and PLCs that are connected to SLMP compatible devices from external devices Generic term for devices that can receive SLMP messages The abbreviation of the MELSEC communication protocol A protocol for accessing MC protocol compatible devices and PLCs that are connected to MC protocol compatible devices from external devices Generic term for devices that can receive MC protocol messages Generic term for devices of communication target such as personal computer HMI Own station indicates
125. tomatically It is not necessary to set the header for CPU module to external equipment response message by the user because the header is added by the CPU automatically Application data Application data is divided into subheader and text The subheader indicates whether a message is the command message the response message Refer to Page 17 Subheader configuration Text is the request data command and the response date response in each function For details on each function refer to lt Page 39 List of Commands and Functions or and after lIWhen communicating data in ASCII code The text differs depending Application data on the function and dii S whether the command 4 bytes External equipment y Subheader Text command y ends u nS CPU module 4 bytes The text differs y SURRAR ite ala depending on ____ the function Application data 3 MESSAGE FORMAT 3 1 Message Format When communicating data in binary code The text differs depending Application data on the function and S whether the command 2 bytes External equipment y Subheader Text command y ends d M y Subhead Text response CPU module 2 bytes The text differs dba dd di E depending on function Application data Poin tr It is not necessary to set the response to a command from the external equipment by the user because the response i
126. tries and has not been designed manufactured to be incorporated in a device or system used in purposes related to human life Before using the product for special purposes such as nuclear power electric power aerospace medicine or passenger movement vehicles consult Mitsubishi Electric This product has been manufactured under strict quality control However when installing the product where major accidents or losses could occur if the product fails install appropriate backup or failsafe functions in the system Note e If in doubt at any stage during the installation of the product always consult a professional electrical engineer who is qualified and trained to the local and national standards If in doubt about the operation or use please consult the nearest Mitsubishi Electric representative Since the examples indicated by this manual technical bulletin catalog etc are used as a reference please use it after confirming the function and safety of the equipment and system Mitsubishi Electric will accept no responsibility for actual use of the product based on these illustrative examples This manual content specification etc may be changed without a notice for improvement The information in this manual has been carefully checked and is believed to be accurate however if you notice a doubtful point an error etc please contact the nearest Mitsubishi Electric representative When doing so please provide the
127. ty term after manufacturing shall be eighteen 18 months The gratis warranty term of repair parts shall not exceed the gratis warranty term before repairs Gratis Warranty Range 1 The range shall be limited to normal use within the usage state usage methods and usage environment etc which follow the conditions and precautions etc given in the instruction manual user s manual and caution labels on the product 2 Even within the gratis warranty term repairs shall be charged for in the following cases a Failure occurring from inappropriate storage or handling carelessness or negligence by the user Failure caused by the user s hardware or software design b Failure caused by unapproved modifications etc to the product by the user c When the Mitsubishi product is assembled into a user s device Failure that could have been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided d Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction manual had been correctly serviced or replaced e Relay failure or output contact failure caused by usage beyond the specified life of contact cycles f Failure caused by external irresistible forces such as fires or abnormal voltages and failure caused by force majeure such as earthquakes light
128. uals User s manual User s manual Startup FX5 User s manual Hardware FX5U User s manual Hardware FX5UC User s manual Hardware User s manual Application Programming manual Program Design Programming manual Instructions Standard Functions Function Blocks Communication manual Serial communication manual MODBUS communication manual Ethernet communication manual SLMP manual Positioning manual Analog manual MCommunication related Built in RS 485 port Serial port SLMP SLMP compatible device MC protocol MC protocol compatible device External device Own station Other station Relay station Module access device Buffer memory Description The product name of the software package for the MELSEC programmable controllers The product name of the software package SWnDND GXW3 for the MELSEC programmable controllers The n represents a version Generic term for separate manuals Abbreviation of MELSEC iQ F FX5 User s Manual Startup Generic term for MELSEC iQ F FX5U User s Manual Hardware and MELSEC iQ F FX5UC User s Manual Hardware Abbreviation of MELSEC iQ F FX5U User s Manual Hardware Abbreviation of MELSEC iQ F FX5UC User s Manual Hardware Abbreviation of MELSEC iQ F FX5 User s Manual Application Abbreviation of MELSEC iQ F FX5 Programming Manual Program Design Abbreviation of MELSEC iQ F FX5 Programming Manual Instructions Standard Func
129. uffer memory in intelligent function modules and SLMP compatible devices in units of 1 bit 0082H 0403H 0000H This command writes data to the buffer memory in intelligent function modules and SLMP compatible devices in units of 1 word 16 bits This command reads data from word devices in units of 1 word or 2 words by randomly specifying device numbers Device Read Random 4 1 List of Commands and Functions This command reads data from link direct devices in units of 1 word This command reads data from the buffer memory in intelligent function modules in units of 1 word This command reads data from devices indirectly specified by index This command reads data from link direct devices in units of 1 word This command writes data to bit devices in units of 1 bit ASCII 1792 points This command reads data from a bit device or word device in units of 1 bit BIN 3584 points ASCII 480 words 7680 points BIN 960 words 15360 points ASCII 1792 points BIN 3584 points ASCII 480 words 7680 points BIN 960 words 15360 points ASCII 1792 points BIN 3584 points ASCII 480 words 7680 points BIN 960 words 15360 points ASCII 1792 points BIN 3584 points ASCII 480 words 7680 points BIN 960 words 15360 points ASCII 1792 points BIN 3584 points ASCII 480 words 7680 points BIN 960 words 15360 points ASCII 1972 points BIN 3584 points ASCII 480 w
130. units one point is specified by 1 bit and a specified number of devices starting from specified start device are expressed in 16 point units in turn from Low byte L bit 0 to 7 to High byte H bit 8 to 15 When indicating the on off status of 32 devices starting from M16 Because devices are handled in 16 point units B the number of device is 02 Number of Head device Device number devices 000010H 0002H Data Data AB12H 34CDH L H L H 10H 00H 00H 02H 00H L H 12H ABH L H CDHi34H lt lt gt b7 b6 b5 64 b3 b2 b1 bO b15b14b13b12 gt b11b10b9 b8 b7 b6 b5 b4 b3 b2 b1 bO 15614613612 b11b10b9 b8 6101011101699 3101310130 414 4144010 1541017100117 0111070 MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM 23 22 21 20 19 18 17 16 31 30 29 28 27 26 25 24 39 38 37 36 35 34 33 32 47 46 45 44 43 42 41 40 1 Indicates ON 0 Indicates OFF Head End 30 3 MESSAGE FORMAT 3 1 Message Format When word device memory is read or written In the word device memory one word is specified by 16 bit and a specified number of devices starting from specified start device are expressed in 1 point units in turn from Low byte L bit O to 7 to High byte H bit 8 to 15 Ex When indicating the contents stored in the data registers D350 and D351 ra Device DH St Data Data number devices 00015EH 0002H 56
131. uqng Jequunu XJOM9N Jequunu uonejs Jequunu uoneunsep jsenbey uiBue n uoneunsep c c So Sor c 33H 46H 46H33 4 bytes When completed with error gt Text response Error information area Jequunu uoneijs uoneunsep Jequunu 5 uey Jeujo uoneunsep uonejs sso2oe Jequunu 4XJOW9N uonejs ssoooe Jequunu 5 r uoneursep jsenbey gor Jequinu YJOMION uonejs Buipuodsai 5 doup nn pueuJulooqng uoneurnsep jsenbey uoneunsep sanba Jequunu ulBu For C051H uonejs I r I H L H 0 3 FF C 05 1 30H 33H 46H 46H 43H 35H31H 30H 30H 46H 46H 92 m UOneurnsep ysonbey T Co gor So r r O gt x Ic 22 bytes 3 MESSAGE FORMAT 1 3 1 Message Format 9 When communicating data in binary code When data is read from a CPU module by external equipment External equipment CPU module command message Character area A gt Text command E gt Request data area Data name Jepeeuqng Jequinu
132. yte The device with decimal device number is sent after converting to hexadecimal device number E In case of internal relay M1234 and link relay B1234 M1234 B1234 2 digit code 6 digit number specification D2H 04H 00H 34H 12H 00H M1234 B1234 4 digit code 8 digit number specification D2H 04H 00H 00H 34H 12H 00H 00H Internal relay M1234 becomes 0004D2H and is sent in the order of D2H 04H and OOH Link relay B1234 becomes 001234H and is sent in the order of 34H 12H and 00H llNumber of devices This data is for specifying the number of points to be read or written when each command is executed It must be specified within the limits to the number of points that be processed per communication shown in the table in 43 Commands Q When communicating data in ASCII code Points are converted into 4 digit hexadecimal ASCII code when word device is specified or 8 digits ASCII code when long device is specified with the device number that specified by the device specification format and sequentially sent beginning from the most significant digit Use capitalized code for alphabetical letter in ASCII code Ex In the case of 5 points and 20 points 5 points 20 points 3 MESSAGE FORMAT 3 3 1 Message Format 5 36 When communicating data in binary code Use numerical values in 2 bytes which indicate the number of points to be processed and send them in order from the lower byte to the upper byte
133. ytes pla 4 bytes Subcommand 4 COMMANDS 4 3 Remote Control 83 84 lIWhen communicating data in binary code 2 bytes 2 bytes 2 bytes Subcommand 05H 10H 00H OOH OOH 00H Response data There is no response data for remote latch clear command Communication example Send request messages from the external device by using the message format shown in the request data above Remote RESET This command executes Remote RESET to the access destination module Remote RESET is used to restore when an error occurred in the SLMP compatible device Point Before executing Remote RESET enable Remote RESET if there is a setting of Remote RESET enable or disable in the parameter of the access destination Before executing Remote RESET set the status of the access destination module to STOP In some cases Remote RESET cannot be executed because of hardware error etc The response message when Remote RESET is executed may not be sent back to the external device since the access destination is reset Request data lIWhen communicating data in ASCII code 4 4 bytes f 4 bytes 2 4 bytes gt Subcommand When communicating data in binary code 2 bytes 2 bytes 2 bytes Subcommand O6H 10H OOH OOH 00H 00H Response data There is no response data for the Remote RESET command Communication example Send request messages from the external device
Download Pdf Manuals
Related Search
Related Contents
Philips HD camcorder CAM300WH INSTALLATION MANUAL Bedienungsanleitung TBSK-40ー AM, AMS PAR64 CX-1 RGBW PAR LED manual de instrucciones Un article sur le plagiat (Télérama n°3219 du 21 septembre 2011) Manuale - Giakova 「並行輸入」について EX 2/3/4/5m アーム [ EXT 026 inumbrina 38 Copyright © All rights reserved.
Failed to retrieve file