PTQ-MCM Quantum / Unity Platform Modbus Communication Module Application Reference Guide April 29, 2008
Please Read This Notice Successful application of this module requires a reasonable working knowledge of the Schneider Electric Quantum / Unity hardware, the PTQ-MCM Module and the application in which the combination is to be used. For this reason, it is important that those responsible for implementation satisfy themselves that the combination will meet the needs of the application without exposing personnel or equipment to unsafe or inappropriate working conditions.
Your Feedback Please We always want you to feel that you made the right decision to use our products. If you have suggestions, comments, compliments or complaints about the product, documentation or support, please write or call us. ProSoft Technology 1675 Chester Avenue, Fourth Floor Bakersfield, CA 93301 +1 (661) 716-5100 +1 (661) 716-5101 (Fax) http://www.prosoft-technology.com Copyright © ProSoft Technology, Inc. 2000 - 2008. All Rights Reserved. PTQ-MCM Application Reference Guide April 29, 2008 PSFT..
Contents PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Contents PLEASE READ THIS NOTICE................................................................................................................ 2 PTQ Installation and Operating Instructions...................................................................................... 2 Important Notice: ...............................................................................................................................
Contents PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 7.1.2 7.1.3 7.1.4 7.1.5 7.1.6 7.1.7 7.1.8 7.1.9 The Configuration/Debug Menu ................................................................................................ 80 Main Menu................................................................................................................................. 82 Modbus Database View ..................................................................................................
Contents PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 9.4.1 Un-repairable Units.................................................................................................................. 130 9.5 LIMITED WARRANTY ............................................................................................................131 9.5.1 9.5.2 9.5.3 9.5.4 9.5.5 9.5.6 9.5.7 9.5.8 9.5.9 9.5.10 9.5.11 10 What Is Covered By This Warranty ......................................................
Contents Page 8 of 139 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module ProSoft Technology, Inc.
Start Here PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Guide to the PTQ-MCM Application Reference Guide Function Introduction Details Start Here (page 11) This Section introduces the customer to the module. Included are: package contents, system requirements, hardware installation, and basic configuration. Verifying Communication (page 77) This section describes how to verify communications with the network. Diagnostic and Troubleshooting procedures.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Page 10 of 139 Start Here ProSoft Technology, Inc.
Start Here 1 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Start Here In This Chapter Hardware and Software Requirements ................................................. 11 Install ProSoft Configuration Builder Software....................................... 13 This guide is intended to guide you through the ProTalk module setup process, from removing the module from the box to exchanging data with the processor. In doing this, you will learn how to: 1.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 1454-9F DB-9 Female to 9 Pos Screw Terminal adapter (Serial protocol modules only) Start Here ProSoft Solutions CD Note: The DB-9 Female to 5 Pos Screw Terminal adapter is not required on Ethernet modules and is therefore not included in the carton with these types of modules. 1.1.2 Quantum / Unity Hardware This guide assumes that you are familiar with the installation and setup of the Quantum / Unity hardware.
Start Here 1.2 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Install ProSoft Configuration Builder Software You must install the ProSoft Configuration Builder (PCB) software in order to configure the PTQ-MCM module. You can always get the newest version of ProSoft Configuration Builder from the ProSoft Technology web site. To install ProSoft Configuration Builder from the ProSoft Web Site 1 2 3 4 5 Open your web browser and navigate to http://www.prosofttechnology.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 3 4 Start Here Click to open the Utilities folder. This folder contains all of the applications and files you will need to set up and configure your module. Double-click the ProSoft Configuration Builder Setup program and follow the instructions on your screen to install the software on your PC. Note: Many of the configuration and maintenance procedures use files and other utilities on the CD-ROM.
Configuring the Processor with Concept 2 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Configuring the Processor with Concept In This Chapter Information for Concept Version 2.6 Users............................................ 16 Create a New Project ............................................................................ 17 Add the PTQ Module to the Project....................................................... 20 Set up Data Memory in Project........................
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 2.1 Configuring the Processor with Concept Information for Concept Version 2.6 Users This guide uses Concept PLC Programming Software version 2.6 to configure the Quantum PLC. The ProTalk installation CD includes MDC module configuration files that help document the PTQ installation. Although not required, these files should be installed before proceeding to the next section. 2.1.
Configuring the Processor with Concept 5 6 2.2 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Click the add all button. A series of message boxes may appear during this process. Click Yes or OK for each message that appears. When the process is complete, open the File menu and choose Exit to save your changes. Create a New Project This phase of the setup procedure must be performed on a computer that has the Concept configuration software installed.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Configuring the Processor with Concept 3 In the list of options on the left side of this dialog box, double-click the PLC Selection folder. This action opens the PLC Selection dialog box. 4 In the CPU/Executive pane, use the scroll bar to locate and select the PLC to configure. Page 18 of 139 ProSoft Technology, Inc.
Configuring the Processor with Concept PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 5 Click OK. This action opens the PLC Configuration dialog box, populated with the correct values for the PLC you selected. 6 Make a note of the holding registers for the module. You will need this information when you modify your application as outlined in the ProTalk application Reference Guides. The Holding Registers are displayed in the PLC Memory Partition pane of the PLC Configuration dialog box.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 2.3 Configuring the Processor with Concept Add the PTQ Module to the Project The next step is to add one or more of the PTQ modules to the Project. To add modules: 1 In the list of options on the left side of the PLC Configuration dialog box, double-click I/O Map. This action opens the I/O Map dialog box. 2 Click the Edit button to open the Local Quantum Drop dialog box. This dialog box is where you identify rack and slot locations.
Configuring the Processor with Concept PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 3 Click the Module button next to the rack/slot position where the ProTalk module will be installed. This action opens the I/O Module Selection dialog box. 4 In the Modules pane, use the scroll bar to locate and select the ProTalk module, and then click OK. This action copies the description of the ProTalk module next to the assigned rack and slot number of the Local Quantum Drop dialog box.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 5 Configuring the Processor with Concept Repeat steps 3 through 5 for each ProTalk module you plan to install. When you have finished installing your ProTalk modules, click OK to save your settings. Click Yes to confirm your settings. Tip: Select a module, and then click the Help on Module button for help pages. 2.
Configuring the Processor with Concept 2 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module This action opens the Specials dialog box. Selecting the Time of Day 1 Select (check) the Time of Day box, and then enter the value 00001 as shown in the following example. This value sets the first time of day register to 400001. 2 Click OK to save your settings and close the Specials dialog box. ProSoft Technology, Inc.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Configuring the Processor with Concept Saving your project 1 In the PLC Configuration dialog box, choose File / Save project as. 2 This action opens the Save Project as dialog box. 3 Name the project, and then click OK to save the project to a file. Page 24 of 139 ProSoft Technology, Inc.
Configuring the Processor with Concept 2.5 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Download the Project to the Processor The next step is to download (copy) the project file to the Quantum Processor. 1 Use the null modem cable to connect your PC's serial port to the Quantum processor, as shown in the following illustration. Note: You can use a Modbus Plus Network Option Module (NOM Module) module in place of the serial port if necessary.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Configuring the Processor with Concept 3 In the PLC Configuration dialog box, open the Online menu, and then choose Connect. This action opens the Connect to PLC dialog box. 4 Leave the default settings as shown and click OK. Note: Click OK to dismiss any message boxes that appear during the connection process. 5 In the PLC Configuration window, open the Online menu, and then choose Download.
Configuring the Processor with Concept PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 6 Click all, and then click Download. If a message box appears indicating that the controller is running, click Yes to shut down the controller. The Download Controller dialog box displays the status of the download as shown in the following illustration. 7 When the download is complete, you will be prompted to restart the controller. Click Yes to restart the controller. ProSoft Technology, Inc.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 2.6 Configuring the Processor with Concept Verify Successful Download The final step is to verify that the configuration changes you made were received successfully by the module, and to make some adjustments to your settings. 1 In the PLC Configuration window, open the Online menu, and then choose Online Control Panel. This action opens the Online Control Panel dialog box.
Configuring the Processor with Concept 5 6 7 8 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module In the PLC Configuration window, open the Online menu, and then choose Reference Data Editor. This action opens the Reference Data Editor dialog box. On this dialog box, you will add preset values to data registers that will later be monitored in the ProTalk module. Place the cursor over the first address field, as shown in the following illustration.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 9 Configuring the Processor with Concept Notice that the template populates the address range, as shown in the following illustration. Place your cursor as shown in the first blank address field below the addresses you just entered. 10 Repeat steps 6 through 9, using the values in the following illustration: Page 30 of 139 ProSoft Technology, Inc.
Configuring the Processor with Concept PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 11 In the PLC Configuration window, open the Online menu, and then choose animate. This action opens the RDE Template dialog box, with animated values in the Value field. 12 Verify that values shown are cycling, starting from address 400065 on up. 13 In the PLC Configuration window, open the Templates menu, and then choose Save Template as.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Page 32 of 139 Configuring the Processor with Concept ProSoft Technology, Inc.
Configuring the Processor with ProWORX 3 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Configuring the Processor with ProWORX When you use ProWORX 32 software to configure the processor, use the example SaF file provided on the ProTalk Solutions CD-ROM. Important Note: Proworx software does not report whether the PTQ module is present in the rack, and therefore is not able to report the health status of the module when the module is online with the Quantum processor.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Configuring the Processor with ProWORX 3 Select the .SaF File that is located at the CD-ROM shipped with the PTQ module. 4 After you click on Open you should see the PTQ modules imported (select I/O series as Quantum): Page 34 of 139 ProSoft Technology, Inc.
Configuring the Processor with ProWORX PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Now you can close the Schneider alliances application and run the Proworx 32 software. At the Traffic Cop section, select the PTQ module to be inserted at the slot: ProSoft Technology, Inc.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Page 36 of 139 Configuring the Processor with ProWORX ProSoft Technology, Inc.
Configuring the Processor with UnityPro XL 4 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Configuring the Processor with UnityPro XL In This Chapter Create a New Project ............................................................................ 37 Add the PTQ Module to the Project....................................................... 39 Build the Project ....................................................................................
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Configuring the Processor with UnityPro XL 2 The next step is to add a power supply to the project. In the Project Browser, expand the Configuration folder, and then double-click the 1:LocalBus icon. This action opens a graphical window showing the arrangement of devices in your Quantum rack. 3 Select the rack position for the power supply, and then click the right mouse button to open a shortcut menu.
Configuring the Processor with UnityPro XL 4.2 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 4 Expand the Supply folder, and then select your power supply from the list. Click OK to continue. 5 Repeat these steps to add any additional devices to your Quantum Rack. Add the PTQ Module to the Project The next step is to add the PTQ module. 1 Expand the Communication tree, and select GEN NOM.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Configuring the Processor with UnityPro XL 2 Next, enter the module personality value. The correct value for ProTalk modules is 1060 decimal (0424 hex). 3 Before you can save the project in UnityProXL, you must validate the modifications. Open the Edit menu, and then choose Validate. If no errors are reported, you can save the project. Save the project. 4 Page 40 of 139 ProSoft Technology, Inc.
Configuring the Processor with UnityPro XL 4.3 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Build the Project Whenever you update the configuration of your PTQ module or the processor, you must import the changed configuration from the module, and then build (compile) the project before downloading it to the processor. Note: The following steps show you how to build the project in Unity Pro XL.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 4.4 Configuring the Processor with UnityPro XL Connect Your PC to the Processor The next step is to connect to the processor so that you can download the project file. The processor uses this project file to communicate over the backplane to modules identified in the project file. Note: If you have never connected from the PC to your processor before, you must verify that the necessary port drivers are installed and available to UnityPro XL.
Configuring the Processor with UnityPro XL PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 3 If the Media dropdown list does not contain the connection method you wish to use, click the Communication Parameters button in the PLC area of the dialog box. This action opens the PLC Communication Parameters dialog box. 4 Click the Driver Settings button to open the SCHNEIDER Drivers management Properties dialog box. 5 Click the Install/update button to specify the location of the Setup.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Configuring the Processor with UnityPro XL 4.4.1 Connecting to the Processor with TCPIP The next step is to download (copy) the project file to the processor. The following steps demonstrate how to use an Ethernet cable connected from the Processor to your PC through an Ethernet hub or switch.
Configuring the Processor with UnityPro XL 3 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Click the Transfer button to download the project to the processor. As the project is transferred, Unity Pro XL reports its process in a Progress dialog box, with details appearing in a pane at the bottom of the window. When the transfer is complete, place the processor in Run mode. ProSoft Technology, Inc.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Page 46 of 139 Configuring the Processor with UnityPro XL ProSoft Technology, Inc.
Setting Up the ProTalk Module 5 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Setting Up the ProTalk Module In This Chapter Install the ProTalk Module in the Quantum Rack .................................. 47 Connect the PC to the ProTalk Configuration/Debug Port .................... 53 After you complete the following procedures, the ProTalk module will actively be transferring data bi-directionally with the processor. 5.1 Install the ProTalk Module in the Quantum Rack 5.1.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Setting Up the ProTalk Module 5.1.2 Inserting the 1454-9F connector Insert the 1454-9F connector as shown. Wiring locations are shown in the table: 5.1.3 Install the ProTalk Module in the Quantum Rack 1 2 Place the Module in the Quantum Rack. The ProTalk module must be placed in the same rack as the processor. Tilt the module at a 45° angle and align the pegs at the top of the module with slots on the backplane.
Setting Up the ProTalk Module 3 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Push the module into place until it seats firmly in the backplane. CaUTION: The PTQ module is hot-swappable, meaning that you can install and remove it while the rack is powered up. You should not assume that this is the case for all types of modules unless the user manual for the product explicitly states that the module is hot-swappable.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Setting Up the ProTalk Module RS-232 When the RS-232 interface is selected, the use of hardware handshaking (control and monitoring of modem signal lines) is user definable. If no hardware handshaking will be used, the cable to connect to the port is as shown below: RS-232: Modem Connection This type of connection is required between the module and a modem or other communication device.
Setting Up the ProTalk Module PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module RS-232: Null Modem Connection (Hardware Handshaking) This type of connection is used when the device connected to the module requires hardware handshaking (control and monitoring of modem signal lines). RS-232: Null Modem Connection (No Hardware Handshaking) This type of connection can be used to connect the module to a computer or field device communication port.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Setting Up the ProTalk Module RS-485 The RS-485 interface requires a single two or three wire cable. The Common connection is optional and dependent on the RS-485 network. The cable required for this interface is shown below: Note: Terminating resistors are generally not required on the RS-485 network, unless you are experiencing communication problems that can be attributed to signal echoes or reflections.
Setting Up the ProTalk Module 5.2 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Connect the PC to the ProTalk Configuration/Debug Port Make sure you have exited the Quantum programming software before performing these steps. This action will avoid serial port conflict.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Setting Up the ProTalk Module 2 On the shortcut menu, choose Diagnostics. 3 This action opens the Diagnostics dialog box. Press "?" to display the Main Menu. Important: The illustrations of configuration/debug menus in this section are intended as a general guide, and may not exactly match the configuration/debug menus in your own module. Page 54 of 139 ProSoft Technology, Inc.
Setting Up the ProTalk Module PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module If there is no response from the module, follow these steps: 1 2 3 Verify that the null modem cable is connected properly between your computer's serial port and the module. A regular serial cable will not work. On computers with more than one serial port, verify that your communication program is connected to the same port that is connected to the module.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Page 56 of 139 Setting Up the ProTalk Module ProSoft Technology, Inc.
Modifying the Configuration File 6 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Modifying the Configuration File In This Chapter 6.1 ProSoft Configuration Builder ................................................................ 57 Edit the Configuration File ..................................................................... 62 Download the Project to the Module...................................................... 76 Verification and Troubleshooting .................
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Modifying the Configuration File 6.1.1 Set Up the Project To begin, start ProSoft Configuration Builder. If you have used other Windows configuration tools before, you will find the screen layout familiar. ProSoft Configuration Builder's window consists of a tree view on the left, an information pane and a configuration pane on the right side of the window.
Modifying the Configuration File PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Your first task is to add the PTQ-MCM module to the project. 1 2 3 Use the mouse to select "Default Module" in the tree view, and then click the right mouse button to open a shortcut menu. On the shortcut menu, choose "Choose Module Type". This action opens the Choose Module Type dialog box. In the Product Line Filter area of the dialog box, select PTQ.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Modifying the Configuration File Adding a Module To add a module to your project: 1 2 Double-click the Default Module icon to open the Choose Module Type dialog box. On the Choose Module Type dialog box, select the module type. or 1 2 Open the Project menu and choose Location. On the Location menu, choose Add Module. To add a module to a different location: 1 Right-click the Location folder and choose Add Module.
Modifying the Configuration File PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module At this time, you may wish to rename the "Default Project" and "Default Location" folders in the tree view. To rename an object: 1 2 3 Select the object, and then click the right mouse button to open a shortcut menu. From the shortcut menu, choose Rename. Type the name to assign to the object. Click away from the object to save the new name.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Modifying the Configuration File Printing a Configuration File To print a configuration file: 1 2 3 4 6.2 Select the Module icon, and then click the right mouse button to open a shortcut menu. On the shortcut menu, choose View Configuration. This action opens the View Configuration window. On the View Configuration window, open the File menu, and choose Print. This action opens the Print dialog box.
Modifying the Configuration File PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 6.2.1 [Module] # This section is used to define the configuration for the Module level # data. # [Module] Module Type : PTQ-MCM Module Name : Test Example of PTQ-MCM Communication Module Module Type Parameter Module Type : PTQ-MCM The Module Type parameter is used to assign a name to the module that can be viewed using the configuration/debug port.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Modifying the Configuration File Read Register Count Range 0 to 3999 This parameter specifies the number of registers to be transferred from the module to the processor. Valid entry for this parameter is 0 to 3999. Write Register Start Range 0 to 3999 This parameter specifies the starting register in the module where data will be transferred from the module to the processor. Valid range for this parameter is 0 to 3999.
Modifying the Configuration File PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Error/Status Block Pointer 1 to 7000 The Error/Status Block Pointer parameter is used to specify the range of database registers to use for error and status data. The value should be no lower than 700, to avoid overwriting data, and no higher than 6970, to allow sufficient space for the error/status block. 6.2.3 [MCM Port X] The information in this section applies to both Port 1 and Port 2.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Modifying the Configuration File Type Type : 0 #Type of port (0=Master, 1=Slave, #2=Block Pass-Thru, 3=Block PT w/ Byte Swap, #4=Direct PT, 5=Direct PT w/ Byte Swap) This parameter specifies which device type the port will emulate. For specific information on types 2-5, refer to the Pass-Thru Functionality section of this manual. Pass Thru Address Pass Thru Address : 1000 #Pass-Thru address to be used during Block #Pass-Thru mode.
Modifying the Configuration File PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Baud Rate Baud Rate : 4800 #Baud rate for port (300, 600, 1200, 2400, 4800, #9600, 19200, 38400, 57600, 115(for 115200)) This is the baud rate to be used on the port. Enter the baud rate as a value. For example, to select 19K baud, enter 19200. Valid entries are 110, 150, 300, 600, 1200, 2400, 4800, 9600, 19200, 28800, 38400, 576, and 115.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Modifying the Configuration File Use CTS Line Use CTS Line : No #Monitor CTS modem line (Y/N) This parameter specifies if the CTS modem control line is to be used. If the parameter is set to 0, the CTS line will not be monitored. If the parameter is set to 1, the CTS line will be monitored and must be high before the module will send data. This parameter is normally only required when half-duplex modems are used for communication (2-wire).
Modifying the Configuration File PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Hold Offset 0 to 4999 This parameter specifies the offset address in the internal Modbus database that is to be used with network requests for Modbus function 3, 6, or 16 commands. For example, if a value of 50 is entered, a request for address 0 will correspond to the register 50 in the database. Command Count 0 to 100 This parameter specifies the number of commands to be processed by the Modbus master port.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Modifying the Configuration File Retry Count Retry Count : 0 #Retry count for failed request (Master) This parameter specifies the number of times a command will be retried if it fails. If the master port does not receive a response after the last retry, the slave device's communication will be suspended on the port for Error Delay Counter scans.
Modifying the Configuration File PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Parameter Description Poll Interval The minimum delay to be applied between consecutive polls for this command. Enter this number as milliseconds. Reg Count Register count. Enter the number of bits or words for this command. The maximum value for word commands (3, 4, 6 and 16) is 125 words. The maximum value for word commands (1, 2, 5 and 15) is 800 bits.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Modifying the Configuration File Example #1 Modbus Address Data Type Parameter 47101 32 bit REAL TEMP Pump #1 47102 32 bit REAL Pressure Pump #1 47103 32 bit REAL TEMP Pump #2 47104 32 bit REAL Pressure Pump #2 With the module configured as a master, you only need to enable these parameters to support a write to this type of addressing (Modbus FC 6 or 16).
Modifying the Configuration File PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module (Float specific module parameters) Float Flag: "Y" tells the Master to consider the data values that need to be sent to the Slave as floating point data where each data value is composed of 2 words (4 bytes or 32 bits).
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Modifying the Configuration File Master is issuing Modbus command with FC 16 (with Float Flag: No) to transfer Float data. Float Flag: "N" tells the Master to ignore the floating values and treat each register data as a data point composed of 1 word, 2 bytes or 16 bits. Float Start: Ignored. DB Addr - same as when Float Flag: Y. Reg Count - Tells the Master how many data points to send to the Slave. Swap Code - same as when Float Flag: Y.
Modifying the Configuration File PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Master is issuing Modbus command with FC 3 to transfer Float data from Slave. Float Flag: Not applicable with Modbus Function Code 3. Float Start: Not applicable with Modbus Function Code 3. DB Addr - Tells the Master where in its data memory to store the data obtained from the Slave. Reg Count - Tells the Master how many registers to request from the Slave. Swap Code - same as above.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 6.3 Modifying the Configuration File Download the Project to the Module In order for the module to use the settings you configured, you must download (copy) the updated Project file from your PC to the module. To Download the Project File 2 In the tree view in ProSoft Configuration Builder, click once to select the PTQMCM module. Open the Project menu, and then choose Module / Download.
Modifying the Configuration File 6.4 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Verification and Troubleshooting You can now verify that the module is configured properly by viewing parameters that you specified in the configuration file. This is done using the module's Main Menu. If you are not already at the Main menu, press [Shift][/]. Use the database menu to verify that data appears in registers that you've mapped.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Page 78 of 139 Modifying the Configuration File ProSoft Technology, Inc.
Diagnostics and Troubleshooting 7 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Diagnostics and Troubleshooting In This Chapter Reading Status Data from the Module .................................................. 79 LED Status Indicators............................................................................ 94 Error Status Table .................................................................................
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Diagnostics and Troubleshooting 7.1.2 The Configuration/Debug Menu The Configuration and Debug menu for this module is arranged as a tree structure, with the Main Menu at the top of the tree, and one or more sub-menus for each menu command. The first menu you see when you connect to the module is the Main menu.
Diagnostics and Troubleshooting 3 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module This action opens the Diagnostics dialog box. Press "?" to display the Main Menu. Important: The illustrations of configuration/debug menus in this section are intended as a general guide, and may not exactly match the configuration/debug menus in your own module.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Diagnostics and Troubleshooting The remainder of this section shows you the menus available for this module, and briefly discusses the commands available to you. Keystrokes The keyboard commands on these menus are almost always non-case sensitive. You can enter most commands in lower case or capital letters. The menus use a few special characters ([?], [-], [+], [@]) that must be entered exactly as shown.
Diagnostics and Troubleshooting PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Values at the bottom of the display are important in determining module operation. The Program Scan Counter value is incremented each time a module's program cycle is complete. Tip: Repeat this command at one-second intervals to determine the frequency of program execution. Opening the Database Menu Press [D] to open the Database View menu.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Diagnostics and Troubleshooting After the file has been successfully downloaded, the module will restart the program and load the new configuration information. Review the new configuration using menu commands [6] and [0] to verify that the module is configured correctly.
Diagnostics and Troubleshooting PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Viewing Register Pages To view sets of register pages, use the keys described below: Command Description [0] Display registers 0 to 99 [1] Display registers 1000 to 1099 [2] Display registers 2000 to 2099 And so on. The total number of register pages available to view depends on your module's configuration. Redisplaying the Current Page Press [S] to display the current page of data.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Diagnostics and Troubleshooting 7.1.5 Backplane Menu Press [B] from the Main Menu to view the Backplane Data Exchange List. Use this command to display the configuration and statistics of the backplane data transfer operations. Press [?] to view a list of commands available on this menu.
Diagnostics and Troubleshooting PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Tip: Repeat this command at one-second intervals to determine the number of blocks transferred each second 7.1.6 Data Analyzer The data analyzer mode allows you to view all bytes of data transferred on each port. Both the transmitted and received data bytes are displayed. Use of this feature is limited without a thorough understanding of the protocol.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Diagnostics and Troubleshooting Removing Timing Marks in the Data Analyzer Press [0] to turn off timing marks in the Data Analyzer screen. Viewing Data in Hexadecimal Format Press [H] to display the data on the current page in hexadecimal format. Viewing Data in ASCII (Text) Format Press [A] to display the data on the current page in ASCII format. This is useful for regions of the database that contain ASCII data.
Diagnostics and Troubleshooting PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Important: When in analyzer mode, program execution will slow down. Only use this tool during a troubleshooting session. Before disconnecting from the Config/Debug port, please press [S] to stop the data analyzer, and then press [M] to return to the main menu. This action will allow the module to resume its normal high speed operating mode. Returning to the Main Menu Press [M] to return to the Main Menu. 7.1.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Diagnostics and Troubleshooting After you have selected the Port, Format, and Tick, we are now ready to start a capture of this data. The easiest way to do so is to go up to the top of you HyperTerminal window, and do a Transfer / Capture Text as shown below: After selecting the above option, the following window will appear: Next name the file, and select a directory to store the file in. In this example, we are creating a file ProSoft.
Diagnostics and Troubleshooting PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module The means that the module is transitioning the communications line to a transmit state. All characters shown in <> brackets are characters being sent out by the module. The shows when the module is done transmitting data, and is now ready to receive information back. And finally, all characters shown in the [ ] brackets is information being received from another device by the module.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Diagnostics and Troubleshooting Viewing Version Information Press [V] to view Version information for the module. Use this command to view the current version of the software for the module, as well as other important values. You may be asked to provide this information when calling for technical support on the product. Values at the bottom of the display are important in determining module operation.
Diagnostics and Troubleshooting PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 7.1.9 Master Command Error List Menu Use this menu to view the command error list for the module. Press [?] to view a list of commands available on this menu.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 7.2 Diagnostics and Troubleshooting LED Status Indicators The LEDs will indicate the module's operating status as follows: ProTalk Module Color Status Indication DEBUG Green On Data is being transferred between the module and a remote terminal using the Configuration/Debug port. Off No data is being transferred on the Configuration/Debug port. PRT1 Green On Port is communicating. Off Port is not communicating.
Diagnostics and Troubleshooting 7.3 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Error Status Table The program maintains an error/status table that is transferred to the processor in each read block. You can use the error/status data to determine the "health" of the module. The data block structure is describe in the Status Data Definition section. The errors generated by the module are displayed in the following tables. 7.3.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Page 96 of 139 Diagnostics and Troubleshooting ProSoft Technology, Inc.
Reference 8 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Reference In This Chapter 8.1 Product Specifications ........................................................................... 97 Functional Overview.............................................................................. 99 Status Data Definition.......................................................................... 110 Configuration Data ................................................................
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Reference 8.1.3 Hardware Specifications Specification Backplane Current Load Operating Temperature Storage Temperature Relative Humidity Vibration Shock LED Indicators Configuration Serial Port (PRT1) Application Serial Ports Value 800 mA @ 5 V 0 to 60°C (32 to 140°F) -40 to 85°C (-40 to 185°F) 5% to 95% (non-condensing) Sine vibration 4-100 Hz in each of the 3 orthogonal axes 30G, 11 mSec.
Reference PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Master Specifications A port configured as a virtual Modbus Master device on the PTQ-MCM module actively issues Modbus commands to other nodes on the Modbus network. One hundred commands are supported on each port. Additionally, the master ports have an optimized polling characteristic that polls slaves with communication problems less frequently.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Reference The module transfers the entire read and write areas at the end of every processor scan. The module will hold the processor scan for a certain period of time, which allows the module to transfer the entire read and write areas. This means that the larger the read and write areas, the longer the processor scan time will be. Refer to Module Performance for more detailed information on determining scan times.
Reference PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module The parameter fields in the block should be completed as required by the selected function code. Each command has its own set of parameters. When the block is received, the module will process it and place the command in the command queue.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Reference Note: Command Control blocks are not copied to the module database. You must define variables in the module's main memory, and use processor logic to process the command control request.
Reference PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Command Control Word Description 30004 Block response word 2 30005 Block response word 3 … … 30064 Block response word 62 The module recognizes that there is a new block request when it identifies that the block sequence number has changed. if the block ID is valid, the module will process the block and copy the response to the input command control area (3x for Quantum / Unity or %IW for Unity).
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Reference Blocks in the range of 5001 to 5006 are used for Port 1, and blocks in the range of 5101 to 5106 are used for Port 2. The last digit in the block code defines the number of commands to process in the block. For example, a block code of 5003 contains 3 command indexes that are to be used with Port 1. The Command index parameters in the block have a range of 0 to 99 and correspond to the master command list entries.
Reference PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 8.2.7 Pass-Thru Control Blocks Overview Caution: This feature allows a remote modbus master to directly update the processor memory. The user should carefully read this section before considering this feature in order to avoid transferring data to unexpected memory areas in the Quantum processor.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Reference The following illustration shows the three basic steps performed during the passthru operation. Quantum PTQ- MCM 3 1 2 Modbus Master The module receives a modbus write command. For example: 1 2 3 4 5 6 Modbus Function: Preset Multiple Registers (function 16) Count: 10 words Destination Address: 500 The module verifies that the destination address is a valid address in the processor.
Reference PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module The following flow chart show the implementation of the direct pass-thru block: Receive write command. Is the destination address valid? N Send response with Invalid Address exception. Y Attempt to write command to backplane queue. Send response with Slave Busy exception. N Is there an available space in the queue? Y Add to backplane command queue. Send normal response. Wait for next command.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Reference Both ports can operate in pass-thru mode simultaneously. If the port is configured for pass-thru swap the module will swap the data bytes (high order/low order) before transferring the data to the processor. Since the module transfers the data directly to the processor the PTQ-MCM database is not updated during pass-thru operation.
Reference PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Block Pass-Thru Control Blocks If one or more of the slave ports on the module are configured for the block passthrough mode of operation, the module will pass blocks with specific identification codes to the processor for each received write command. Any Modbus function 5, 6, 15 or 16 commands will be passed from the port to the processor.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Reference In this example, the following variables are used: Variable BlockID Address 401001 Type INT BlockData 401004 WordArr128 Mask 401054 WordArr128 DestinationData Any WordArr128 Description Variable that contains the block ID. When this value is equal to 9959 the processor will trigger the logic to handle the pass-thru block.
Reference Offset 7 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Content Run Number Description These two registers contain the run number value for the currently running software. Port 1 Command List This field contains the number of Requests requests made from this port to slave devices on the network. Port 1 Command List This field contains the number of slave Response response messages received on the port.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 8.4 Offset 29 30 Content Pass Thru Received Port 1 Current Error 31 Port 1 Last Error 32 Port 2 Current Error 33 Port 2 Last Error Description Pass thru request received on both ports. For a slave port, this field contains the value of the current error code returned. For a master port, this field contains the index of the currently executing command. For a slave port, this field contains the value of the last error code returned.
Reference Database Address 5029 5030 5031 5032 5033 5034 5035 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Content Holding Reg Offset Command Count Minimum Command Delay Command Error Pointer Response Timeout Retry Count Error Delay Counter 8.4.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Reference 8.4.4 Port 2 Commands Database Address 5870 5877 6662 Content Command #1 Command #2 Command #100 Each of these commands uses eight registers (Enable, Internal Address, Poll Interval, Reg Count, Swap Code, Node Address, Modbus Func, MB Address in Device). 8.5 Port Specific Information 8.5.1 Serial Port Details The ProTalk module contains three serial ports.
Reference PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module The addressing allows up to 2000 coils to be obtained at each request; however, the specific slave device may have restrictions that lower the maximum quantity. The coils are numbered from zero; (coil number 1 = zero, coil number 2 = one, coil number 3 = two, etc.). The following table is a sample read output status request to read coils 0020 to 0056 from slave device number 11.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Reference The following table is a sample read input status request to read inputs 10197 to 10218 from slave number 11. Adr Func Data Start Pt Hi Data Start Pt Lo Data #of Pts Hi Data #of Pts Lo Error Check Field 11 02 00 C4 00 16 CRC Response An example response to Read input status is as shown in Figure C4. The data is packed one bit for each input.
Reference PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Response The addressed slave responds with its address and the function code, followed by the information field. The information field contains 1 byte describing the quantity of data bytes to be returned. The contents of the registers requested (DATA) are two bytes each, with the binary content right justified within each pair of characters. The first byte includes the high order bits and the second, the low order bits.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Reference In the example below the register 3009 contains the decimal value 0. Adr Func Byte Count Data Input Reg Hi Data Input Reg Lo Error Check Field 11 04 02 00 00 E9 8.6.5 Force Single Coil (Function Code 05) Query This message forces a single coil either ON or OFF. Any coil that exists within the controller can be forced to either state (ON or OFF).
Reference PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 8.6.6 Preset Single Register (Function Code 06) Query Function (06) allows the user to modify the contents of a holding register. Any holding register that exists within the controller can have its contents changed by this message. However, because the controller is actively scanning, it also can alter the content of any holding register at any time.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Reference Request Function code 1 Byte Sub-function 2 Bytes Data N x 2 Bytes 0x08 Response Function code 1 Byte Sub-function 2 Bytes Data N x 2 Bytes 0x08 Error Error code 1 Byte 0x88 Exception code 1 Byte 01 or 03 or 04 Sub-function codes supported by the serial line devices Here the list of sub-function codes supported by the serial line devices.
Reference PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 00 Return Query Data The data passed in the request data field is to be returned (looped back) in the response. The entire response message should be identical to the request. Sub-function Data Field (Request) Data Field (Response) 00 00 Any Echo Request Data Example and state diagram Here is an example of a request to remote device to Return Query Data. This uses a sub-function code of zero (00 00 hex in the two-byte field).
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Reference 8.6.8 Force Multiple Coils (Function Code 15) Query This message forces each coil in a consecutive block of coils to a desired ON or OFF state. Any coil that exists within the controller can be forced to either state (ON or OFF). However, because the controller is actively scanning, unless the coils are disabled, the controller can also alter the state of the coil.
Reference PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Response The normal response to a function 16 query is to echo the address, function code, starting address and number of registers to be loaded. Adr Func Hi Addr Lo Addr Quantity 11 10 00 87 00 Error Check Field 02 56 8.6.10 MODBUS Exception Responses When a client device sends a request to a server device it expects a normal response.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Reference In this example, the client addresses a request to server device. The function code (01) is for a Read Output Status operation. It requests the status of the output at address 1245 (04A1 hex). Note that only that one output is to be read, as specified by the number of outputs field (0001). If the output address is non-existent in the server device, the server will return the exception response with the exception code shown (02).
Reference 8.7 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Code Name Meaning 08 Memory Parity Error Specialized use in conjunction with function codes 20 and 21 and reference type 6, to indicate that the extended file area failed to pass a consistency check. The server (or slave) attempted to read record file, but detected a parity error in the memory. The client (or master) can retry the request, but service may be required on the server (or slave) device.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Page 126 of 139 Reference ProSoft Technology, Inc.
Support, Service & Warranty 9 PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Support, Service & Warranty In This Chapter How to Contact Us: Sales and Support ............................................... 128 Return Material Authorization (RMA) Policies and Conditions............. 128 Procedures for Return of Units Under Warranty.................................. 129 Procedures for Return of Units Out of Warranty.................................. 130 LIMITED WARRANTY..
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 9.1 Support, Service & Warranty How to Contact Us: Sales and Support All ProSoft Technology Products are backed with full technical support. Contact our worldwide Technical Support team and Customer Service representatives directly by phone or email: USA / Latin America (excluding Brasil) (Office in California) +1(661) 716-5100 +1(661) 716-5101 (Fax) 1675 Chester Avenue, 4th Floor Bakersfield, California 93301 U.S.A. +1.661.716.
Support, Service & Warranty PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 9.2.1 All Product Returns 1 2 3 4 In order to return a Product for repair, exchange or otherwise, the Customer must obtain a Returned Material Authorization (RMA) number from ProSoft and comply with ProSoft shipping instructions.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Support, Service & Warranty a) If no defect is found, a credit is issued. b) If a defect is found and is determined to be customer generated or if the defect is otherwise not covered by ProSoft's Warranty, or if the module is not repairable, a credit is not issued and payment of the replacement module is due. 9.4 Procedures for Return of Units Out of Warranty 1 2 Customer sends unit in for evaluation.
Support, Service & Warranty PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Purchasing Warranty Extension As detailed below in ProSoft's Warranty, the standard Warranty Period is one year (or in the case of RadioLinx modules, three years) from the date of delivery. The Warranty Period may be extended for an additional charge, as follows: 9.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Support, Service & Warranty B Warranty On Services: Material and labor used by ProSoft to repair a verified malfunction or defect are warranted on the terms specified above for new Product, provided said warranty will be for the period remaining on the original new equipment warranty or, if the original warranty is no longer in effect, for a period of 90 days from the date of repair.
Support, Service & Warranty PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 9.5.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Support, Service & Warranty 9.5.7 No Other Warranties Unless modified in writing and signed by both parties, this Warranty is understood to be the complete and exclusive agreement between the parties, suspending all oral or written prior agreements and all other communications between the parties relating to the subject matter of this Warranty, including statements made by salesperson.
Support, Service & Warranty PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module 9.5.11 Controlling Law and Severability This Warranty shall be governed by and construed in accordance with the laws of the United States and the domestic laws of the State of California, without reference to its conflicts of law provisions.
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Page 136 of 139 Support, Service & Warranty ProSoft Technology, Inc.
Index PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Connect the PC to the ProTalk Configuration/Debug Port • 53 Connect Your PC to the Processor • 42 Connecting to the Processor with TCPIP • 44 Controlling Law and Severability • 135 Create a New Project • 17, 37 Index [ [Backplane Configuration] • 63 [MCM Port X] • 65 [Modbus Port 1 Commands] • 70 [Module] • 63 0 00 Return Query Data • 121 3 3x Register Start • 64 4 4x Register Start • 64 Data Analyzer • 87 Data Analyzer Tips • 89 Dat
PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module How to Contact Us Sales and Support • 128 I Information for Concept Version 2.6 Users • 16 Initialize Output Data • 64 Inserting the 1454-9F connector • 48 Install ProSoft Configuration Builder Software • 13 Install the ProTalk Module in the Quantum Rack • 47, 48 Installing MDC Configuration Files • 16 Intellectual Property • 134 Is a .
Index PTQ-MCM ♦ Quantum / Unity Platform Modbus Communication Module Set Up the Project • 58 Setting Up the ProTalk Module • 47 Skipping 500 Registers of Data • 85 Slave Address • 68 Special Functions • 100 Standard Modbus Protocol Errors • 95 Start Here • 9, 11 Starting the Data Analyzer • 88 Status Data Block Structure • 110 Status Data Definition • 110 Stop Bits • 67 Stopping the Data Analyzer • 88 Sub-function codes supported by the serial line devices • 120 Support, Service & Warranty • 9, 127 Write