Quickstart Guide
...
Mitsubishi
Gen 2 Drivers

Mitsubishi Q/L Ethernet

8min
review the following information for setting up and configuring the mitsubishi q/l ethernet driver manufacturing connect edge compatible series compatibility parameter compatible items driver type ethernet validated devices/series melsec f melsec l melsec q replaces gen 1 driver(s) mitsubishi melsec l ascii (gen1) docid\ gk b7 g0djsc6swaov8xn mitsubishi melsec l binary (gen1) docid 4fwod cxutuuv0xbrpdng mitsubishi melsec q ascii (gen1) docid 3g5xmw06si cl8j 0vkug mitsubishi melsec q binary (gen1) docid 37ny7y4s7dvsfjxvydjv2 to set up and configure this device in manufacturing connect edge, you will need to do the following step 1 set up and configure the plc device step 2 set up the plc device in manufacturing connect edge devicehub step 3 configure the list of registers step 1 set up and configure the plc device note only one connection is allowed per port defined in the plc see the steps below to view and edit the open ports on the plc if the device is configured for ethernet access, find its network parameters otherwise, use plc software on your computer to configure the device for ethernet access open the plc project in gxworks 2 from the navigation panel, click parameter > plc parameter the plc parameter setting window will open select the built in ethernet port setting tab, and note down the ip address , subnet mask pattern , default router ip address , and communication data code to allow the driver to write tag values to the plc, the check box for enable online change (ftp, mc protocol) needs to be checked press the open setting button to view the open ports using mc protocol if necessary, add more ports note if you modify any cpu or module parameters, you must power cycle the plc after downloading the changes step 2 set up the plc device in manufacturing connect edge devicehub configure the following parameters when you connect a device docid\ rfvijdxz7dbad8mwbisma with this driver update default values to the specific setup of your device note if you are using this driver to connect to a qj71e71 ethernet module, please be sure to verify the network id and station id with your device settings parameter value type mitsubishi driver mitsubishi q/l ethernet network address the device address you defined in step 1 network port 5002 network id 0 station id 255 encoding select ascii or binary step 3 configure the list of registers when you add tags docid\ ioanzd2awqnkuppgee3eh to the connected device, refer to the following register table and tag parameters refer to the following additional resources device and tag metadata use case docid\ f b720nivllber44rfyhn tag formula variables docid\ pwd 7p kzjxkt pyawaow register table note the address format in this gen 2 driver is different from the replaced gen 1 drivers for the same device name value types address format min address max address description x bit hhhh 0 16383 input relay y bit hhhh 0 16383 output relay m bit ddddd 0 61439 internal relay sm bit dddd 0 2047 special relay l bit ddddd 0 32767 latch relay f bit ddddd 0 32767 annunicator v bit ddddd 0 32767 edge relay b bit hhhh 0 61439 link relay ts bit ddddd 0 25471 timer contact tc bit ddddd 0 25471 timer coil ss bit ddddd 0 25471 retentive timer contact sc bit ddddd 0 25471 retentive timer coil cs bit ddddd 0 25471 counter contact cc bit ddddd 0 25471 counter coil sb bit hhhh 0 32767 special link relay s bit ddddd 0 16383 step relay dx bit ddddd 0 16383 direct input dy bit hhhh 0 16383 direct output sd word, dword, int, dint, real, dreal dddd 0 2047 special register sd string string dddd 0 2047 special register sd bit bit dddddd 0 204715 special register cn word, dword, int, dint, real, dreal ddddd 0 25471 counter current value cn string string ddddd 0 25471 counter current value d word, dword, int, dint, real, dreal ddddddd 0 4184063 data register d string string ddddddd 0 4184063 data register d bit bit ddddddddd 0 418406315 data register w word, dword, int, dint, real, dreal ddddddd 0 4184063 link register w string string ddddddd 0 4184063 link register w bit bit ddddddddd 0 418406315 link register tn word, dword, int, dint, string ddddd 0 25471 timer current value sn word, dword, int, dint, string ddddd 0 25471 retentive timer current value r word, dword, int, dint, real, dreal ddddd 0 32767 file register r string string ddddd 0 32767 file register r bit bit ddddddd 0 3276715 file register zr word, dword, int, dint, real, dreal ddddddd 0 4184063 serial num file register zr string string ddddddd 0 4184063 serial num file register zr bit bit ddddddddd 0 418406315 serial num file register z word, dword, int, dint, real, dreal dd 0 20 index register z string string dd 0 20 index register sw word, dword, int, dint, real, dreal dddd 0 2047 special link register sw string string dddd 0 2047 special link register sw bit bit dddddd 0 204715 special link register tag parameters name select a register name from the drop down list the available options depend on the names in the register table value type select a data type from the drop down list the available options depend on the register name selected polling interval enter a value in seconds this determines how often the tag should poll the register for data tag name enter a name for the tag description (optional) enter a description for the tag address enter a tag address the value must in the decimal format, within the allowed min/max range omit the leading zeros the device might use the decimal (d), hexadecimal (h), or octal (o) address format see the register table at the bottom of the dialog box for bit tags, append the bit address without the bit separator the lowercase letters in the address format indicate how many digits you should enter in the bit address count enter the number of register values to read a count higher than 1 will generate an array of values from the address value configured and respective subsequent address values length available when you select the string value type enter the number of characters for tag values tag formula enter a formula for the tag to process the generated data two variables are permitted value (current tag value) and timestamp (current tag unix time in milliseconds) the following math functions are available sin cos sqrt tan power power( x ) performs the operation 10^x log log( x ) is the natural logarithm (the logarithm is in base e ) exp exp( x ) performs the operation e^x only publish on change of value select the checkbox to customize nats messages to be published only when the value parameter changes from a previous value to a new one change of value only applies to boolean, numeric (such as int or float), and simple string data types it does not apply to complex types, such as json or array poll once topics will not be affected by change of value settings these topics will still only see a single message meta data metadata summarizes basic information about data this feature allows you to define key value pair data for the device output payload later on it can then be used to find, use, and reuse particular instances of data note if you use special characters in meta data key names, the special characters are replaced with underscore characters in the payload this can cause two key names to be combined into one for example, configuring the key names a b and a&\&b will cause only one key name to be created (a b)