Home

GX Configurator

image

Contents

1. AJ71E71 MX Transfer Setup Wizard PLC side Please select the PLC side VF Ethernet module For a description of the editable parameters on the page see PLC side Ethernet module parameters Pressing the lt Next gt button opens a page for specifying an optional additional network layer AJ71QE71 c 2011 MITSUBISHI ELECTRIC CORPORATION 263 GX Configurator PN MX Transfer Setup Wizard PLC side Please select the PLC side VF Ethernet module For a description of the editable parameters on the page see PLC side Ethernet module parameters Pressing the lt Next gt button opens a page for specifying an optional additional network layer QJ71E71 MX Transfer Setup Wizard PLC side Please select the PLC side VF Ethernet module al For a description of the editable parameters on the page see PLC side Ethernet module parameters Pressing the lt Next gt button opens a page for specifying an optional additional network layer Unlocking password when using QJ71E71 c 2011 MITSUBISHI ELECTRIC CORPORATION lf a password has been set in a QJ71E71 for remote access the corresponding PLC cannot be accessed as target PLC A password has however no effect when the E71 module is used as a relay Enter password to unlock With setting AAAA Without setting y With setting AAAA 4 With setting BBBB Without setting O Accessible hears x i Inaccessible ETI
2. Press Finish to store the modified settings and to close You can enter an optional comment of up to 32 characters for the connection Pressing the Finish button stores the current settings and closes the wizard Note The enclosed sample programs should serve as examples when writing the user program They must be modified to match the specific application requirements The use of code taken from the sample programs is done at the customer s own risk 9 3 2 1 PC Universal Serial Bus USB Interface Configure a connection from an USB port of the PC to a PLC PC side USB parameters Time out 1 2147483647 communication timeout in milliseconds c 2011 MITSUBISHI ELECTRIC CORPORATION 193 GX Configurator PN MX Transfer Setup Wizard PC side For a description of the editable parameters on the page see PC side USB parameters The connected interface on the PLC side is a CPU module 9 3 2 2 PC Universal Serial Bus USB Interface via GOT Configure a connection from an USB port of the PC to a GOT and from there to a PLC PC side USB parameters 1 2147483647 communication timeout in milliseconds c 2011 MITSUBISHI ELECTRIC CORPORATION MX Transfer Setup Wizard PC side For a description of the editable parameters on the page see PC side USB parameters Pressing the lt Next gt button opens a page for selecting the connected CPU type 9 3 2 3 PC RS232 Serial Interface Configure a serial
3. File Menu After having started the GX Configurator PN software this is the first menu to work with With the help of this menu you can create a new or load an existing project O Configuration Manager el Save Ctri List and Print Pa PLC Settings F Download Configuration FA Download Configuration in Memory Card Preferences d Message View d Exit The menu offers the following commands c 2011 MITSUBISHI ELECTRIC CORPORATION configuration projects Download Download the configuration to the PROFINET controller Configuration Download Download the configuration to the memory card in the PROFINET Configuration in controller Memory Card Preferences Selects the user interface layout active Advanced Mode Functions related to the Message View Command Save This item saves the modifications of the current configuration List and Print Opens the Preview or Print Listings Dialog Command PLC Settings The PLC Settings dialog provides the user interface for configuring the data exchange between the PROFINET Controller and the controlling Qn CPU This includes e assigning buffer devices e updating refresh settings in Qn CPU PROFINET Controller and or the PLC programming project e checking existing refresh settings For details see PLC Settings dialog Command Download Configuration The current configuration is downloaded to the RAM of the PROFINET Controller
4. I po CI hen l l l ONO E E ECO A A ES Se 1 Unlocking QU71E71 password enables access to PLC CPUs in this range Use of Q4AR CPU For using UDP IP protocol the manufacture date year and month of the Q4AR CPU must be 0012 or later and the function version must be B at least FX Ethernet Module Communication Setting Wizard PLC side S x Please select the PLC side liF PLE side IF Ethernet module Communication setting Module type Fx EMET gt Hosi P Address f For a description of the editable parameters on the page see PLC side Ethernet module parameters Pressing the lt Next gt button opens a page for specifying an optional additional network layer c 2011 MITSUBISHI ELECTRIC CORPORATION 265 GX Configurator PN Because GX Developer and GX IEC Developer cannot configure the FX ENET Ethernet module for FX3U C PLCs there is another tool FX Configurator EN to set up the communication parameters t FX Configurator EN Unset file Ethernet settings 10 zl File View Help SHS Ethernet Module settings Necessary setting Mo setting Already set 7 Default St if it is needed Mo setting f Already set J Check Online Transter setup PLE remote operation Diagnostics Write Read Verify 1 Select the module up to 8 modules can be selected 2 Dialog to select the operational setting c 2011 MITSUBISHI ELECTRIC CORPORATION
5. a Connection va other than MELSECNET H or Ethernet Access to the control system after system switching is continued c 2011 MITSUBISHI ELECTRIC CORPORATION 305 GX Configurator PN Tracking cable b Connection to MELSECNET H or Ethernet Access to the control system after system switching is continued as shown below depending on whether a communication error occurs or not The following shows an example of Ethernet connection lt When communication is normal gt c 2011 MITSUBISHI ELECTRIC CORPORATION raz ak am 1 y Connection to control system Control system Tracking cable lt When communication error occurs gt LL Connection to control system ye ja a F E mn i la a Ethernet Communication Control syst em Standby system 14 Tracking cable Note in the case of Ethernet connection it may take time from when a communication error occurs until communication starts after connection to the control system c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN 3 Automatic switching of communication route lf a communication error occurs during access to the redundant CPU va a MELSECNET H or Ethernet network the communication route is automatically switched to continue access to the control system In the following text this automatic switching of the communication route is referred to as route switching The fol
6. c 2011 MITSUBISHI ELECTRIC CORPORATION NN GX Configurator PN EEN D O e O DIM Module 1 b15 to b8 b7 to b0 Synchronous operation nieta CH1 communication CH1 transmission setting witc ices 0726H Switch 2 CH1 communications witc protocol 0008H CH2 communication CH2 transmission setting Switch 3 speed 4 0727H Switch 4 CH2 communications witc protocol 0000H Switch 5 Module station number As set by user 1 Settings of CH1 and CH2 are indicated below Description Settings Synchronous operation CH1 CH2 transmission setting transmission setting Operation setting Match to module 2 setting Match to module 2 setting Match to module 2 setting AN Pr Match to module 2 setting c 2011 MITSUBISHI ELECTRIC CORPORATION al setti b1 Data bit Match to module 2 setting Description Settings Synchronous operation CH1 CH2 transmission setting transmission setting i ia PPP Match to module 2 setting il iia a Match to module 2 setting E eres Match to module 2 setting Module 2 operation CH1 communication speed CH1 transmission setting ny Nomen ST CH1 communications wna fos i CH2 communication speed CH2 transmission setting ong Sr Se O CH2 communications Switch 5 Module station number As set by user 1 Settings of CH1 and CH2 are indicated below Description CH1 transmission CH2 transmission setting setting bo Operaionseting o dneperon
7. Cancel I don t know where this program ts from or what it s for Details User Account Control helps stop unauthorized changes to your computer 9 Follow the given instructions that guide you through the installation procedure Continue with Next c 2011 MITSUBISHI ELECTRIC CORPORATION Installation NS 2 GX Configurator PN 1 02 InstallShield Wizard xj Welcome to the InstallShield Wizard tor GX Configurator PW 1 02 The InstallShield R Wizard will install Gx Configurator Ph 1 02 con your computer To continue click Mex WARMING This program is protected by copyright law and international treaties Back Cancel 6 The licensing agreement is displayed Please read these terms carefully If you accept the license agreement you can proceed with the installation by clicking Next Otherwise the installation is aborted ie GX Configurator PN 1 02 InstallShield Wizard License Agreement Please read the Following license agreement carefully ah ENDUSER LICENSING AGREEMENT for the MELSOFT software package The software package contains software under copyright Use of the software without prior conclusion of this licensing agreement is illegal and subject to prosecution by MITSUBISHI ELECTRIC EUROPE B V This licensing agreement is concluded upon the user signing the enclosed ENDUSER SOFTWARE SERVICE CARD This agreement ts concluded between MITSUBISHI ELECTRIC EUROPE B V
8. NOS GX Configurator PN Description Choices Version Manufacturer File Date and File Time View Selected File Open the selected GSDML file in the default text editor Proceed to the next page to end the Default wizard button GSDML Management GSDML Profinet a Goa Ge Close wizard and discard changes c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 92 7 1 3 Device Type Properties Dialog 750 340 VO1 02 x FW 03 GSDML File 250 340 VOT 02 2x FW 03 Hee GSDML V2 Obwago sernes 90_ 53 40100525 xml 3Ha Device Identity b VendorlD 00110 Intonation Finely graduated modular distributed 1 0 device protection type IP20 MainFamily 10 ProductFamily WAGO DO SYSTEM 750753 3 2 Module Informations pee me Mame 750 340 V01 02 20 FW 03 Information PROFINET 10 Fieldbus Coupler for Series 750 and 753 terminalblocks VendorName WAGO Kontakttechnik GmbH u Co KG Order Number 750 340 Hardware Release 05 E Software Release WO 020 03 5 22 Device Access Point Implementation Type NetArm PhysicalSlots 0 128 Minimum Interval for Sending Cyclic 10 Data 4ms DNS_Compatible Name WAGO 50 340 Mutiple Write Supported false IOXS Required true Objet UUD Locallndex 1 ID DIM 3 View or Print GSDML File Tree Structured display of the GSD file contents Check GSDML Checks whether GSD file contents comply to the specification i
9. ACYC_HSK_X RES lt n gt _COMPLETED The following diagram shows the request response handshake between PLC program and the PROFINET Controller for acyclic communication c 2011 MITSUBISHI ELECTRIC CORPORATION 21 GX Configurator PN a Copy request to buffer E gt O Set request emecution bit Clear request execution bit E 1 E a gt a i a Request accepted bit set by master Request accepted bit cleared by master x Request execution re E a i i Request complated bit set by master Request completed bit cleared by master My A E O pa a L Acyclic Request Header The request buffer consists of an header and a data buffer area The same header is used whatever is the requested service Consult each service detailed description to verify which fields are relevant Word Offset Description RequestID ID of the request service identifier see above Status of the request shall always be equal to 0x55 lO Device number defined in the GX Configurator PN or in the DevicelD case of implicit request the IP address of the lO device SlotNumber Target slot number Value 0 to Ox7FFF SubslotNumber Target subslot numbe Value 1 to Ox8FFF Index in the slot or sub slot Value 1 to OXFFFF Data length byte Number of bytes stored in the request data buffer c 2011 MITSUBISHI ELECTRIC CORPORATION a API number used to perform the Read l Value
10. c 2011 MITSUBISHI ELECTRIC CORPORATION vPN_ACYCLIC_REQ1 vPN_ACYCLIC_REQ2 vPN_CYCLIC_OUTPU TS vVPN_MGMT_INPUTS Mame Request Ol ServicelD Status DevicelD API Sloth umber Subsloth umber Index DataLength PHD evicelD PHYendolD ARUUID Mame RequeztlOl ServicelD Status DevicelD API Sloth umber Subsloth umber Index DataLength PADevicelD PAYendarlD ARUUID Name LIVE WORD Mame INC_STS_CONFIG_OF INC_STS_CONFIG_DO WNLOADING IOC_STS_KE YFILE_ERROR INC_STS_STARTED INC_STS_ERROR_DIAG_SET IOC_STS_PLC_ w D_ERR IOD_CMD_HSK_ IOD_INPUT_HSE_ IOD_OUTPUT_HSk_ s PLC Code for PROFINET Controller Type MIT Addr DWORD WORD WORD DWORD DWORD WORD WORD WORD INT WORD WORD ARRAY 0 7 OF WORD Type MIT Addr DWOAD WORD WORD DWOAD DWORD WORD WORD WORD INT WORD WORD ARRAY 0 7 OF WORD MIT Addr BOOL BOOL BOOL BOOL BOOL BOOL ARRAY 0 127 OF BOOL ARRAY 0 127 OF BOOL ARRAY 0 127 OF BOOL BOOL 172 IEC Adar AMO 0 MAD 2 MALOS MD 4 MOE ahw D S hwi MW0 10 M40 11 MD 12 aM 13 owl 14 IEC Addr eh PDD AO 752 AO DS AO 54 PATO 56 aM 0 758 AO 59 ahw D 60 AO 761 AO E2 AO 63 AO PDA IEC Addr MP0 4542 MIT Addr IE C Addr 120 rele ele rela 2116 air rele 21 60 21208 21476 ACYC_HSK s _ARES1_ COMPLETED ACYC_HSK_ s RES2 COMPLETED ACYC_HSE_ _ARES1_ACCEFTED astr aged BOOL BOOL vPN_ACYCLIC_
11. lf the IO controller is stopping stop sequence the firmware will continue the stop sequence up to the end and then will initiate again a start sequence lf the lO controller is stopped the lO controller will be started The controller will try c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q 2 to start each connection with an lO device which is configured with automatic management mode 1 Each connection with a device in manual management mode will not be up until the PLC explicitly sends a command to the device 1 See IOD MGT MODE registers By default the lO devce management is in automatic mode bits are 0 If the PLC does nothing every connection will automatically be started when the IO controller is started lIOD_MGT_MODE Registers With these 128 bits the PLC can indicate how each connection to an lO device should be managed by the firmware for an lO device in automatic mode the lO controller will initiate the connection until the connection is established for an lO device in manual mode the lO controller will wait for commands from the PLC to manage the connection see IOD_START STOP and IOD_CMD_HSK_Y registers From CPU to PROFINET 1 10 Controller Global Variable Identifier vVPN_ MGMT OUTPUTS IOD_MGT MODE 0 Automatic Manual vPN_MGMT_OUTPUTS IOD_MGT_MODE 15 A ENANA VPN_MGMT_OUTPUTS IOD_MGT_MODE 16 16 Automatic Manual Automatic Manual vVPN_MGMT_
12. 0 to OxFFFFFFFF PROFINET Controller ME1PN1FW Q 22 PnDevicelD PROFINET Dewce ID PnVendorlD PROFINET Vendor ID 14 21 ARUUID Never used must be set to 0 Note Each value is in little endian i e Intel format Acyclic Response Header The response buffer consists of a header and a data buffer area The same header is used independently of the requested service Consult each service detailed description to verify which fields are relevant Word Description Offset RequestID ID of the request service identifier see above DevicelD lO device number defined in GX Configurator PN or in the case of explicit request the IP address of the lO device o erre Note Each value is in little endian i e Intel format RequestlD The RequestiID field in the request buffer header can be used by PLC to identify the answer lt is the responsibility of the PLC program to manage the field RequestID The best practice is to increment this field before each new request The PROFINET firmware will answer to the request with the same RequestID ServicelD The field ServicelD marks the type of request Acyclic communication can be used for the following c 2011 MITSUBISHI ELECTRIC CORPORATION 23 GX Configurator PN services serie ier oor Network detection determines the number of connected IO devices see Network Detection Service see Network Detection Service Read Implicit see Record B
13. 14 H E 006 Device Mame lab harsh 0069 TCDEP SYYX D010 IP67 Universal block F4 11 E Es 007 Device Mame lab harsh O066 TCDEP SYYX 040 1P67 Universal block Fw4 1 After configuring the lO Controller adding and configuring the devices of your network and downloading your configuration to the board the statuses of all devices can be tested with the internal diagnostic tool This tool gives a first level diagnosis of the status of the current configuration When the diagnostic mode is enabled the configuration cannot be changed It is in read only mode Once enabled the diagnostic view shows the current status of the connection for each O Device Es Indicates that the lO Device is connected c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 102 ee Indicates that the lO Device is disconnected but that a connection phase is under way Es Indicates that the lO Device is not connected Connection is controlled by the user Device Name Properties Dialog The device name can be changed from its default which is the type name taken from the GSD file Properties Device Name Eb EnF Cancel 7 3 1 Devices Menu Duplicate Ctrl Delete Del Delete all Disable all Enable all Duplicate A times E Properties Space 2 Start Console Diagnostic Stop Console Diagnostic Options The menu contains the following commands Duplicate X times Add multiple copies of the selected device Prope
14. 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN 5 Getting Started Below are the main steps which are required to configure a PROFINET I O master module Start GX Configurator PN 1 Start GX Configurator PN via the shortcut in the Programs menu The default location of the shortcut is Programs MELSOFT Application GX Configurator PN 1 02 GX Configurator PN 1 02 Sse O88 56S Eig Description CONFIGO1 E all RAC h LAR rD r E E Ed Device Library fa Network Detection EJ Not available Date Time 08 03 11 12 14 07 a 13441 131406 umm Output Message View OY Start a New Project 1 In the main menu File select Configuration Manager amp List and Print a Download Configuration 5 Download Configuration in Memory Card Preferences Message View Exit 2 in the Configuration Manager press New to create a new configuration project c 2011 MITSUBISHI ELECTRIC CORPORATION Getting Started E Configuration Manager Active Configuration configl Configuration Path LA ProgrambDiataMitsubisAhEEPO Profinet Configuration Tool Contigscontigh1 Available Configurations Created Modified Description config 26 05 2011 03 08 2011 Description Configuration contigit New Duplicate Rename Delete Properties Storage After closing the Configuration Manager dialog the Add New ME1PN1FW Q dialog is displayed The user must select the local network interfa
15. Accessible x haccessible c 2011 MITSUBISHI ELECTRIC CORPORATION Q CPU A mode Connected Station i AR Relayed Station CPU Rel Own Board acPu A led ae QCP QCP QnA ACP mode U Q U A CPU U FXCP e e U Computer link NS CC Link Clink fx CC Link IE NN o Accessible x accessible 1 Including motion controller CPU IEA merseonemo x x x x _ MELSECNET x x x x x Ehem f x x x toe x px xt x px xt x px xt xe x QnA CPU Connected Station 55 Relayed Station CPU Rel Own Board nacpu Relayed QCP QnA ACP U Q wA CPU U oo Hips Fal Computer link CC Link CC Link IE ieee eters iste merseonemo x x o x x MELSECNET x x x x x Ememer f x x of x px pap po px pap po px xt s o Accessible x Inaccessible 1 Including motion controller CPU A CPU c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Connected Station CPU Relayed Station CPU Rel Own Board QCP QnA ACP Network U A CPU U EXCP mode iF 1 U Computer link CC Link CC Link IE o Accessible x Inaccessible 1 Including motion controller CPU Be 9 3 2 13 PC Q Series Bus Configure a connection from the PC CPU module installed in a Q series rack to a PLC CPU within the same rack using the back panel bus Alternatively the communication between PC CPU and PLC CPU module can use a MELSECNET H or a CC Link
16. Bit Item Definition Specify the name s for one or multiple bit items Item Name Definition Define Selected rea As One or Several Single term s One ltem of Array Type ltem Name 50 char mas SLO TOS Cancel Help Description Choices Range Define Selected Area Select whether either several Single Items Single Items single items or an item of array Array c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface one m Description Choices Name of the new item 1 50 characters Default button Close dialog and save changes 7 5 Message View The message view shows the entries of the events log Date Time Level Event 07 28 11 10 46 57 Information Mormal mode Copy 07 2811 10 47 03 Error File GSOML V2 1 wago seriess Ta um number c 07 28 11 10 47 11 Error File GSDML V2 0 wago series ses um number c Configuration 1 mr _ _ _ _ _ aa IS Output Message View The message view contains a context menu 7 5 1 Message View Menu Copy Clear Configuration Copies the contents of the message view to the clipboard Deletes the contents of the message view Configuration Opens the Output Message View Configuration dialog c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN 7 5 2 Message View Configuration Dialog This dialog is used to configure the message view Output Message View Confiqurat
17. Command Download Configuration in Memory Card The current configuration is downloaded to the CF card inserted in the PROFINET Controller Command Preferences 4 Workspace E Output Window Advanced Mode c 2011 MITSUBISHI ELECTRIC CORPORATION 33 GX Configurator PN Workspace Toggles the display of the Configuration View the Device Library View and the Network Detection View Output Window Toggles the display of the Message View window Advanced Mode Toggles Advanced Mode Command Message View This item opens the Message View menu Command Exit You can use this menu command to quit the software If the configuration has been modified and has not yet been saved the following message appears GX Configurator PN O Save modifications Cancel If you want to save the last changes before leaving and ending GX Configurator PN choose Yes If you choose No all modifications to the respective project are lost 6 1 1 Preview or Print Listings Dialog View and print the settings of the current configuration Preview or Print Listings Listing Selection Devices Configuration Pririt Items Configuration Print All Listing Help Cancel Description Choices Devices Configuration If selected the I O devices and their configuration are included in the printout ltems Configuration lf selected the data items are included in the printout Shows the contents of the select
18. Communication Setting Wizard Finished x The Communication wizard has finished collecting information Press Finish to store the modified settings and to close the wizard Comment Eo Paseyrord os For modem connections to QJ71C24 and QJ71CMO modules a password may be required in order to gain access to the CPU Enter the password which has been set in the CPU parameters For other connection types the password input field is disabled The password must not exceed four characters and can consist of alphanumerical characters and standard signs Blanks are not allowed Remote access password The password for remote access via QJ71E71 and QJ71C24 is assigned in the CPU parameters of a GX Developer project and downloaded to the target PLC Passwords set in any relaying units have no effect c 2011 MITSUBISHI ELECTRIC CORPORATION 299 GX Configurator PN Remote password settings qo passwd De Program ce a Device comment Ser Parameter a PLE parameter Password settings Password E Characters that can be used in password 4 characters Numbers 4 7 a z Special characters El Device memory BL Device init Necessary setting Mo setting Already set Clear Setting completion Cancel Enter the same password in the Password input field for the connection to gain access to the target PLC 9 3 3 Special Setups 9 3 3 1 Communication with Multi CPU
19. Dialog This dialog is displayed when a new device is added to the network view and when the item Properties is selected from the context menu of the device in the network view The settings of a PROFINET I O slave device are accessed wa the following tab pages in this dialog Device General Configuration Tab Device Module Configuration Tab Device Parameters Tab Device Connection Information Tab Device I O Data Tab Device GSDML File Tab c 2011 MITSUBISHI ELECTRIC CORPORATION 125 GX Configurator PN 7 8 1 Device General Configuration Tab Lists general parameters like name and IP address of the corresponding I O device 750 370 VO2 01 x FW 02 General Configuration Module Configuration VO Data GSDML File Device Designation Name WAGO 750 370 Number 001 2 Link Parameters Comment 2 Port PROFINET I0 Fieldbus Coupler for Series 750 and 753 terminalblocks Network Properties Name Value Addressing Mode DCP 2 IP Address 192 168 000 001 Device Name wago 51 3 0 Description Defines which methods for IP addess assignment is used Local means that the DAP supports a device specific method for IP address assignment Choices Range Model name Number Device ID to be chosen from the list of devices O 127 not configured Link Parameters Checkbox to activate the link of the device number with the device IP address the device number w
20. GX Configurator PN as NS Dev Info_1 lO DEVICE INFO M44 REQ VALID M45 FALSE BUFFER 2 BUSY M46 1 1B ERROR wM47 STATUS Device _Info_1 1 RECORD W4 LENGTH W13 e M45 TERI AY M47 z i The input ID contains the lO device number 1 By setting M44 the alarm request is started M45 indicates that the requested data has been written to the global variable Device_Info_1 8 2 Global Variables The exported PLC code contains several global variables for addressing the interface of the PROFINET Controller There are two types of variables 1 project independent variables with fixed names and structures related to the PROFINET management and acyclic communication buffers in the PROFINET Controller 2 project specific variables with editable names and structures related to the cyclic communication data of I O devices and their modules The following table lists the global variables and the respective Data Unit Types DUTs of which the structure is independent of the lO devices in the network Contents vPN_ MGMT OUTPUTS tPN MGMT OUTPUTS Outputs to control STRUCT the PROFINET Controller request lOC_ START STOP BOOL bits etc lIOD_MGT MODE ARRAY 0 127 OF BOOL IOD_ START STOP_DEV ARRAY 0 127 OF BOOL IOD_CMD_HSK_Y ARRAY 0 127 OF BO
21. Input byte 5 S MELPNIFW O Configuration Oa anit scons a sis MI sLOTO02 RECV CH Inputbyte 6 MELPNIFW Q PROFINET 192 168 00 SLOTO02 RECV CH Input byte 7 Pl CHL PROFINET 10 Controller sak GESLOTOO2 RECV CH Input byte 3 a E 000 750 370 VO2 01 ax PW 02 a BE Dinha ppal i Gl 750 506 Supply SA BIT 1 4 Device Library Netecek Detector TE z 3 e P Gus Master Output bem Name Oiisetidi 34 Device Library a L BAL RTD EM Avo PESLOTOO2 CT CHAML Output byte 0 ae si pg SYSTEM 750 1153 E GB SLOTOO2 CT CHANL Output byte 1 TE s A GE SLOTOO2 SEND CHA Output byte 2 3 4 GOSLOTOO2 SEND CHA Output byte 3 ME SLOTOO2 SEND CHA Output byte 4 ME a APRA AAA A A par Date Time 08 12 11 00 36 28 information MNermal mode 08 12 11 09 36 28 Information Configuration loaded Message View E Output Message View Ready Configuration Read Write 0 The main items of the user interface are e Main Menu e Toolbar e Configuration View e PROFINET Network View e Dewce Library View e Network Detection View e ttems View e Message View c 2011 MITSUBISHI ELECTRIC CORPORATION Installation 58 4 Installation Before You Begin Copyright Important Notice This software is protected by copyright By opening the distribution disks package you automatically accept terms and conditions of the license agreement You are only permitted to make one single copy of the original d
22. M37 1 The input ID contains the lO device number 22 By setting M34 the alarm acknowledge is started M35 indicates that the acknowledge data has been written to the requested device This function block accesses the global variables VPN_ MGMT_INPUTS and vVPN_MGMT_OUTPUTS The data for the function block inputs SLOTNUMBER SUBSLOTNUMBER and INDEX must come from the previous call to the function block Alarm_Request This is achieved by assigning to the inputs of Alarm_Ack the same variable Alarm_data1 which has been assigned to the output RECORD of the Alarm_Request function block The table below shows the structure of the Alarm_Request RECORD output data and its relation to the Alarm_Ack function block Word Value Variable FB Alarm_Ack Offset Input API API number used to Alarm_data1 perform the alarm 1 Alarm_datat 2 2 Priority Alarm priority Alarm_data1 High priority 0x06 3 Low priority 0x05 c 2011 MITSUBISHI ELECTRIC CORPORATION 163 GX Configurator PN Word Value Variable FB Alarm_Ack Offset Input MS 4 ee TS 4 Slot number Slot number of the alarm Alarm _data1 SLOTNUMBER 5 5 SubSlot Subslot number of the Alarm_data1 SUBSLOTNUMBER number alarm 6 8 1 7 Function Block Alarm_Log This function block retrieves an alarm description from the internal alarm log Each call of the function block retrieves only one alarm description If several alarms are stored th
23. OFF spieso o pal pajo 10N Module No 0 Invalid as CPU module uses 2 slots Module No 1 Indicates the module to En the right of CPU module Module No 11 Indicates the module at the right end of a 12 110 slot base 0312B refer to SD1590 for module no for network module requesting route switching in host system c 2011 MITSUBISHI ELECTRIC CORPORATION 31 GX Configurator PN Table of Contents A MELSECNET 10 224 MELSECNET H 221 Modem 208 209 257 280 AJME71 261 Module list 184 AJ71QE71 261 Multi cpu 299 E N ae 242 Network 278 CC Link 228 New transfer setup 184 CC Link IE 218 O Comment 298 Connection test 184 CPU 236 Other station 278 290 CPU board 236 P E Password 298 Ethernet 197 236 261 Preview 82 Exit 83 Print 82 Extended port 252 Project menu 82 F Q Find CPU 236 Q series 231 FX 252 Q00 301 FXENET 261 Q00J 301 G Q01 301 QJ71E71 261 QnPRH 302 G4 Module 271 QnUDE 236 GOT 261 R GX Simulator 232 H Redundancy 302 Redundant 302 Host 278 Remove transfer setup 184 I Rename transfer setup 184 Replace transfer setup 184 RS232 194 Installation 58 S L Save 82 LLT 2382 Select transfer setup 184 Serial 194 236 242 c 2011 MITSUBISHI ELECTRIC CORPORATION Index 312 T test 188 Tracking cable 302 USB 192 W Wizard 188 c 2011 MITSUBISHI ELECTRIC CORPORATION
24. PLC Code for PROFINET Controller 156 Bo Start read record read record BUFFER 2 Bool 0 Buffer 1 for acyclic request is used 1 Buffer 2 for acyclic request is used Input APL DWord API number used to API number used to perform the read the read Slot number target Sub slot number target ONDEX Woa Index ofthe record block of the record block vaD Data in the output RECORD is valid Busy The function block is in use Output Esad Esad ERROR Error detected STATUS Word Last detected status possible values O Status OK 1 Profinet stack not started 2 No Ethernet link 3 No lO Device detected 4 Reception buffer too small stack internal error 6 Device not connected 7 Device not configured 8 Profinet error RECORD Read data Read data size in byte The read data is moved to the output RECORD by using a block move operation The user has to configure an array variable for this output with the corresponding number of elements LE LENGTH Call FB Read_Rec_Ex c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Read Rect Read Rec_Ex M10 REQ VALID 1 FALSE BUFFER 2 BUSY e 1 ID ERROR a 0 API STATUS is 0 SLOTNUMBER RECORD A Datal 1 1 SUBSLOTNUMBER LENGTH 16FAFFO INDEX M11 Mid IRI i 3 Read_Rec2 Read_Rec_Ex M14 REQ VALID meee TRUE BUFFER 2 BUSY _ 1 1D ERROR a 0 API STATUS meas D SLOTNUMBER RECORD
25. Please select the PLC side IF PLE side IF C24 module Communication setting Module type ELA Fl TIRO 7 station Mo Transmission speed 139200 Parity Odd Control DTR or RTS Control gt For a description of the editable parameters on the page see PLC side C24 module parameters Pressing the lt Next gt button opens a page for specifying an optional additional network layer Note For the QC24 note that the illegal case of specifying the first O number of a nonexisting module and reading writing U AG will not return an error if the software version of the module is k or earlier With AJ71QC24 R2 A1SJ71QC4 R2 AJ71QC24N R2 or A1SJ71QC24N R2 modules only CH1 can be used Connected Station Relayed Station CPU CPU Eyes acp acp ana ACP Network U Q U A CPU U FXCP mode mode x 1 U mesener x o mesero x of x wm x px E x se x fx efx x fecum E EN o Accessible c 2011 MITSUBISHI ELECTRIC CORPORATION x Inaccessible 1 Including motion controller CPU Settings Switch Switch Number communication Module 1 Module 2 CH1 CH2 CH1 side CH2 CH1 CH2 side side side side side 5 format 5 Dor5 5 5 format 5 format 5 format 5 Station number setting switch oe As set by user OFF OFF OFF independent independe independent operation nt operation operation Mode setting switch Operation setting switch SW01 Data bit setting SW02
26. and the enduser hereinafter referred to as Licensee 4 Ay rmoone e of thic anroornont dEl IRISH Fl FETO FIIRAPEF A Mr El I accept the terms in the license agreement Print Ido not accept the terms in the license agreement InstallShield lt Back Cancel 7 Enter your name organization and the product serial number Click on Next to proceed c 2011 MITSUBISHI ELECTRIC CORPORATION ot GX Configurator PN ie GX Configurator PN 1 02 InstallShield Wizard Customer Information Please enter your information User Mame Name Organization Organization Serial Number i AAA lt gt 7T7 gt K lt InstallShield lt Back Cancel 8 Enter the destination folder where you want the GX Configurator DP software to be installed default C Program Files MELSOFT GX Configurator PN 1 02 If you want to install to a different directory click on Change and select the installation directory If you agree with the default setting just click on Next iz GX Configurator PN 1 02 InstallShield Wizard Destination Folder Click Mext Eo install to this Folder or click Change to install to a different ar Install Ge Configurator Pl 1 02 bo C Program FilesiMELSOFT Gs Configurator PH 1 021 Change InstallShield lt Back Cancel 9 The installation is started by pressing the Install button c 2011 MITSUBISHI ELECTRIC CORPORATION In
27. depends on CPU type X X X X X MELSECNETH o x x x MELSECNETO 0 o of MELSECNET x x x x Ememer of x x o px fot x px xt x E Q CPU A mode and A CPU Connected Station CPU Relayed Own Board acp acp Network QCP QnA ACP U A U U A CPU U mod 4 mode 4 e Relayed Station CPU Aj MELSECNETH x MELSECNET 10 ofofo MELSECNET II Computer link EE 1 Including motion controller CPU o Accessible x Inaccessible QnA CPU c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Connected Station CPU Relayed Station CPU Rel Own Board qnacpy Pelaved QCP QnA ACP Network U A CPU U mode 4 eS merseonemo 0 o o o x Ememer x x pop Computerin x x o x x aye px fof x x CC Link CC Link IE o Accessible x Inaccessible 1 Including motion controller CPU 9 3 2 11 PC CC Link IE Field Board A connection between PC and PLC via CC Link IE Field requires the CC Link IE Field interface board and the corresponding driver to be installed in the PC PC side CC Link IE Field parameters Board No 1st 2nd 3rd 4th module selects the interface board in the PC c 2011 MITSUBISHI ELECTRIC CORPORATION MX Transfer Setup Wizard PC side st module 4th module For a description of the editable parameters on the page see PC side CC Link IE parameters The PLC station to which a connection is es
28. ltem Hame 50 char mas SLOT OU2 IB2 Cancel Help c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface om Description Choices Range Data Type Data type of the item Byte Word Byte Dword IEEE float Define Selected Area Select whether either several Single Items Single Items single items or an item of array Array type is created Item Name Name of the new item 1 50 characters Default OK Close dialog and save changes button Define Bit s Define items for individual bits in the selected item of type Byte or larger Items Declaration Discrete Input tems Default tems Name Root SLOTOO Otset device Offset module Bitin the byte hem Name Define Item s Select a zone and click on the Define emis bouton o create One or several Item s an amay c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Description Choices Discrete Input Items Table with items in input area or Discrete Output Items Default Items Name Prefix for item names SLOT lt nnn gt Root with lt nnn gt being the slot within the Define Item s opens the ltem Name Definition Enabled if a very dialog unallocated area is selected disabled if an existing item is selected see Bit Item Definition Delete Item s delete selected item s Enabled if an existing item is selected OK Close dialog and save changes Default button Close dialog and discard changes
29. ort Ls p All Ports COM1 selects the serial interface in the PC from a list of checked COM256 possible serial interfaces Transmission speed 9600 baud rate of the serial connection 19200 38400 57600 115200 Timeout 1 communication timeout in milliseconds 2147483647 MX Transfer Setup Wizard PC side For a description of the editable parameters on the page see PC side serial parameters Pressing the lt Next gt button opens a page for selecting the connected CPU type c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN 9 3 2 5 PC Ethernet Board Configure the PC side ethernet interface PC side Ethernet parameters AJ71E71 AJ71QE71 QJ71E71 FXENET ADP CPU module CC IE Field Connect module Ethernet adapter o Packet type ASCII Binary Network No 1 239 o Port No O 65535 type of PLC ethernet module connection less UDP or connection oriented TCP protocol not for FX ENET ADP modules Precautions for use of TCP protocol a Provide an interval longer than the sequence scan time of the Ethernet module loaded station from when the Open method is executed until the Close method is executed b Provide an interval of at least 500ms from when the Close method is executed until the Open method is executed again selects ASCII or binary packet type for communication only for AJ71E71 and AJ71QE71 modules network number of the E71 ethernet module the PC
30. 1 system example IBRI P CAT compatible ET i 192 168 0 2 Port No 500 HEX Setting TCP IP UDP IP Switch 1 When ASCII When When ASCII When binary binary packet is packet is used used Operation mode setting switch O online Line processing selection for packet is used packet is used TCP time out error ON ASCII OFF binary ON ASCII OFF binary code code Communicati ons condition Data code setting settin CPU switches a communications timing setting 1 For switch numbers refer to the E71 module manual AJ71QE71 c 2011 MITSUBISHI ELECTRIC CORPORATION 201 GX Configurator PN Communication Setting Wizard PC side i x Please select the PE side IF PC side IF Ethernet board gt Communication setting Connect module Protocol Metyreork Po station Mo Port Mo Time out For a description of the editable parameters on the page see PC side Ethernet parameters Pressing the lt Next gt button opens a page for entering the address of the PLC ethernet module TCP connections Connected Station CPU Relayed Station CPU QnACPU Relayed Network QCPU QCPU QnA ACPU Q A CPU A mode mode l Ob EXI INE E ef compe x x coum Pe mascar x x x x x mesero x e x mecano x x x x o Accessible x Inaccessible 1 Including motion controller CPU UDP connections c 2011 MITSUBISHI EL
31. 7 4 3 Items Declaration Dialog Opens the Items Declaration dialog for defining items Items Declaration Numeric Input tems Ofset device Offset module item Mame A 54 0 SLOTODO RECV CHANMELOA LOTODA 8 5 1 SLOTO02 RECV CHANNEL 1 1 Input DUT Name 3 SLOTOO2 RECV ACHANNEL4H SLOTH Data Structin Define item s Select a zone and click on the Define temis bouton o create One or several temis Byte word double word loat an array Numeric Input Items Table with items in input area ready Numeric Output ltems Table with items in output area ready c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Default Items Name Prefix for item names SLOT lt nnn gt Root with lt nnn gt being the slot in the slave Input DUT Name Name of the struct which contains the items Define Item s opens the Define ltem s dialog Enabled if an unallocated area is selected disabled if an existing item is selected Delete Item s delete selected item s Enabled if an existing item is selected Define Bit s opens the Define Bit s dialog Enabled if an existing item is selected Cancel Close dialog and discard changes Define Item s Define one or more items Item Mame Definition New Items Data Type Byte 8 bits Dwor 32 bits Word 16 bits IEEE float Define Selected rea As One or Several Single tems One ltem of Array Type
32. CORPORATION PROFINET Controller ME1PN1FW Q 18 Input data available Flags are equal Le either PLE y 0 and CCPUx or PLCy 1 and CCPUx 1 Check whether handshake flags are equ CoPUs i Write input data to BFM 7 ao PLCyed Toggle CCPL handshake flag Poll until flags differ Flags differ Le elther PLE y 0 and CCPUx 1 check whether handshake flags differ or PLCy 1 and CCPUx 0 Read input data from BFM Toggle PLC handshake flag S Flags are equal ie either PLCy 0 and COPUXx 0 or PLCy 1 and CCPLUx 1 Next cycle Input data available Access to Output Data The following procedure must be followed if the Output consistency flag corresponding to the Station is set c 2011 MITSUBISHI ELECTRIC CORPORATION 19 GX Configurator PN Flags equal Le elther PLC y 0 and CCPUx 0 orPLCy 1 and CCPUx 1 Check whether handshake flags are equal PLCy 0 CCPUx 0 Write output data ta BFM PLCy 1 CCPUx d Dao Toggle PLC handshake flag Flags differ Le either PLOy 0 and CCPUsx 1 or PLCy 1 and CCPUx 0 Read output data from BFM Write output new data to devices Toggle CCPU handshake flag Flags equal i e either PLCy 0 and CCPUx 0 or PLCy 1 and CCPUx 1 N Cycle 1 1 The PLC CPU detects that the output buffer is free because values of the
33. Contro system Control system As Target system either Control system or None can be selected Control Connects to the control system and maintains access to the Target system control system after switching control and standby CPU system None Connects to the target PLC CPU independently of whether it is control or standby system Note to determine which CPU in the redundant PLC system is being accessed the following special relays can be checked 1 To distinguish whether system A or B are accessed c 2011 MITSUBISHI ELECTRIC CORPORATION identifies system A system B of a redundant system system A remains ON OFF even if the tracking cable is disconnected while the SM1511 identification redundant system is running flag during TRK CABLE ERR m m dl codi code 6120 System not determined System B SM1512 identification flag SM1511 OFF 2 When checking the operation system status indicates the CPU module operation status remains ON OFF even if the tracking cable is disconnected while the SM1515 Control redundant system is running Standby system status during TRK CABLE ERR code 6120 System not determined Control Standby SM1515 SM1516 2 Operation at occurrence of system switching When system switching occurs during access to the redundant CPU and Control system has been selected as target system access is continued as described below
34. DevicelD x02EE Intonation Finely graduated modular distibuted 1 0 device protection type IP20 MainFamily 10 ProductFamily WAGO DO SYSTEM 750753 3 2 Module Information Name 750 370 W02 07 20c FW 02 Information Port PROFINET lO Fieldbus Coupler for Se es 750 and 753 terminalblocks VendorName WAGO Kontakttechnik GmbH u Co KG Order Number 750 370 Hardware Release 02 0 Software Release VO2 01 20 002 4 4 Device Access Point e Implementation Type NetAm PhysicalSlots 0 1 8 Minimum Interval for Sending Cyclic IO Data 4ms m DNS a WAGO 750 370 View or Print Displays the file in a Windows text editor This GSDML File text editor can be used to print the file What is displayed is a copy of the GSD with the txt extension Previous Get settings of previous I O device slave disabled for first device Next Get settings of next I O device slave disabled for last device Close dialog and save changes aa Default c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 136 mu Description Choices Close dialog and discard changes Open online help 7 9 Module Configuration Dialog The Module Configuration dialog provides access to module specific parameters It contains the Module Parameters tab and the Module Information tab 7 9 1 Module Parameters Tab Lists the parameters of the selected module as defined in the GSD file of the device type The s
35. GSDML file Data in the global variable DEVICE_DATA is valid BUSY Bool The function block is in use ERROR Output Error detected STATUS Last detected status possible values O Status OK 1 Profinet stack not started c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN 2 No Ethernet link 3 No lO Device detected 4 Reception buffer too small stack internal error 8 Profinet error MS Read data size in byte The read data is moved to the output RECORD by using a block move operation The user has to configure an array Variable for this output with the corresponding number of elements RECORD LE LENGAH Call FB Read_Rec_lm read recs Read _Rec_lm M40 REG VALID M41 FALSE BUFFER 2 BUSY M42 164C 0480301 ID ERROR M43 AFI STATUS W3 0 SLOTNUMBER RECORD Read_Data3 1 1 SUBSLOTNUMBER LENGTH W12 16 AFF0 INDEX 16301 PNDEVICEID 16724 PNVENDORID 1 ARUUID M41 M40 1 C _ o o Rr i E M43 j A AA The input ID contains the IP address of the lO device 16fC0A80301 192 168 3 1 The index for the read data is 16 AFFO indicating to read the I amp M data Identification amp Maintenance of the device By setting M40 the reading of the data is started M41 indicates that the read data has been written to the gl
36. Note if more than 255 devices are detected the function returns status OK and NblO Devices 255 IO Device Detection This function allows to get for each lO Device detected by a previous call to the service Network Detection some information like IP configuration MAC Address Vendor ID Device ID Name of the c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q lO Device and lO Device type Request format Word Value Offset o RequestID PLC value i k UM cl k slot number number 00 ae Response Positive Format Status Word Value Offset RequestID Same as the request c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN ECO IE IES byte o fee CS rca oc oo 22 IP address IP address of the Device Subnetmask Subnet mask of the Device Gateway Gateway IP Address of the Device 28 30 Mac Address of the Device SizeName Size name of the device 240 bytes max 32 DeviceName Name of the device SizeName SizeType Size of Type field max size 25 byte Xx 1 Type Type of Device Size Type Response Negative Format Word Value Offset RequestID Same as the request Header c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q 28 DevicelD 0x0000 EX fee CC o fee CC Possible Values for Status e sms 8 Network cancion senice never cated Network Detection Scenario First the Network detection servi
37. Outputs Mgmt Inputs Cyclic Inputs i Qn CPU PROFINET Controller The memory area consists of the following sections CJ CN Management Outputs Control and request flags from the Q CPU to the PROFINET Controller c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q 6 Management Inputs Status and response flags from the PROFINET Controller to the Q CPU Acyclic Outputs Request buffer for acyclic communication Acyclic Inputs Response buffer for acyclic communication Cyclic Outputs Outputs for O devices sent during cyclic data exchange Cyclic Inputs Inputs from l O devices received during cyclic data exchange Access to Shared Memory From PLC Program GX Configurator PN generates PLC code for the interaction of the application program with the PROFINET Controller The PLC code contains global variables mapped to buffer devices which are automatically exchanged between Qn CPU and PROFINET Controller The following diagram shows the principal structure For details see the section Global Variables vVPN_ MGMT OUTPUTS PN_MGMT_INPUTS xO Mgmt Inputs Ed ale dim DO Y Acyclic Outputs VPN_ACYCLIC_REQ2 VPN_ACYCLIC RES1 PN_ACYCLIC RES2 012100 Acyclic Inputs WPN_ACYCLIC DIAG INPUTS m Aa y k MAS SN yPM_CYCLIC OUTPUTS Qn CPU SLVemeSsLOT n YYr YY Cyclic Outputs PROFINET Controller VPN_CYCLIC_INPUTS D4542 lt QOutpul size gt Cyclic
38. Station CPU Relayed Network QCPU Q mode Relayed Station CPU CC Link CC Link IE o Accessible x Inaccessible 1 Including motion controller CPU 2 For the Redundant PLC access is disabled 3 partially supported depends on CPU type AJ71QC24 CPU Connected Station CPU Relayed Station CPU Rel eae QCP QnA ACP QCPU Q as CPU U Excp mode 1 U X X po x x o Erem x x 0 comparen x x 0 oom x x 0 X jocume x E E E x Inaccessible 1 Including motion controller CPU FX CPU o Accessible c 2011 MITSUBISHI ELECTRIC CORPORATION Communication Setting Wizard PLC side i x Please select the PLE side IF PLE side LF Modem Communication setting Module type FxCPU For a description of the editable parameters on the page see PLC side modem parameters Pressing the lt Next gt button opens a page for specifying an optional additional network layer Connected Station i CPU Relayed Station CPU noayon QCP lacpP ana ACP ne mwolk U Q U A CPU U FXCPU Q faci ad o Accessible x Inaccessible 1 Including motion controller CPU LJ71C24 c 2011 MITSUBISHI ELECTRIC CORPORATION 261 GX Configurator PN Cancel MX Transfer Setup Wizard PLC side E x Please select the PLE side IF PLE side IF Modem Communication setting Module type Lur Cd z station Mo 0 Transmission speed 19200 b
39. Transfer Setup Wizard PLC side Host IP Address IP address or host name IP address of the CC Link IE Field Ethernet interface c 2011 MITSUBISHI ELECTRIC CORPORATION Appendix 278 9 3 2 24 Network Host station for CPU connections Communication Setting Wizard Network Please select the Network Station type Host station Multiple CPL none lf the target PLC contains multiple CPUs the number of the target CPU must be selected in the Multiple CPU parameter For details see Appendix Multi CPU Pressing the lt Next gt button opens a page for entering a comment for the connection Host station for MELSECNET and CC Link connections Communication Setting Wizard Network i x Please select the Metwsork Station type Host station gt Multiple CPU none Cancel Back lf the target PLC contains multiple CPUs the number of the target CPU must be selected in the c 2011 MITSUBISHI ELECTRIC CORPORATION 279 GX Configurator PN Multiple CPU parameter For details see Appendix Multi CPU Pressing the lt Next gt button opens a page for entering a comment for the connection Host station for C24 connections Communication Setting Wizard Network l x Please select the Metwsork Station type Host station gt Connect CPU series la gt CPU type aoz Multiple CPU none Select the type of the target CPU If the target PLC c
40. ae Diata2 1 1 SUBSLOTNUMBER LENGTH 16 10 INDEX M15 M14 IRH M17 First call The index for the read data is 16 AFFO indicating to read the I amp M data Identification amp Maintenance of the device The first acyclic buffer is used By setting M10 reading the data is started M11 indicates that the read data has been written to the global variable Read_Datat Second call The index for the read data is 16 10 indicating to read the parameter data from index 10 of the device The second acyclic buffer is used By setting M14 reading the data is started M15 indicates that the read data has been written to the global variable Read_Data2 8 1 5 Function Block Alarm_Request With this function block the PLC program requests an alarm received from a specific O device Instance Alarm_Request REQ VALID 5 BUFFER_2 BUSY 5 ID ERROR 5 STATUS 5 RECORD 5 LENGTH c 2011 MITSUBISHI ELECTRIC CORPORATION PLC Code for PROFINET Controller 158 BUFFER_2 ee Bool O Buffer 1 for acyclic request is used npu 1 Buffer 2 for acyclic request is used Do Device ID shall contain the IP Address VALID Data in the output RECORD is valid BUSY The function block is in use ERROR Error detected STATUS Word Last detected status possible values O Status OK Output 1 Profinet stack not started 7 Device not configured 8 Profinet error 9 No Alarm for this device RECORD Read da
41. c 2011 MITSUBISHI ELECTRIC CORPORATION Appendix 270 PLC CPU must be connected point to point with a single cable The IP address is not required for this type of connection and the corresponding input field is therefore disabled Mx Transfer Setup Wizard PLC side x Please select the PLE side liF PLE side IF cru module Communication setting HostilP Address Find GPU Built in Ethernet port on netyyork Find CPU Find CPU Built in Ethernet port IP address PLE type Label Comment ali a rin ii ecards 192 168 0 13 comment of CPL 3 192 168 0 14 comment of CPU 4 197 168 0 15 comment of CPU 5 192 168 0 16 comment of CPU 6 197 168 0 17 comment of CPU 7 192 168 0 18 comment of CPU E 192 168 0 19 comment of CPU 9 192 168 0 20 comment of CPU1O Finds CPU Buit in Ethernet port on the same network This cannot be performed when the following happens Response waiting timelsec Mo response Vthin response wating time Connected via a router or subnet mask is different Do not respond to search for CPU Built in Ethernet port is checked in PLC parameter Update Cancel EN This dialog lists the QnUDE and L series CPUs found in the local Ethernet network When a CPU in the list is selected and the OK button pressed the IP address of the selected CPU is copied to the Host IP Address field By pressing Update the local Ethernet network is scanned again for Qn
42. connection to a PLC PC side serial parameters if cleared only one of the serial interfaces actually installed in the PC can be selected All Ports if checked any COM port can be selected This may be useful when defining a configuration for a different PC All Ports COM1 selects the serial interface in the PC from a list of cleared COMn serial interfaces found on the PC Connect pert All Ports COM1 selects the serial interface in the PC from a list of checked COM256 possible serial interfaces Time out 1 communication timeout in milliseconds 2147483647 c 2011 MITSUBISHI ELECTRIC CORPORATION 195 GX Configurator PN MX Transfer Setup Wizard PC side For a description of the editable parameters on the page see PC side serial parameters The connected interface on the PLC side can be a CPU module either RS422 or USB interface a C24 module a G4 module an FX extended port c 2011 MITSUBISHI ELECTRIC CORPORATION 9 3 2 4 PC RS232 Serial Interface via GOT Configure a serial connection to a GOT and from there to a PLC PC side serial parameters if cleared only one of the serial interfaces actually installed in the PC can be selected All Ports if checked any COM port can be selected This may be useful when defining a configuration for a different PC All Ports COM 1 selects the serial interface in the PC from a list of cleared COMn serial interfaces found on the PC Connect
43. description of the editable parameters on the page see PC side Ethernet parameters Pressing the lt Next gt button opens a page for entering the address of the PLC ethernet module TCP connections Connected Station CPU Relayed Station CPU QCPU QCPU QnA ACPU QCPU Q mode Relayed Network Q A CPU l FX mode mode 1 CPU usar e o x x seno o sane x gt fetes A meta x e e e ooo i ome de AE o Accessible x Inaccessible 1 Including motion controller CPU 2 For the Redundant PLC access is disabled 3 partially supported depends on CPU type o lo x poo x x poo oo x UDP connections Connected Station Relaye CPU d Relayed Station Network CPU QCPU QCPU QCPU Q mode Q A mode mode Te fepe lx po le x po HEM lo o Accessible x Inaccessible 1 Including motion controller CPU 2 For the Redundant PLC access is disabled 3 partially supported depends on CPU type c 2011 MITSUBISHI ELECTRIC CORPORATION 205 GX Configurator PN a OQ senes compatible E71 system example IER PCGAT compa bie Logical staton number of 2 ls used Metbwork Mo 1 Staton number 2 F O seles ble E71 192 166 02 s rame e 711821690 MTS a ES Q sertes compatidle EF1 192168 0 1 __ waton number 1 CPU GO2HCPRU a m AR CPUZ i 002HCPU Metwork No 2 Q sares compatible E71 192 168 0 3 Station number 3 Simu
44. imi53 4 Fast startup a lab harsh 0033 S lab harsh 0039 E Device Library he Network Detection Network components with icons like this fg are lO Controllers They cannot be used in the current configuration Network detection will carry out an implicit read request to the lO Device to find out the configuration of the lO Device s slots and sub slots Certain lO Devices do not support this request and must therefore be configured manually The message window contains all the lO Devices whose name or current IP address are not compatible with network detection from GX Configurator PN lO Devices with an IP address which is not of the same class as that of the lO Controller are represented like this EN They cannot be inserted into the current configuration For PROFINET network detection to be as effective as possible the following rules must be obeyed e Each lO Device must have a unique name PROFINET uses DCP protocol to address the lO Devices This protocol allows a name to be given to each lO Device As for the IP address the name must be unique over the network To name an lO Devce it is recommended to use the Online Action Tool e Each lO Device must have one IP address in the same network range as the IO Controller When an lO Devce is detected an implicit read request is carried out to find out the slot sub slot configuration of the lO Device This request uses RPC protocol based on TCP IP If the IO Device is not i
45. in the order in which they answered to the DCP identify request Two consecutive calls to Net_Detect can result in two different lists Call FB Net_Detect Met Detect 1 Net Detect M1 REQ VALID FALSE Butter 2 BUSY TRUE EXTENDED ERROR _ STATUS w By setting M1 the network detection is started M2 shows that the network detection data was written to the global variable VPN_ DEVICE DETECT DATA c 2011 MITSUBISHI ELECTRIC CORPORATION PLC Code for PROFINET Controller 152 8 1 2 Function Block Read Rec_Im This FB reads information from an lO device which has not been included in the configuration of the PROFINET Controller Instance Read Rec_Im REQ VALID 4 BUFFER_2 BUSY m ID ERROR AFI STATUS L SLOTNUMBER RECORD B SUBSLOTNUMBER LENGTH gt ba INDEX PNDEVICEID PNVENDORID ARUUID Bool Stat read record read record BUFFER 2 Bool 0 Buffer 1 for acyclic request is used 1 Buffer 2 for acyclic request is used Device ID shall contain the IP Address APL API number used to N the read SLOTNUMBER Word Slot number Slot numbertarget ae Sub slot number target ae ONDEX woa Index ofthe record block of the record block PNDEVICEID PN Device ID taken from the GSDML file PNVENDORID Word Vendor ID taken from the GSDML Vendor ID taken from the GSDML fle Word Object UUID Local ID taken from the
46. initial values modifications Data The field gives the slot number sub slot Description number and the type of data item selected simply by clicking a value A data item may be lOCS Represents a consumption status IOPS Represents a production status Data Represents data Data Output Shows the status of the outputs production Status frame called the production APDU Status Data Input Shows the status of the inputs production Status frame called the production APDU Status Run Stop Where the lO Controller is in stop mode the For inputs IO Devices must not consume the data read only received and vice versa Data Valid lf the lO Controller is in Invalid data mode the Data Invalid lO Device must close the connection Normal lf the lO Controller is in Problem mode the IO Operation Device must close the connection Problem Previous Get settings of previous I O device slave disabled for first device Next Get settings of next I O device slave disabled for last device Close dialog and save changes Cancel Close dialog and discard changes EN Help Open online help le Default button c 2011 MITSUBISHI ELECTRIC CORPORATION 135 GX Configurator PN 7 8 6 Device GSDML File Tab This dialog displays information from the GSD file of the device 750 370 VO2 01 x FW 02 250370 VO2 01 xx FW OP pie GSDML V2 2 wago seres 50_ 53 201005252ml 3 Device Identity e VendorlD 00110
47. interface MX Transfer Setup Wizard PC side Hon lf accessing the PLC CPU through a MELSECNET H unit that is controlled by computer CPU please select MELSECNET H board on the PC side VF lf accessing the PLC CPU through a CC Link unit that is controlled by computer CPU please select CC Link board on the PC side VF Pressing the lt Next gt button opens a page for selecting the connected CPU type Q Series Bus Network c 2011 MITSUBISHI ELECTRIC CORPORATION Appendix 232 see list of supported CPU types type of PLC CPU module No 1 No 2 No 3 selects the CPU module in the PLC Pressing the lt Next gt button opens a page for entering a comment for the connection 9 3 2 14 PC GX Simulator Define a connection to an instance of GX Simulator running on the same computer PC side GX Simulator parameters Station type Host station or Other station direct connection or MELSECNET network CPU series Q QnA A FX series of the CPU type selected in GX Simulator FX is only available for station type Host station CPU type see list of supported CPU types type of CPU selected in GX Simulator not selectable for Other station as Station type Network No 1 239 network number of the E71 ethernet module the PC is connected to The E71 network number is configured in the Network Parameters of the PLC settings c 2011 MITSUBISHI ELECTRIC CORPORATION
48. is indicated in the section PROFINET Controller ME1PNiFW Q 1 set the MODE STOP RUN switch on the front to the MODE position 2 reset the module by setting the RESET SELECT switch to the RESET position and then back to the middle position or power cycle the CPU 3 confirm that the mode LED shows an orange light and the 7 segment LED displays 00 4 set the MODE STOP RUN switch to the STOP position 5 set the RESET SELECT switch to the SELECT position multiple times until the 7 segment display displays 11 6 set the MODE STOP RUN switch to the RUN position 7 confirm that the green RUN LED is flashing first and then turns off with the 7 segment LED displaying 00 8 set the MODE STOP RUN switch to the STOP position 9 reset the module by setting the RESET SELECT switch to the RESET position and then back to the middle position 10 confirm that the MODE LED shows a steady green light and both RUN and USER LEDs show a flashing green light c 2011 MITSUBISHI ELECTRIC CORPORATION 9 2 11 confirm that after a while both RUN and USER LEDs turn off and the MODE LED flashes green Note for the following steps the controlling Qn CPU can be inserted into the PLC rack and the PROFINET Controller module can be moved to the slot next to it after power has been turned off Activate the PROFINET functionality on the ME1PN1FW Q with these operations 1 insert the CF card with the PROFINET I O software and reset the module 2
49. modem or serial interface AJ71QC24N QJ71C24 module QJ71CMO LJ71C24 station number of the PLC side interface only for AJ71QC24N QJ71C24 QJ71CMO 300 115200 baudrate on the serial link only for AJ71QC24N QJ71C24 QJ71CMO Please select the PLE side liF PLE side IF Modem Communication setting Module type asteL ana For a description of the editable parameters on the page see PLC side modem parameters Pressing the lt Next gt button opens a page for specifying an optional additional network layer Q6TEL CPU c 2011 MITSUBISHI ELECTRIC CORPORATION Connected Station CPU Relayed Station CPU ne layed QCP acp ana ACP Network U Q U A cPU U QnACPU Q U FXCP dd mesener x o x x ferent x x ol x x comas x x Je x x o Accessible x Inaccessible 1 Including motion controller CPU OO EE MELSECNETIO x x o x x AJ71QC24N QJ71C24 QJ71CMO Communication Setting Wizard PLC side x Please select the PLC side liF PLE side IF Modem Communication setting Module type Jour rod Station Mo O Transmission speed 19200 bps For a description of the editable parameters on the page see PLC side modem parameters Pressing the lt Next gt button opens a page for specifying an optional additional network layer QJ71C24 CPU c 2011 MITSUBISHI ELECTRIC CORPORATION EN GX Configurator PN Connected
50. or BYTE ARRAYS of the same slot are packed in memory to follow directly the previous defined variable o WORDs should always be located at the next available word boundary address o DWORDs FLOATs should be also located at a word boundary address Additionally all WORD DWORD and FLOAT variables are stored in little endian format in shared memory to ease interpretation of the variables by the PLC program Example be br Input data Slot qe 1 word wie bar oe data Slot2 a on bar oe nd byte First byte eta data SloL2 Input data ew 2 word 2nd byte 3d byte ae data Slot ae OOH 3dbyte ae 3 bytes IO Device Consistency Management IOD_CONSIST Registers The Q series OS can ensure data consistency within a word in the data exchange via Autorefresh The Autorefresh settings of the respective module contain a module specific X device which the communication module resets during access to the buffer memory The CPU must check this device before accessing the buffer memory If consistency handling has been disabled in the module the device remains permanently set The single X device can only control access to the I O data of all slaves together An individual handshake for each station is not possible with this approach Using the following 128 bits the PLC can enable and disable at any time the consistency management per device From CPU to PROFINET IO Controller 1O Device Values Global Variable Identifier
51. page see PC side MELSECNET H parameters The PLC station to which a connection is established can be either e the host station e a different station in an attached network e a different station in a separate network MELSECNET H mode to Q CPU Q mode c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Connected Station CPU Relayed Station CPU Rel Own Board gcpy Q bane QCP QCP QnA ACP mode U Q U A CPU U mode mode 4 X X Computer link X CC Link o 7 o Accessible x Inaccessible 1 Including motion controller CPU 2 Operates only w hen QCPU Q mode is used 3 For the Redundant PLC access is disabled 4 partially supported depends on CPU type fwewseonern o x x x mesener 9 e o o ersen a a CN alate IEA EA MELSECNET 10 mode to Q CPU Q mode Connected Station CPU Relayed Station CPU Rel Own Board QCPU Q eae QCP QCP QnA ACP mode U Q U A CPU U mode mode 4 dl oam 0 1 Including motion controller CPU 2 For the Redundant PLC access is disabled 3 partially supported depends on CPU type mesener 9 9 e fo x fenent E E E x a MERO E E o Accessible x haccessible MELSECNET 10 mode to Q CPU A mode and A CPU c 2011 MITSUBISHI ELECTRIC CORPORATION Connected Station Relayed Station CPU aa CPU Relayed wn boar QCP Network ra ENS YA CPU U FXCP mos mode e o Accessi
52. parameter cannot be selected It is there for information only if the lO Devce is already set to local mode PROFINET Network View The PROFINET network view is the central view of the application lt lists e PROFINET controller e assigned I O devices e modules of the I O devices CCPU CH1 ae TCP IP 192 168 000 052 ql2decpu w 3 8 001 Device Name wago 50 370 750 370 VO2 01 ox FW 02 fr Item Configuration Device Mame WAG0 750 370 vise e gt Position 000 Slot 000 750 370 VO2 01 20 FW 02 a ep Position 001 Slot 001 750 606 Supply 2DIA 30 BIT I DIA in 1 PI Lj Module Configuration A 000 750 370 VO2 01 20 FW 02 we J O01 750 606 Supply 2D14 30 BIT D DIA in 1 P1 Operations for the network view are contained in the Devices Menu Diagnostic Mode The diagnostic mode is activated with the menu item Start Console Diagnostic or by pressing the a button CPU CHI TEPIP 128 127 060 067 myccputl Es 000 Device Mame lab harsh O00fe TCDEP 8yYX D1U IP67 Universal block F4 11 Es 001 Device Mame lab harsh 0042 TCDEP SYYX 010 1P67 Universal block Fw4 17 E 002 Device Mame picc harsh004b TCDEP 8C0N D1U IP67 16 In NPN block Fw4 17 Es 003 Device Mame lab harsh 0060 TODEP 8yYX D1U IP67 Universal block F4 11 i E Al dp B 004 Device Mame lab harsh O07b TCDEP 6YYx D10 IP6 Universal block F4 11 B 005 Device Mame lab harsh 0072 TODEP 8YYX D1U IP67 Universal block F4
53. properties of the module User comment for the module NA Previous Go to the previous module of the device disabled for the first module Next Go to the next module of the device disabled for the last module OK Close dialog and save changes Default button c 2011 MITSUBISHI ELECTRIC CORPORATION 139 GX Configurator PN Description Choices Close dialog and discard changes Open online help Note the values contained in this tab come from analyzing the GSD for the lO Device Depending on the version of the GSD and lO Devce the values will differ They are displayed for information only 7 10 PLC Settings Dialog The PLC Settings dialog provides the user interface for configuring the data exchange between the PROFINET Controller and the controlling Qn CPU PLC Settings PLC Connections CPU Connection Settings Test Connections Diagnosis Verify Start I 0 No Q CPU Start I O No PROFINET Controller Ox3E1 PLC Programming Project Outputs Buffer PROFINET Manage Acyclic Buffer Cyclic Outp ut CPU Connection Settings Test Connections start O No Q CPU Ox3E0 IO Documentation Export PLC Code OK Browse Inputs Words Start End Buffer Words Start End 118 100 YVE5F PROFINET Manage 112 x100 XI FF 2100 DO D2099 Acyclic Buffer 2442 D2100 D4541 26 D4542 D4567 Cyclic Input 30 D4568 D4597 Description Choices Opens th
54. request to the reply c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 106 Timeout on Fragment Sets the maximum time separating the lO Controller sending Acknowledge an RPC ACK request from the reply Timeout on sending first ping Sets the maximum time separating the lO Controller sending the first RPC PING request from the reply Timeout on resending first ping Sets the maximum time separating the lO Controller sending an RPC PING request from the response to the first PING RPC section Server Maximum number of re sends Maximum times a telegram is retransmitted before signalling an error Timeout before resending Interval to wait before retransmitting a telegram 7 3 4 IP Address Manager This dialog provides access to the network address settings of the PROFINET Controller and to the IP Address Manager PROFINET Controller Network Address Settings TCP IP 197 168 000 052 ql12dccpu v General IP Address Manager Name Value q IP Address IP Address 192 168 000 052 Sub Network Mask 255 255 255 000 Gateway IP Address 000 000 000 000 Controller Name gl4decpu v Description c 2011 MITSUBISHI ELECTRIC CORPORATION GX 107 GX Contigurator PN S Description Choices Range IP Address area of 4 bytes entered in decimal notation with decimal point representing the Internet address or IP address of the PROFINET Controller channel 1 CH1 Sub Network Mask defines the addresses to be route
55. requests 2 bits used vPN ACYCLICG REQ Buffers for acyclic request BLOCK 2 data 2 buffers max 1500 VPN ACYCLIC REQ2 bytes each incl header Size 2100 vPN_CYCLIC_OUTPUTS LIVE W PLC to PROFINET BLOCK 3 ORD Y Controller live register size 4950 variable names for cyclic O data output data sent to IO Variable max i n are user defined Devices The data size is c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q IS Up to variable up to 9898 bytes 4949 Data from PROFINET Controller to Qn CPU Block Global Variable Identifier Description number for PLC High Speed Transmission Area 0x2710 Ox5FOF VPN_MGMT_INPUTS IOD_CMD_ PROFINET Controller to HSK_X PLC handshake flag to acknowledge command in IOD START STOP DEV VPN_MGMT_INPUTS IOD_INPU PROFINET Controller to J_HSK_X PLC handshake flags for Inputs VPN_MGMT_INPUTS IOD_OUTP PROFINET Controller to UT_HSK_X PLC handshake flags for Outputs BLOCK 1 VPN_MGMT_INPUTS ACYC_HS PROFINET Controller to KX PLC handshake bits for acyclic requests 2 bits used VPN_MGMT_INPUTS IOD_ALAR Alarm indication M_IND Size 112 VPN_MGMT_INPUTS IOD CON Connection status flag N STS 0 lO device Not connected 1 Device connected VPN_MGMT_INPUTS IOD_ERR_ Device ERROR flag STS 0 device no error 1 Devce in error vPN_ACYCLIC_RES1 Buffers for acyclic request answer 2 buffers max BLOCK 2 v
56. the USER LED see User LED for the other LEDs consult the Q12DCCPU V manual 7 segment LEDs see 7 Segment LED Display for details 3 10BASE T 100BASE TX Ethernet interface used for configuration and PROFINET interface connector RJ45 I O communication c 2011 MITSUBISHI ELECTRIC CORPORATION 3 GX Configurator PN CN 10BASE T 100BASE TX Not used for the PROFINET Controller interface connector RJ45 Channel 2 EM Serial number plate Hardware serial number g EJECT button Press to Press to eject CF card ftom slot CF card from slot 7 CompactFlash CF card Slot for installing CF card installation slot eo RUN STOP MODE switch Sets the Sets the operation mode mode RESET SELECT switch Used to reset the module USB interface connector For USB connections Not supported by the PROFINET Controller The module can only be accessed via the first Ethernet port ce Battery Buffers data in RAM Battery connector pin Pin to connect battery Note when delivered the battery is not connected to ensure its Capacity RS 232 interface For RS 232 connections connector Not supported by the PROFINET Controller Technical Data Maximum number of total cyclic 9228 bytes input data 1 Maximum number of total cyclic 9900 bytes output data 1 Maximum number of cyclic input 1437 bytes per device IOCR data length data Maximum number of cyclic 1437 bytes per device IOCR data length output data Maxi
57. the application can use both channels Connected Station CPU Relayed Station CPU Relayed QCPU Q Network QCP cP QnA ACP mode U Q U A CPU U EXCP mode mode 4 U MELSECNETH o x x x x verseonemo 0 o o o x Ememer of x of x px pot x po fof ol x Computer link CC Link o CC Link IE o Accessible c 2011 MITSUBISHI ELECTRIC CORPORATION x Inaccessible 1 Including motion controller CPU 2 For the Redundant PLC access is disabled a For 1 1 communication AMAR a ee swich2 Git communicators pacar oooh smena communicators porosot coo 1 Settings of CH1 and CH2 are indicated below Ea er setting setting po Operation sening __ O ndependent O ndependent 7 no 3 ee Raa ode Y odd 3 w Online change 2 O disable O disable Setting change O disable O disable 2 When the communication protocol is set to GX Developer connection OH the online change bit b6 setting is made invalid to enable online change regardless of the online change setting 3 Set the follow ings to odd Parity bit of the communication setting utility ActParity of the ActQJ71C24 control property Setting CH1 CH2 communication protocol to GX Developer connection OH makes the communication speed transmission settings to OH all OFF Refer to the Q series compatible C24 manual for details b For 1 n communication
58. to perform the write SlotNumber Slot number targeted SubslotNumber Subslot number targeted Index of the record block byte owo oo memo fo i E Response positive format Status Word Value Offset RequestID Same as the request Header c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q DevicelD Requested Device ewes foo ee Response Negative Format Word Value Offset CO Same as the request Header Data length byte r Seme fe Terre ra Ce Possible Values for Status fo Status OK function Profinet stack not started No ethernet link c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN No lO Devce detected CS Device not connected Device not configured FS Profinet error see others status Record Block Explicit Read connected Request format Word Value Offset Co RequestID PLC value 1 4 DevicelD Requested device cu API number used to perform the read API COMMENTS Ever rios sonia 11 Data length byte Response positive format Status 0 Word Value Offset Header o Request ID Same as the request c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q EEN C OOOO Device ID IP address e e pe byte o eo o o eoe ow sI SS Response Negative Format Word Value E C Same as the request ewe pe Data length 0x00 byte o a c 2011 MITSUBISH
59. where the user enters the name of the asc file in which the program definitions and references to user libraries are stored For details see section PLC Code for PROFINET Controller Close dialog and save changes Cancel Close dialog and discard changes O A Default button Supported PLC Device Types The following table lists the supported device types and their respective address ranges c 2011 MITSUBISHI ELECTRIC CORPORATION at GX Configurator PN C e Toom Default Device Addresses For a new project GX Configurator PN assigns default device addresses to the refresh buffers according to the following schema Default Device Address PROFINET Management Outputs PROFINET Management Inputs Acyclic Buffer Outputs Bo Acyclic Buffer Inputs Cyclic Input D4542 lt cyclic output size gt The default device address of the cyclic input area is the first D device behind the area occupied by the cyclic outputs It depends therefore on the cyclic output size of the network configuration Note the default device address is only assigned in a new project and is not adjusted when the cylic output size changes due to changes in the network configuration Check of Overlapping Device Areas The device addresses of the six input and output buffers are checked for overlapping devices each time the dialog is opened The conflicting device addresses are automatically adjusted The following message box is displa
60. within the preset time depending on the line connected region example signal wait time overseas Line disconnection CD Setting range 1 to 999 Set the line disconnection delay time Default 3 c 2011 MITSUBISHI ELECTRIC CORPORATION CE Line disconnection Increase the set time if the response speed of the modem is low delay time Setting range 1 to 999 Set the data transmission delay time Default 0 Data transmission Increase the set time if the response speed of the modem is low delay time Setting range 1 to 999 Set the AT command response wait time Default 1 AT command response Increase the set time if the response speed of the modem is low wait time Setting range 1 to 999 Set the password cancellation response wait time Default 5 Password cancellation Increase the set time if the quality of the line with the other end is low response wait time Setting range 1 to 999 Set the AT command password cancellation retry count Default 3 AT command Increase the set count if the AT command cannot be sent or the password cancellation password cannot be canceled retry times Setting range 1 to 999 Set the Line callback cancel wait time Default 90 Increase the set time if the line at the other end Q series corresponding C24 side is not disconnected within the set time Line callback cancel l depending on the line connected region example overseas wait time Set
61. 0 A PROFINET lO Device is configured by means of a GSD file This file in XML format concentrates all the features and essential data in one place e Properties of the device transmission parameters etc Number and size of compatible modules Configuration of each module Module parameters The GSD files are provided by the manufacturer of your equipment c 2011 MITSUBISHI ELECTRIC CORPORATION Data Exchange I O The exchange of input output data in PROFINET IO is based on the producer consumer model This model is asynchronous The lO Controller produces outputs for the lO Device and the lO Controller consumes inputs from the lO Device and vice versa The refresh period determines the production consumption time This time is defined for each IO Device In a complete configuration the network cycle time is equivalent to the largest refresh period of the configuration Example IO Device Name Refresh Period In the case of configuration 1 the largest refresh period is 32 ms io device2 The network cycle time is 32 ms This means that every 32 ms all inputs outputs will have been refreshed at least once The diagnostic model of PROFINET input output exchanges defines in addition to process data lOxS IOPS or IOCS typed data IOPS Input Output Object Provider Status An lOPS is associated with the input outputs from each slot sub slot This status indicates the quality of the data produced from each slot sub slot t
62. 008 submodule to withdraw ownership 0x0009 Released Logical Plug of a submodule to return ownership or trigger a reparameterization Alarm Type c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q 38 Value hexadecimal 0x0080 OxOOFF Reserved for profiles Alarm specifier coding of bit fields is shown below 0 10 Sequence 0 to 2 047 incremented upon number each indication y 1 Diagnostis 0x00 No diagnosis available channel 0x01 Diagnosis available 12 Specific 0x00 No diagnosis available aagnosis 0x01 Diagnosis available 13 Diagnostis 0x00 No diagnosis available Suo mocue 0x01 Diagnosis available CONC owe 14 15 AR diagnostis 0x00 No diagnosis available 0x01 Diagnosis available Response Negative Format Request ID Same as the request Header Device ID 0x00 Data length 0x00 byte c 2011 MITSUBISHI ELECTRIC CORPORATION NES GX Configurator PN Possible values for Status e amos o rre o inme Alarm Ack This service sends to the lO Device the Ack alarm frame This service has to be used in relation with the IOD_MGT_ALARM and IOD_ALARM_IND Alarm registers Request Format Word Value Offset Co RequestID PLC value y o fow Jo o fee fas DevicelD Requested device ee fe API number used to perform 7 a SlotNumber Slot number targeted fo SubslotNumber Subslot number targeted 10 Index has to be contain the alarm p
63. 2011 Modified 05 08 2011 Configuration Path C Program atas hitsubishit CCPU Profinet Configuration Tool Config anos Description Choices Range Configuration Name of the selected configuration 1 124 characters Created Date when configuration has been read only created Modified Date when configuration has been read only modified for the last time Configuration Path Directory of configuration ready J OK Close dialog and save changes PERNE Default 7 6 2 Duplicate Configuration Dialog Enter the name of the new copied configuration Duplicate Configuration Source Configuration Name config New Configuration Hame Cancel c 2011 MITSUBISHI ELECTRIC CORPORATION 121 _ ox Configurator PN Description Choices Range Source Configuration Name of the selected original read only Name configuration New Configuration New name for the copy of the selected 1 124 Name configuration characters Close dialog and save changes PU Default 7 6 3 Rename Configuration Dialog Enter a new name for the selected configuration Rename Configuration Old Configuration Mame configUl New Configuration Hame Ta ina Description Choices Range Old Configuration Current name of the selected configuration oes Name New Configuration New name for the selected configuration 1 124 Name characters Close dialog and discard changes e Default c 2011 MITSUBISHI
64. AJ71C24 and AJ71UC24 Sum check Existence None enable disable sumcheck only for AJ71C24 and AJ71UC24 Control DTR only RTS only DTR and handshake signals RTS DTR or RTS Note In any connection form direct coupling relaying where the target station of the UC24 or C24 is the QnACPU an error is returned if clock data read write is executed AJ71C24 AJ71UC24 c 2011 MITSUBISHI ELECTRIC CORPORATION 243 GX Configurator PN Communication Setting Wizard PLC side l x Please select the PLC side iF PLE side IF 24 module Communication setting Module type AA station Mo Transmission speed 19200 bps J Parity Data bit bit Stop bit bit Sum check Existence T i Control OTR or RTS Control Communication Setting Wizard PLC side x Please select the PLC side liF PLE side IF C24 module Communication setting Module type AJTIUC24 Station Mo Transmission speed 19200 bps ie Parity Data bit bit stop bit hit Sum check Existence z ie Control OTR or RTS Control For a description of the editable parameters on the page see PLC side C24 module parameters Pressing the lt Next gt button opens a page for specifying an optional additional network layer Note lf the connected station CPU is the AnNUCPU and the computer link module is the UC24 for computer link connection remote operation will result in an error when acces
65. CLIC_REQ1 vPN_ACYCLIC_REQ2 Response buffer vPN_ACYCLIC_RES1 vPN_ACYCLIC_RES2 Function Block Net_Detect This FB detects lO devices present on the network It includes two services network detection and lO device detection The network detection returns only the number of lO devices found on the network The following lO Device detection reads type information from each detected lO device and stores it in the global variable vPN_DEVICE_DETECT_DATA Instance Met Detect REL VALID p Buffer 2 BUSY 5 EATENDED ERROR STATUS Variable Class Type Description Start the network detection BUFFER 2 Bool O Buffer 1 for acyclic request is used Input 1 Buffer 2 for acyclic request is used EXTENDED 0 Only the standard information first eight words is returned 1 The extended device information is returned VALID Output Data in the global variable vPN_DEVICE_DETECT_DATA c 2011 MITSUBISHI ELECTRIC CORPORATION PLC Code for PROFINET Controller 150 IS asaid Busy The function block is in use ERROR Error detected STATUS Word Last detected status possible values 0 Status OK 1 Profinet stack not started 4 Reception buffer too small stack internal error 5 No more lO device 6 Network detection service never called The global variable VPN_DEVICE_DETECT_DATA is defined as an array of DUTs the DUT type name is VPN_DEVICE_DETECT DATA The number of devices in th
66. CONN_STS 127 I OD_ERR_STS Registers The following 128 bits indicate for each lO device whether an error has occurred PROFINET lO Controller to CPU 10 Device Global Variable Identifier TICE oo o hooo VPN_MGMT_INPUTS IOD_ERR_STS 0 v PN_MGMT_INPUTS IOD_ERR_STS 15 v PN_MGMT_INPUTS IOD_ERR_STS 116 v PN_MGMT_INPUTS IOD_ERR_STS 127 0 vPN_MGMT_INPUTS IOD_ERR_STS 16 16 PN_MGMT_INPUTS IOD_ERR_STS 31 3 poner an a 116 p 127 For each lO device the following combinations are possible c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN IOD_CONN_STS IOD_ERR_STS Meaning lO device not connected because no connection requested a fo device connected connection without error lO device connected connection without error 1 lO device not connected In automatic mode connection not possible In manual last connection request failed Device Advanced Status IOD_ADV_STS Registers For each lO device a byte in the variable VWPN_ACYCLIC_DIAG_INPUTS IOD_ADV_STS contains the detailed status error code when the corresponding bit in OD_ERR_STS is set Each element in the word array IOD_ADV_STS contains the status codes of two devices the status of the device with an odd index is placed in the low byte the status of the device with an even index is placed in the high byte OD CONN STS Byte Value in 1OD_ ERR STS IOD_ ADV STS WA CO AE 0 1 100 No answer from the lO device at the DCP ident
67. CPU must have been in RUN mode once Note When a QnA AnU Q A mode or motion controller CPU va E71 are accessed the device range is equivalent to that of an AnA CPU Please select the PE side IF PC side IF Ethernet board Communication setting Connect module Jaa EF Facket type Binary Port Mo 5001 Time out 1000 me For a description of the editable parameters on the page see PC side Ethernet parameters Pressing the lt Next gt button opens a page for entering the address of the PLC ethernet module TCP connections c 2011 MITSUBISHI ELECTRIC CORPORATION 199 GX Configurator PN Connected Station CPU Relayed Station CPU ade QnA ACPU Relayed QCPU QCPU QnA ACPU FX CPU Network Q A CPU 4 CPU SER mode mode pesoen Po Papo po MELSECNET pesen EXENTOS Computer link nn A oom x IE IE x px fx x CT E x o Accessible x Inaccessible 1 Including motion controller CPU 2 Operates as the one equivalent to AnACPU UDP connections Connected Station CPU Relayed Station CPU QCPU QnA ACPU Relayed Network QCPU QCP QnA ACPU FX A CPU 4 Q U A CPU 4 CPU mode mode mode 2 MELSECNETH x iwewseonewio x iweseonew x wma a omone x oam ome x o Accessible x Inaccessible 1 Including motion controller CPU 2 Operates as the one equivalent to AnACPU c 2011 MITSUBISHI ELECTRIC CORPORATION c E
68. Controller to the DCP identification request Number of request retries Sets the maximum number of times a DCP request is repeated following a timeout RTA Real Time with Acknowledgment section Request time out Sets the maximum period separating the time from the lO Controller sending a RTA request and the reply Number of request retries Sets the maximum number of times an RTA request is repeated following a timeout In Advanced Mode Channel Properties PROFINET 10 Name Request Time out Request Retry m Request Time out Request Retry 3 Maximum Number of Resend i Time out on CANCEL Reque i Time out on Fragment Acknowledge 2000 a Time out Before Sending First Ping 2000 Le Time out Before Resending Ping 2000 3 Maximum Number of Resending 3 i Time out Before Resending 2000 Description The send clock factoris used to calculate the refresh period for each device Refresh period La send clock factor 31 25 reduction ratio Caution if you modify his value the refresh period of all devices can be modified In this case waming messages will be displayed Default value 32 RPC section Client Maximum number of pings Sets the maximum number of pings while awaiting a response Maximum number of re sends Sets the maximum number of times an RPC frame is repeated question or response Timeout on CANCEL request Sets the maximum time from the lO Controller sending an RPC cancel
69. ECTRIC CORPORATION Connected Station CPU Relayed Station CPU QnACPU Relayed Network QCPU QCPU QnA ACPU FX Q A CPU 4 CPU mode mode menea ells coma aa e apa mesero x x o aj o Accessible x Inaccessible 1 Including motion controller CPU b QE71 system example IBMPCGAT compatible Network Mo 1 Staton number 2 eee QET1 192 166 0 2 Station number 2 i L ft Poot ttt CPU x J Ge QE71 192 168 0 1 mi EE Station number 1 ima ta Network Mo 2 z CPUZ Mi afi OE7 1 192 168 0 3 station number 2 c 2011 MITSUBISHI ELECTRIC CORPORATION 203 GX Configurator PN TCP IP UDP IP mee meee ume When ASCII When binary packet is used packet is used When binary packet is used Operation mode setting switch 0 online Line processing selection for OFF TCP time out error SW1 ON ASCII OFF binary Data code setting code code Communications SW2 condition setting Automatic start mode switches setting OFF ON SW3 ON OFF As set by user SW4 to SW6 All OFF CPU communications timing setting SW7 Initial timing setting SW8 QJ71E71 Mx Transfer Setup Wizard PC side x Please select the PE side IF PC side IF Ethernet board Communication setting Connect module Jour Er Protocol Metyreork Po Station Mo Time out c 2011 MITSUBISHI ELECTRIC CORPORATION For a
70. ELECTRIC CORPORATION User Interface 122 7 6 4 Configuration Properties Dialog Edit the configuration description Configuration Properties Configuration contighT Description Description Configuration contig Created 26 05 2011 Modified 03 08 2011 Configuration Path C FProgramD ata Mitsubishi CCP Profinet Configuration Tool Config confi Open Folder Description Choices Range Configuration Name of the selected configuration ready o Created Date when configuration has been read only created Modified Date when configuration has been read only modified for the last time cogemos pan Dresoy cruenta Open Folder Opens the Windows file explorer and o selects the configuration directory o pemrcngartenectags gt foo omea E eprerereerro E ES c 2011 MITSUBISHI ELECTRIC CORPORATION 123 GX Configurator PN 7 7 ME1PN1FW Q Properties Dialog Address settings of a ME1PN1FW Q can be manually entered or copied from station found during a network scan MELPNIFW Q Properties ME1PNIFW Q 1 Local Network Adapters Board Name 6 Realtek PCle GBE Family Controller MAC Address EC AE C5 80 47ED IP address 192 168 0 20 Configured ME1PN1FW Q Detected ME PNIFW Q _ AME1PNIFW Qis corectly ae configured but no connection test was ME1PN1FW List eae done Name IP Sub Network Mask Mac Address METPN1FW O METPNIFW 3 IP Address 192 168 0 52 Name ql decpu
71. End Butter Words Start End PROFINET Manage 118 Va5F PROFINET Manage 112 A100 AIFF Acyclic Buffer 2100 10 D2099 Acyclic Buffer 2442 D2100 D4541 Cyclic Output 26 D456 Cyclic Input 30 04568 D4597 Call of Function Blocks All services used in the function blocks access the same data area defined in the instances of the c 2011 MITSUBISHI ELECTRIC CORPORATION MON GX Configurator PN DUTs If there is one function block in use output Busy is true no other function block call is allowed The user must ensure that the function blocks are interlocked against simultaneous use Two function blocks can only be used simultaneously if one uses a different request response buffer pair than the other GX Configurator PN adds global variables to the exported PLC code which are mapped to the corresponding buffer devices The PLC program can use the variable identifiers and does not have to include the buffer devices directly The following table lists the variable names for both acyclic communication buffer pairs Global Variables for Acyclic Communication Buffers Buffer Pair 1 Buffer Pair 2 Request v PN_MGMT_OUTPUTS ACYC_HS vPN_MGMT_OUTPUTS ACYC_HS handshake bits K_Y_REQ1_EXECUTE K_Y_REQ2 EXECUTE Response v PN_MGMT_INPUTS ACYC_HSK_ vPN_MGMT_INPUTS ACYC_HSK_ handshake bits X_RES1_ACCEPTED X_RES2 ACCEPTED v PN_MGMT_INPUTS ACYC_HSK_ vPN_MGMT_INPUTS ACYC_HSK_ X_RES1_COMPLETED X_RES2_COMPLETED Request buffer vPN_ACY
72. GX Configurator PN only for Other station as Station type Station No 1 64 station number of the PC side interface This number can be freely chosen but must be unique within the network specified by the network number only for Other station as Station type 1 2147483647 communication timeout in milliseconds Note Before configuring the connection please make sure that GX Simulator and GX Developer are operating In addition do not terminate GX Simulator and GX Developer while the user program is running If you do so you will not be able to terminate the user program normally MX Transfer Setup Wizard PC side Station type Host station CPU Series la CPU type faoz 1000 ms c 2011 MITSUBISHI ELECTRIC CORPORATION MX Transfer Setup Wizard PC side For a description of the editable parameters on the page see PC side GX Simulator parameters Pressing the lt Next gt button opens a page for entering a comment for the connection 9 3 2 15 PC GX Simulator2 Define a connection to an instance of GX Simulator2 running on the same computer PC side GX Simulator2 parameters Target simulator None simulator instance to connect to for FX Simulator A series projects at present only one Simulator B simulation can be executed at a time Simulator C ae i Simulator D if the simulation is currently running pressing the Browse button opens the Find GX Simulator2 Runtime dialo
73. I ELECTRIC CORPORATION GX Configurator PN Value No lO Device detected CS Possible values for Status Comment Status OK function Profinet stack not started No ethernet link Reception buffer too small internal stack error Profinet error see others status Alarm Request This service allows PLC to ask to PROFINET stack the alarm received from a specific O Device This service has to be used in relation with the IOD MGT_ALARM and IOD_ALARM_IND Alarm registers see 3 1 6 Request Format 10 11 12 13 14 21 Value PLC value o AA SenicelD Status DevicelD Requested Device 0x00 API SlotNumber SubslotNumber Index Data length byte PnDewcelD PnVendorlD ARUUID c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q E TE e Response Positive Format Status 0 Word Offset Value RequestID DevicelD Same as the request Requested Device byte ErrorDecode API API number used to perform the alarm SubSlot number Module ident Module ID of the Alarm number Header 10 19 SubModule ident submodule ID of the Alarm number Data length Data Size in byte Data O to 1432 bytes 9 io NO NO NO Co 00 N O al E oo N h Data c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Alarm priority e High priority 0x06 e Low priority 0x05 hexadecimal Controlled by supervisor Logical Pull of a 0x0
74. I O address of connected station c 2011 MITSUBISHI ELECTRIC CORPORATION 289 GX Configurator PN Network with CC Link IE Control MX Transfer Setup Wizard Network x Station type Other station Network with CC Link IE Field MX Transfer Setup Wizard Network x Station type ot er station c 2011 MITSUBISHI ELECTRIC CORPORATION 9 3 2 25 Other Station This page is used to provide type and network address information of the target PLC in a multi layered network CPU series Q QnA A L depending series of the CPU type on previous choices CPU type see list of Supported type of PLC CPU module CPU types Network No 1 239 network number of the target interface Station No station number of the target interface Station in same network for MELSECNET II Communication Setting Wizard Other station l x Please select the Other station Other station setting CPU series CPU type Station Mo Pressing the lt Next gt button opens a page for entering a comment for the connection Station in same network for C24 or FX c 2011 MITSUBISHI ELECTRIC CORPORATION 2o1 GX Configurator PN Communication Setting Wizard Other station x Please select the Other station Other station setting CPU series CPU type Station Mo Cancel Back For Q series PLCs the index of the CPU in a multi CPU system can optionally be selected Com
75. LECTRIC CORPORATION 215 GX Configurator PN xl aj Modem at MELSOFT application side Close ee TAD modern Modem at TEL side Cancel Edit Copy Move group Delete Select Read file write file Display cursor position AT command define a new AT command For details see AT command edit dialog edit an existing AT command For details see AT command edit dialog Copy copy the selected command to a different group see Select AT command group name Move group move the selected command to a different group see Select AT command group name delete the selected AT command Select Used to display the AT command selected in the AT command display list on the line setting screen Read file reads AT commands from a file selected by the user Write file stores the AT commands in a file selected by the user AT command edit dialog c 2011 MITSUBISHI ELECTRIC CORPORATION Register a new AT command and edit the AT command AT command registration i x Group name Modern at MELSOFT application side Title AT command Cancel Help of AT command es o displays the name of the group to which the AT command is assigned a name for the AT command max 60 ASCII characters AT command enter the AT command for modem initialization max 70 ASCII characters Help of AT command displays the AT command help Select AT command group name Group s
76. N a Delete all selected item s c 2011 MITSUBISHI ELECTRIC CORPORATION 111 ox Configurator PN Command Rename ltem Opens an edit field in the cell with the name of the selected item Input Item Name Datatype Offset device Offset module Bit in the byte SLOTO01 STATUS CHANNEL 0 Input byte o O ME SLOTOO1 ANALOG INPUT CHANNMEL 0 Input word 1 1 6 5LOT001 STATUS CHANNMEL 1 Input byte 3 ME SLOTOO1 ANALOG INPUT CHANNEL 1 Input word 4 4 Command Properties This command opens the Item Properties dialog 7 4 2 Items Properties Dialog Item Properties tem Identification Description tem Name SLOTOO1 STATUS CHANNEL 1 Data Type Input byte Position Block Offset in Device tem Offset in the Block lt lt Previous Next gt gt Help Cancel Description Choices Range Data Type ltem data type ltem Offset in the Offset of the item within its block in read only Block bytes Previous Show settings of previous item in Enabled the table selected item is not the first one Next Show settings of next item in table Enabled the Block Offset in Device Offset of the item within the input read only or output area of the device in bytes c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 112 Description Choices selected item is not the last one OK Close dialog and save changes Default button Close dialog and discard changes
77. Note Simultaneous modem communication by several MELSOFT applications is not supported Communication errors a disconnection of the telephone line or similar problems may occur For a description of the editable parameters on the page see PC side modem parameters Pressing the lt Next gt button opens a page for configuring the modem connection e g telephone number etc 9 3 2 7 1 Modem Line Settings Enter the parameters for the modem connection to a remote PLC including the phone number and any AT commands to configure the local modem Note a Do not use a call waiting phone line On a call waiting phone line data corruption telephone line disconnection or similar may occur due to interrupt reading sounds b Do not connect the line to master slave phones lf the slave phone picks up while the telephone line is connecting to the master slave phones the telephone line may be disconnected c Use an analog 2 wire type telephone line When using a digital line use a terminal adaptor When the telephone line is of 4 wire type the line may not be connected depending on c 2011 MITSUBISHI ELECTRIC CORPORATION the wiring type of the modular jack For the 4 wire type conduct connection tests in advance to check for connection Note a Modem for radio communication using a cellular phone Although the modem name is different depending on the maker the modem is generically referred to as the cellular phone comm
78. O Y75F 1 118 U3E01G10848 U3E01G10965 2 2100 DO D2099 2 2100 U3E01G10966 U3E01G13065 3 6 D4542 D4547 3 6 U3E01G13066 U3E01G13071 Description Choices Range Load Parameters reads the refresh settings from the parameter files on the Q CPU and the PROFINET Controller Load File After selecting a GD GID parameter file in a file dialog the contents of the parameter file are displayed Refresh Settings on Lists those CPUs from which the Ox3E0 Ox3E0 CPU parameter file with the refresh settings Ox3E1 could be read Ox3E2 0x3E3 lf the CPU has settings Refresh Settings Shows the sections in the high speed data Table transfer area from the parameter file on the Q CPU Refresh Blocks for Select the CPU for which the refresh Ox3E0 Ox3E0 CPU blocks from the selected parameter file Ox3E1 should be displayed in the table Ox3E2 underneath Ox3E3 Refresh Blocks Shows the sections in the high speed data O c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 146 Description Choices transfer area from the parameter file on the PROFINET Controller The selection lists and tables on the left and on the right side are equivalent By doubling the tables the user can visually compare settings in two different CPUs Refresh Settings Table CPU Total Size Words VO No User Size Words Refresh Size Words No l 3072 OxSE0 848 2224 No 2 3072 ME 512 2560 Refresh Size Words Size of area used for data tr
79. OL IOD_MGT_ALARM ARRAY 0 127 OF BOOL IOD_CONSIST ARRAY 0 127 OF BOOL IOD_INPUT_HSK_Y ARRAY 0 127 OF BOOL IOD_OUTPUT_HSK_Y ARRAY 0 127 c 2011 MITSUBISHI ELECTRIC CORPORATION vPN_ACYCLIC_REQ1 vPN_ACYCLIC_REQ2 vPN_CYCLIC_OUTPUTS vPN_MGMT_INPUTS PLC Code for PROFINET Controller 168 OF BOOL ACYC_HSK_Y_REQ1_ EXECUTE BOOL ACYC_HSK_Y_REQ2_ EXECUTE BOOL END STRUCT tPN ACYCLIC REQ Request buffer for STRUCT A a communication AO On Note this buffer ServicelD WORD does not contain I O Status WORD data The I O data is included in the DevicelD DWORD DUTs GVs specific API DWORD to the configured l O devices SlotNumber WORD SubslotNumber WORD Index WORD DataLength INT PNDevicelD WORD PNVendorlD WORD ARUUID ARRAY 0 7 OF WORD Reserve ARRAY 0 7 OF WORD Data ARRAY 0 719 OF WORD END _STRUCT tPN CYCLIC OUTPUTS Watchdog request STRUCT for cyclic communication LIVE WORD Y WORD END_STRUCT tPN MGMT_INPUTS Inputs from the STRUCT PROFINET Controller lOC_ STS CONFIG OK BOOL handshake status IOC STS CONFIG DOWNLOADING etc BOOL IOC_STS KEYFILE ERROR BOOL IOC_STS_STARTED BOOL lOC_ STS ERROR DIAG SET BOOL IOC STS PLC _WD_ERR BOOL IOD_CMD_HSK_X ARRAY 0 127 OF BOOL IOD_INPUT_HSK_X ARRAY 0 127 OF c 2011 MITSUBISHI ELECTRIC CORPORATION 169 GX Configurator PN vPN_ACYCLIC_RES1 vPN_ACYCLIC
80. ON 8 bit Parity bit yes no setting As set by user As set by user 2 SW03 Even parity odd parity setting As set by user As set by user 2 SW04 Transmissi on Stop bit setting SW05 OFF 1 bit specificati Sum check yes no setting ON yes ons seiting SW06 switches Online change enable disable peng As set by user SW07 Setting change enable disable Saung As set by user 2 SW08 Transmission speed setting SW09 to SW12 As set by user 2 SW13 to SW15 All OFF 1 Set to ON if the CH1 side mode setting sw itch setting is 0 or to OFF if the setting is 5 format 5 2 Make the same settings to Module 1 and Module 2 QJ71C24 c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Communication Setting Wizard PLC side i i x Please select the PLC side IF PLE side IF 24 module Communication setting Module type Cli 1 24 hi station Mo Transmission speed 19200 Parity Odd Control DTR or RTS Control gt For a description of the editable parameters on the page see PLC side C24 module parameters Pressing the lt Next gt button opens a page for specifying an optional additional network layer Note When QJ71C24 R2 of function version A is used only either of CH1 and CH2 can be used When the MELSOFT product such as GX Developer or GOT is using one channel the application cannot use the other channel When the QJ71C24 R2 of function version B is used
81. ORATION GX Configurator PN e q pa b e puso ESE eno ewe PLC Program Watchdog LIVE WORD_X and LIVE _WORD_ Y Registers The live word register variables VPN_CYCLIC_INPUTS LIVE WORD_X and VPN CYCLIC OUTPUTS LIVE _WORD_Y allows the PLC to activate a watchdog mechanism between the PLC program and the PROFINET Controller By default this mechanism is not activated LIVE _WORD_X 0 The following scenario applies PROFINET LIVE WORD_Y 1 Write LIVE_WORD_Y iii ee Time aa Copy LIVE WORD Y to LIVE WORD _X f Read LIVE WORD x Increment LIVE WORD Y Time 500ms y Winte LIVE WORD_Y Time 500ms Copy LIVE WORD Y to LIVE WORD X ec Read LIVE WORD X By default the LIVE WORD_Y register is set to 0 meaning that no check is activated To activate the mechanism PLC sets LIVE _WORD_Y to 1 or to any value different from 0 The lO controller reads the LIVE _ WORD Y value in an interval of 500 ms If the value is identical three consecutive times 1 5s and differs from 0 the lO controller will consider the PLC as no longer running In this case lO controller sets the IOC_STS bit17 for indication lf activated this watchdog mechanism is the only way for the lO controller to detect that a PLC program is currently running In this case any attempt to download a new configuration will display a warning message to alert the end user Once the mechanism is activated the PLC has to wri
82. OUTPUTS IOD_MGT_MODE 31 31 v PN_MGMT_OUTPUTS IOD_MGT_MODE 116 Automatic Manual vPN_MGMT_OUTPUTS IOD_MGT_MODE 127 a nite OD START _STOP_DEV Registers With these 128 bits the PLC specifies which command will be executed when the corresponding command handshake flag see IOD CMD HSK Y is set These registers are relevant only for devices which are in manual management mode see IOD MGT MODE From CPU to PROFINET 1 10 Controller c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Device Global Variable Identifier Numbe r vVPN_MGMT_OUTPUTS IOD_START_STOP_DEV 0 v PN_MGMT_OUTPUTS IOD_START_STOP_DEV 15 v PN_MGMT_OUTPUTS IOD_START_STOP_DEV 16 Release Establish connection connection v PN_MGMT_OUTPUTS IOD_START_STOP_DEV 127 OD CMD _HSK XandlOD CMD _HSK_ Y Registers With the 128 bits the PLC can ask the PROFINET Controller to execute command s previously defined in the corresponding IOD_ START STOP register s When the command s are completed the PROFINET Controller sets the corresponding bit s in the IOD CMD_HSK_Y registers The PLC can then verify the connection status va the IOD_CONN_STS registers From CPU to IO Controller From lO Controller to CPU Global Var Identifier Function Global Var Identifier Function vV PN_MGMT_OUTPUTS Trig command for v PN_MGMT_INPUTS IOD command for device OD CMD_HSK_Y 0 device 0 _CMD_HSK_X0 0 executed Trig command for command for
83. PN_AGYCLIC_RES2 1500 bytes each incl header Size 2442 VPN _ACYCLIC_DIAG_INPUTS AD Advanced diagnostic V DIAG Information about issues c 2011 MITSUBISHI ELECTRIC CORPORATION GX 11 GX Contigurator PN OOOO Reserved for future time Reserved for future time stamping Not Used Resened Used Reserved VPN ACYCLIC_DIAG_INPUTS CN Configuration CRC value F_CRC VPN ACYCLIC_DIAG_INPUTS IO Advanced device status D ADV STS 1 Never Connected 0 Connected 2 Disconnected 3 Connected in error IOPS IOCS APDU STATUS in error state 4 time Out Reserved vP Size 4678 N_CYCLIC_INPUTS LIFE WOR BLOCK 3 variable names for cyclic I O data max are user defined 2 1 1 Management Area IOC_START_STOP Register This register is set or cleared by the control CPU to start or stop the PROFINET Controller From CPU to PROFINET IO Controller PROFINET Controller to PLC live register Input data received from each lO Device Size up to 9345 bytes Global Var Identifier vPN_MGMT_OUTPUTS IOC_ START_STOP Values lO controller has to be stopped If the lO controller is not started nothing is done by PROFINET firmware lf the lO controller is starting or started each connection will be automatically released by the firmware even if the connection is in manual management IO controller has to be started If the lO controller is started nothing is done by PROFINET firmware
84. RES1 vPN_ACYCLIC_RES2 Mame FRequestlD ServicelO Statys DevicelD DataLength Erobecode ErorCode ErorLode Reserve Data Mame RequezstlD ServicelD Status DevicelD DataLength ErorDecode ErrorCodel ErrorCode Reserve Data c 2011 MITSUBISHI ELECTRIC CORPORATION MIT Addr DWDRD WORD WORD DWORD INT WORD WORD WORD ARRAY 0 9 OF WORD ARRAY O 729 OF WORD 02100 02102 02103 012104 012106 02107 02108 02105 02110 02120 Type D2850 D2852 D2653 D2854 D2556 D2857 D2658 DWORD WORD WORD DWORD INT WORD WORD WORD 02053 ARRAY 0 9 0F WORD 02060 ARRAY 0 729 OF WORD D2s70 MIT Addr IEC Addr eM 2100 M0 2102 M40 2103 M0 2104 M0 2106 coho 2107 aah 2108 M0 2109 M 0 2110 ahw 0 2120 IE C Addr MO 2050 MO 2052 MO 2053 MO 2004 MO 2056 ZMW 2057 MO 2050 MO 2059 MO 2060 bwD 2670 173 GX Configurator PN vPN_ACYCLIC_DIAG_ NPUTS Hame ADY DIAG ERR_CODE WOAD Type D3600 MIT Addr IE C ddr MW20 S600 40 DIAG_ERR_CODE2 WORD ADY DIAG _ADD_LINFO ARRAY 0 17 0F WORD CHF_CAC ARRAY 0 1 OF WORD IOD ADW STS ARRAY 0 63 OF WORD 003601 D3602 D3876 03070 Mw i S60 MO S602 Mw i 3076 M0 3070 Hame LIVE WORD MIT Addr D4592 IE C Addr M0 4592 vPN_ CYCLIC_INPUTS 8 3 Integrating in PLC Project The integration of the PROFINET network into the PLC application program requires several steps which are here d
85. RPORATION User Interface 104 Description Choices Range address in the tree in the current configuration tree Display device If enabled displays the number of the device in Active Active number in the tree the current configuration tree Inactive Add GSDML in If enabled displays a message if a GSDML file Active library Message for for the same device with the same file version is Inactive redundant GSDML _ already in the GSDML database This GSDML file will not be inserted into the device library O Close dialog and save changes Open online help 7 3 3 Channel Properties Dialog Parameter Shows a descriptive text to the selected Read only Description parameter K Close dialog and discard changes Y Default button This dialog provides access to timing parameters for the PROFINET I O communication The displayed values depend on whether Advanced Mode has been selected or not In Standard Mode Channel Properties PROFINET o Name Value Unit Request Time out 3 5 Request Retry 2 AIA Request Time out 3 100 ms Request Retry 3 Description Discovery and basic Configuration Protocol C c 2011 MITSUBISHI ELECTRIC CORPORATION 105 GX Configurator PN DCP section Request time out Sets the maximum time from the lO Controller sending a DCP request from the reply lt also sets the listening time of the IO
86. RUCT LIVE_WORD_X WORD END_STRUCT tPN_DEVICE_DETECT_ DATA STRUCT VendorlD WORD 0 DevicelD WORD 0 IP_ Address DWORD 0 Subnetmask DWORD 0 Gateway DWORD 0 MAC_Address_Bytes1_2 WORD MAC_Address Bytes3 4 WORD MAC_Address Bytes5 6 WORD END STRUCT tPN_DEVICE_DETECT_ DATA STRUCT VendorlD WORD 0 DevicelD WORD 0 IP_ Address DWORD 0 Subnetmask DWORD 0 Gateway DWORD 0 MAC_Address_Bytes1_2 WORD MAC_Address_Bytes3_4 WORD MAC_Address Bytes5 6 WORD Data ARRAY 0 134 OF WORD Watchdog response for cyclic communication Basic type information of the connected lO devices Extended type information of the connected lO devices This type consists of the structure tPN_DEVICE DETE CT_DATA with an additional word array element to store additional device information END_STRUCT The global variables are assigned to device addresses in the buffers which the user has entered in the PLC Settings dialog c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Update Parameters CPU Connection Settings Test Connections Start I O No Q CPU Start 1 0 No PROFINET Controller PLE Programming Project Outputs Buffer Words ta End Butter Words PROFINET Manage 118 YI5F PROFINET Manage 112 Acyclic Buffer 2100 D2099 Acyclic Buffer 2442 Cyclic Output 50 2 04591 Cyclic Input 54 The automatic refresh executed by the Qn CPU automatically copies the
87. SHI ELECTRIC CORPORATION 179 GX Configurator PN Remote Procedure Call RPC This protocol is based on TCP UDP It is used to execute the connection phase to an lO Device together with all data block read write accesses Real Time Acyclic RTA This protocol is based on Ethernet level 2 This protocol is used to exchange alarms between the lO Device and the lO Controller Real Time Cyclic RTC This protocol is based on Ethernet level 2 This protocol is used to exchange cyclic input output data Addressing of PROFINET components on the Ethernet network The DCP protocol is used to detect the presence of a PROFINET station on the network DCP is a layer 2 protocol Ethernet For this reason it does not use IP addressing to find PROFINET components but their PROFINET name One of the features of the PROFINET protocol is that each PROFINET component must be named This name is known as its PROFINET name DCP Name Then once the component has been identified on the network DCP gives the option of assigning the IP configuration of the lO Device This addressing is mandatory as PROFINET uses TCP UDP and IP layers When a PROFINET network is installed the first thing to do is to name all the lO Devices present on the network uniquely This task can be carried out using the Online Action Tool in GX Configurator PN A newly wired PROFINET network Mame lo device IF 0 0 0 0 Mame in device IF 0 0 0 0 Name
88. Systems For a multi CPU system the user must specify the CPU number of the target CPU e the last accessed station When making access to the non control CPU of the relay module on the accessed station use the modules of function version B as the relay modules and Q CPUs Q mode on the own station all relay stations and accessed station Example 1 CPU COM communication c 2011 MITSUBISHI ELECTRIC CORPORATION Communication Setting Wizard Network x Please select the Metwrork Station type Host station Vs Multiple CPU When the user has selected No 3 Ox3E2 in the Multiple CPU field the connection is established to the third CPU in the rack marked as 3 in the following figure Personal Last access target computer PD QCPU Q mode No 1 0 OCPU Q mode No 2 QCPU Q mode No 3 4 QCPU Q mode No 4 Example 2 CPU COM communication via MELSECNET H c 2011 MITSUBISHI ELECTRIC CORPORATION 301 GX Configurator PN Communication Setting Wizard Other station X Please select the Other station Other station setting CPU series CPU type Metyreork Mo Station Mo Multiple CPU When the user has selected No 3 Ox3E2 in the Multiple CPU field and entered 2 for network and station number the connection is established to the third CPU in the Last access target rack marked as 3 and grayed in the following figure The CPU number i
89. UDE and L series CPUs and the list is updated The time to wait for CPUs to respond during the search is entered in the field Response waiting time c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN CC IE Field Ethernet Adapter MX Transfer Setup Wizard PLC side 9 3 2 22 PLC G4 Module Enter the settings for a G4 module connected to the PC PLC side G4 module parameters A QnA Q type of PLC C24 module Transmission 9600 115200 baudrate on the serial link speed available baudrates depend on selected mode Control DTR only RTS only DTR and handshake signals RTS DTR or RTS Note The CC Link G4 module used in CC Link G4 communication only when the AJ65BT G4 is used must have software version D or later Modules with software version C or earlier will not operate properly G4 Module connected to PC c 2011 MITSUBISHI ELECTRIC CORPORATION Appendix 272 Communication Setting Wizard PLC side l x Please select the PLE side iF PLE side IF 64 module Communication setting Mode la Transmission speed asno gt bps Contral DTR or RTS Control Cancel Back Mest For a description of the editable parameters on the page see PLC side G4 module parameters Pressing the lt Next gt button opens a page for specifying an optional additional network layer Q mode Connected Station CPU Relayed Station CPU Relayed QCPU Q Network QCP cP ana ACP mo
90. X Configurator PN Description Choices Range This is useful for IO Devices with addresses which must remain fixed When the respective lO Device is inserted into the current configuration the corresponding IP address will automatically be assigned to it Get a list of I O devices on the network The y button is used to copy device name and IP address to the Configured Assignments list Alternatively the button allows to make an assignment by specifying the IP address and the name of the lO Devuce Enable this Enable the IP Address Manager service selected not Service not selected selected Sub Network Sub netwok mask from the configuration of the read only Mask PROFINET Controller The subnetwork mask along with the gateway address cannot be configured using this Service Gateway IP Gateway address from the configuration of the read only Address PROFINET Controller Configured List of configured pairs of device name and IP Assignments address which are assigned by the address manager when the device is connected gl Edits the selected entry f Deletes the selected entry Close dialog and save changes Default button Cancel Close Close dialog and discard changes and discard changes When a connection is established the PROFINET Controller can send the TCP IP configuration to an lO Device This helps to avoid problems with IP address conflicts The IP addresses distributed by the console will
91. Za MITSUBISHI ELECTRIC GX Configurator PN 1 02 Configuration System for PROFINET IO Networks Software Manual Art no 255245 July 2012 2 MITSUBISHI ELECTRIC INDUSTRIAL AUTOMATION About this Manual The texts illustrations diagrams and examples in this manual are only intended as aids to help explain the functioning operation use and programming of the open network configuration system MELSOFT GX Configurator PN Separate manuals are available for MITSUBISHI ELECTRIC s various series of MELSEC programmable logic controllers This manual is only intended for users with experience in handling automation and communication networks For using and usage of this software only the user his own is responsible lf you have any questions regarding the installation and operation of the software described in this manual please do not hesitate to contact your sales office or one of your MITSUBISHI ELECTRIC distribution partners You can also obtain information and answers to frequently asked questions from our MITSUBISHI ELECTRIC website under www mitsubishi automation com The GX Configurator PN software is supplied under a legal license agreement and may only be used and copied subject to the terms of this License Agreement No part of this manual may be reproduced copied stored in any kind of information retrieval system or distributed without the prior express written consent of MITSUBISHI ELECTRIC MITSUBISHI ELECTRIC reserv
92. _RES2 vPN_ACYCLIC_DIAG_INP UTS BOOL lOD_OUTPUT HSK_X ARRAY 0 127 OF BOOL ACYC HSK Y RES1 COMPLETED BOOL ACYC HSK Y RES2 COMPLETED BOOL ACYC HSK Y RES1 ACCEPTED BOOL ACYC HSK Y RES2 ACCEPTED BOOL IOD_ALARM_IND ARRAY 0 127 OF BOOL IOD_CONN_STS ARRAY 0 127 OF BOOL IOD_ERR_STS ARRAY 0 127 OF BOOL END_STRUCT tPN_ACYCLIC RES Response buffer for STRUCT T a communication OA Note this buffer ServicelD WORD does not contain I O Status WORD data The I O data is included in the DevicelD DWORD DUTs GVs specific DataLength INT to the configured l O devices ErrorDecode WORD ErrorCode1 WORD ErrorCode2 WORD Reserve ARRAY 0 9 OF WORD Data ARRAY 0 729 OF WORD END STRUCT tPN ACYCLIC_DIAG_INPUTS Extended diagnostic STRUCT information ADV_DIAG_ERR_CODE WORD ADV_DIAG_ERR_CODE2 WORD ADV_DIAG_ADD_INFO ARRAY 0 17 OF WORD CNF_CRC ARRAY 0 1 OF WORD IOD_ADV_STS ARRAY 0 63 OF WORD c 2011 MITSUBISHI ELECTRIC CORPORATION vPN_ CYCLIC_INPUTS vPN_DEVICE_DETECT_D ATA This is the default type specified in the exported PLC code User can change the type to the extended version see below vPN_DEVICE_DETECT_D ATA This type must be specified for this global variable by the user if the user sets the EXTENDED input of the function block Net_Detect to 1 PLC Code for PROFINET Controller 170 tPN_CYCLIC_INPUTS ST
93. able Alarm Manage ment By default the PROFINET stack can handle alarms automatically without reporting any indication to the PLC program The PLC program can overwrite this default setting per device in order to manage alarms for a device by itself To select manual handling for alarms of a specific device a bit which corresponds to the device must be set in the global variable VPN_ MGMT OUTPUTS which contains the PROFINET management output structure Alarm Handling Variable Setting Automatic handling v PN_MGMT_OUTPUTS IOD_MGT_ALARM devce index O Manual handling v PN_MGMT_OUTPUTS IOD_MGT_ALARM device index 1 lf automatic handling has been selected for an lO device the lO controller automatically acknowledges each alarm received from the respective lO device and the alarm indication flags VVPN_ MGMT_INPUTS IOD_ALARM_IND are not used If manual handling has been selected an alarm indication is passed to the PLC program by setting the bit with the index of the respective IO device in VPN_MGMT_INPUTS IOD_ALARM_IND devce index Call FB Alarm_Request c 2011 MITSUBISHI ELECTRIC CORPORATION 161 GX Configurator PN os IN Alarm_req_1 Alarm_Request M30 REQ VALID M FALSE BUFFER 2 BUSY 22 1D ERROR STATUS mes RECORD ee data1 1 LENGTH W2 ee E A PE E E O PE O ner acne M31 M30 ml Ry M33 A 7 ee The input ID contains the lO devce number 22 By settin
94. ameters Module type FX485BD ADP type of PLC C24 module Station No station number of the PLC side interface Transmission 300 19200 baudrate on the serial link speed Stop bit number of stop bits Control DTR only RTS only DTR and handshake signals RTS DTR or RTS Transmission 1 65535 transmission timeout as multiple of 10 wait time milliseconds c 2011 MITSUBISHI ELECTRIC CORPORATION 253 GX Configurator PN Note The FX extended port is required when using computer link communication with FXON FX1S FX1N C FX2N C FX3U C CPU For a description of the editable parameters on the page see PLC side FX port parameters Pressing the lt Next gt button opens a page for specifying an optional additional network layer Connected Station Relayed Station CPU CPU Relayed Network QCP QCP ana ACP U Q U A CPU U Pii ti rrr cr aca IE o Accessible x Inaccessible 1 Including motion controller CPU Before use the FX extended port must be configured for communication There are two ways of configuring the FX extended port module c 2011 MITSUBISHI ELECTRIC CORPORATION 1 use PLC parameters 2 write values to special data registers D8120 D8121 D8129 in a sequence program This is the only apporach for FXON CPUs Set PLC parameters Start GX Developer or GX IEC Developer and select Parameter PLC parameter in the project list Then select the PLC system 2 tab FX parameter i
95. ansfer between Q CPU and PROFINET Controller Refresh Blocks Table The refresh settings for Q CPUs show buffer devices No Size Words Start End 1 118 YO YI5F 2100 DO D2099 3 6 D4542 D4547 while the refresh settings for CCPUs like the PROFINET Controller show shared memory addresses in U lt n gt G lt m gt notation No Size Words Start End 1 118 0301610848 U3E01610965 El 2100 U3E01G10966 13801613065 3 6 U3E0 613066 U3E0G13071 Size Words Size of refresh block in words for Q CPU start device c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Column Description for PN controller start address in shared memory for Q CPU end device for PN controller end address in shared memory 7 11 Aboutbox The about box shows the version and copyright notice About GA Configurator PN GX Configurator PN Werslorr 141 020 Manufacturer Mitsubishi Warning this computer program i protected by copyright law and International treaties Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and will be prosecuted to the maximum extent possible under the law Close c 2011 MITSUBISHI ELECTRIC CORPORATION PLC Code for PROFINET Controller 148 8 PLC Code for PROFINET Controller GX Configurator PN can export PLC program code for GX Works2 GXW2 and GX IEC Developer GID which assists the appli
96. ansfer setup provides access to the configured transfer setups The user can add new setups remove existing setups modify a setup select a setup to be used test the communication with a selected setup The network architecture and settings are displayed with bitmaps representing the network nodes The parameters associated with a node are listed underneath the respective bitmap EI MX Transfer Setup x Ont CPU type GOZH Time out 1000 ms Transmission speed 415200 bpa Control DTR or RTS Multiple CPL cea Description Choices Setting range Select transfer lists the names of existing 1 32 name of selected setup transfer setups and the functions characters transfer setup New and Rename Remove c 2011 MITSUBISHI ELECTRIC CORPORATION 185 GX Configurator PN Description Choices Setting range Pressing the OK button closes the dialog and uses the settings of the currently selected transfer setup to the device for which the transfer setup has been opened If the dialog is closed by pressing the Cancel button the transfer settings of the device remain unchanged Note please notice that devices using the same transfer setup name are not automatically updated You need to select each device separately open the transfer setup dialog and reassign the settings to the device New Transfer Setup For defining a new transfer setup the user selects the entry lt New gt from the selectio
97. arameters continue by pressing the Next button Communication Setting Wizard PLC side x Please select the PLO side I F PLC side IF CPU module Communication setting CPU series la CPU type 0 21 i Transmission speed 115200 bps Control DTR or RTS Control The contents of the PLC side I F page depend on the selected PC side interface Set all available parameters and click the Next button c 2011 MITSUBISHI ELECTRIC CORPORATION NON GX Configurator PN Communication Setting Wizard Network x Please select the Network station type Network MELSECNETAOfH Network route The contents of the Network page depend on the selections in the previous pages Set all available parameters and click the Next button Note when Modem has been selected as PC side F the line setting screen appears next For details of the line setting screen refer to Modem Line Settings Communication Setting Wizard Other station x Please select the Other station Other station setting CPU series CPU type Network Mo station Mo Cancel Back Next gt The contents of the Other station page depend on the selections in the previous pages Set all available setting items and click the Next button c 2011 MITSUBISHI ELECTRIC CORPORATION MX Transfer Setup Wizard Finished xj The Comr information nication wizard has finished collecting
98. arted Bad Device ID Device not configured c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q MON Alarm Log This request allow to get an alarm description from the internal alarm log Function has to be called several times to get several alarm description The older alarm is returned first Request format O a RequestID PLC value 2 5 y DevicelD Requested device 5o 7 1 EEN O sens o ofe CO TN a rm fe re ones fe va we fe Response positive format Status 0 Word Offset COM RequestID Same as the request c 2011 MITSUBISHI ELECTRIC CORPORATION MON GX Configurator PN ee Date of the PROFINET Controller when the frame has been received Time of the PROFINET Controller when the frame has been received API number used to perform the alarm CN ModulelD ID of the module Manufacturer SubModulelD ID of the module Manufacturer dependant a SubSlot Subslot number of the alarm Response negative format Word Value Offset ate RequestID Same as the request c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q MON DevicelD 0x00 C A byte re Tewo io come roe Possible values for Status 2 Pp 2 E UN Device not configured PROFINET error see others status No alarm in log Alarm Management A lO device is able to send alarms to the lO controller When a alarm is received the lO controller is expec
99. ation Dialog ccccccccssssssseeeeessceeeeeeeesseeeenseneeeneeeseeeeeseseeesessensnneeessonensaeess 117 Configuration ManaGe l mii lada 118 New Configuration Dialog iuasussison a Eaa 120 Duplicate Configuration Dad aa 120 Rename Configuration Dialog ii 121 Configuration Properties Dialogissa daa 122 MEIPNIFW Q Properties Dialog cincin a aae ai aaa 123 10 Device Configuration Dialog ococccnocconoconcoconcaroncaracnncarnanarnnnarnnnarnrnararnararnnnarnnnans 124 Device General Configuration ana 125 De vice Module Configuration Tab a 127 Device Parametros 129 Device Connection Information Tab iii 131 Devices TO Data A baaa 133 Do vica GSDMLE Fe Tab EE ee i 135 Module Configuration Dialog occococconoccncocnncaconcaronnaronnanannncarnnnarnanarnnnararnanarnanarnanans 136 Module Parameters Tab a 136 Module INFORMVALION Tab oi aiii 138 PLC Semings DialoG aiii 139 Update Parameters Dialog siisii inan aaa aariaa iaria cassettes 144 Multiple CPU Refresh Settings Dilg a EAEAN 145 ADOUID O 147 PLC Code for PROFINET Controller 148 FUNCION BIO CAS it aid 148 FUNCTION Block Net Detecta 149 Function Block Read Reca A aa 152 FURCUON BlOCK Write REG BU sentar r O Ra a AE aar 154 Fu unchon Block Read REE a 155 Function Block Alarm Request siii an iaa 157 FUNCTION Block Alarm ACK acta a 161 Function Block Alarm Log isis 163 Functiom Bloc
100. ator PN 7 8 3 Device Parameters Tab Device specific parameters can be edited 750 370 VO2 01 noc FW 02 General Configuration Module Configuration Parameters I O Data GSDML File Name Value Unit Refresh Period 16 ms Device Data Order Big Endian Watchdog Factor 3 2 Watchdog 48 Description This time specifies the interval for sending cyclic 10 data Description Choices Range Refresh Period Time interval in milliseconds between the transmission of each production frame and the reception of each consumption frame Device Data Data order for the device Little Big alee Used to specify the data format in memory of o l paan the 16 and 32 bit words KON Endian Little Endian Intel format In increasing address order low order byte high order byte Big Endian Motorola format In increasing address order high order byte low order byte c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface NON Description Choices Range Watchdog This value is used to calculate the production 3 Factor and consumption time out period Time out period Refresh period Watchdog factor The result is displayed in the Watchdog field Watchdog Production and consumption timeout period Provides help on the selected field Previous Get settings of previous l O device slave disabled for first device Next Get settings of next I O device slave disabled for last devic
101. available addressing modes DCP the lO Controller may change the TCP IP configuration of the device The lO Controller will change the TCP IP configuration of the lO Device if it differs from the TCP IP configuration of the lO Device contained in the O Controller configuration DHCP In this mode the lO Device obtains its TCP IP configuration from a DHCP server The criterion for obtaining the TCP IP configuration from the DHCP server is configurable in the DHCP Based on list Note if an lO Device is configured in DHCP mode and a connection is established the lO Controller compares the TCP IP configuration of the lO Device with that contained in the configuration of the lO Controller If they differ the connection cannot be established c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface NOS Description Choices Range DHCP Based on MAC address the identifier used for obtaining the IP configuration from the DHCP server will be the MAC address of the lO Device Station name the identifier used for obtaining the IP configuration from the DHCP server will be the name of the lO Deuce Client identifier the identifier used for obtaining the IP address from the DHCP server will be the character string entered by the user in the Client Identifier field Local This parameter cannot be selected It is there for information only if the lO Device is already set to local mode from the DHCP server P
102. ayed Station CPU Relayed QCPU A Network mode o Accessible x Inaccessible 1 Including motion controller CPU QnA CPU c 2011 MITSUBISHI ELECTRIC CORPORATION 239 GX Configurator PN Connected Station CPU Relayed Station CPU Relayed QnACPU Network CC Link CC Link IE o Accessible x Inaccessible 1 Including motion controller CPU A CPU Connected Station Relayed Station CPU CPU oe QCP QnA ACP U A CPU U FXCP mode 4 U Xx xX MELSECNET H MELSECNET 1 PJ ome E E o Accessible x Inaccessible 1 Including motion controller CPU px x of x o MELSECNET x o px x px x px x X X X X X X X X X X X FX CPU c 2011 MITSUBISHI ELECTRIC CORPORATION Connected Station CPU Relayed Station CPU Relayed FXCPU Network MELSECNET H cme PA fx xls x o Accessible x Inaccessible 1 Including motion controller CPU PLC CPU Universal Serial Bus Interface USB PLC side CPU USB interface parameters CPU series Q FX L series of the CPU type CPU type see list of supported CPU types type of PLC CPU module c 2011 MITSUBISHI ELECTRIC CORPORATION 2a GX Configurator PN MX Transfer Setup Wizard PLC side For a description of the editable parameters on the page see PLC side CPU USB interface parameters Pressing the lt Next gt button opens a page for entering a comment for the connection Q CPU Q m
103. ble x accessible 1 Including motion controller CPU MELSECNET 10 mode to QnA CPU Connected Station CPU Relayed Station CPU Rel Own Board Qnacry _ eyed QCP ana ACP Network U A CPU U mode dl CC Link CC Link IE 1 Including motion controller CPU CNEA EA vasom e fo pee Ememer x x of x Computerin x x o x x px x tie xt x o Accessible x Inaccessible 9 3 2 10 PC MELSECNET 10 Board A connection between PC and PLC va MELSECNET 10 requires the MELSECNET 10 interface board and the corresponding driver to be installed in the PC PC side MELSECNET 10 parameters c 2011 MITSUBISHI ELECTRIC CORPORATION 225 GX Configurator PN 1st 2nd 3rd 4th module selects the interface board in the PC MX Transfer Setup Wizard PC side For a description of the editable parameters on the page see PC side MELSECNET 10 parameters The PLC station to which a connection is established can be either e the host station e a different station in an attached network e a different station in a separate network Q CPU Q mode c 2011 MITSUBISHI ELECTRIC CORPORATION Connected Station CPU Relayed Station CPU Rel Own Board gcpy Q bane QCP QCP QnA ACP mode U Q U A CPU U mode mode 4 eS X Computer link CC Link o o Accessible x Inaccessible 1 Including motion controller CPU 2 For the Redundant PLC access is disabled 3 partially supported
104. cation programmer in accessing the PROFINET Controller The exported code consists of an ASCIl file asc and two user libraries sul nm Cones OO lt user chosen gt asc ASCII file for import in PLC project with task definition and the references to the user libraries lt user chosen gt sul project specific DUTs for lO devices and global variables mapped to buffer devices pnfo_base_types sul project independent user library with standard DUTs for management and acyclic communication and function blocks for access to PROFINET services 8 1 Function Blocks GX Configurator PN can export PLC code for integrating access to the PROFINET I O network into the PLC application program The exported code can be imported in GX Works2 GXW2 and GX IEC Developer GID projects The exported code consists of Function Blocks FBs Data Unit Types DUTs and global variable lists GVLs Assigning Addresses to the DUT Instances After completing the network configuration within GX Configurator PN the user must assign the buffer device addresses to the instances of the DUTs The addresses are taken from the PLC Settings dialog shown below PLC Settings PLC Connections Update Parameters CPU Connection Settings Test Connections Diagnosis Verify Start I O No Q CPU 0x3E0 10 Documentation Start I O No PROFINET Controller ox3E1 Export PLE Code PLE Programming Project Outputs Inputs Butter Words
105. ce the ME1PN1FW Q is connected to The user can then choose to obtain the network address of the module either automatically or manually For details see the description of the Add New ME1PN1FW Q dialog Add New MELPNIFW Q ME1PNIFW Q 1 Local Network Adapters Board Name 8 Realtek PCle GBE Family Controller MAC Address BC AE C5 8D 4 ED IP address 192 168 0 20 Status Connected Automatic Configured ME1PN1FW Q Detected METPNI1FW Q AMEITPN1IFW Q is corectly configured but no connection test was ME1PN1FW 0 List A aone Name IF Sub Network Mask Mac Address METPN IFW MEIPNIFW 2 IP Address 192 168 0 52 Name me 1pn Tfw q Mac Address 00 26 92 19 74 86 3 the inserted module is now displayed in the network view and slaves can be added by drag amp drop from the Device Library c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN File Description Library Network Devices Items Help o E RRE sb a a CEPU CH1 a TCP IP 192 168 000 052 melonlfw c Eg Description DEMO MASTER MELPNIFW CCPU Configuration ef MELPNIFW CCPU PROFINET 192 168 000 052 1 CH1 PROFINET 10 Controller Sa 29 8 E Device Library we Network Detection a de WAGO I 0 SYSTEM gt El Fon TAN Lind an MAA mr Date Time Level Event 08 03 11 15 14 49 Information Configuration loaded 08 03 11 13 19 37 Information MELPNIFW CCPU added O Output Message View TT A NUM DEF 7 or by scanning the networ
106. ce has to be called This function will return the number of IO devices NbIOD detected on the LAN After IO Device Detection service should be called Nb IO Device times or until the returned status equal to 0 A status 5 is returned when all detected lO devices have already been requested by the service lO Device Detection Note lO devices are returned in the same order in which they answered to the DCP identify request Two consecutive calls to network detection can result in two different lists Record Block Implicit Read non connected Request format Word Value Offset RequestID PLC value Shall contain the IP address on o fem h c 2011 MITSUBISHI ELECTRIC CORPORATION NN GX Configurator PN API number used to perform the read Ce Error gt smon son ries IES byte mafe CS Response Positive Format Status 0 Word Offset RequestID Same as the request y DevicelD Requested device H o ooo c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q NES Response Negative Format Word Offset Request ID Same as the request o foa CTO e oaen fo 7 Eroe feo a eee ee e wc feo CEC Possible Values for Status Ee O O O ome fe em c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Record Block Explicit Write connected Request format Word Value Offset RequestID PLC value Requested device F API number used
107. cel Close dialog and do not display IO documentation or export PLC code Store the displayed messages in a text file IO Documentation An HTML document with the global variables and corresponding buffer devices is generated and displayed in the default web browser The document can be saved or printed for documentation purposes CHECKS Mozilla Firefox File Edit View History Bookmarks Tools Help C CHECK3 Project CHECK3 hm Name Model Modules No Global Var In lot Model Global Var Out 0 IM151 3 PN HF V6 1 A EE EEE PM E DC24 48W im151 3pn IM151 3 PN HF V6 1 Basie 2D0 DC24V 0 5A ST SLVISLOTOO2DataStructOut JDI DC24V HE EAS ctin Global Var In Global Var Out IP6 PROFINET IP6 PROFINET 10 Device universal 0 10 Device universal f black molex harsh600 1p67 A a AA A A c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface NOS 7 10 1 Update Parameters Dialog This dialog lists which refresh settings are updated Update Pararneters Description Choices Range Update Q CPU If selected the refresh settings in the read only selected online parameter file on the CPU are updated Update PROFINET If selected the refresh settings in the read only amp selected Controller online parameter file on the PROFINET Controller selected are updated via FIP unselected If the FTP connection has not been enabled this item is not selected Update PLC lf selecte
108. ched to G4 module In a CC IE Control network MX Transfer Setup Wizard Network T x Station type Other station In a CC IE Field network c 2011 MITSUBISHI ELECTRIC CORPORATION 275 GX Configurator PN MX Transfer Setup Wizard Network x Station type ot er station Y Please select the Metwsork Station type other station gt Connect station Mo 2 Metyyork MELSECNETH OH Metwork route Mode MELSECMETH 0 MELSECMETA O MELSECMETIH Pressing the lt Next gt button opens a page for specifying the station type and address In an Ethernet network c 2011 MITSUBISHI ELECTRIC CORPORATION Appendix 276 Communication Setting Wizard Network x Please select the Metwork Station type Other station Connect station Mo 2 Metyuork Ethernet Metwork route Pressing the lt Next gt button opens a page for specifying the station type and address In a C24 network Communication Setting Wizard Network a x Please select the Metwsork Station type Other station Connect station Mo 2 Metuork C4 Metwork route Network type 24 NO address OOOO Pressing the lt Next gt button opens a page for specifying the station type and address c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN 9 3 2 23 PLC CC Link IE Field Ethernet Adapter Enter the IP address or host name of the CC IE Field adapter MX
109. cted also the subfolders of Selected not Not the selected directory are searched selected selected for GSDML files Directory or File Name Path of the selected file s directory Browse Open a file dialog for selecting the GSDML file s or the directory to search Default button Next Proceed and add the selected file or scan the selected directory Close wizard and discard changes File Already Exists Warning lf a file is to be added which already exists in the library a warning is displayed The existing type is not overwritten If it should be replaced the existing entry must be deleted first c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 90 File Already Exist The duplicate tle GSOML VW2 2 wago senes 50 753 207 00525 xml is already in the device library This file will not be copied Do Not Display this Message Again Close Add GSD File Completed Page After adding one or several GSD files to the library the next page shows for each selected GSD file whether it has been added to the library or not GSDML Management File Name Status t GSDML V 2 wago seres750_753 201005252ml This GSDML already exists in the devic f GSDML V 2 wago series 767 20100525 xml OK La a Column File Name Name of GSDML file Column Status Status added or failure Columns Family Additional information taken from Name Schema the GSDML file c 2011 MITSUBISHI ELECTRIC CORPORATION
110. d the parameter file in the read only amp selected Project assigned GD GID project is updated selected if unselected project If no GD GID project has been assigned path set this item is unselected Close dialog and save changes Default button For the data transfer between Qn CPU and PROFINET Controller both must contain matching refresh settings Therefore in general both Qn CPU and PROFINET Controller should be updated simultaneously c 2011 MITSUBISHI ELECTRIC CORPORATION 145 GX Configurator PN 7 10 2 Multiple CPU Refresh Settings Dialog The refresh settings on the controlling Qn CPU and on the PROFINET Controller can also be modified via the PLC programming software In order to control the actually existing settings this dialog lists the settings on all CPUs or in the selected parameter file A Multiple CPU Refresh Settings e iia ome Refresh Settings on CPU CPU No 1 I O No 03 0 hA Refresh Settings on CPU CPU No 2 I O No 03E1 X CPU Total Size Words I O No User Size Words Refresh Size Words CPU Total Size Words I O No User Size Words Refresh Size Words No 1 3072 0x3E0 848 2224 No 1 3072 0x3E0 848 2224 No 2 3072 OEL 512 2560 No 2 3072 Ox3E1 512 2560 Refresh Blocks for CPU Outputs of CPU No 1 I O No O3E0 v Refresh Blocks for CPU Inputs from CPU No 1 I O No 03E0 No Size Words Start End No Size Words Start End 1 118 Y
111. d CCPU CHI Tt a 34 4 TCP IP 192 168 000 052 q12dccpu w PN HF V6 1 TCP IP 192 168 000 052 ql2decpu w 53 i IPG PROFINET 10 Device 1 be20 BN PNIO DIS 270 VO2 01 00 FW 02 Extende FINET VO V2 1 Name Description Zone of 4 bytes entered in pointed decimal notation representin he Intemet address or IF address of the controller othe configuration MAI NUM DEF y 5 download the configuration this includes setting the IP address from the default setting of the PROFINET Controller to the address assigned in the GX Configurator PN project File Description Library Network Devices Jte D Configuration Manager El save S amp Lista Print Pa PLC Settings Download Configuration Download Configuration in Memory Card Preferences Message View 6 update the refresh settings on both the controlling Qn CPU and the PROFINET Controller in the PLC Settings dialog c 2011 MITSUBISHI ELECTRIC CORPORATION Installation JA CLontiqurator FW File Description Library Network Devices Ite D Configuration Manager lel Save E List and Print PLC Settings Fa Download Configuration cad Download Configuration in Memory Card Preferences Message View D t PLC Settings Start I O No M Update PROFINET Controller online Start YON Update PLC Project PLC Program Outputs Bur PROFINET xO XGFF Acyclic Buf D2100 D4541 Cyclic Outy D4592 D4645 c
112. d as follows e Checked the O Dewce is to store its new name in non volatile memory When it is next turned on it must use its new name e Unchecked the lO Devce is to store its new name in volatile memory When it is next turned on it goes back to its old name The result of this command will be displayed in the Request status field Naming rules for an lO Device The name of an lO Device is made up of 1 to 240 characters and must comply with the following rules 1 or more labels separated by the size of a label varies from 1 to 63 characters total size sum of all label and character varies from 1 to 240 characters the allowed characters are a z0 9 upper case letters are prohibited labels may not start with labels may not terminate with labels may not start with port xyz or port xyz abcde where a b c d e x y z 0 9 Configure the IP Address of an lO Device c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 100 When an lO Device is selected from the list the TCP IP configuration of the selected lO Device is shown in the addressing field and the Apply button is enabled Addressing Addressing Mode DHCP Based on Client Identifier IF Address Sub Hetwork Mask Gateway IP Address Permanent There are three available addressing modes e DCP In this mode although the lO Device has a TCP IP configuration when an lO Controller connects to this IO Device the lO C
113. d by the gateway and the network of valid IP addresses Gateway IP Address IP address of a machine which can perform routing to another network PROFINET is not an IP based protocol It will not be possible to route I O exchanges through a gateway Controller Name PROFINET name of the lO Controller Provides help on the selected field read only OK Close dialog and save changes Default button IP Address Manager The IP Address Manager service manages the IP address allocation for IO Devices present in the configuration c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 108 TCP IP 192 168 000 052 ql2decpu v IP Address Manager is Rani Enable this Service E Beginning IP Address End IP Address Sub Nebwork Mask 192 168 000 001 192 168 000 255 Address Assignments Assignments fram Network scan Device Name MAC Address IP Address Configured Assignments Device Name IP Address q12decpu r 192 168 000 052 Description Choices Range Address define one or more IP address ranges anges IP addresses from these ranges will be distributed by the console when an lO Devce is added The address ranges are managed using the following buttons E Creates an address range E Edits the selected address range Deletes the selected address range Address To reserve IP addresses for predefined lO Assignments Device names c 2011 MITSUBISHI ELECTRIC CORPORATION 109 G
114. de U Q JU A CPU U fama a i meseme x apo fenent of of e x x E of x of x x o Accessible x Inaccessible 1 Including motion controller CPU 2 partially supported depends on CPU type meer ete AER Mevseoneio 0 o o o o QnA mode c 2011 MITSUBISHI ELECTRIC CORPORATION 273 GX Configurator PN Connected Station CPU Relayed Station CPU O QCP ana ACP Network via CP UJU FxeP mode 4 U X X X ESESERE px fot x px tol x px tol x CC Link CC Link IE o Accessible x Inaccessible 1 Including motion controller CPU X X X X X X X A mode Connected Relayed Station CPU Station CPU Relayed QCP QnA A Network QCP QCP QnA ACP FX U A CP CPU U Q U A CPU U CPU mod U 4 mod mod 4 e e e p x MELSECNETH x x xo MELSECNET 10 x x xo OA NES a MIA TE oa Tatas alle ae alados aa ada Qs de o Accessible ocum x x x Inaccessible 1 Including motion controller CPU Host station attached to G4 module c 2011 MITSUBISHI ELECTRIC CORPORATION Appendix 274 Communication Setting Wizard Network gy x Please select the Metwork Station type Host station Connect CPU series la CPU type faoz CC Link module Mo 0 Multiple CPU Pressing the lt Next gt button opens a page for entering a comment for the connection Other station in a network atta
115. device device n n executed vV PN_MGMT_OUTPUTS Trig command for v PN_MGMT_INPUTS IOD command for device OD_CMD_HSK_Y 127 device 127 _CMD_HSK_X 127 127 executed Example for Starting PROFINET Communication If the data exchange mode for an lO device is set to automatic corresponding bit in IOD MGT MODE is 0 the cyclic data exchange with the device is automatically initiated when the PROFINET Controller is started by setting IOC START STOP If the device is however set to manual mode the data exchange between the PROFINET Controller and the device must be started separately by setting the bit in IOD START STOP DEV which corresponds to the device The PROFINET Controller only evaluates a bit in IOD START STOP DEV if the equivalent bit in IOD CMD HSK Y is set c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q NON Start communication for an lO device which is in manual mode lOD_MGT_MODE slave index 1 1 Start data exchg with device A set command request bit Clear command request bit fi 10D_CMD_HSK_Y i 1OD_START_STOP lOC_START_STOP Master sets command response bit 3 Master clears command response bit Data exchange with device i OD CMD HSK X Cyclic Communication Area Process Data Cyclic Data Exchange From the PROFINET perspective the cyclic communication is a continuous transfer of input and output data between the lO controller and each lO device with
116. device to the current network configuration Command Insert and Replace All Removes the devices currently configured and adds all devices found Command Properties Opens the view with the properties of the selected device c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 96 7 2 2 Online Action Tool a The Online Action tool is started via either the menu item Online Action or by pressing the sl il button When the tool is started it issues requests to detect PROFINET stations on the network Devices on the Network Number of Nodes on the Network ag Name lab harsh 0039 lab harsh 0042 lab harsh 0045 lab harsh 004e lab harsh 0051 lab harsh 0060 lab harsh 0063 lab harsh 0066 lab harsh 0069 lab harsh 0072 lab harsh 0075 lab harsh 007E Scanning 128 127 060 120 126 127 060 129 126 127 060 126 128 127 060 123 128 127 060 125 126 127 060 133 126 127 060 130 128 127 060 128 128 127 060 124 126 127 060 132 126 127 060 121 Device Type Addressing Addressing Mode DHCP Based on Client Identifier IF Address 00 40 91 2F 00 39 00 40 91 2F 00 42 00 40 91 4F 00 45 00 40 91 2F 00 4 0040 91 2F 00 51 00 40 91 2F 00 650 00 40 91 2F 00 63 00 40 91 2F 00 66 00 40 91 2F 00 69 00 40 91 2F 00 72 00 40 91 2F 00 75 Spee eee DCP DCP DCP DLP DCP DCP DCP DLP DCP DCP DCP Blinking Test a Poe ee ee Gateway IP Ad
117. dress GSOML Presence Request Status Status Description Choices Number of Nodes on Number of network nodes found the Network Network Nodes Table Shows the PROFINET stations present as well as their name IP address type MAC address and addressing mode If checked the network nodes list is refreshed every 3 seconds Otherwise the list is not refreshed again MAC Address Ethernet address of the selected device ie Scanning c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Description Choices Range Device Type Type of the selected device Factory Reset sends a DCP request to the lO Device telling it to restart with its factory default settings The result of this command will be displayed in the Request status field MAC Address 1 00 40 91 2F 00 66 Device Type IPB Factory Reset Name ofthe selected device of the selected device Permanent Name Checked the lO Devce is to store its new name in non volatile memory After the next power cycle the device must use its new name Unchecked the lO Devce is to store its new name in volatile memory After the next power cycle the device goes back to its old name Apply Name sends a DCP request to the lO Device telling it to use its new name The result of this command will be displayed in the Request status field For further information see Naming an lO Device Addressing Mode There are three
118. e Close dialog and save changes Close dialog and discard changes UN Default button c 2011 MITSUBISHI ELECTRIC CORPORATION 131 GX Configurator PN 7 8 4 Device Connection Information Tab Show online status information for the respective lO device 750 370 VO2 01 300 FW 02 General Module Configuration Parameter Connection Information I O Data GSDML File Connection State List of Invalid Modules in Configuration Mame Value PROFINET Status Status Description Production Time Current Max Description Choices Connection State Indicates whether the lO Controller is connected to or disconnected from the lO Device PROFINET The values of the stati displayed are those Status defined by the PROFINET standard List of Invalid The lO Controller may connect to an lO Device Modules in with an imprecise module configuration In this Configuration case the lO Device may accept the connection while indicating the differences between the configured modules and the modules making up the lO Device Configured identification Number corresponds to the module configured in the c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface Description Choices Range engineering tool Actual identification Number the value for the module present in the lO Device Module status current status of the module in the lO Device Production Time Shows the configured and the current cycle time for the d
119. e schema definition View or Print GSDML Displays the GSD file File contents in the default text editor from they can be saved or printed Previous Show properties of previous Disabled if the device device is the first in the list c 2011 MITSUBISHI ELECTRIC CORPORATION NOS GX Configurator PN Show properties of next Disabled if the device device is the last in the list OK Close dialog and save changes Cancel Close dialog and discard changes 7 2 Network Detection Instead of manually adding device types to the network configuration the user can scan the network of the PROFINET Controller for connected devices and one or several of these devices to the current network configuration 0 pi EA Device Library rl Network Detection E TT Network ie Read Network Configuration Ctri R be Online Action _ Insert in Configuration Insert and Replace All Properties The context menu of the Network node corresponds to the Network Menu in the main menu Network Tree c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 4 HB BI ctl mf chelo ma E Module Configuration i O00 IMiS3 4 PN v2 0 f O01 SM 323 DISIDOS lt DE244 70 54 et200s vert A ethio pnio dev1 E Module Configuration f 000 PCU ETHIO PCIE ETHIG E 001 Input 36 Bytes f O02 Output 36 Bytes Ha gino ctrl E iepb link a
120. e Installation GX Configurator PN Setup To install the GX Configurator PN software you need to have Microsoft Windows properly installed You may require administrator privleges when installing the software If an older version of GX Configurator PN is already installed uninstall it first After the de installation please start the installation of the new version If you want to keep the older version of GX Configurator PN please select a different directory for the new version A de installation of the older version after the newer version has been installed will also damage the newer version Therefore please reinstall the new version after uninstalling both the older and the newer GX Configurator PN versions if you encounter problems Please stop all other running software before the installation and do not run other installation programs during the installation of GX Configurator PN Installing GX Configurator PN To start the installation proceed as follows 1 Insert the installation CD ROM into your CD ROM drive 2 If you have Autorun enabled for the drive the setup should start automatically 3 If the setup is not started automatically please locate the setup exe file and execute it 4 If you see the following message on a Windows Vista operating system please select Allow User Account Control Don t run the program unless you know where it s from or you ve used it before C setup exe kez Unidentified Publisher
121. e check the manual and other documentation Transfer Setup Wizard The transfer setup is used for the configuration of communication links from the PC to a PLC system The settings for a communication link between PC and PLC are entered in a set of dialogs These are organized as a series of sequential pages Moving between adjoining pages is done via the Back and Next buttons c 2011 MITSUBISHI ELECTRIC CORPORATION 189 GX Configurator PN fo Connected station IBM PC AT compatible Relayed station Mx Lamponari set the connected network between the IBM PC AT Wizard 1 compatible and connected station PLC CPU and module Wizard 2 set the connected station PLC CPU and module set the relayed network between the connected station PLC CPU and module and relayed station PLC CPU and module set the relayed station PLC CPU Wizard 3 Communication setting Connect port com All Ports Time out 1000 ms The items shown in the Communication setting box depend on the selected PC side interface Choose the PC side l F to communicate with The available interface types are listed below PC side I F Selection Communication Type USB va GOT USB communication via GOT c 2011 MITSUBISHI ELECTRIC CORPORATION Appendix 190 PC side I F Selection Communication Type Computer link communication CPU COM communication CC Link G4 communication After setting the p
122. e function block must be called multiple times The oldest alarm is returned first Instance ALARM LOG REQ VALID BUFFER 2 BUSY ID ERROR STATUS RECORD ee ee Input BUFFER 2 Bool O Buffer 1 for acyclic request is used 1 Buffer 2 for acyclic request is used wo Data in the output RECORD is valid Output STATUS Word Last detected status possible values O Status OK 1 Profinet stack not started 2 No Ethernet link 7 Device not configured 8 Profinet error 9 No Alarm in log for this device Read data RECORD c 2011 MITSUBISHI ELECTRIC CORPORATION PLC Code for PROFINET Controller 164 LENGTH NT Read data size in byte The read alarm log data is moved to the output RECORD by using a block move operation The user has to configure an array variable for this output with the corresponding number of elements Date of the ME1PN1FW Q when the frame has been received Time of the ME1PN1FW Q when the frame has been received Alarm Type API number used to perform the alarm Alarm Priority ID of the submodule Manufacturer specific Slot number of the alarm Subslot number of the alarm Alarm specifier Call FB Alarm_Log CS ID of the module Manufacturer specific c 2011 MITSUBISHI ELECTRIC CORPORATION 165 GX Configurator PN Alarm_Log_1 ALARM_LOG M50 REQ VALID M51 FALSE BUFFER_2 BUSY M52 22 1p ERROR M53 STATUS W6 RECORD to
123. e network equals the number of array elements Standard Device Information Input EXTENDED is not set lf EXTENDED has been set to FALSE only standard device data is returned For each detected device the variable VPN_DEVICE_DETECT_DATA contains the following information Offset Mac_Address Bytes3_ Mac Address of the Device second word 4 Mac_Address Bytes5_ Mac Address of the Device third word 6 A Mac_Address Bytesi_ Mac Address of the Device first word 2 Extended Device Information Input EXTENDED is set lf EXTENDED has been set to TRUE additional device data is returned The DUT tPN_DEVICE_DETECT_DATA must be expanded by appending an ARRAY 0 134 OF WORD to the standard structure For each detected device the variable VPN DEVICE DETECT_DATA contains the following information c 2011 MITSUBISHI ELECTRIC CORPORATION 151 _ ox Configurator PN Variable Pos Value Offset C VendorlD VendorlD of the device IP_ Address IP address of the Device Subnetmask Subnet mask of the Device 5 Gateway Gateway IP Address ofthe Device IP Address of the Device Ts Mac_Address Bytesi_ Mac Address of the Device first word e Mac Address of the Device second word ie y Mac_Address_Bytes5_ Mac Address of the Device third word A Size of the device name 240 Size ofthe device name 240 bytes max max a eerane ssn Daten Size of Type field 25 bytes max Note the lO devices are returned
124. e target PLC is in a different network the network number of that network must be provided additionally to the station number of the target PLC Pressing the lt Next gt button opens a page for entering a comment for the connection c 2011 MITSUBISHI ELECTRIC CORPORATION 9 3 2 26 GOT Side Settings PC Serial Interfaces USB and RS232 For USB and RS232 serial connections between PC and GOT the following interfaces of the GOT can be used to connect to the PLC o GOT Serial Interface o GOT Bus Interface o GOT Ethernet Interface The interfaces which are actually available on the GOT depend on the specified GOT hardware used GOT Serial Interface MX Transfer Setup Wizard GOT side x Please select the GOT PLC VF GOT PLC VF Connect module CPU module 071024 LJ71C24 Connect module CPU module type of connected unit on the PLC side QJ71C24 LJ71C24 GOT Bus Interface c 2011 MITSUBISHI ELECTRIC CORPORATION 295 GX Configurator PN MX Transfer Setup Wizard GOT side i x Please select the GOT PLC VF GOT PLC VF Bus Communication setting Connect module cru module CPU module GOT Ethernet Interface MX Transfer Setup Wizard GOT side X Please select the GOT PLC VF GOT PLC VF Ethernet Communication setting Connect module CPU module CPU module OIF TE 1 CC IE Field Ethernet adapter c 2011 MITSUBISHI ELECTRIC CORPORATION Connect module CPU module t
125. e transfer setup editor for the configuration of the connection to the Q series PLC Tries to connect to the Q series CPU and to the Profinet Controller via FTP and shows the results Starting I O number of the Q CPU which fixed Ox3E0 Ox3E0 controls the PN controller corresponds to sequential index of Q CPU c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 140 Description Choices Range Start I O No Starting I O number of the PROFINET fixed 0x3E1 0x3E1 PROFINET Controller corresponds to sequential Controller index of CCPU PLC Programming Contains the path of the corresponding empty Project PLC project file for either GD gppw gpj or GID softctrl pro Browse Opens a file dialog for selecting the GD or GID project Outputs Lists the output buffers QCPU gt PROFINET Controller only the device addresses in the Start column are editable other columns are readonly for input in the Start column see Supported PLC Device Types below Inputs Lists the input buffers QCPU lt PROFINET Controller only the device addresses in the Start column are editable other columns are readonly Update Parameters Opens the Update Parameters Dialog and executes the listed updates Diagnosis Verify Opens the Multiple CPU Refresh Settings dialog IO Documentation Generates an HTML document with global variables and buffer devices Export PLC Code Opens a file dialog
126. ecify ENET Setting of IP address BJ Mov HCOA8006E 192168 0 110 CO A8 00 6E Setting of Subnet mask P Mov HFFFFFFOO 255 255 255 0 kk llo loo bl FF FF FF 00 i TI Setting of Gateway fe Mov HCoA80001 D1006 rr de 192 168 0 1 CO A8 0001 ads 5 When connecting tw o or more PLCs to a network do not use the IP address twice Example Personal Computer GX IEC Developer 192 168 0 10 PLC1 192 168 0 110 PLC2 192 168 0 111 PLC Ethernet CPU lf TCP has been selected in the previous page the following page is displayed c 2011 MITSUBISHI ELECTRIC CORPORATION 269 GX Configurator PN Communication setting Host lP Address 192 168 10 17 Find CPU Built in Ethernet port on network The IP address of the Ethernet interface can be manually entered or looked up online Pressing the Find CPU button opens the Find CPU dialog in which the QnUDE and L series CPUs in the local network are listed lf UDP has been selected in the previous page the additional option Ethernet port direct connection is displayed Mx Transfer Setup Wizard PLC side X Please select the PLC side liF PLC side F Ss Communication setting Ethernet port direct connection Host lP Address 192168 0 31 Find CPU Built in Ethernet port on network Cancel Back ext lf the option Ethernet port direct connection has been selected the Ethernet interfaces of PC and
127. ed configuration in the default text editor c 2011 MITSUBISHI ELECTRIC CORPORATION Main Menu a4 Print Prints the selected part of the configuration on the default printer Print All Listing Prints devices and items on the default printer 6 2 Description Menu iL Add MELPNIFW Q Ins Delete MELPNIFW Q Del Properties Space The menu contains the following commands Add ME1PN1FW Q Add PROFINET Controller to configuration Delete ME1PN1FW Q Remove PROFINET Controller from configuration Open Properties dialog for PROFINET Controller Command Add ME1PN1FW Q Add a ME1PN1FW Q to the configuration Command Delete ME1PN1FW Q Remove the ME1PN1FW Q from the configuration 6 3 Help Menu Console Help P About The menu contains the following commands Console Help Opens the online help Displays version information c 2011 MITSUBISHI ELECTRIC CORPORATION 35 GX Configurator PN 7 7 1 User Interface Device Library The device library is the local collection of descriptions for types of PROFINET I O devices af 2 El Device Library hae Network Detection o Device Library o A yo Sg WAGO 1 0 SYSTEM 750 753 H 750 340 V01 00 xx FW 01 f We 750 340 VOL OL ocx FW 02 T 750 340 VO1 02 0 FW 03 oe 750 370 V01 00 50 FW 01 750 370 VO2 01 0 FW 0 750 370 VO2 012x FW 02 Extended DAP The parameters used for configuring an IO Devce are contained in a GSDML
128. eed area in Acyclic PROFINET word pons start Buffer Management Outputs 10000 15119 13196 11096 10978 11095 14095 13195 Inputs 5 10000 15119 12372 10272 10160 10271 13071 12371 Shared Memory Structure Data from Qn CPU to PROFINET Controller Block Global Variable Identifiers Description number in Exported PLC Code for PLC c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN High Speed Transmission Area 0x2710 Ox5FOF vPN_ MGMT OUTPUTS IOC ST Allows to start or stop the ART_STOP PROFINET lO Controller vVPN_MGMT_OUTPUTS IOD_M Allow to set lO Device GT_MODE management in automatic or manual mode vVPN_MGMT_OUTPUTS IOD_ST Allow to connect or ART_STOP_DEV release connection with an lO Device vVPN_MGMT_OUTPUTS IOD_C PLC to PROFINET MD_HSK_Y Controller handshake flag to perform command indicated in IOD START STOP DEV vPN_MGMT_OUTPUTS IOD_M Allow to enable or disable GT ALARM alarm management by BLOCK 1 PLC Size 118 vPN_MGMT_OUTPUTS IOD_C Allow to enable or disable ONSIST the handshake mechanism for I O data so having consistency enabled VPN_MGMT_OUTPUTS IOD_IN PLC to PROFINET PUT_HSK_Y Controller handshake flags for Inputs VPN_MGMT_OUTPUTS IOD_O PLC to PROFINET UTPUT_HSK Y Controller handshake flags for Outputs vPN_MGMT_OUTPUTS ACYC_ PLC to PROFINET HSK_Y_REQ1_EXECUTE and Controller handshake bits ACYC_HSK_Y_REQ2 EXECUTE for acyclic
129. emonstrated using GX IEC Developer GID 1 Complete the PROFINET network configuration and open the PLC Settings dialog sa GX Configurator PN File Description Library Network Devices Ite O Configuration Manager mj Save Ctrl 5 3 List and Print Fa Download Configuration 1 a Download Configuration in Memory Card Preferences d Message View d 2 Assign device addresses to the input and output buffers Make sure that the buffers do not overlap and are not used by other parts of the PLC program PLC Settings PLC Connections Update Parameters CPU Connection Settings Test Connections Ox3E0 Ox3E1 Diagnosis Verify 10 Documentation Start I O No Q CPU Start I O No PROFINET Controller PLC Programming Project Outputs Buffer Words PROFINET Manage 118 2100 Inputs End YI5F 02099 04591 Buffer PROFINET Manage Acyelic Buffer Acyclic Buffer Cyclic Output Cyclic Input c 2011 MITSUBISHI ELECTRIC CORPORATION PLC Code for PROFINET Controller 174 3 Export the PLC code PLC Settings PLC Connections Update Parameters CPU Connection Settings T j Diagnosis Verify Start 1 0 No Q CPU IO Documentation Date modified Type T e 2 pn_iomap_check asc 02 09 2011 16 45 ASC File Recent Places a Me Computer ly pn_iomap_check asc Start I O No Update PROFINET Controller online Sta
130. ene eae att ata eee Ts 294 EAEE 0 00 lt 1 2 no en a eee er A a me ete 298 9 3 3 Special Se ID S cetes sees cece ceca rece cece cone cs cence cesta seae traced ee cecegt de ie aeesae ce eaceeeeascnarescaceececchccsaes cca secessbecacters 299 Communication w ith Multi CPU SySteMS ooo eee ccccceccccececeeencceceecceeeeecccececsecenececeeseeetenseeeeeeesensureeeeeeseees 299 Restrictions w ith Q00 QOOU and Q01 CPUS oii cceccessecceceeneeeeceennecseseneeeesseeeeeevecsneeeeesennneeeesssaeees 301 piclel6 ete A A A a 302 Index 311 c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN 1 How to Use This manual 1S a compact guide to using GX Configurator PN software suitable both for beginners and experienced users upgrading from other systems The manual includes explanations of the terms and structural concepts about the software and the configuration of an open network system The manual provides a precise step by step description of how to use GX Configurator PN including sample projects The PLC series MELSEC Q Series is referenced as MELSEC system Q in this manual If you are not yet familiar with MS Windows please at least read the Windows Fundamentals section in the Windows User s Guide or work through the Windows Tutorial accessible through the Help menu of the Windows Program Manager This will teach you what you need to know about using the basic elements of Microsoft Windows and the operating procedur
131. er Interface 85 7 1 DEVICE ADAN x2 cisven cai ct aie sanemecaiceast a papssane ve saveneageconswcsauweneces 85 7 1 1 Mori AAA AA Oe stus ducateds teweencsuetenunceeconch sabe E 86 7 1 2 GSDML Management Dialog siccictsccentecscscesssoss ceesessacececd serene sateen wae asad die cntee sta nnmnnn tes eae aceceeee cece ete 88 7 1 3 Device Type Properties Dial g nina 92 7 2 NetWork Dete CUO IN aiii raoba 93 7 2 1 INGE EW ORK MENU secccscecancececessacabiceccsidsesstscacecaces ite ches oscuaiaseceauacestepacacesiesiepedcosssetaceceascaseaaencaecasssaacnadectaatenweceeanee 95 7 2 2 ONNE ACUO TOO ocios 96 7 3 PROFINET NetWork Ve Wo lia 101 7 3 1 Devices Meliana 102 7 3 2 DIS play OpUon Dial a ita 103 7 3 3 Channel Properties Dial irisito anaana e ae aaa aaia ahaaa iaka a sai aiaa iia 104 c 2011 MITSUBISHI ELECTRIC CORPORATION l GX Configurator PN 7 3 4 7 4 7 4 1 7 4 2 7 4 3 7 5 7 5 1 7 5 2 7 6 7 6 1 7 6 2 7 6 3 7 6 4 1 7 7 8 7 8 1 7 8 2 7 8 3 7 8 4 7 8 5 7 8 6 7 9 7 9 1 7 9 2 7 10 7 10 1 7 10 2 7 11 8 1 8 1 1 8 1 2 8 1 3 8 1 4 8 1 5 8 1 6 8 1 7 8 1 8 8 2 8 3 9 1 9 1 1 9 2 9 3 9 3 1 9 3 2 IP Address Ma at 106 EMS VIC Winston 110 O An veete 110 Items Properties Dialog rinneas anian iia 111 tems Declaration Dialog riseire a a a aa a a a aa nE a EA Aaaa E E ite 112 Message VIEW spissa e E Eaa A E ER a 116 Message VIEW Mel dataci n 116 Message View Configur
132. ermanent Checked the lO Device is to store its new IP configuration in non volatile memory When it is next turned on it must use its new IP configuration Unchecked the lO Devce is to store its new IP configuration in volatile memory When it is next turned on it must use its new IP configuration Apply sends a DCP request to the lO Device for it to use its new TCP IP configuration The result of this command will be displayed in the Request status field For further information see Configure the IP Address of an lO Devce Blinking Test If the GSDML file of the selected device exists in the device library and contains the DCP_FlashOnceSignalUnit tag the text from the GSDML file indicates the device behaviour when it receives a DCP flash command Device Blinking The Blinking Device dialog is displayed and DCP blink commands are sent to the device c 2011 MITSUBISHI ELECTRIC CORPORATION 99 GX Configurator PN Description Choices Blinking Device Close dialog Default button Request Status Lists the results of the commands issued in this dialog Naming an lO Device When an lO Device is selected from the list the name of the selected lO Devce is shown in the Name field and the Write to device button is enabled Name lab harsh 0066 Permanent Name Apply Name This command sends a DCP request to the lO Devce telling it to use its new name The Permanent name checkbox is use
133. es on a Microsoft network 6 Select Protocol from the List and click Add to open the Select Network Protocol dialog A protocol is a language your computer uses to 7 Select MITSUBISHI ELECTRIC from the Manufacturer List and after that MITSUBISHI DCP driver from the Network Protocol List Then click OK to confirm the selection c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN AA Click the Network Protocol that you want to install then click OK Ff you have 3 an installation disk for this feature click Have Disk Network Protocol MITSUBISHI DCP driver i MITSUBISHI ELECTRIC iie This driver is not digitally signed Tell me driver signing is important The MITSUBISHI DCP driver is now added to the Protocol List in the dialog Local Area Connection Properties 4 3 3 Windows 7 1 Open the Control Panel and click View network status and tasks to open the Network and Sharing Center ar ssl t Control Panel Adjust your computer s settings View by Category System and Security User Accounts and Family Safety Review your computer s status Add or remove user accounts Back up your computer BY Set up parental controls for any user Find and fix problems p Appearance and Personalization Change the theme Change desktop background Adjust screen resolution l Hardware and Sound Clock Language and Region View devices and printers aii Change keyboards or other inpu
134. es that are identical in all Windows application programs If you have problems with parameter settings please refer to the users manuals of the concerning open network modules If you get stuck dO not despair help is never far away If you run up against seemingly insoluble problems or if you have questions about GX Configurator PN or the connected programmable logic controller PLC configuration please first refer to the manuals and documentation Many answers and solutions can also be found directly in the GX Configurator PN context sensitive online help system which can always be accessed by pressing the lt F1 gt key If you cannot find answers to your questions in any of these places contact your local MITSUBISHI ELECTRIC representative or call our European headquarters in Ratingen directly The addresses and phone numbers are provided on the back covers of our manuals c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PNIFW Q 2 2 PROFINET Controller ME1PN1FW Q The ME1PN1FW Q is a PROFINET RealTime RT communication master based on the hardware of the Q12DCCPU V The restrictions of the Q12DCCPU V with regard to environmental mechanical and electrical conditions apply The following drawings indicate the parts of the ME1PN1FW Q lt i 3 5 Front face with cover closed Side face Bottom face Parts list no nme een 1 Indicator LEDs for
135. es the right to change the specifications of its products and or the contents of this manual at any time and without prior notice O 2012 MITSUBISHI ELECTRIC CORPORATION Contents Table of Contents 1 How to Use 1 2 PROFINET Controller ME1PN1FW Q 2 2 1 Shared Memory PEC Interface ina 5 2 1 1 M nagement Area A dae E A aaa 11 2 1 2 Gyeclic Communication Area a es es 14 2 1 3 Acyclic COM MUMICALION Area ass 20 2 1 4 Network PRAGA OSUICS oasa e ONES 48 2 1 5 PLC Program Wath Oi A id 53 2 1 6 PLC and PROFINET Controller States RUN STOP sssssseeneeeeeesescceceseesenseneeeeeeeeeseneooeeeseesenseeseees 54 2 2 LEDS AV o te ole Lo 54 2 2 1 User LID a O 54 222 Segment LED Display sia iia 55 3 Getting to know GX Configurator PN 57 4 Installation 58 4 1 Sy stem Requirements ii iS 58 4 2 Software Installati n ini ad ias 59 4 3 Installing the DCP Protocol Driver oocooocococococcocococoncocoroconnncaroronnanararnrnnnarararnnnanararnanananaso 63 4 3 1 WNOAOW S A o a da ao cee Sener oe 64 4 3 2 WINCOWS VISTA nos A A e eaa aa aiana 67 4 3 3 WMAOW e 71 4 4 PROFINET Controller Installation ccccscscecescececesesceceseeceeuaeeceneaeeceeuaeeceeneeceneseeneneaeens 74 5 Getting Started 77 6 Main Menu 81 6 1 Fle Menu catala ias 81 6 1 1 Preview or Print Listings Dialog cooccncnonnconnnonncnnononocanenanenanccano canon ono nono rara 83 6 2 DESCHDUON Meliana 84 6 3 AA PPP Se etiaatirenas enous a EESE 84 7 Us
136. etting am Group name AAA application side cael Select the name of the group where the selected AT command is copied to Details setting dialog Set details for telephone line connection c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Details setting xj Line connection CD signal wait time seconds Line connection modem report wait time 5 seconds Line disconnection CD signal wait time 5 seconds Line disconnection delay time 4 seconda Data transmission delay time 0 seconds AT command response wait time D Seconds Password cancellation response wait time 5 seconds AT commandipassyword cancellation retry times Ea times Line callback cancel wait time 390 seconda Call back delay time 20 seconds Call back reception wating time out 120 seconds CH CANCEL CI E A Set the maximum time to wait for the carrier detect signal to be set Default 90 Increase the time if the CD signal does not turn ON within the set time Line connection CD depending on the line connected region example overseas signal wait time Setting range 1 to 999 Set the line connection modem report wait time Default 5 Line connection Increase the set time if the response speed of the modem is low modem report waiting time Setting range 1 to 999 Set the maximum time to wait for the carrier detect signal to be dropped Default 5 Increase the set time if the CD signal does not turn OFF
137. ettings in this tab will be sent to the lO Device during the connection phase Module Configuration Parameters Name Value Restart on K Bus Failure POWER ON RESET Module Extension EEPROM setting is used Diagnosis of extemal module channel emors enabled Process data representation MOTOROLA MSB LSB Response to PROFINET 10 failure Substitude values are switched Response to K Bus failure PROFINET lO communication stops m m m Description c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Description Choices Range Name Parameter name read only Value Parameter value device device specific specific Descriptive text for parameter Previous Go to the previous module of the device disabled for the first module Next Go to the next module of the device disabled for the last module OK Close dialog and save changes Default button c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 138 7 9 2 Module Information Tab Show information on the selected module taken from the GSD file of the lO dewuce Module Configuration Parameters Inform ation Information Module Name 750 340 VOT 000 FW 01 Order Number 450 340 escription PROFINET I0 Fieldbus Coupler for Se es 750 and 753 terminalblocks Slot Number 0 Vendor Name WAGO Kontakttechnik GmbH u Co KG Module ID DIM 1 Data Input Size 0 byte s Data Output Size 0 byte s Description Choices Range Lists
138. evice as well as the maximum and minimum cycle time since starting the cyclic data exchange Search Modules Lookup module information in the GSDML files in GSDML Previous Get settings of previous I O device slave disabled for first device Next Get settings of next I O device slave disabled for last device Close dialog and save changes Close dialog and discard changes UN Help Open online help Default button c 2011 MITSUBISHI ELECTRIC CORPORATION 133 GX Configurator PN 7 8 5 Device I O Data Tab Access the cyclic input and output data of the lO device Aun Stop Run _ Stop Data Valid _ Data Invalid F Data Valid _ Data Invalid Normal Operation Problem peration Problem Status Indicates whether the connection has been established OK or not A detailed status is given in the information on the connection tab Output Displays the output values for the lO Devce The output values may be changed by clicking them Input Displays the input values for the lO Devce The input and output views include either Data the background of the cell is yellow IOPS IO provider status and IOCS IO c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface NON Description Choices Range consumer status the background of the cell is green if the value is GOOD if not the background of the cell is red Set Values Writes the modified output values to the device Dismiss Returns to the
139. fers The shared memory area contains two pairs of buffers VPN ACYCLIC_REQ1 2 and v PN_ACYCLIC_RES1 2 allowing two acyclic requests to be performed simultaneously VPN_ACYCLIC_REQ1 and vPN_ACYCLIC_REQ2 allow PLC to deposit a request VPN_ACYCLIC_RES1 and vPN_ACYCLIC_RES2 allows to get the respective answers To manage synchronization some handshake bits are used A request buffer can be used to send a request to any of the configured stations there is no relation between a request buffer and a particular station Acyclic Handshake Bits Each request response buffer pair is associated with a set of handshake bits Global Variable Identifier vVPN_MGMT_OUTPUTS ACYC HSK_Y_RE execution req flag for buffer 1 Q1 EXECUTE vVPN MGMT_OUTPUTS ACYC_HSK_Y_RE execution req flag for buffer 2 Q2 EXECUTE VPN_MGMT_INPUTS ACYC_HSK_X_RES1 request in buffer 1 completed _COMPLETED response is in corresponding buffer vP PN_MGMT_INPUTS ACYC_HSK_X_RES2 request in buffer 2 completed _COMPLETED response is in corresponding buffer v PN_MGMT_INPUTS ACYC_HSK_X_RES1 request in buffer 1 accepted _ ACCEPTED vV PN_MGMT_INPUTS ACYC_HSK_X_RES2 request in buffer 2 accepted _ ACCEPTED Once the response has been read by the PLC from the response buffer the PLC must clear the ACYC_HSK_Y_REQ lt n gt _EXECUTE bit corresponding to the request The PROFINET Controller will then clear the two corresponding bits ACYC_HSK_X RES lt n gt ACCEPTED and
140. file Generic Station Description Markup Language commonly called a GSD A GSD may contain one or more lO Device descriptions The device library is used to store GSD files and to provide a graphic view Using this graphic view it is possible to manually insert IO Devices into the current configuration The device library is also accessed during automatic detection of lO devices present on the network Context Menu For the nodes in the device library tree context menus exists The entries depend on the type of the selected node A Add he E Delete Del Sort Insert in Configuration EX Properties Space This menu is also accessible va the main menu For a detailed description see Libray Menu Library Display Options The selector above the device library tree allows you to choose the display mode Display Mame wt Display Name SA HarshIO 600 EPN rienlau Order Number TCDEP SDON DILE 1P67 16 In MPN TCDEP 8D0P D1U IP 16 In PNP block Fi The available options are c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface s Display Name Display the product name Display Order Number Display the order number Adding lO Device Types to the Library The GSDML Management wizard lets you add one or more lO Devces to the library This wizard may be accessed va the os button or va the menu item Add from the context menu of the device library or the Library subme
141. for Customize the Start Menu and the taskbar such as the types of items to be displayed a Change user account settings and passwords for people who share this computer Customizes and configures YMware Tools Configure the Windows Firewall Set up or add to a wireless network for your home or office 2 Right click Local Area Connection and select Properties to open the Local Area Connection Properties c 2011 MITSUBISHI ELECTRIC CORPORATION 65 GX Configurator PN s Network Connections File Edit View Favorites Tools Advanced Help Q Back Dd ya Search Key Folders ia Address S Network Connections Name Type Status Network Tasks LAN or High Speed Internet E Create a new connection O L Local Area Connection LAN or High Speed Internet Connected Firewalled Set up a home or small office network Change Windows Firewall settings See Also JD Network Troubleshooter Other Places G Control Panel My Network Places E My Documents ig My Computer Details Network Connections System Folder 3 Click Install to open the Select Network Component Type dialog c 2011 MITSUBISHI ELECTRIC CORPORATION Installation 66 i Local Area Connection Properties General Advanced Connect using Eg VMware Accelerated AMD PCNet Ad This connection uses the following tems Client for Microsoft Networks File and Printer Sharing for Microsoft Netwo
142. g M30 the alarm request is started M31 indicates that the requested data has been written to the global variable Alarm_data1 This function block accesses the global variables VPN_MGMT_INPUTS and vVPN_ MGMT OUTPUTS 8 1 6 Function Block Alarm_Ack This function block sends the acknowledge alarm frame to the lO device Instance Alarm Ack REG VALID BUFFER_2 BUSY ID ERROR API STATUS SLOTNUMBER SUBSLOTNUMBER INDEX EN CM Start alarm ack alarm ack BUFFER 2 Bool 0 Buffer 1 for acyclic request is used 1 Buffer 2 for acyclic request is used Device ID shall contain the IP Address Input API number used to perform the ack SLOTNUMBER Slot number target SUBSLOTNUMBER Sub slot number target ONDEX Woa Must contain the alarm priority VALID Ack has been send eus Busy EN The function block is in use c 2011 MITSUBISHI ELECTRIC CORPORATION PLC Code for PROFINET Controller ES Ya e ERROR EN Error detected detected STATUS Word Last detected status possible values 0 Status OK 1 Profinet stack not started 7 Device not configured 8 Profinet error 9 No Alarm for this device Call FB Alarm_Ack Alarm_ack_1 Alarm_Ack M34 REQ VALID M35 FALSE BUFFER_ BUSY M36 22 D ERROR M3 D API STATUS 411 SLOTNUMBER Alarm_data1 6 SUBSLOTNUMBER Alarm_data1 3 _INDEA M35 M34 z H y
143. g to view additional information of the available targets e g the GXW2 project name CPU series series of the CPU type selected in GX Simulator2 Note Before configuring the connection please make sure that GX Simulator2 is operating In addition do not terminate GX Simulator2 while the user program is running If you do so you will not be able to terminate the user program normally c 2011 MITSUBISHI ELECTRIC CORPORATION 235 GX Configurator PN MX Transfer Setup Wizard PC side For a description of the editable parameters on the page see PC side GX Simulator2 parameters Pressing the lt Next gt button opens a page for entering a comment for the connection Find GX Simulator2 Runtime Dialog This dialog shows the list of locally active GX Simulator2 runtimes Find GX Simulator Runtime E Target Project Marne CPU Series CPU Type Workspace Pa gZ sim gew On QOOUDEH oo eran a aaa a neem O iaa Cancel Update Lists the current simulations on the local computer For each runtime the following items are displayed c 2011 MITSUBISHI ELECTRIC CORPORATION Column Description marks the instance of the runtime if multiple runtimes are active Project Name file name of the GXW2 project CPU Series family of the CPU type set in the GXW2 project CPU Type CPU type set in the GXW2 project the GXW2 workspace of the project if it is part of a workspace The table contents are not automat
144. gure administrative settings For your computer Set up Windows to automatically deliver important updates Set the date time and time zone for your computer Change the appearance of your desktop such as the background screen saver colors Customize the display of files and folders change file associations and make network fil Add change and manage fonts on your computer Add remove and configure game controller hardware such as joysticks and gamepads Configure your Internet display and connection settings Customize your keyboard settings such as the cursor blink rate and the character repea Customize your mouse settings such as the button configuration double click speed m Connects to other computers networks and the Internet Launch the Network Setup Wizard Configure your telephone dialing rules and modem settings Configure energy saving settings for your computer Shows installed printers and Fax printers and helps you add new ones Customize settings for the display of languages numbers times and dates Add remove and configure scanners and cameras Schedule computer tasks to run automatically view your current security status and access important settings Change the sound scheme for your computer or configure the settings for your speaker Change settings for text to speech and for speech recognition if installed See information about your computer system and change settings for hardware per
145. handshake flags are equal 0 0 for cycle 1 The PLC CPU writes the output data to the OUTPUT_DATA buffer The PLC CPU toggles its handshake flag 0 gt 1 for cycle 1 The PROFINET Controller detects that the values of the handshake flags are different The PROFINET Controller reads the output data from the OUTPUT_DATA buffer The PROFINET Controller signals that the output buffer is free by toggling its bit to equal the one of the PLC CPU 0 gt 1 for cycle 1 7 The cycle 1 is completed ee Le Le re Lr LD E LUD LD E E LD E E E LD LD Lr O 0 OW PP Cycle 2 The PLC CPU detects that the output buffer is free 1 1 in handshake flags The PLC CPU writes the output data to buffer memory The PLC CPU toggles its handshake flag 1 gt 0 for cycle 2 The PROFINET Controller detects that the values of the handshake flags are different The PROFINET Controller reads the output data from buffer memory The PROFINET Controller signals that the output buffer is free by toggling its bit to equal that of the PLC CPU 1 gt 0 for cycle 2 OowrWND c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q 20 7 The cycle 2 is completed 2 1 3 Acyclic Communication Area The acyclic communication is an exchange of request and response messages between the PROFINET Controller and each lO devce station The message exchange must be initiated by the controller Acyclic Request Response Buf
146. ically refreshed when a runtime is started or stopped To update the list of runtimes press the lt Update gt button Pressing lt OK gt sets the Target Simulator selection in the transfer setup wizard to the simulation which has been selected in the table 9 3 2 16 PC CPU Board A connection between PC and PLC using a CPU board requires the CPU board and the corresponding driver to be installed in the PC MX Transfer Setup Wizard PC side The PLC station to which a connection is established can be either e the host station e a different station in an attached network 9 3 2 17 PLC CPU Interface Enter the settings for the serial interface of a PLC CPU module PLC side CPU interface parameters c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN CPU series Q QnA A FX L series of the CPU type selected in serial PC side interface CPU type see list of supported CPU types type of PLC CPU module Transmission 300 115200 baudrate on the serial link speed Control DTR only RTS only DTR and handshake signals RTS DTR or RTS Note for Q00J Q00 Q01 CPUs lf the baudrate set in the PC differs from the baudrate in the CPU module the actual baudrate is fixed at 9600 bps To increase the communication speed match the personal computer side transmission speed with the QO00J Q00 Q01CPU side transmission speed Supported transmission speeds As the transmission speed of the QOPU Q mode and QCPU A mode y
147. ide line access number The number must not exceed a number length of 10 characters and can consist of 0 1 2 3 4 5 6 7 8 9 Connecti Call number enter the telephone number of the connection target on target When the connection target has been selected on the phone book screen the telephone number of the connection target appears The phone number must not exceed a aa of 50 characters and can consist of 0 1 2 3 4 5 6 7 8 9 Name an optional name which has been assigned to the phone number in the phone book displays the phone book screen For details see Call book dialog AT Modem when selected the standard AT commands are used standard command AT command sequence to initialize the local modem a setting Title the optional title of the AT command selected in the AT command registration screen Browse displays the AT command registration screen For details see AT command registration dialog Help of AT displays the AT command help command Details setting displays the Details setting dialog Call book dialog The command must not exceed a length of 70 ASCII characters c 2011 MITSUBISHI ELECTRIC CORPORATION Appendix Call book x Remo Pi Close Ta gel PLL Cancel Mew call number Mew group Edit Copy Move Group Delete Find Display cursor position Call number 012345 Select Outside line number Comment Read file Write f
148. ify request The configured name is not present on the network 0 1 101 Duplicate name for the lO device The DCP identify request received several answers from different IO devices 0 1 102 Duplicate IP address detected during DCP identify request Out of AR resource The device is already connected and do not es more connection 103 252 Reserved to be Resened to be completed during development during development CE Never connected This lO device ID is present in c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q 52 the configuration but the PROFINET stack never sent a connect request 255 Not used This lO device ID is not present in the configuration Diagnostic Area ADV_DIAG_ Registers In the ADV_DIAG_ registers the PROFINET stack can report some advanced information on the PROFINET Controller state used for technical support only From lO Controller to CPU 0 Stack running well 1 MAC address check fails vPN_ACYCLIC_DIAG_INPUTS ADV_DI AG_ERR_CODE RON ll Benin file encrypted not found error code 4 Error system vPN_ ACYCLIC_DIAG_INPUTS ADV_DI PROFINET stack 0 currently not used AG_ERR_CODE2 error code high word vPN_ACYCLIC_DIAG_INPUTS ADV_DI Additional information depending on the main error AG_ADD_ INFO code See below MAC address PROFINET address Controller Line in File name where the assert appears the file c 2011 MITSUBISHI ELECTRIC CORP
149. igured double clicking the slot opens an editor for the module settings The settings displayed are taken from the GSD file Therefore the settings differ from between modules c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 128 Description Choices Range Display Order If selected only the order number from the selected not not selected Number GSDML file is displayed otherwise the selected module type name Configured Modules in the I O device per slot with Modules their type names ra Opens the Module Configuration dialog t Moves the selected module up in the list Moves the selected module down in the list ts Deletes the selected module same as pressing the Del key gt Adds a module from the list of modules available to the list of those configured Other ways of carrying out this command e Double click the module to be added Drag and drop the module to be added Previous Get settings of previous I O device slave disabled for first device Next Get settings of next I O device slave disabled for last device Close dialog and save changes Close dialog and discard changes PU Note when creating a configuration from the Network Detection View aka automatic configuration mode the module list is already filled When manually adding the device the modules must be added by the user Default button c 2011 MITSUBISHI ELECTRIC CORPORATION 129 GX Configur
150. ile COC store the edited data and close the phone book dialog discard the edited data and close the phone book dialog New call open the Call number setting dialog to enter a new phone number number New group create a new group opens the Group setting dialog for entering the group name Edit if a group is selected the Group setting dialog is opened Otherwise it opens the Call number setting dialog to edit a phone number Copy copies the selected phone number to a different group see Select phone group name Move group moves the selected phone number to a different group see Select phone group name Delete deletes the selected phone number or group Only empty groups can be deleted If a group is not empty the phone numbers must be deleted first used to search phone numbers and associated names see Find a phone number closes the dialog and copies the selected phone number to the line dialog c 2011 MITSUBISHI ELECTRIC CORPORATION 213 GX Configurator PN CEI Read file reads phone numbers from a file selected by the user Write file stores the contents of the phone book in a file selected by the user Call number setting dialog Set the telephone number to be registered to the phone book Call number setting E xj Group name Remote PLE Modems Destination name Call number Outside line number gt For only line connection Password A password inputis necessary
151. ill then correspond to the station number of the IP address Active Checkbox to activate the configuration of the Configuration device in the lO Controller used to delete a device from O Controller whilst keeping its configuration in the console c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 126 Description Choices Range Comments Free text related to a device The total number of 9 gp characters must not exceed 80 characters Addressing Defines the way of obtaining the IP configuration Mode which may be DCP Local or DHCP The modes vary according to the contents of the GSD for the lO Devce DCP during the connection the lO Controller sets the IP address of the lO Devce DHCP during the connection the lO Controller compares the IP address of the lO Device with that configured If they are identical the connection can go ahead If not the connection fails Local during the connection the lO Controller uses the configured IP address IP Address This IP address will be the IP address of the IO Device after connection if the selected addressing is DCP This IP address shall be the same as the IP address configured inside the lO Devce if the selected addressing mode is different than DCP Device Name This field shall be the same as name configured inside the lO Device See Name an lO Devce Provides help on the selected field Previous Get settings of previous I O device slave disabled for firs
152. ing and Discovery Network discovery a Off File sharing On Public folder sharing Off Printer sharing o Off Password protected sharing 4 On VOVODO Media sharing a Off See also oe Show me all the files and folders I am sharing Internet Options Show me all the shared network folders on this computer Windows Firewall 3 Click Properties to open the Local Area Connection Properties c 2011 MITSUBISHI ELECTRIC CORPORATION 69 GX Configurator PN Connection IPv4 Connectivity Internet IPv6 Connectivity Limited Media State Enabled Duration 01 09 44 Speed 1 0 Gbps 4 Answer the User Account Control with Continue to step further to the Local Area Connection Properties User Account Contral e Windows needs your permission to continue If you started this action continue ix i Network Connections a Microsoft Windows User Account Control helps stop unauthorized changes to your computer 5 Click Install to open the Select Network Feature Type dialog c 2011 MITSUBISHI ELECTRIC CORPORATION Installation This connection uses the following items Client for Microsoft Networks 21005 Packet Scheduler El File and Printer Sharing for Microsoft Networks ai Intemet Protocol Version 6 TCP IP v6 wi Intemet Protocol Version 4 TCP IPyv4 wi Link Layer Topology Discovery Mapper 1 0 Driver wi Link Layer Topology Discovery Responder Allows your computer to access resourc
153. ing does not occur when the CPU is not accessed via the tracking cable 2 when using SM1600 SD1590 and SD1690 to estimate w hether route sw itching has occurred or not for the Redundant CPU connected to Ethernet check the follow ing items in the redundant setting of the netw ork parameter dialog box of GX Developer issue a system sw itching request at disconnection detection issue a system sw itching request at communication error c 2011 MITSUBISHI ELECTRIC CORPORATION Check the following based on the states of the above special relay and special registers and remove the error cause Check the Redundant CPU for an error Check the tracking cable status and whether the tracking cable is correctly connected Check the relevant network module for an error and the network where the relevant network module is connected for an error 2 Examples of access by route switching The following shows examples of route switching during access to the control system by Ethernet connection When system switching occurs at communication error Ethernet Communication error I Control system Standby system pi E Tracking cable Route switching example 1 When standby system fault occurs c 2011 MITSUBISHI ELECTRIC CORPORATION 309 GX Configurator PN Ethernet Standb y system Control system i Bl al a lb im Te sane E Ella A AAA Tracking cable R
154. innui vVSLV lt m gt SLOT lt n gt XXXX example D4592 id dio Global Variables Buffer Devices Transfer Buffers Addresses in High Speed Area The settings for the high speed transfer in both the controlling Qn CPU as well as the ME1PN1FW Q are updated by the GX Configurator PN software The address range occupied in the high speed area depends on the size of the cyclic data exchanged between the controller and the I O devices The two following tables list the used high speed memory area addresses for outputs and inputs Because the size of the memory areas used for management and for acyclic communication are fixed the total size of required high speed buffers depends only on the size of the cyclic data For outputs Profinet Acyclic Max High High Speed Area Area manageme Buffer Cyclic nt Size Output Calculated Address Address Size Minimal Size Start End words TECE words kWords c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN For inputs Profinet i Max High Speed Area nt i Size Calculated Address Address words words Minimal Size Start End kWords e e p e p The refresh buffers in the high speed memory area are always aligned to the end address of the high speed area not its start address The end addresses is calculated by adding the total size of the high speed area to the start address of the memory area here 0x10000 If the total size of the refresh buffers is not a mu
155. ion Output Message View Configuration Maxinun Log File Size 1 000000 kB Add Date to Messages J Add Level to Messages Gomes Description Choices Range Maximum Log File Maximum size of log file 1 2000000 kB 1024 kB Size Add Date to Add date field to entries selected not selected Messages selected Add Level to Add level field to entries selected not selected Messages selected Close the dialog and save changes Default Cancel Close the dialog and discard changes c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface KO 7 6 Configuration Manager Each project with the settings for a PROFINET Controller is a configuration and stored in a fixed directory The Configuraton Manager provides the UI for managing several PROFINET I O projects 5 Configuration Manager Active Configuration configOl Configuration Path C ProgramD ata Mitsubishi ClCPU Profinet Configuration Too Contgsconfqbl Available Configurations Created Modified Description config 26 05 2011 03 08 2011 Description Configuration configi New Duplicate Rename Delete Properties Storage Restore Backup Active Configuration Name of currently open read only controller project Configuration Path Directory of active read only configuration Available Names of existing read only Configurations configurations to change press Rename Created Date when configuration has read only bee
156. is connected to The E71 network number is configured in the Network Parameters of the PLC settings only for AJ71QE71 UDP and QJ71E71 modules station number of the PC side interface This number can be freely chosen but must be unique within the network specified by the network number only for AJ71QE71 UDP and QJ71E71 modules free UDP port number on the PC side for data sent by the PLC Port numbers below 1025 should not be used only for UDP protocol and for GOT module 1 2147483647 communication timeout in milliseconds c 2011 MITSUBISHI ELECTRIC CORPORATION Note When connecting from several MELSOFT applications to the same E71 module make the following settings a set the protocol of the communication setting wizard screen to UDP b set SWe2 of the communications setting switches of the E71 module to OFF binary The following restrictions apply to simultaneous connections from multiple PCs to the same E71 module using the TCP IP protocol e for Q series compatible E71 modules except QU71E71 100 the first five digits of the serial number must be 02122 or later and the function version must at least be B e select MELSOFT connection in the Ethernet parameter open system via the network parameters in GID GD Note Connecting to the PLC CPU through Ethernet depends on the correct PLC CPU status 1 TCP selected the target PLC CPU must be in RUN mode 2 UDP selected the target PLC
157. istribution disks for your own backup and archiving purposes Software Purpose This software is a configuration utility software package which will be used to configure the following PROFINET I O network interface modules of MELSEC System Qn series PLCs e PROFINET I O master module ME1PN1FW Q 4 1 System Requirements To install the GX Configurator PN software package your computer has to meet the following requirements Minimum Hardware Requirements e Pentium ll 350 Mhz processor for Vista 1 GHz processor e 256 MB RAM for Microsoft Windows XP 1 GB RAM for Microsoft Windows Vista VGA compatible graphics adapter 17 43 cm diag VGA monitor At least 200 MB free hard disk space CD ROM drive interface for communication with the PLC system Software Requirements GX Configurator PN is a 32 bit software that runs on the following operating systems e Microsoft Windows XP Home or Professional Edition e Microsoft Windows Vista Home or higher e Microsoft Windows 7 Home or higher both 32 and 64 bit versions Related MELSOFT Software GX Configurator PN is typically used together with one of the PLC programming packages for MITSUBISHI PLCs e GX Developer GD e GX IEC Developer GID e GX Works 2 GXW2 Certain functions of GX Configurator PN are restricted or not available for specific PLC programming packages c 2011 MITSUBISHI ELECTRIC CORPORATION os GX Configurator PN 4 2 Softwar
158. k Hawe Disk Manufacturer Network Protocol Microsof E MITSUBISHI DCP driver ll MITSUBISHI ELECTRIC Ay This driver is not digitally signed is Important Have Disk The MITSUBISHI DCP driver is now added to the protocol list in the dialog Local Area Connection Properties 4 4 PROFINET Controller Installation The PROFINET Controller must be in its factory default settings before the PROFINET I O firmware can be installed and started If the module has been used before or any problems are encountered during the PROFINET I O firmware installation the module must first be set to its factory defaults For the detailed procedure see the section Troubleshooting Factory Default Settings To install the PROFINET I O firmware the CF card received from MITSUBISHI must be inserted in the CF card slot on the module 1 reset the module to initiate copying the contents of the CF card to the ME1PN1FW Q memory 2 wait until the 7 segment LED shows AA indicating that the script on the CF card has been completed without an error 3 now remove the CF card and reset the controller 4 start GX Configurator PN create a configuration with the correct MAC address of the PROFINET Controller and enter the IP address you want for the PROFINET Controller c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN a GX Configurator PN File Description Library Network Dewices Items Help SBR E e 2 0 8 18s 3900 ew eo E
159. k IO Device TO ada 165 Global Varale Soari id 167 Integrating In PLC PrO eli lali 173 Appendix 177 TROUDIESNOO UNO aa 177 Factory Default Seting S a tada 177 Introduction to PROFINET O inicien 178 Transiter SUD lacas 184 Configuring Trasteros edad 184 TANSTEF Setup Wi ard A E a aacaa 188 PC Universal Serial Bus USB Interface occ cc ceeceeeeceneeeeeeeseaesesecseeeseseesneeeesesueeeessnueeeessnaaeees 192 PC Universal Serial Bus USB Interface via GOT LL aancccccconoconcccncccconanoncnnncnnnnnn nn cnn nc nn nnnn nn nr n rr cn nnrn rra 193 PO R232 senal ida ido dea 194 c 2011 MITSUBISHI ELECTRIC CORPORATION Contents i PC RS232 Serial Interface via GOT ia A vaste tytleclidlenwduetenctniaivaltesdn 196 PG MINS INS BOA cane cts an el A ae a aan aus 197 PC Ethernet Board MA lla 207 A A ANA 208 Modem ne Seting Sisesta a dd dae Renee 209 ES UE k E OOO BO at o 218 PO MELSEONE EDO dando 221 ES MELSECNET TO DO ios 224 PO CG ENKE Fiela MA A 227 E A A a N 228 A O AE T A AA EAA OAA A 231 nn A EEA 232 A arr a a a ee 234 gE co ao 236 me OS A a a Ee 236 o a leer uals eter atuie Siatlen a Rea 242 AE Extended PRONT i ee ok Moe ee Senne Te eee en eee meee ne maar eee eR Oe ee eee 252 AS A A A OF POET MRE hs Fe OEE 257 ti o MA AE 261 O T 271 PLC CC Link IE Field Ethernet Adapter o oooococoooccconococaconoconononcnonncncnonnc nc conocio crono nana nana 277 A A PANE ae 286 SA II ee 290 CA totale eu th ele a calle dine re
160. k for slave devices using the Network Detection View File Description Library Network Devices Items Help OAs So SBBE 22 wwe a CCPU CHI 1 A Ta TCP IP 192 168 000 052 melpnifw c Eg Description DEMO MASTER MELPNLFW CCPU Configuration ef MELPNLFW CCPU PROFINET 192 168 000 052 5 CHi PROFINET 10 Controller aa Device Library wie Network Detection Pred Network w Read Network Configuration H gt Online Action Insert in Configuration Insert and Replace All Date Time 08 03 11 13 19 o 08 03 11 13 30 00 Error File GSDMIL V2 1 wago series 50_753 20100525 xml the maximum number of slots s 4 I t E Properties O Output Message View Ready Ee i NUM DER 7 4 the configuration of a slave can be edited by selecting Properties from the context menu of the Slave c 2011 MITSUBISHI ELECTRIC CORPORATION Getting Started so tee A Toni Ez urato r P File Description Library Network Devices Items Help 8468 e208 2 488 01 00 30 FW 01 pnifw c General Configuration Module Configuration 750 340 750 340 VO1 00 2c FW 01 Device Ne Enable Disable Device Device Designation ES opaca acia Delete all Number 001 y Alive Coti ME Z Disable all Comment PROFINET lO Fieldbus Coupler for Series 750 and 753 a Enable all terminalblocks is lt Duplicate A times Name 0 750 340 Network Properties Mame Value Addressing Mode DCP IP Addres
161. l be returned first The IOD_ALARM_IND bit for the corresponding device will be reset only after the management of both alarms The following diagram demonstrates an alarm cycle when alarm management is activated by the PLC program c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q 48 Ala mm from device signal alarm Log alarm Ask Alarm Data Acyclic request Receive the request i Set the Answer ck Alarm Acyclic request ias the request Ack LC Send alarm Ack gt IOC ALARM IND bin XDn 0 Set the oe Remove alarm signal Note a ring buffer exists for each device This ring buffer stores up to seven alarms for each lO device Each incoming alarm is logged in this ring log buffer from which the PLC can read using acyclic requests 2 1 4 Network Diagnostics PROFINET IO Controller Status The bits in these two words provide information on the lO controller stack state From PROFINET lO Controller to CPU Ss Global Variable Identifier v PN_MGMT_INPUTS IOC_STS_CON No configuration Configuration OK FIG_OK vVP PN_MGMT_INPUTS IOC_STS_CON A new configuration is FIG_DOWNLOADING downloading vVP PN_MGMT_INPUTS IOC_STS KEY Missing or wrong keyfile FILE ERROR vPN MGMT_INPUTS IOC STS STA Not Started Started RTED vPN_MGMT_INPUTS IOC_ STS ERR No error Error occured see OR_DIAG_SET Diag
162. lo device IP 0 0 0 0 Name pcu at hio controller IF 194 1 1 1 Z Configuration PROFINET Eguipement 1 capteuretaget IP 194 1 1 10 Equipement 1 capteur_etage2 IP 18 4 1 1 11 Eqguipement 1 sonde cuve IP 194 1 1 12 Note that at startup each lO Devce has the same name and same IP address A PROFINET network with l O Devices named correctly from the engineering tool c 2011 MITSUBISHI ELECTRIC CORPORATION Mame sonde cuve IP 0 0 0 0 Name capteur etage IP 0 0 0 0 Mame capteur etaget IP 0 0 0 0 Name peu ethio controller IP 194 1 1 1 Configuration PROFINET Equipement 1 capteuretage1 IP 194 1 1 10 Equipement 1 capteur etage2 IP 194 114 11 Equipament 1 sonde cuvet IP 194 1 1 12 Note that all the O Devices present have a unique name sensor stagel sensor stage2 and probe tank1 However the IP addresses of these lO Devices remain set to 0 0 0 0 During a connection phase the lO Controller starts by searching for an IO Device using a multicast request commonly called identify When the lO Devce replies the lO Controller checks if the IP parameters of the lO Device are definitely those configured If not then the IP Controller assigns the correct IP configuration to the lO Device Once this sequence has been completed the lO Controller will be able to establish a connection with the lO Device O ControlHler 1IO device A PROFINET network with lO De
163. lock Implicit Read e Write Explicit see Record Block Explicit Writ Read Explicit see Record Block Explicit Read Alarm Request see Alarm_Request Read alarm log see Alarm Log DevicelD This ID is defined during PROFINET configuration with the GX Configurator PN tool General Configuration Module Configuration Device Designation Mumber Comment Acyclic Service Request Response Formats Network Detection Service Based on DCP identify request this service allows to detect up to 255 lO devices present on the network LAN This function returns only the number of IO Devices detected After the call of this service it is needed to call the service lO Device detected servicelD 2 to get more information on each detected lO Devce Request Format fo RequestID PLC value c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q C ee 2 fee oss SubslotNum 0x00 ber byte Response Positive Format Status Word Value eet Same as the request Header DevicelD 0x0000 E Data length 0x0004 byte COM eoo ECU c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Nb lO Devces FS Number of lO devices detected 21 Response Negative Format Word Value Offset RequestID Same as the request CON on o o Sem foo CIN ESE foom Possible values for Status comen Profinet stack not started No ethernet link No lO Device detected
164. lock is in use Error detected ERROR VALID Bool Data in the global variable DEVICE_DATA is valid Busy ou c 2011 MITSUBISHI ELECTRIC CORPORATION 155 GX Configurator PN STATUS Word Last detected status possible values O Status OK 1 Profinet stack not started 2 No Ethernet link 3 No IO Devce detected 6 Device not connected 7 Device not configured 8 Profinet error The data to write is moved from the input RECORD by using a block move operation to the transfer buffer The user has to configure an array variable for this input with the corresponding number of elements Call FB Write Rec_Ex Wrte_Recl Write Rec Ex M20 REG VALID FALSE BUFFER 2 BUSY 21 MB ERROR 0 AFI STATUS 0 SLOTNUMBER 0 SUBSLOTNUMBER 16410 INDEX Write_Data1 1 RECORD 8 LENGTH M21 M20 H Rb M23 The input ID contains the lO device number 21 The index for the data to write to is 16 10 By setting M40 the writing of the data is started M41 indicates that the data from the global variable Write_Data1 has been successfully transferred to the lO device Function Block Read_Rec_Ex This FB reads information from an lO Devce which is connected to the Profinet Instance Read Rec_Ex REQ VALID p BUFFER _2 BUSY 5 ID ERROR 5 AFI STATUS 5 SLOTNUMBER RECORD a SUBSLOTNUMBER LENGTH INDEA c 2011 MITSUBISHI ELECTRIC CORPORATION
165. lowing describes the route switching conditions how to check for route switching occurrence and examples of access by route switching a Route switching conditions When access is being made under the following conditions access to the Redundant CPU is continued by route switching if a communication error occurs Mode Conditions for continued access Operation mode Backup mode Separate mode Target system Control system However if a tracking error had already occurred at a start of communication caused for example by power off or reset of the redundant system access to the control system is not continued by route switching even if tracking is recovered after that b How to check for route switching occurrence and examples of access by route switching 1 How to check whether route switching occurred or not Special devices and registers allow to detect whether route switching has occurred SD1690 Possibility of route switching Reference either one is Since a system switching request see example 1 from the network module was other than 0 ie detected route switching may have been executed Since an other system fault see example 2 occurred route switching may have been executed either one is Since an other system fault see example 1 and other than 0 occurred or a system switching 2 request from the network module was detected route switching may have been executed 1 even if SM1600 is ON route switch
166. ltaneous use of different protocol types When two different communication systems protocols are used to access the same Q series compatible E71 with a serial number before 05051 from one PC different station numbers must be set for TCP IP and for UDP IP Example When MX OPC Server uses TCP and GX Developer uses UDP IEM PC AT compatible TCPAP station number for MX OPC Server 2 Q series compatible E71 UDPAP station number for GX Developer 3 station number 1 Lem EE eee eee eee eee eee al FX Ethernet Module c 2011 MITSUBISHI ELECTRIC CORPORATION Communication Setting Wizard PC side x Please select the PC side IF PE side IF Ethernet hoard gt Communication setting Connect module Fx ENET SDP Time out For a description of the editable parameters on the page see PC side Ethernet parameters Pressing the lt Next gt button opens a page for entering the address of the PLC ethernet module CPU Module CPU module is selected when connecting to a Q series or L series CPU with Ethernet interface x Please select the PE side IF PC side IF Ethernet board Communication setting Connect module cru module ll Protocol UCF Time out Pressing the lt Next gt button opens a page to search for the PLC CPU or to manually enter its IP address c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN CC IE Field Ethernet Adapter MX Transfer Setup Wi
167. ltiple of kWords the gap to the next kWord boundary is filled with the user area Because the user area always starts at address 0x10000 the start addresses of the refresh blocks are variable The following tables contain the formulas for calculating the start and the end address of each refresh block Output Areas Offsets Calculation Cyclic End Adar Output End Adar Outputs size 1 Acyclic End Adar Output size End Addr Output Outputs 2100 1 size c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q 8 Mgmt End Addr Output size End Addr Output Outputs 2100 118 1 size 2100 Input Areas Offset Calculation Block Start Address End Address Cyclic End Addr Input size End Adar Inputs 1 Acyclic End Addr Input size End Adar Input Inputs 2442 1 size Mgmt End Addr Input size End Adar Input Inputs 2442 112 1 size 2442 Two examples show the application of these formulas for calculating the start and end addresses for a specific combination output and input size resulting from the corresponding PROFINET configuration 1 PP Po is 900 and Input size is 500 Addresses in high speed area E in Acyclic PROFINET word pons start Buffer Management Outputs 10000 14095 13196 11096 10978 11095 14095 13195 Inputs 3 10000 13071 12572 10272 10160 10271 13071 12371 E 2 ma NS is 1900 and Input size is 1900 Addresses in high sp
168. ly kept in the registry under the given transfer setup name Otherwise the settings of the transfer setup in the registry remain unchanged If no setup with the name exists a new setup is added to the database In case there is insufficient space for a new setup the following message is displayed Mx Transfer Setup P There is no Free buffer to import the transfer setup Do vou want to select an entry to be overwritten lf the user selects Yes a list of existing setups is displayed The user can select a setup in the list which is overwritten with the new settings c 2011 MITSUBISHI ELECTRIC CORPORATION 9 3 2 Select a setup to be replaced x Transfer Setups new usb serial com port ethernet connection as a ce a ae e AO ca ET ER gO Sra eT Tere NES Cancel Connection Test The Comm Test button uses the settings of the selected transfer setup to connect to the PLC If the connection can be established a success message is displayed Mx Transfer Setup P A Connected to PLE lf the connection to the PLC fails the Easysocket error code is displayed together with an explanatory message Mx Transfer Setup x T Failed to connect to PLE ferror code 0 1808201 Cannot communicate with the PLC Execute again after checking the connections with the PLE Please check power module CPU module 1O module Intelligent module Network module base cable Pleas
169. mum number of configured devices c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q 4 Maximum number of total cyclic 9228 bytes input data 1 Maximum cycle time 512 ms Different IO Devices can be configured with different cycle times Alarm processing Read Write Records Limited to 5448 bytes per request DCP Discovery amp Configure Supported Protocol 1 these sizes includes potential padding that could be inserted for variable alignment The following limitations apply e The usable minimum cycle time depends on the number of lO devices and the total size of input and output data For example it is not possible due to performance reasons to have 128 lO devices communicating with a cycle time of 1 ms RT over UDP RT Class 2 and RT Class 3 IRT are not supported Multicast communication is not supported DHCP is not supported neither for the PROFINET Controller nor for the lO devices Only one input IOCR and one output IOCR per lO device Only one API API 0 is supported Any profile requesting a different API is currently not supported The lO devce feature FastStartUp cannot be used e WriteMultiple Record service is not supported System Configuration The ME1PN1FW Q uses high speed data transfer for the data exchange with the controlling CPU It can only be used in combination with QnUD E CPUs which support high speed data transfer The following QnUD CPUs do not suppor
170. munication Setting Wizard Other station X Please select the Other station Other station setting CPU series CPU type Station Mo Multiple CPU Pressing the lt Next gt button opens a page for entering a comment for the connection Station in same network for CC Link c 2011 MITSUBISHI ELECTRIC CORPORATION Communication Setting Wizard Other station X Please select the Other station Other station setting CPU series CPU type Station Mo For Q series PLCs the index of the CPU in a multi CPU system can optionally be selected Communication Setting Wizard Other station Please select the Other station Other station setting CPU series CPU type Station Mo Multiple CPU Pressing the lt Next gt button opens a page for entering a comment for the connection Station in same or different network c 2011 MITSUBISHI ELECTRIC CORPORATION 293 GX Configurator PN Communication Setting Wizard Other station x Please select the Other station Other station setting CPU series A CPU type GOZA HS E Station Mo Network Mo Po 2 HEI Cancel Back For Q series PLCs the index of the CPU in a multi CPU system can optionally be selected Communication Setting Wizard Other station X Please select the Other station Other station setting CPU series CPU type Metyreork Mo Station Mo Multiple CPU lf th
171. n created Modified Date when configuration has read only been modified for the last time Description Descriptive text of read only configuration to change press Properties essen ee ee c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Opens the New Configuration dialog Duplicate Create a copy of the selected configuration Opens the Duplicate Configuration dialog Rename Opens the Rename Configuration dialog for the selected configuration Delete the selected configuration Properties Opens the Configuration Properties dialog for the selected configuration Opens a file dialog for as backup before which is added to the list of configurations Opens a file dialog for selecting a mit file the selected configuration is exported to selecting a mit file created Enabled if a configuration is selected otherwise disabled Enabled if a configuration is selected otherwise disabled Enabled if a configuration is selected and it is not the only one otherwise disabled Enabled if a configuration is selected otherwise disabled OK Close dialog and save changes Close Close dialog and discard changes c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 120 7 6 1 New Configuration Dialog The user enters the name and a descriptive text for the new configuration New Configuration Configuration Description Created 05 08
172. n list Select transfer setup lt New gt y Configure comm Test lf the maximum number of transfer setups default is max 32 setups has been reached a message is displayed Mx Transfer Setup x AN The maximum number of setup entries has been reached In this case the user must either delete a setup or modify an existing one lf there is sufficient space for a new transfer setup a dialog prompts the user to enter the name of the new transfer setup The user can select an existing transfer setup from which the settings are copied or select lt Default gt new setup SSO I I x Mame Transfersetups Copy Settings trom ransfersetupl Transfersetupl Transtersetup2 Default gt c 2011 MITSUBISHI ELECTRIC CORPORATION Appendix 186 name of new transfer 1 32 characters TransferSetup lt n gt setup Copy Settings uses the current existing transfer setup selected setup from settings of the selected names setup for the new setup lt Default gt The name assigned to the transfer setup must meet the following restrictions e must be unique e must not be empty e must not exceed 32 characters in length e must not start or end with blanks automatically removed Rename Remove Transfer Setup The user can change the name of existing setups or remove them if they are no longer used Select transfer setup lt Rename Remove gt 2 Configure Comm Test Whe
173. n the Relay station rack cannot be specified Therefore if 1 has been entered as network number for the sample below an error will occur because the network number controlled by the CPU 2 is only 2 QCPU Q mode No 1 QCPU Q mode No 2 Personal Relay station Last access targe gt QCPU Q mode No 3 Es dl computer Bo y QCPU Q mode No 4 MELSECNET H module controlled by f Network number 1 station number 1 2 MELSECNET H module controlled by 2 MELSECNET H Network number 2 station number 1 2 MELSECNET H module controlled by 2 Network number 2 station number 2 9 3 3 2 Restrictions with Q00 Q00J and Q01 CPUs The number of network modules is restricted for Q00J Q00 and Q01 CPUs Max Number of Modules CC Link module Function version B or later 2 modules The following figures mark network architectures for Ethernet and MELSECNET H which are not supported in combination with Q00J Q00 and Q01 CPUs c 2011 MITSUBISHI ELECTRIC CORPORATION NL EN Eri 7 EF A a oe eee eee eee ee 9 3 3 3 Redundant CPUs The following text describes the configuration for accessing redundant Q series PLC systems i e Q12PRH and Q25PRH 1 Target system c 2011 MITSUBISHI ELECTRIC CORPORATION 303 GX Configurator PN Communication Setting Wizard Network X Please select the Metwrork Station type Host station Target system
174. n the entry lt Rename Remove gt is selected a dialog is displayed which lists the existing transfer setups Rename Remove Setups x Transfer Setups new usb ethernet connection Cancel OK Pressing the Remove button deletes the currently selected setup Pressing the Rename button or double clicking a setup name in the list opens an editor for the name within the list c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Rename Remove Setups i x A setup name is rejected if it does not meet the requirements for setup names Editing an Existing Transfer Setup Pressing the Configure button opens the transfer setup wizard for the selected transfer setup Replace Transfer Setup Dialog When the transfer setup dialog is opened it imports the transfer setup of the currently selected device into the local transfer setup database This database is kept in the Windows registry lf the registry already contains a setup with the same name as the one of the selected device the settings in the registry are compared with the settings used by the device In case the settings differ the user is asked whether the local settings should be overwritten with the settings from the device Mx Transfer Setup y j Should local transfer settings be overwritten with the settings From the project Selecting Yes causes the transfer settings from the device to overwrite the settings current
175. n the same network range as the lO Controller then this request will fail To configure an IP address for an lO Devce it is recommended to use the Online Action Tool e Each lO Device must have its GSD present in the device library The configuration of an IO Device is based on its GSD Without a GSD file an lO Device cannot be configured c 2011 MITSUBISHI ELECTRIC CORPORATION 95 GX Configurator PN 7 2 1 Network Menu de Read Metwork Configuration Ctrl R Insert in Configuration Insert and Replace All Properties Space The menu contains the following commands Read Network Configuratio Scans the network for connected devices Online Action Starts the Online Action tool for finding and identifying devices and for setting device name and or IP address TR Insert in Configuration Adds the selected device to the current network configuration nsert and Replace A Removes the devices currently configured and adds all devices found Properties Opens the view with the properties of the selected device Command Read Network Configuration This command scans the network for connected devices Network detection a 6 Stations Detected Alternatively the button LA Detection area Command Online Action Starts the Online Action tool for finding and identifying devices and for setting device name and or IP address Command Insert in Configuration Adds the selected
176. nction vVP PN_MGMT_INPUTS IOD OUTPUT_HSK_X 0 New Outputs read will be sent to the IO device 0 during next exchange New Outputs read will be sent to the IO device n during next exchange vVPN_MGMT_INPUTS IOD_OUTPUT_ HSK_X127 New Outputs read will be sent to the lO device 127 during next exchange Input Handshake Registers IOD_INPUT_HSK_Y and lOD_INPUT_HSK_ X From CPU to IO Controller c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN VPN _MGMT_OUTPUTS IOD_INPUT HSK_Y 0 New Inputs of the lO device O has been read New Inputs of the lO device n has been read vV PN_MGMT_OUTPUTS IOD_INPUT_HSK_Y 127 New Inputs of the lO device 127 has been read From lO Controller to CPU Global Variable Identifier Function vPN_MGMT_INPUTS IOD_INPUT_HSK_X0 Take in account new inputs from device 0 Takes in account new input from device n vPN_MGMT_INPUTS IOD_INPUT_HSK_X 127 Takes in account new input from device 127 Note the Input output PLC side flags are set and cleared by the PLC program the Input output master side flags are set and cleared by the master In general write access is permitted to the input or output area of a station if both flags are equal 0 0 or 1 1 Read access is permitted if both flags differ 0 1 or 1 0 Access to Input Data The following procedure must be followed if the Input consistency flag corresponding to the station is set c 2011 MITSUBISHI ELECTRIC
177. nk Some lO devices are not connected RED rapid Blink Network storm c 2011 MITSUBISHI ELECTRIC CORPORATION 55 GX Configurator PN Green slow blink Green rapid Blink Orange slow blink Orange rapid Blink All OK All lO devices connected whatever their mode manual or automatic All OK All lO devces in automatic mode are connected All lO devices in manual mode are not connected All OK All lO devces in automatic mode are connected Some lO devices in manual mode are connected some are not connected All lO devices connected whatever their mode manual or automatic However some configuration mismatches exist All lO devices in automatic mode are connected All lO devices in manual mode are not connected However some configuration mismatches exist All O devices in automatic mode are connected Some lO devices in manual mode are connected some are not connected However some configuration mismatches exist 2 2 2 7 Segment LED Display The 7 segment display is located on the front of the ME1PN1FW Q It indicates PROFINET Controller specific states in combination with the status of the User LED User 7 segment LED value No configuration No lO device connected Red fix The engine dat file is corrupted Stack failed to start CS Declare Device failed config corrupt Error system see 3 1 7 4 c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q 56 CE o rec cri
178. nostic area vVPN_MGMT_INPUTS IOC_ STS PLC Watchdog ok or watchdog Watchdog mechanism mechanism disabled detects that PLC is not c 2011 MITSUBISHI ELECTRIC CORPORATION 49 GX Configurator PN TO Tr Possible combinations of the flags IOC_STS_CONFIG_OK lOC_STS_CONFIG_DOWNLOADING lOC STS KEYFILE ERROR and lOC_STS STARTED with their respective meaning are CI tome To use PROFINET download a configuration lOC_STS_CONFIG_DOWNLOADIN IOC_STS CONFIG_OK Configuration is valid Waiting start from PLC IOC STS _CONFIG_OK and Configuration is valid PROFINET is started IOC STS STARTED e During a configuration download sequence IOC_STS_CONFIG_OK is off No Configuration e At the end of the configuration download sequence the new configuration will be immediately started if the OC START STOP bitO equals 1 lf IOC_STS 1 bit2 is set the MAC address protection mechanism detected an issue and PROFINET cannot be started c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q NOS OD _CONN_STS Registers The following 128 bits contain the connection state of each lO devce PROFINET lO Controller to CPU lO Device Global Variable Identifier Number oono hooo vPN_MGMT_INPUTS IOD_CONN_STS 0 0 vPN_MGMT_INPUTS IOD_CONN_STS 15 iS vPN_MGMT_INPUTS IOD_CONN_STS 16 16 B g Not Connected vPN_MGMT_INPUTS IOD_CONN_STS 31 31 Connected vPN_MGMT_INPUTS IOD_CONN_STS 116 116 127 vPN_MGMT_INPUTS IOD_
179. nu in the main menu For details see Add GSDML Files 7 1 1 Library Menu A Add Ins E Delete Del Sort Insert in Configuration Es Properties Space The menu contains the following commands Add Add device type with GSDML file to library Remove device type from library Device types must not be deleted while being used in the configuration Note deleting a GSD from the library does not physically delete the GSD file on the hard disk It is instead moved to the subdirectory removed_gsdml Sort the entries in the library Insert in Configuration Add selected device type to library perties Show properties of the selected device type Sort Device Library Select the criteria for sorting the entries in the device library Sort Device Library Choose the type of sort By Category By Manubacturer By File name t I Tance c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Description Choices Range Choose the type of sort Select the criteria for sorting the Category Category entries in the dewce library Manufacturer Available sort keys are File name lO Device By Category Displays lO Devices name according to their main type then their secondary type This sort is based on the Main Family and Product Family fields in the GSD for the O Device By Manufacturer Displays the lO Device by manufacturer This sort is based on the VendorName field in the GSD fo
180. o the consumer The possible values are e GOOD 0x80 e BAD BY_DEVICE 0x60 e BAD BY_CONTROLLER 0x40 e BAD BY_SUBSLOT 0x00 IOCS Input Output Object Consumer Status An lOCS is associated with the input outputs from each slot sub slot This status indicates the quality of the data consumed at each slot sub slot to the producer The possible values are e GOOD 0x80 e BAD BY_DEVICE 0x60 e BAD BY_CONTROLLER 0x40 e BAD BY_SUBSLOT 0x00 The representation of the inputs outputs of an lO Device in engineering tool includes the process data I O data and the diagnostic data IOPS and IOCS Example 1 The inputs outputs of an lO Device contains the process data I O data and the diagnostic data IOPS and IOCS c 2011 MITSUBISHI ELECTRIC CORPORATION 183 GX Configurator PN Output 6 bytes 1 GS Data Slot 0 Slat 1 Slat 2 Slat 3 Interface Module Module Module Module Input Input Output Input 7 bytes In the example above the lO Device is made up of e 1 2 byte input module e 1 1 byte input module e 1 2 byte output module For the lO Device taken in the example with 2 process output bytes and 3 input bytes the lO Controller has to manage 7 input bytes and 6 output bytes rr os See mi dai S S a bytes Input 7 bytes c 2011 MITSUBISHI ELECTRIC CORPORATION 93 Transfer Setup 9 3 1 Configuring Transfer Setups Transfer Setup Selection The main dialog of the tr
181. obal variable Read_Data3 The values for the inputs PNDEVICEID PNVENDORID and ARUUID are taken from the GSDML file FB input GSDML Node and Attribute Deviceldentity VendorlD PNVENDORID Deviceldentity DevicelD ARUUID DeviceAccessPointltem ObjectUUID_Locallndex Extract from the sample GSDML file used for the FB call above lt ProrfileBocy gt c 2011 MITSUBISHI ELECTRIC CORPORATION PLC Code for PROFINET Controller 154 lt Deviceldentity VendorID 0x002A DeviceID 0x0301 gt lt ApplicationProcess gt lt DeviceAccessPointList gt lt MeEyTIceacecsss Pool rem ID DIMAS tes ls tots Uses ModuleTtdentNumber 0x000003500 MinDevicelnterval 32 ImplementationType NetArm DNS_CompatibleName IM151 3PN FixedIinSlots 0 ObjectUUID_LocalIndex 1 gt 8 1 3 Function Block Write Rec_Ex This FB writes data to an O Device which is connected to the Profinet Instance Write _Rec_Ex REQ VALID M BUFFER _2 BUSY 5 D ERROR az API STATUS SLOTNUMBER SUBSLOTNUMBER INDEX RECORD LENGTH Bool Stat write record write record BUFFER 2 Bool 0 Buffer 1 for acyclic request is used 1 Buffer 2 for acyclic request is used DWord API number used to API number used to perform the read the read SLOTNUMBER SLOTNUMBER APL Write data size in Write data size in byte SUBSLOTNUMBER INDEX RECORD LE LENGTH BUSY The function block is inuse function b
182. ode Connected Station CPU Relayed Station CPU Relayed QCPU Q Network QCP cP QnA ACP mode U Q U A CPU U FXCP mode mode 4 U oam o N merseonemn o x merseonemno CAT EN ELE pol x pol x at CC Link IE o Accessible x Inaccessible 1 Including motion controller CPU 2 Use the QnA or ACPU side CC Link module w hose ROM version is S or later 3 For the Redundant PLC access is disabled Warning c 2011 MITSUBISHI ELECTRIC CORPORATION Frequently disconnecting reconnecting the USB cable or resetting or powering ON OFF the PLC CPU during communications with the PLC CPU may cause a communication error which cannot be recovered If it is not recovered completely disconnect the USB cable once and then reconnect it after 5 or more seconds have elapsed PLC Ethernet CPU Please see PLC Ethernet Interface 9 3 2 18 PLC C24 Interface Enter the settings for a serial interface module in the PLC PLC side C24 module parameters Module type AJ71C24 AJ71UC24 type of PLC C24 module AJ71QC24 QJ71C24 LJ71C24 Station No 1 64 station number of the PC side interface This number can be freely chosen but must be unique within the network specified by the network number Transmission 300 115200 baudrate on the serial link speed Data bit 7 8 number of data bits in a byte only for AJ71C24 and AJ71UC24 Stop bit 1 2 number of stop bits only for
183. on in MELSECNET II network c 2011 MITSUBISHI ELECTRIC CORPORATION Communication Setting Wizard Network x Please select the Metrsork Station type other station bl Metw ork MELSECNETA Hetwrork route MELSECMETA OCH Pressing the lt Next gt button opens a page for entering the MELSECNET address of the target PLC Note When access is made to the QnACPU AnUCPU QCPU A mode or motion controller CPU wa the MELSECNETiII the device range is equivalent to that of the AnACPU Station type ot er station Muttidrop independent Pressing the lt Next gt button opens a page for entering the station address of the target PLC in multi c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN drop network Station in FX multi drop network MX Transfer Setup Wizard Network x Please select the Network type Other station Pressing the lt Next gt button opens a page for entering the station address of the target PLC in multi drop network Network with C24 station VO address VO number divided by 0x10 module I O address of connected station c 2011 MITSUBISHI ELECTRIC CORPORATION Appendix 288 MX Transfer Setup Wizard Network x Station type ot er station Flease select the Network Station type ot er station Network Network route VO address 0000 Cancel lt Back Next gt VO address VO number divided by 0x10 module
184. only be effective when the PROFINET Controller establishes the connection with the lO Devce c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface ono 7 4 Items View Lists the I O points of the module selected in the network configuration view Input Itern Name Datatype Offset device Offset module Bit in the byte Offset in Word in D Area W 5LOT003 STATUS CHANNEL 0 Input byte 4 O D4555 AE SLOTO03 CNT VAL CHANWNEL O Input word 5 1 D4556 18 5L0T003 STATUS CHANNEL 1 In put byte 7 3 D4557 ME SLOTOO3 CNT VAL CHANMEL 1 Input word 8 4 D4558 4 mr Output Item Name Data type Offset device Offset module Bitin the byte Offset in Word in D Area 8 SLOTOO3 CONTROL CHANNEL 0 Output byte 8 0 04547 M5 SLOTOO3 CNT SET CHANNEL 0 Output word 9 1 04548 8 5LOTOO3 CONTROL CHANNMEL 1 Output byte 11 3 04549 M5 SLOTOO3 CNT SET CHANNEL 1 Output word 12 04550 The context menu in the view corresponds to the Items Menu in the main menu 7 4 1 Items Menu E Add Item s Ins GB Delete Item s Del Rename ltem F2 ke Properties Space The menu contains the following commands Add Item s Add item s Delete Item s Delete selected item s perties Properties of the selected item Command Add Item s Opens the Items Declaration dialog to define new items or edit existing ones Command Delete Item s The selected item s are deleted when the following query is confirmed GX Configurator P
185. ontains multiple CPUs the number of the target CPU must be selected in the Multiple CPU parameter For details see Appendix Multi CPU Pressing the lt Next gt button opens a page for entering a comment for the connection Host station for Ethernet connections Communication Setting Wizard Network x Please select the Metwsork Station type Host station Connect CPU series nA T CPU type ZA E Cancel Back c 2011 MITSUBISHI ELECTRIC CORPORATION For Q series PLCs the index of the CPU in a multi CPU system can optionally be selected Communication Setting Wizard Network X Please select the MHetyvyork Station type Host station Connect CPU series la CPU type faoz Multiple CPU Cancel Back Next Select the type of the target CPU and press the lt Next gt button to open a page for entering a comment for the connection Host station for modem connections Communication Setting Wizard Network xj Please select the Metwsork Station type Host station Connect CPU series nA T CPU type FAA E Pressing the lt Next gt button opens a page for entering a comment for the connection c 2011 MITSUBISHI ELECTRIC CORPORATION 281 GX Configurator PN Host Station for CPU Board Connections MX Transfer Setup Wizard Network l x Please select the Network Host station Please select the Metwsork Station type other stationf sincle g
186. ontroller may change the TCP IP configuration of this IO Device The lO Controller will change the TCP IP configuration of the lO Deuce if it differs from the TCP IP configuration of the lO Device contained in the lO Controller configuration Device 14 AT LA TCPIIP DCP 4 128 127 6022 A 255 255 0 Temps Connecting Device E 255 255 0 128 127 60 1 Sy a p Configuration Device conf TCP IP 7 E 10 Controller e DHCP In this mode the lO Devicce obtains its TCP IP configuration from a DHCP server The criterion for obtaining the TCP IP configuration from the DHCP server is configurable The DHCP based on gives the following options MAC address the identifier used for obtaining the IP configuration from the DHCP server will be the MAC address of the lO Devce Station name the identifier used for obtaining the IP configuration from the DHCP server will be the name of the lO Deuce Client identifier the identifier used for obtaining the IP address from the DHCP server will be the string entered in the client identifier field lf an O Device is configured in DHCP mode when a connection is established the lO Controller compares the TCP IP configuration of the lO Device with that contained in the configuration of c 2011 MITSUBISHI ELECTRIC CORPORATION 101 GX Configurator PN 7 3 the lO Controller If they differ the connection cannot be established e Local This
187. ork access Media State Enabled Duration 00 18 27 1 0 Gbps Received c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN 4 Click Install to open the Select Network Feature Type dialog Died ES AA a be ST ene c yy Leek ec yee ee cd E tsoee pr iW k ep Aa a ee A A E hs ne a a Local A a Conni on Fi perties Networking Connect using ae Intel R PRO 1000 MT Network Connection This connection uses the following items pa Client for Microsoft Networks aos Packet Scheduler El File and Printer Sharing for Microsoft Networks a Intemet Protocol Version 6 TEP 1Pv6 a Intemet Protocol Version 4 TCP IP wi Link Layer Topology Discovery Mapper 1 0 Driver wi Link Layer Topology Discovery Responder Uninstall Properties Description Allows your computer to access resources on a Microsoft network 5 Select Protocol from the List and click Add to open the Select Network Protocol dialog Description A protocol is a language your computer uses to communicate with other computers 6 Select MITSUBISHI ELECTRIC from the Manufacturer List and after that MITSUBISHI DCP driver from the Network Protocol List Then click OK to confirm the selection c 2011 MITSUBISHI ELECTRIC CORPORATION Installation Select Network Protocol Click the Network Protocol that you want to install then click OK if you have i an installation disk for this feature clic
188. os me lato soarce ma Se onamo Red fix CO AN acceptable Configuration of high speed area is wrong c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN 3 Getting to know GX Configurator PN GX Configurator PN Concept GX Configurator PN GXPN is the configuration tool for PROFINET I O interfaces in MITSUBISHI PLCs lt provides functions for defining a PROFINET I O network validating the configuration and downloading it to the respective PLC module wa a MITSUBISHI automation network GX Configurator PN is capable of downloading configuration data to the PROFINET I O module via a variety of different communication types The module can be located in a PLC rack directly connected to the PC or in a PLC rack which is connected to other PLCs in a separate network GX Configurator PN takes information on PROFINET I O slaves from GSD files which are specific to the respective slave and usually provided by the slave hardware vendor It generates multi CPU parameters for use in GX Developer GD and GX IEC Developer GID User Interface The graphical user interface of GX Configurator PN assists the user by making the most important functions easily accessible as GX Configurator PN File Description Library Network Devices fems Help Main Menu E 30 CEPU CHI potter Hane Datatype Offset device i E TCP IP 192 166 000 052 qlidccpu v HISLOTON2 ST CHAN Input byte 4 Configuration View 8 air ewe HISLOTON2 ST CHAN
189. ou can set 9600bps 19200bps 38400bps 57600bps or 115200bps For the QnACPU of version 9707B or later you can set the transmission speed of 9600bps 19200bps or 38400bps For the QnACPU of other versions you can set 9600bps or 19200bps The transmission speeds of the ACPU except A2USHCPU S1 FXCPU and motion controller CPU are fixed to 9600bps The A2USHCPU S1 may be set to 19200bps PLC CPU Standard Serial Interface RS 422 MX Transfer Setup Wizard PLC side Please select the PLC side VF PLE side I F CPU module CPU series fa CPU type a02 Transmission speed 115300 Control DTR or RTS Control c 2011 MITSUBISHI ELECTRIC CORPORATION For a description of the editable parameters on the page see PLC side CPU interface parameters Pressing the lt Next gt button opens a page for entering a comment for the connection Q CPU Q mode Connected Station CPU Relayed Station CPU acru a Pelaved QCP ana ACP Network mode U A CPU U EXCP mode 4 U Computer link X cciink o 2 o Accessible x Inaccessible 1 Including motion controller CPU 2 Use the QnA or ACPU side CC Link module w hose ROM version is S or later 3 For the Redundant PLC access is disabled 4 partially supported depends on CPU type MELSECNETH o x x x x Mevseonevio 0 o fefefe Ehem oe x of x px pot x peje 2 x Q CPU A mode Connected Station l CPU Rel
190. out further interaction by the application In PROFINET the cyclic communication is based on the producer consumer model For each lO device the lO controller establishes connection with a specific refresh period duration of the cycle The cyclic data exchange can be individually started or stopped for each PROFINET IO device Inputs and outputs are exchanged between the PLC and the PROFINET Controller via the INPUT DATA and OUTPUT DATA buffers I O variables configured in GX Configurator PN are located inside these two buffers by respecting some alignment rules As these buffers can be accessed simultaneously from the PROFINET Controller and the PLC a handshake mechanism exists to ensure consistency on all variables This mechanism is optional and can be activated and deactivated per device Input and Output Data Alignment The lO devce input and output areas in the buffer memory of the PROFINET Controller are word aligned PROFINET variables are located in the shared memory by respecting the following rules e The data of each PROFINET lO device is placed at an address on a word boundary independent of its type e Single or array variables must be aligned on an address modulo of the minimum of both the PLC alignment 2 and the native type size 1 2 or 4 So specifically c 2011 MITSUBISHI ELECTRIC CORPORATION 15 ox Configurator PN o Each slot should always be located at the next available word boundary address o BYTEs
191. oute switching example 2 Note the following table indicates details of the special relay and special registers to be monitored when estimating whether route switching occurred or not Other system turns on when an error occurs during redundant system error SM1600 error flag check Turns on when either of bits for SD1600 OFF No error remains off when no errors are present ON Error c 2011 MITSUBISHI ELECTRIC CORPORATION SD1590 SD1690 Module no for network module requesting route switching in host system Module no for network module requesting route switching in other system any of the following bits turns on corresponding to module No for network module requesting route switching in host system turns off by the system after recovery from error of the relevant module by user Bit status b15 to b11 to bi b O OFF spisso _o0 pa pajo ON L Module No 0 Invalid as CPU module uses 2 slots Module No 1 Indicates the module to ke the right of CPU module Module No 11 Indicates the module at the right end of a 12 110 slot base 03126 refer to SD1690 for module No for network module requesting route switching in other system any of the following bits turns on corresponding to module No for network module requesting route switching in other system turns off by the system after recovery from error of the relevant module by user Bit status tobdi de bi b 0
192. output contents from the buffer devices to the transfer buffers in shared memory and the input contents in the opposite direction The global variables reference these buffer devices Thus a read write access by the PLC program to a global variable equals a read write access to the respective buffer device The following diagram shows the relation between transfer buffers devices and global variables vPN_MGMT_INPUTS xO Mgmt Inputs WPN_ACYCLIC_ RECH A VPN_ACYCLIC RES1 PN_ACYCLIC RES2 012100 Acyclic Inputs vPN_ACYCLIC_DIAG_INPUTS vPN_CYCLIC_OUTPUTS Y aL Qn CPU vSLV nmeSLOT n YY YY Cyclic Outputs PROFINET 7 Controller PA_CYCUC INPUTS D4542 lt Qutput size gt Cyclic Inout vSLV lt m gt SLOT lt n XXXX example D4592 ees Global Variables Buffer Devices Transfer Buffers With the default buffer device addresses as shown in the previous screenshot the export PLC code contains the following global variable definitions Wentiter Type vPN_ MGMT OUTPUT Name Type MIT Adar S IDE START_STOP BOOL 00 10D_MGT_MODE ARRAY 0 127 OF BOOL 20516 NOD START_STOP_DEY ARRAY 0 127 OF BOOL 20144 lOO CMO _HSK_Y ARRAY 0 127 OF BOOL HOM272 100 _MGT_ALARM ARRAY 0 127 OF BOOL 2209400 JOD CONSIST ARRAY 0 127 OF BOOL Z0 gt B28 10D_INPUT_HSK_Y ARRAY 0 127 OF BOOL 0656 OD OUTPUT_HSKY ARRAY 0 127 OF BOOL 20 704 ACYC HSK_Y_REO1_EXE BOOL HOI ACYC_HSK_ Y_REG2 EXE0BOOL 20 913 IEC Addr
193. partially supported depends on CPU type versene o x x x versene x x pa TE Q CPU A mode Connected Station CPU Relayed Station CPU Rel Own Board QCPU A ceca mode 1 Including motion controller CPU MELSECNET H MELSECNE Till Ethernet Computer link o Accessible x Inaccessible QnA CPU c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Connected Station CPU Relayed Station CPU Rel Own Board Qnacpu elaved QCP QCP QnA ACP ee Woks U Q U A CPU U mode mode 4 eS oome O E o Accessible x Inaccessible 1 Including motion controller CPU fweiseonetn x f x x versene x x versene x x w x x ol x A pas Pepe A CPU Connected Station CPU Relayed Station CPU Rel Own Board esa QCP QCP QnA ACP U Q U A CPUJ U FXCP mode mode 1 U CC Link CC Link IE MEN 1 Including motion controller CPU Ay L o Accessible x Inaccessible 9 3 2 9 PC MELSECNET H Board A connection between PC and PLC va MELSECNET H requires the MELSECNET H interface board and the corresponding driver to be installed in the PC PC side MELSECNET H parameters c 2011 MITSUBISHI ELECTRIC CORPORATION Appendix 222 1st 2nd 3rd 4th module selects the interface board in the PC MX Transfer Setup Wizard PC side For a description of the editable parameters on the
194. plication program QO3UDE_1 GX IEC Developer sel IOMAP_CHECK Global Variable qui ai Class sentir MIT Ader_ EC Ader Project c MELSEC GX IEC D A VAR_GLOBAL PN MGMT OUTPUTS OC_START IOC_START tPr te Library_Pool STOP DO ALE 2 fl fi ManuFacturer_Lib IOD MST CD le PN_IOMAP_CHECK Ins MODE MIONIOD_MGT_ 9 DUT Pool IOD_START MODE _ lagi Global_Vars _STOP_DE QXx16 q POU Pool ve 90 NOD START on PNFB_BASE_TYPES Ins lOD CMD STOR DE B 84 DUT_Pool HSK Y fv Saxi Global _Yars 14110 IOD CMD a POU_Pool IOD_MGT_ HSK_Y E Standard_Lib ALARM OM Parameter 1390 lOD_MGT_ po IOD_CONSIALARM onal Network B st Y210 ar40 E Module Configuration lOD INPUT OD CONSI ceo Task Pool HEK JST 290 So LADO Ob OUTP Oo INPUT PIT Ler 4 1 UDI oe r an 4 16 Pl GL 55 Declarations QO3UDE 2 c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN 9 9 1 9 1 1 Appendix Troubleshooting Factory Default Settings Problem The ME1PN1FW Q cannot be accessed from GX Configurator PN although network address settings and cabling are correct Solution To reset the ME1PN1FW Q to its factory default settings execute the following operations Important the ME1PN1FW Q must be placed alone in the first slot marked CPU of the PLC backplane and the CF card must be removed from its card reader slot p a q Ma Note the position of the LEDs and the switches
195. ps 9 3 2 21 PLC Ethernet Interface Enter the settings for an Ethernet module in the PLC PLC side Ethernet module parameters Connect module Host IP address AJ71E71 AJ71QE71 QU71E71 FX type of PLC ethernet module ENET ADP CPU module CC IE Field Ethernet Adapter IP address of the PLC side interface This value must nnn ann nann nnn equal the address which has been configured in the Network Parameters of the PLC settings network number of the E71 ethernet module This value Network No 1 239 can only be edited in the PC Ethernet board page only for QJ71E71 modules station number of the PLC side interface This value must equal the station number which has been Station No 1 6 configured in the Network Parameters of the PLC settings only for QJ71E71 modules c 2011 MITSUBISHI ELECTRIC CORPORATION free UDP port number on the PC side for data sent by the PLC Port numbers below 1025 should not be used Port No O 65535 only for AJ71E71 UDP and TCP AJ71QE71 TCP FX ENET ADP modules CPU timeout as multiple of 250 milliseconds CPU time out 1 65535 only for AJ71E71 modules Note The Next gt button is disabled if no IP address has been entered Note Replacement of Ethernet modules lf the PLC Ethernet module has been replaced during Ethernet communication the communication on the PC must be restarted because Ethernet MAC address is different
196. r the lO Devce By File name Displays the lO Devices according to the GSD filename By lO Device name Displays the lO Devices by name This sort is based on the Name field in the GSD for the lO Devce c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface This wizard style dialog is opened to add device types defined in GSDML files to the device library GSDML Management Som 7 1 2 GSDML Management Dialog GSDML Profinet This Wizard allows you to add GSDML files GSDML Management Select the Location of the GSDML File s a Add File s 5 Add all the GSDML from the Directory Look in Subfolders Directory or File Mame The GSDML files usable in the Console are registered in the GSDML base Select the location of the file s and click on Next button to insert the GSDML files in the base c 2011 MITSUBISHI ELECTRIC CORPORATION MON GX Configurator PN Description Choices Range Add File s Add one or more GSDML files Selected not Selected Use the Browse button to select S ected the files If the file already exists the File Already Exists warning is displayed Add all the GSDML Add the GSDML files in a specified Selected not Not from the Directory directory and optionally its selected selected subdirectories Use the Browse button to select the files lf a file already exists the File Already Exists warning is displayed Look in Subfolders If sele
197. riority c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q MO ps AR Response positive format Status Word Value Offset C ID Same as the request Device ID Requested device Ee byte oo fee ECO fe fee ow Response negative format Word Value a C Same as the request Header Data length 0x00 byte c 2011 MITSUBISHI ELECTRIC CORPORATION NN GX Configurator PN Possible values for Status comen ome o mear Ce moarsoeorosaas o aio 10 Device Information Request format Word Value om PLC value a c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q MON Mil iO Response positive format Status Word Value PINE CI ee ID Same as the request Device ID Requested Device 4 byte IP address o j Input area in High Speed Area output area in High Speed Area Input length Output Length c 2011 MITSUBISHI ELECTRIC CORPORATION MON GX Configurator PN 32 Number of successul connections State Connected Not Connected O eer Manual O E Current Profinet Status Response negative format Word Value Offset C ID Same as the request o fos fe o foa foo caan DO Header Data length byte o Seea ee o Fem ee o Fee ne foe wwe CO Possible values for Status Value Comment fo Status OK function Profinet stack not st
198. rks nos Packet Scheduler 4 Internet Protocol TCP IP a Description Allows your computer to access resources on a Microsoft network Show icon in notification area when connected Notify me when this connection has limited or no connect 4 Select Protocol from the List and click Add to open the Select Network Protocol dialog Select Network Component Type EE Click the type of network component pou want to metall ll Client de we Protocol Description protocol is a language pour computer uses to communicate with other computers Cancel 5 Select MITSUBISHI ELECTRIC from the Manufacturer List and after that MITSUBISHI DCP driver from the Network Protocol List Then click OK to confirm the selection c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Select Network Protocol Click the Network Protocol that ou want to install then click OF IF you have an installation disk for this component click Have Disk j anufacturer TETE HI ELEC TAIC p Network Protocal MITSUBISHI DCF driver This driver is not digitally signed Tell me why diver signing is important Chk D caa The MITSUBISHI DCP driver is now added to the Protocol List in the dialog Local Area Connection Properties 4 3 2 Windows Vista 1 Open the Control Panel and click View network status and tasks to open the Network and Sharing Center go Control Panel e Cont
199. rocedure 2 D8121 Station No setting Specify the station No in the range of OOH to OFH 3 D8129 Time out judge time setting Specify the FXCPU timeout as a multiple of 10ms The range depends on the CPU type n FXON FX1S and FX1N C 1 to 255 10 to 2550ms FX2N C 1 to 3276 10 to 32760ms A value of 0 corresponds to 100ms Note when communication settings have been downloaded reset the FX CPU when setting up a multi drop connection apply the same communication settings for all devices However make sure that the station numbers do not overlap REMARK The following shows an example of setting values to the special data registers by using GX Developer Magis HO H6030 08120 HOW HOG Dele 1 HOW D200 De124 The following shows the setting details of each special data register in the above program 1 D8120 Transmission control procedure Form 1 Communication protocol Computer link Sum check Available H W type RS 485 Transmission speed 9600bps Stop bit 1 bit Parity N A Data length 7 bit 2 D8121 Station No 12 c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN 3 D8129 Time out time 9 3 2 20 PLC Modem 200ms Enter the settings for a modem interface module in the PLC PLC side modem parameters Parameter Module type Station No Transmission speed Q6TEL Communication Setting Wizard PLC side E x Q6TEL QnA FXCPU type of PLC
200. rol Panel Home Classic View Recent Tasks Change desktop background View network status and tasks System and Maintenance Get started with Windows Back up your computer Security Check for updates Check this computer s security status ie Allow a program through Windows Firewall SW Sena status and tas Set up file sharing Hardware and Sound Play CDs or other media automatically Printer Mouse Programs Uninstall a program Change startup programs y User Accounts and Family Safety e Set up parental controls for any user e Add or remove user accounts Appearance and Personalization Change desktop background Change the color scheme Adjust screen resolution Clock Language and Region Change keyboards or other input methods Ease of Access Let Windows suggest settings Optimize visual display Additional Options 2 Click View Status of the Local Area Connection to open the Local Area Connection Status c 2011 MITSUBISHI ELECTRIC CORPORATION Installation e a EE Control Panel Network and Internet Network and Sharing Center Tasks i Network and Sharing Center View computers and devices View full map Connect to a network 1d e gt 7 Set up a connection or network 3 e WIN SEYGTOCIVZH Internet Diagnose and repair This computer Manage network connections Aki Network 2 Public network Customize Access Local only Connection Local rea Connection 33 Shar
201. rs The ethernet communication va FX ENET ADP for FX1S FX1N C and FX2N C is configured through settings in special PLC devices Set the ethernet parameters to nine data registers from D1000 to D1008 If these data registers are used for any other purpose the ethernet parameters can be set to nine registers D starting from D2000 D3000 D4000 D5000 D6000 or D7000 Data Default Description ETT rs parameter Dn000 root Header T Set HAS4EG5S4 ENET O Dn002 Dn003 IP address 192 168 0 100 Set the IP address of the FXENET module Dn004 Dn005 255 255 255 0 Set the sub net mask of the FXENET module Dn006 Dn007 Gateway 192 168 0 1 Set the gateway address ofthe FXENET address module Dn008 TCP port 1024 Set the TCP port number within the range number from 1024 to 65535 n Choose any number in the range betw een 1 and 7 When a PLC program is used to set the ethernet parameters The ethernet parameters for the FX ENET ADP can be set using the PLC program below Note Inthe FX ENET ADP the ethernet parameters become valid only when the power is is turned ON and the setting data is stored in specified data registers In any of the following cases turn off the power of the PLC once and turn it on again c 2011 MITSUBISHI ELECTRIC CORPORATION e when a parameter is set for the first time e when the setting of a parameter is changed during operation M8002 Settin VOV H454E4554 D1000 of Header ASCII codes to sp
202. rt I O No FJUpdate PLC Project 5 Download the PROFINET Controller configuration c 2011 MITSUBISHI ELECTRIC CORPORATION 175 GX Configurator PN File Description Library Network Devices Ite Configuration Manager lel Save amp List and Print Pa PLC Settings Download Configuration Download Configuration in Memory Card Preferences Message View Exit 6 Import the asc file into the PLC program project QO3UDE_1 GX IEC Developer Project Object Edit Tools Online Debug view Extras Window FATE oo os QOSUDE_1 Es Project cH ME i omap_check asc File name pn_iomap_check ase Files of type las Cll Import asc Cancel 7 The user libraries are automatically added to the library pool of the PLC project when the user imports the asc file c 2011 MITSUBISHI ELECTRIC CORPORATION PLC Code for PROFINET Controller 176 QOSUDE_1 GX IEC Developer e S Slo o Oi a3 Project Object Edit Tools Online Debug view Extras Window Help OO3UDE 1 Project c IEC Developer 7 04 Projects gt is al Lib H 194 DUT_Pool E Global_Yars Ea la POU_Pool a a Global_ ars 06 POU Pool E f Standard _Lib a Parameter E Module Configuration ty Task_Pool Pd o MAIN LD Frio 31 Event TRUE Oo TASK_PN_IOMAP_CHECK Frio 31 Event TRUE w nT ee 8 The global variables included in the project specific user library can now be included in the ap
203. rties lf the PROFINET Controller is selected opens the PROFINET Controller Properties dialog If an lO device is selected opens the PROFINET I O Device Properties dialog Start Console Diagnostic Start diagnostic mode Stop Console Diagnostic Stop diagnostic mode c 2011 MITSUBISHI ELECTRIC CORPORATION 103 GX Configurator PN Options Opens the Display Option dialog Properties The effect of this menu item depends on the node which is selected in the network tree Node Type Properties Dialog PROFINET Controller ME1PN1FW Q Properties Dialog lO Device O Device Configuration Dialog Item Configuration Device PROFINET Network View Device Name Properties Dialog Item Configuration Slot Items Declaration Dialog Module Configuration O Device Configuration Dialog Tab Module Configuration Module Name Module Configuration Dialog 7 3 2 Display Option Dialog The display of the PROFINET network tree can be modified with the options in this dialog Display Option Value Name Value Display device F address in tree INACTIVE Display device number in tree ACTIVE Add GSOML in library Message for Redundant GSDML ACTIVE Parameter Description Display IP address device in tree Cancel Help Description Choices Range Display device IP If enabled displays the IP address of the device c 2011 MITSUBISHI ELECTRIC CO
204. s 192 168 000 001 Device Name wago 750 340 Description Defines which methods for IP addess assignment is used Local means that the DAP supports a device specific method for IP address assignment aximum number of slots supported by this 5 after completing the network settings the configuration can be downloaded to the ME1PN1FW Q _with the item Download Configuration from the File menu b fa Sete pester LIT mea JA KONTO uU Talo Y fle PA Library Network Devices Ite D Configuration Manager lel Save amp List and Print PLC Settings a Download Configuration ia Download Configuration in Memory Card Preferences Message View Exit c 2011 MITSUBISHI ELECTRIC CORPORATION at GX Configurator PN 6 6 1 Main Menu Starting GX Configurator PN Select GX Configurator PN from the Windows Start menu The default shortcut is Start gt Programs gt MELSOFT Applications gt GX Configurator PN 1 02 gt GX Configurator PN 1 02 Main menu The main menu offers the following pull down menus Main Menu Description Items opening saving and downloading configurations Description add remove a PROFINET Controller managing the library with the device types The items in the open pull down menus can be reached va mouse or keyboard The underlined character will start the function In addition there are some menu items which may be started using predefined shortcuts
205. s Numb Values OO OOOO vVPN_MGMT_OUTPUTS IOD_CONSIST 0 v PN_MGMT_OUTPUTS IOD_CONSIST 15 v PN_MGMT_OUTPUTS IOD_CONSIST 16 Disable Enable Consistency Consistency c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q 16 Therefore station specific handshake flags are added to the shared memory which block simultaneous access to the same input or output area by both the master and the PLC program This solution is slower but has the following advantages 1 IO controller checks the configuration to detect stations which require consistency 2 it marks those stations which require consistency for inputs and outputs 3 handshake controls access to each station separately not blocking simultaneous access to all stations The disadvantage of this solution is the delay between two updates data from PLC Note PLC CPU and PROFINET Controller cannot write to the same area in shared memory Therefore the handshake mechanism requires to define two bits for device inputs and two bits for device outputs Output Handshake Registers IOD OUTPUT _HSK Y and OD OUTPUT HSK_X From CPU to IO Controller Global Variable Identifier Function vPN_MGMT_OUTPUTS IOD_OUTPUT_HSK_Y O0 Take into account new outputs for device 0 Take into account new outputs for device n vVPN_MGMT_OUTPUTS IOD_OUTPUT_HSK_Y 127 Take into account new outputs for device 127 From lO Controller to CPU Global Variable Identifier Fu
206. s if LENGTH W Ry The input ID contains the lO devce number 22 By setting M50 the alarm request is started M51 indicates that the requested data has been written to the global variable Log_1 8 1 8 Function Block lO Device Info This function block reads type information from the specified lO device Instance IO DEVICE_INFO REQ VALID BUFFER 2 BUSY ID ERROR STATUS RECORD LENGTH gt Ce Start read lO device information BUFFER_2 moui 0 Buffer 1 for acyclic request is used npu ee ee 1 Buffer 2 for acyclic request is used Device ID shall contain the IP Address VALID Bool Data in the output RECORD is valid BUSY The function block is in use ERROR Error detected Output STATUS W Last detected status possible values O Status OK 1 Profinet stack not started 10 Device not configured c 2011 MITSUBISHI ELECTRIC CORPORATION PLC Code for PROFINET Controller 166 PLENGTH Read data size in byte The read lO Device information cm is moved to the output RECORD by using a block move operation The user has to configure an array variable for this output with the corresponding number of elements Content of the lO Device information data o Input area in High Speed Area zo Output area in High Speed Area Input length Output length COMA CN Call FB lO Device Info c 2011 MITSUBISHI ELECTRIC CORPORATION
207. s is made to the ANNCPU AnACPU or QnACPU va the MELSECNET 10 c 2011 MITSUBISHI ELECTRIC CORPORATION Connected Relayed Station CPU Station CPU Relayed QCP QnA A Network QCP QCP QnA ACP FX U A CP CPU U Q U A CPU U CPU mod U 4 mod mod 4 e e e o Accessible x Inaccessible 1 Including motion controller CPU 2 Operates as the one equivalent to AnACPU Settings Switch 1 For 1 1 For 1 n communication communication Module 1 Module 2 Mode setting switch 1 format 1 A format 1 5 format 1 Station number setting switches OO As set by user OFF RS 232 Main channel setting OFF RS ON RS 422 232 Data bit setting As set by user As set by user 2 2 iweiseonewio x o repo versene x o 2 o x Transmission Transmission speed setting As set by user As set by user 2 specifications Parity bit yes no setting As set by user As set by user 2 setting switches Stop bit setting As set by user As set by user 2 Sum check yes no setting As set by user As set by user 2 Online change enable As set by user disable setting Computer link multidrop ON computer link ON ON computer setting Computer link link 1 For switch numbers refer to the computer link module manual 2 Make the same settings to Module 1 and Module 2 AJ71QC24 c 2011 MITSUBISHI ELECTRIC CORPORATION 25 GX Configurator PN Communication Setting Wizard PLE side i i x
208. stallation 62 ie GX Configurator PN 1 02 InstallShield Wizard Ready to Install the Program The wizard is ready to begin installation Click Install to begin the installation TF you want to review or change any of your installation settings click Back Click Cancel to exit the wizard InstallShield 10 After pressing the Install button the installation is started Progress bars will inform you about the setup status a GX Configurator PN 1 02 InstallShield Wizard Installing GX Configurator PN 1 02 The program features you selected are being installed Please wait while the InstallShield Wizard installs GX Configurator PH 1 02 This may take several minutes Status Copying new Files InstallShield com o Teme 11 After the installation has been successfully completed you see the following message c 2011 MITSUBISHI ELECTRIC CORPORATION 63 GX Configurator PN iis GX Configurator PN 1 02 InstallShield Wizard InstallShield Wizard Completed The InstallShield Wizard has successfully installed GX Configurator PH 1 02 Click Finish bo exit the wizard E Cancel Button Functions With the Next button you will leave the current menu and enter the next menu With the Back button you go to the previous window Cancel button ends the installation procedure 4 3 Installing the DCP Protocol Driver The DCP protocol must be manually added to
209. t Pressing the lt Next gt button opens a page for entering the MELSECNET address of the target PLC Station in coexisting network For MELSECNET 10 interfaces c 2011 MITSUBISHI ELECTRIC CORPORATION Communication Setting Wizard Network x Please select the MHetywyork Station type Other station Coexis Connect CPU series la Connect CPU type Jor 2PH Metwork MELSECNET oH Metwork route Select the type of the coexisting network and press the lt Next gt button to open a page for entering parameters of the target PLC in the coexisting network For MELSECNET H interfaces Communication Setting Wizard Network x Please select the Wetywyork Station type Connect CPL series Connect CPU type Network MELSECNETA 0H ka MELSECNETH Cancel Back Mest Select the type of the coexisting network and press the lt Next gt button to open a page for entering parameters of the target PLC in the coexisting network For CC Link interfaces c 2011 MITSUBISHI ELECTRIC CORPORATION 283 GX Configurator PN Communication Setting Wizard Network x Please select the Metrsork Station type Other station Coexis Connect CPU series la Connect CPU type Jor 2PH Connect station Mo a Network MELSECNETA 0H Metwork route Connect station station number of the CC link module in the target no station Select the t
210. t FX Configurator EN Unset file Ethernet operational settings lo x File View Help ETIE Communication data code Initial timing Do not wait for OPEN t Communications Impossible at STOP time J ASCI code Always walt for OPEN Communication possible at STOP time 3 IP address send frame setting Input format DEC e Etherneti 2 0 IF address f EEESO2 3 TCP Existence confirmation setting Use the KeepAlive f Use the Ping mf 4 3 Set the ethernet open setting FX Configurator EN Unset file Ethernet open settings i 5 x File View Help Ci ai bed amp Fixed buffer Pairi Exist Host station Transmission Pa Protocol Open system Fixed butter communication ana piece target device IF oar confirmation procedure address Co pe CESTO 0005 ff O T Soo BOE BB Bm Pp Cancel 4 Dialog to select the router c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN FX Configurator EN Unset file Ethernet router relay paramete 0 x File View Help NE Router relay function hot usec SUb net mask pattern E Router IP address input format DEC ka Sub net mask pattern Router IP address Cancel 5 Transfer setup is used to download the Ethernet parameter to the FXENET The transfer happens through the PLC so that the corresponding setting should be selected for example serial communication to transfer the Ethernet paramete
211. t device Next Get settings of next I O device slave disabled for last device Close dialog and save changes a Close dialog and discard changes Open online help P Note when creating a configuration from the Network Detection View aka automatic configuration mode IP address and name of the device are already set When manually adding the device these items must be entered by the user Default button c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN 7 8 2 Device Module Configuration Tab This tab is used to select the modules in the lO Device 750 370 V02 01 30 FW 02 Available Modules pci El Display Order Number Configured Modules ra O y 2AE Available Modules Slot Module H System Modules H Digital Input Modules 001 E Digital Output Modules 7 H Digital In Output Modules 002 75643 MP Bus Master 000 750 370 V02 01 0 FW 02 750 606 Supply 2D1A 30 BIT En Analog Input Modules 5003 75 481 241 RTD EM H E Analog Output Modules empty H E Special Modules E Ex i Intrinsical Safe Modules 2 Safety Modules PROFIsafe Available Modules Description Choices Contains the list of modules compatible with the lO Device configured This list was established from the device library From this list it is possible to add the modules present on the lO Devce to the list of configured modules When a module can be conf
212. t high speed transfer and therefore cannot be used e Q00UJ e Q00U e Q01U e Q02U Mounting the PROFINET Controller in a PLC Rack The PROFINET Controller must be placed in the first slot next to the controlling Qn CPU Additional intelligent and l O modules are supported in the slots following the PROFINET Controller where they can be accessed by the controlling Qn CPU Additional CPUs are not supported c 2011 MITSUBISHI ELECTRIC CORPORATION 5 GX Configurator PN 2 1 O series PLC with high speed data transfer enabled First slot for intelligent or O module PROFINET Controller O BIT a z Additional intelligent and I O modules Note if any of the intelligent modules requires specific settings in the O Assignment configuration these settings must first be set in the controlling Qn CPU using the PLC programming software GX Developer GX IEC Developer GX Works 2 After this the I O assignment settings must be copied to the PROFINET Controller by updating the PROFINET Controller using the Update Parameters dialog Otherwise the Qn CPU will signal an error because the I O assignment settings on Qn CPU and PROFINET Controller differ Shared Memory PLC Interface The communication between the PLC program and the PROFINET Controller is based on a shared memory area inside the High Speed Area which is accessed via buffer devices in the CPU PLC Mgmt
213. t methods Add a device Change display language Programs Aih Ease of Access Uninstall a program N j Let ene elif ak settings Optimize visual display 2 Click Local Area Connection to open the Local Area Connection Status c 2011 MITSUBISHI ELECTRIC CORPORATION Installation a ne lt Network and Internet Network and Sharing Center Control Panel Home r View your basic network information and set up connections Change adapter settings A F 5d See full map Change advanced shari ie a ange advanced sharing WIN7 PC ae settings E This computer View your active networks Connect or disconnect Internet Network Access type Public network Connections U Local Area Connection Change your networking settings Le Set up a new connection or network Set up a wireless broadband dial up ad hoc or VPN connection or set up a router or access point A Connect to a network Connect or reconnect to a wireless wired dial up or VPN network connection 4 Choose homegroup and sharing options Access files and printers located on other network computers or change sharing settings See also HomeGroup Troubleshoot problems Diagnose and repair network problems or get troubleshooting information Internet Options Windows Firewall 3 Click Properties to open the Local Area Connection Properties General Connection IPy4 Connectivity Internet IPvo Connectivity No netw
214. ta LENGTH Read data size in byte The read alarm data is moved to the output RECORD by using a block move operation The user has to configure an array variable for this output with the corresponding number of elements API number used to perform the alarm Priority Alarm priority High priority Ox06 Low priority Ox05 Alarm type Slot number Slot number of the alarm SubSlot number Subslot number of the alarm 6 specifer Alarm specifier Module ident number Module ID of the Alarm SubModule ident number Submodule ID of the Alarm Data length Data Size in byte 12 Data length 2 1 O to 1432 bytes c 2011 MITSUBISHI ELECTRIC CORPORATION 159 GX Configurator PN Alarm Types CAC 0x0008 Controlled by supervisor Logical Pull of a submodule to withdraw ownership 0x0009 Released Logical Plug of a submodule to return ownership or trigger a reparameterization c 2011 MITSUBISHI ELECTRIC CORPORATION PLC Code for PROFINET Controller 160 0x0020 Ox007F Manufacturer specific 0x0080 OxOOFF Reserved for profiles Alarm Specifier CO e O to 2 047 incremented upon each indication Diagnosis channel 0x00 No diagnosis available 0x01 Diagnosis available Specific diagnosis 0x00 No diagnosis available 0x01 Diagnosis available Diagnosis sub module 0x00 No diagnosis available 0x01 Diagnosis available 15 AR diagnosis 0x00 No diagnosis available 0x01 Diagnosis avail
215. tablished can be either e the host station e a different station in an attached network e a different station in a separate network 9 3 2 12 PC CC Link Board A connection between PC and PLC via CC Link requires the CC Link interface board and the corresponding driver to be installed in the PC PC side CC Link parameters 1st 2nd 3rd 4th module selects the interface board in the PC Note The CC Link master local module used in CC Link communication or CC Link G4 communication only when the AJ65BT G4 is used must have software version N or later Modules with software version M or earlier will not operate properly c 2011 MITSUBISHI ELECTRIC CORPORATION 22 GX Configurator PN MX Transfer Setup Wizard PC side Please select the PC side UF cc Link board st module 4th module For a description of the editable parameters on the page see PC side CC Link parameters The PLC station to which a connection is established can be either e the host station e a different station in an attached network e a different station in a separate network Q CPU Q mode Connected Station CPU Relayed Station CPU Rel Own Board qcpu a oa QCP QCP QnA ACP mode U Q JU A CPU U Eyap mode mode 4 U X X X X X X X CA ef x 1 Including motion controller CPU 2 partially supported depends on CPU type versene o x x merseonemo x q X X o
216. te a new value each 500 ms The mechanism can be stopped at any time by writing O again to the LIVE_WORD_Y register Each 500ms the lO controller also copies the LIVE_WORD_Y read value in the LIVE WORD_X register If the PLC does not read the same value after a maximum of 1 second the PLC can consider that the lO controller is no longer running and start any appropriate action c 2011 MITSUBISHI ELECTRIC CORPORATION PROFINET Controller ME1PN1FW Q EEN 2 1 6 PLC and PROFINET Controller States RUN STOP PROFINET Comment Controller STATE PROFINET stack is in RUN IOPS and IOCS have status GOOD Input data are updated in the High Speed Area PROFINET stack is in STOP Output data old values and IOPS and IOCS set to BAD Input data are updated in the high speed area PROFINET stack is in RUN Output data old values an IOPS and IOCS set to GOOD Input data are updated in the high speed area PROFINET stack is in STOP Output data old values an IOPS and IOCS set to BAD Input data are updated in the high speed area 2 2 LED Display 2 2 1 User LED The USER LED is the bottom right one in the six LEDs group on the front of the ME1PN1FW Q RUN E E mooe CF CARD L LJ ERR CH3 SWRD C This LED signals PROFINET Controller specific states in combination with the 7 segment LED display For the meaning of the other LEDs please consult the user manual of the Q12DCCPU V Error see 7 segments LED RED slow bli
217. ted to get the alarm description then to acknowledge the alarm An lO device can send up to 2 alarms simultaneously one alarm of High Priority one alarm of low priority The lO device won t be able to initiate a new alarm of the respective priority as long as the lO controller has not acknowledge the previous one By default the PROFINET stack can handle alarm automatically without reporting any indication to the PLC program However PLC can decide to manage or not by itself alarms for each device This can be done using the IOD_MGT_ALARM registers With these eight 16bit registers the PLC can indicate how the firmware should for each lO device manage alarms From CPU to PROFINET 1 10 Controller c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN Automatic Manual Automatic Manual Automatic Manual Automatic Manual Automatic Manual Automatic Manual v PN_MGMT_OUTPUTS IOD_MGT_ALARM 127 For an lO device in automatic mode the lO controller automatically acknowledges each alarm received from an lO device IOD_ALARM_IND bits are not used For an lO device in manual mode an alarm indication is signalled to the PLC program via the IOD_ALARM_ IND registers From lO Controller to CPU Register v PN_MGMT_INPUTS IOD_ALARM_IND O v PN_MGMT_INPUTS IOD_ALARM_IND 127 Note the stack can store internally both high and low priority alarms When the CPU requests alarms the high priority alarm wil
218. the Ethernet interface which is used for communication with the PROFINET Controller The procedure is specific for each of the following Supported operating systems e Windows XP e Windows Vista e Windows 7 Note you may need administrator rights for the following steps c 2011 MITSUBISHI ELECTRIC CORPORATION 4 3 1 Windows XP Installation 1 Open the Control Panel and double click Network Connections to open the Network Connection Settings amp Control Panel File Edit View Favorites Tools Help ya Search Key Folders ia O EEk Address Control Panel Name Vi Control Panel Accessibility Options S Add Hardware G Switch to Category View T Add or Remove Programs 43 Administrative Tools a Automatic Updates See Also Date and Time g Windows Update SA Display Folder Options 9 Help and Support EbFonts Game Controllers Y internet Options akeyboard a Network Connections Lo Phone and Modem Options Power Options ES Printers and Faxes e Regional and Language Options B Scanners and Cameras 9 Scheduled Tasks Ly Security Center 9 Sounds and Audio Devices wv Speech system el Taskbar and Start Menu 9 User Accounts El Mware Tools E Windows Firewall a Wireless Network Setup Wizard Comments Adjust your computer settings for vision hearing and mobility Installs and troubleshoots hardware Install or remove programs and Windows components Confi
219. tifiers must conform to specification IEC 61131 Some of the restrictions checked are global variable names must be unique within the PLC project identifiers must not exceed 32 characters in length identifiers must not contain hyphen characters identifiers must not contain multiple consecutive underscores and must not end with one If any of these restrictions are violated GX Configurator PN attempts to modify the identifiers in question and displays warnings on the problems encountered in a separate dialog Validating VO Configuration SLOTO13 RESERVED _CHANNEL_0 Warning Invalid identifier replaced changed SLOTO13 CNT VAL CHANMNEL 0 to SLOTO13_CNT_VAL_ CHANNEL 0 Warning Invalid identifier replaced changed 5SLOTO13 CONTROL CHANNEL 0 to SLOTO13_CONTROL_ CHANNEL 0 Warning Invalid identifier replaced changed SLOTO13RESERVED CHANNEL 0A to SLOTO13 RESERVED CHANNEL OA Do not show warnings again c 2011 MITSUBISHI ELECTRIC CORPORATION MON GX Configurator PN Description Choices Default Range Messages on wolations to IEC 61131 restrictions Do not show If checked this dialog is no longer displayed selected not not warnings again when warnings are encountered but the selected selected respective function documentation or POU export is directly executed Note this option is de selected when the program is restarted OK Close dialog and proceed Default button Can
220. ting range 1 to 180 Set the callback delay time Default 20 Increase the set time if the device for relaying connection to the line Call back delay time exemple modem RIR requires the set time for reconnection after line disconnection Setting range 1 to 999 Set the callback reception waiting time out Default 120 Call back reception Increase the set time if a time out occurs in a callback receive waiting waiting time out status Setting range 1 to 3600 9 3 2 8 PC CC Link IE Control Board A connection between PC and PLC via CC Link IE requires the CC Link IE interface board and the corresponding driver to be installed in the PC PC side CC Link IE Control parameters c 2011 MITSUBISHI ELECTRIC CORPORATION 219 GX Configurator PN 1st 2nd 3rd 4th module selects the interface board in the PC MX Transfer Setup Wizard PC side For a description of the editable parameters on the page see PC side CC Link IE parameters The PLC station to which a connection is established can be either e the host station e a different station in an attached network e a different station in a separate network Q CPU Q mode c 2011 MITSUBISHI ELECTRIC CORPORATION Connected Station CPU Relayed Station CPU Rel Own Board gcpy Q bane QCP QCP QnA ACP mode U Q U A CPU U mode mode 4 eS ooume 2 gt o Accessible x Inaccessible 1 Including motion controller CPU 2
221. tsynerronous a hs fomen Jo CTC dd 0 i T bs nine crane oasa fosa 2 When the communication protocol is set to GX Developer connection 0H the online change bit b6 setting is c 2011 MITSUBISHI ELECTRIC CORPORATION 251 GX Configurator PN made invalid to enable online change regardless of the online change setting Refer to the Q series compatible C24 manual for details Switch Switch Number Mode setting switch Station number setting switches 1 Transmissio n specification s setting switches LJ71C24 COM OFF independent operation CH2 side 5 format 5 OFF independe nt operation ON 8 bit ON 8 bit ON ON synchronous Operation setting switch operation SW01 Data bit setting SW02 Even parity odd parity OFF odd OFF odd setting SW04 Stop bit setting SW05 OFF 1 bit OFF 1 bit N ON enable ON enable OFF disable 19200bps 8 bit Parity bit yes no setting yes ON yes SW03 Sum check yes no setting SW06 Online change enable disable setting SW07 Setting change enable disable setting SW08 OFF disable 19200bps woo to sw2 SW13 to SW15 All OFF All OFF Transmission speed c 2011 MITSUBISHI ELECTRIC CORPORATION MX Transfer Setup Wizard PLC side DTR or RTS Control 9 3 2 19 PLC FX Extended Port Enter the settings for the serial port of an FX CPU PLC side FX port par
222. unication unit in this manual Select the model of the cellular phone communication unit according to the cellular phone used For details contact the company of your cellular phone b Cellular phone without auto answer function For a cellular phone without auto answer function use a cellular phone communication unit that has the ANS ORG TEL select switch If the cellular phone communication unit does not have the ANS ORG TEL select switch it is impossible to connect the line The line connection procedure is different depending on the cellular phone company and cellular phone model For details contact the maker of your cellular phone Connect line dialog Set the line connection system telephone line AT command etc Communication Setting Wizard Connect Line X Connect way Auto line connect Callback number Line Line type TONE Bd Outside line number Connection las Call number Browse Mame AT command Modem standard Help of 47 command f AT command setting Browse Title Details setting Cancel Note The Next button is disabled if no number has been entered in the Call number field mem Deseripton Back Pest fixed to Auto line connect Callback number not available c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN mod Line Line Line type set the line type Default Tone Outside line set the outs
223. v Mac Address 00 26 92 19 74 86 Blink Connection Test ox J Coca Heb Board Name List of local Ethernet interfaces local Ethernet to select the one the interfaces PROFINET Controller is connected to MAC Address MAC address of selected 6 pairs of hex digits Ethernet interface separated by colons Status Connection status of selected read only Ethernet interface IP address IP address es assigned to read only selected Ethernet interface Detect Scan the network of the selected network adapter for suitable network stations The controllers found are added to the list Blink Flashes the LED display on the Enabled if a module PROFINET Controller entry in the table is selected c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface aa 7 8 Copies the address of the Enabled if a module selected PROFINET Controller entry in the table is to the Configured section selected ME1PN1FW Q Controller model name pl PN1FW IP Address Controller IP address 4 integers in the range 0 0 0 0 MS 0 254 Name Name Controllermame name MAC Address A address of selected 6 pairs A hex digits controller separated by colons Blink Flashes the LED display on the PROFINET Controller Connection Test Tries to connect to the PROFINET Controller OK Close dialog and save changes Default button Cancel Close dialog and discard changes CO Help Open onne nep online help 1O Device Configuration
224. vices connected to an lO Controller c 2011 MITSUBISHI ELECTRIC CORPORATION NON GX Configurator PN Mame sonde cuve IP 194 1 1 12 Mame capteur etaget IFP 194 1 1 10 Name capteur etages IP 1 4 1 1 11 Name pcu et io contrHler IP 194 1 1 1 Configuration PROFINET Equipement 1 capteur etage 1 IP 3194 1 1 10 Eguipement 1 capteur elagez IP 194 1 1 11 Equipement 1 sonde cuve l IP 194 1 1 12 During the connection the lO Controller assigns the IP address to each of the lO Devces After this the PROFINET network is correctly configured IP address conflicts have been avoided The whole of this sequence is made possible by the DCP protocol Architecture of an lO Device The PROFINET IO input output devices obey a uniform device model This model allows compact field devices to be configured as modules Sub Slot 1 Sub Slot n Interface NO NO Module Module Module A PROFINET lO input output device is made up of slots themselves made up of sub slots The input output data is situated at sub slot level This organization may reflect a real or virtual situation In addition to the input output modules each lO Device contains at least one DAP Device Access Point To establish a connection the lO Controller connects to the DAP The standard defines the DAP as an input module like any other However the DAP is often a module found on slot O of the lO Device with an output size equal to
225. wait until the 7 segment LED shows AA 3 start GX Configurator PN and download the configuration this includes setting the IP address from the default setting 192 168 3 3 to the address assigned in the GX Configurator PN project Introduction to PROFINET IO PROFINET is an industrial communications protocol based on Ethernet which was created by PROFIBUS International Depending on the tasks to be carried out PROFINET uses different communication layers of the OSI model Y Layer 4 transport TCP UDP for all configuration exchanges v Layer 2 Link Ethernet for process data exchanges such as inputs outputs and alarms The network controller is called the O Controller Master and the Devices called lO Devce Slave With PROFINET different network topologies may be realized The most common are the star and the bus PROFINET channe eal Time Channe TCP UDP Ethernet a a 7 a or Protocols Used by PROFINET Discovery and basic Configuration Protocol DCP This protocol is based on Ethernet level 2 Amongst other things it enables the presence of an lO Device to be detected on the network and its IP configuration to be read or written This protocol will be mainly used in two phases e Network configuration assignment of names and IP addresses to the lO Devces e Establishing a connection detection of the presence of the lO Device and the control adaptation of its IP address c 2011 MITSUBI
226. when the password is unset or when connecting to a line Comment cama the group name of the registration destination name associated with the phone number Call number enter the telephone number of the connection target The phone number must not exceed a length of 50 characters and can consist of 0 1 2 3 4 5 6 7 8 9 Outside line set the outside line access number number The number must not exceed a length of 10 characters and can consist of 0 1 2 3 4 5 6 7 8 9 For only line if a password has been set in A6TEL Q6TEL or Q series C24 for remote connection access the password must be entered here in order to access the target PLC an optional comment describing the phone number c 2011 MITSUBISHI ELECTRIC CORPORATION Edit phone group name Group setting Group name RENCA ess cael Enter the name for a group of telephone numbers Select phone group name Group setting 4 Group name Remote PLCS cn Select the name of the group where the selected phone number is copied to Find a phone number Find call number E x Find destination I Eind next ame Find call number Cancel Find direction f From top to down O From cursorto down From cursor to up Search the phone book for a given name or number AT command registration dialog Set the AT commands used on the line setting screen c 2011 MITSUBISHI E
227. x Memon capacity Device PLE name 10 assignment PLC sstem 1 PLC system 2 Positioning CH1 bi F the box is not checked the parameters will be cleared Operate A hen the program is transtered to the communication board parameters and M communication D617 20 values in the PLC must be cleard upon program transfer setting Protocol eseas l Data length Ha type bit as 485 Parity Control mode Odd Invalid Stop bit 1hit if Sum check Transmission speed Transmission control procedure 18200 bos Form without CALF Station number setting Time out judge aT CT c 2011 MITSUBISHI ELECTRIC CORPORATION 255 GX Configurator PN e mg Time out judge time 1 to 255 Note When communication setting is made power the FX CPU again after writing to the PLC When performing multi drop connection make the same communication settings for the devices However make sure that the station numbers do not overlap Special data registers 1 D8120 Communication format 0 7 A Data length 1 8 bit Noe o o Oddnumber 0 1 Evennumber 1 1 0 1 bit Stop bit 1 2 bit O o fin s os os 0 o ct tt oops o 1 o o Transmission speed 20s 0 o ot mows o 1 1 0 soos of 14 1 1 oops 1 ofofo tgpoomps 0 o 1 c 2011 MITSUBISHI ELECTRIC CORPORATION 0 NA Sum check 1 s Communication 1 1 Computer link sali p
228. yed GA Configurator PN i Device addresses have been adjusted to avoid overlapping buffers They are also checked for overlapping devices each time the dialog is closed by pressing OK or when calling the O Documentation or Export PLC Code functions If device areas overlap a warning is displayed c 2011 MITSUBISHI ELECTRIC CORPORATION User Interface 142 GX Co nfigurator PN b Some device addresses overlap Should the conflicting device addresses be automatically adjusted Cancel lf the user presses OK the conflicting device addresses are adjusted automatically If the user presses Cancel the dialog remains open in order to correct the device addresses manually The conflicting device addresses are highlighted with red color to easily allow identification If the corrected device address is not overlapping any more the highlighting is canceled Inputs Outputs Buffer Words Start End Buffer Words Start End PROFINET Manage 118 100 wasF PROFINET Manage 112 x200 AGFF Acyclic Buffer 2100 D10 D2109 Acyclic Buffer 2442 D2100 D4541 Cyclic Output 14 D4542 D4555 Cyclic Input 14 D4556 D4569 Validation of lO Identifiers Both functions IO Documentation and Export PLC Code validate the identifiers used in the lO configuration These identifiers include the names of DUT elements listed in the ltems tables as well as the global variable names of the instances of these DUTs The iden
229. ype of connected unit on the PLC side QJ71E71 CC IE Field Ethernet adapter PC Ethernet Interface For Ethernet connections between PC and GOT the following interfaces of the GOT can be used to connect to the PLC o GOT Serial Interface o GOT Bus Interface The interfaces which are actually available on the GOT depend on the specified GOT hardware used GOT Serial Interface MX Transfer Setup Wizard GOT side x Connect module CPU module aJ71C24 LJ71024 GOT side Host IP Address Port No 5014 Connect module CPU module type of connected unit on the PLC side QJ71C24 LJ71C24 Host IP Address IP address or host name IP address of the GOT ethernet interface Port No 1024 65534 port number on the GOT for the PC connection c 2011 MITSUBISHI ELECTRIC CORPORATION GX Configurator PN GOT Bus Interface MX Transfer Setup Wizard GOT side x Please select the GOT PLC VF GOT PLC VF Bus Connect CPU module CPU module GOT side Host IP Address Port No 5014 Connect module CPU module type of connected unit on the PLC side Host IP Address IP address or host name IP address of the GOT ethernet interface Port No 1024 65534 port number on the GOT for the PC connection c 2011 MITSUBISHI ELECTRIC CORPORATION 9 3 2 27 Enter Comment Enter a comment to describe the configured PLC connection and test the PLC connection with the current settings
230. ype of the coexisting network and press the lt Next gt button to open a page for entering parameters of the target PLC in the coexisting network For CC Link IE interfaces c 2011 MITSUBISHI ELECTRIC CORPORATION Communication Setting Wizard Network l E x Please select the Metwsork Station type other station Coexistence Connect CPU series la gt Connect CPU type faoz Metyyork MELSECNETA OfHi Select the type of the coexisting network and press the lt Next gt button to open a page for entering parameters of the target PLC in the coexisting network Station in MELSECNET 10 network Communication Setting Wizard Network E x Please select the Metwsork Station type other station gt Metyyork MELSECNETA OH Network route MELSECMETA OCH MELSECNETN Select the type of the network to which the target PLC is connected Additionally the mode may also be selectable c 2011 MITSUBISHI ELECTRIC CORPORATION 285 GX Configurator PN Communication Setting Wizard Network x Please select the Metwsork Station type other station gt Metyyork MELSECNETA OH Metwork route Mode MELSECNETH 0 MELSECMETA O MELSECMETIH Pressing the lt Next gt button opens a page for entering the MELSECNET address of the target PLC Station in Ethernet network MX Transfer Setup Wizard Network x Station type Other station Stati
231. zard PC side Pressing the lt Next gt button opens a page for entering the address of the CC Link IE Field ethernet adapter 9 3 2 6 PC Ethernet Board via GOT Configure an Ethernet connection to a GOT and from there to a PLC PC side Ethernet parameters 1 2147483647 communication timeout in milliseconds c 2011 MITSUBISHI ELECTRIC CORPORATION MX Transfer Setup Wizard PC side For a description of the editable parameters on the page see PC side Ethernet parameters Pressing the lt Next gt button opens a page for selecting the connected CPU type 9 3 2 7 PC Modem Configure a dial up connection via modem Note It is recommended to configure and test the connection in GX Developer or GX IEC Developer before using this wizard PC side modem parameters if cleared only one of the serial interfaces actually installed in the PC can be selected All Ports if checked any COM port can be selected This may be useful when defining a configuration to a different PC All Ports flag selects the serial interface in the PC from a list of serial cleared interfaces found on the PC Connect port All Ports flag selects the serial interface in the PC from al list possible checked serial interfaces Connect Q6TEL QnA type of remote PLC module module FXCPU AJ71QC24N QJ71C24 c 2011 MITSUBISHI ELECTRIC CORPORATION 20 GX Configurator PN 1 2147483647 communication timeout in milliseconds

Download Pdf Manuals

image

Related Search

Related Contents

Brodit 521678 holder  取扱説明書 - 三菱電機  取扱説明書 ノースワン株式会社  Omega PTO10AR  Russell Hobbs 21170-56 coffee maker  工事店様へ、 の説明書は保守のためお客様に必ずお渡し  取扱説明書  PDFファイル  Tanaka TBC-245PF User's Manual  KUDA 091490 holder  

Copyright © All rights reserved.
Failed to retrieve file