Cat. No.
Thank you for choosing a 3G3FV High-function General-purpose Inverter and CompoBus/D Communications Card. This manual describes the specifications and operating methods of the CompoBus/D Communications Card used for exchanging data between an Inverter and a Programmable Controller. Specifically, it describes the operation methods, communications methods, and data setting methods of the 3G3FV-PDRT1-SIN CompoBus/D Communications Card.
Notice: OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual. The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or damage to property. ! DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury.
H Installation and Wiring Precautions ! WARNING Never touch any internal parts of the Inverter. Doing so may result in electric shock. ! WARNING Install, remove, or wire the Optional Card only after turning OFF the Inverter, making sure that all the indicators of the Inverter are OFF, and waiting for the time specified on the front cover of the Inverter to elapse. Not doing so may result in electric shock. ! WARNING Do not damage, press, or put excessive stress or heavy objects on the cables.
Table of Contents Chapter 1. Functions and System Configuration . . . . . . . . . . . . . . . . . 1-1 1-1 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1-2 CompoBus/D Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 1-3 CompoBus/D System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents Chapter 5. CompoBus/D Communications Card Operations . . . . . . . 5-1 5-1 Remote I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1-1 Standard Remote I/O (Initial Setting) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1-2 Types of Remote I/O Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 Chapter 1 Functions and System Configuration 1-1 1-2 1-3 Functions CompoBus/D Features CompoBus/D System Configuration
Functions and System Configuration 1-1 Chapter 1 Functions The 3G3FV-PDRT1-SIN CompoBus/D Communications Card is a dedicated communications interface card that makes it possible for the SYSDRIVE 3G3FV High-function General-purpose Inverter to communicate with SYSMAC Programmable Controllers. Installing a CompoBus/D Communications Card in the SYSDRIVE 3G3FV Inverter permits a Programmable Controller to monitor RUN/STOP and operating conditions, and to make changes in set values.
Functions and System Configuration Chapter 1 Note 2. The SYSMAC CV Series includes the CV1000, CV2000, and CVM1 Programmable Controllers. SYSMAC C200HS PCs support only remote I/O communications. H Multi-vendor Network The CompoBus/D conforms to the DeviceNet open field network specification, which means that devices (Masters and Slaves) produced by other manufacturers can also be connected to the Network.
Chapter 1 Functions and System Configuration H Applicable to Various System Configurations Remote I/O communications and message communications are available as communications functions. Normal control inputs are controlled by the remote I/O communications function. When necessary, the message communications function is used to monitor each Inverter.
Chapter 1 Functions and System Configuration 1-2 CompoBus/D Features H System Configuration Example Master by other company OMRON Master Unit OMRON Master Unit OMRON Configurator CompoBus/D Network OMRON Configurator OMRON Slaves OMRON Slaves Slaves by other company CompoBus/D Network Slaves by other company Slaves by other company OMRON Slaves H Multi-vendor Network The CompoBus/D conforms to the DeviceNet open field network specification, which means that devices (Masters and Slaves) produced
Functions and System Configuration Chapter 1 H Free Remote I/O Allocation A Configurator (sold separately) can be used to enable flexible allocation of I/O, i.e., in any area and in any order. This allows I/O allocations that suit the application to simplify programming and enable effective usage of PC memory areas. H Handle Slaves with Different Response Speeds A Configurator (sold separately) can be used to set the communications cycle time, enabling usage of Slaves with slow response times.
Chapter 1 Functions and System Configuration 1-3 CompoBus/D System Configuration 1-3-1 System Configuration CompoBus/D is a multi-bit, multi-vendor network that combines controls and data on a machine/linecontrol level and that conforms to DeviceNet open field network specifications.
Chapter 1 Functions and System Configuration H Free Allocation: Configuration with a Configurator C200HW-DRM21-V1 or CVM1-DRM21-V1 CompoBus/D Master Unit Slave Slave 3G8F5-DRM21 (ISA Board) or SG8E2-DRM21 (PC Card) Configurator SYSMAC DRIVE 3G3FV Inverter Slave 3G3FV-PDRT1-SIN CompoBus/D Communications Card 64 nodes max. (including the Master Unit) Slave Slave Slave Configurator 64 nodes max. (including the Master Unit) Note 1.
Chapter 1 Functions and System Configuration S More than one Master Unit per PC Remote I/O can be allocated for each Slave of the Master Unit from the Configurator, so more than one Master Unit can be mounted to the same PC. Note In allocating Remote I/O for each Master Unit, be careful not to allow any dual allocation.
Chapter 1 Functions and System Configuration 1-3-3 CompoBus/D Communications Specifications Item Communications protocol Supported connections (communications) Connection forms Baud rate Communications media Communications 500 Kbps distances 250 Kbps 125 Kbps Communications power supply Max. number of nodes Max. number of Masters Max.
Chapter 1 Functions and System Configuration H Communications without Configurator: Fixed Allocation Applicable PC Master Unit Supported communications Max. No. of Slaves per Master Unit Max. No.
Functions and System Configuration Applicable PC Allocation method Chapter 1 CV-series C200HX/HG/HE C200HS Words are allocated to each node in the above data areas in any order using the Configurator. The following limitations apply: The allocation areas are in 4 blocks (OUT 1, OUT 2, IN 1, and IN 2). Each block consists of sequential words. 100 words max. per block. For Slaves with more than 8 points, the first byte cannot be specified in leftmost bits (7 to 15).
2 Chapter 2 CompoBus/D Communications Line Design 2-1 2-2 2-3 2-4 Network Configuration Overview Network Configuration Restrictions Communications Power Supply Communications Line Noise Prevention
Chapter 2 CompoBus/D Communications Line Design 2-1 Network Configuration Overview The following diagram shows the configuration of a CompoBus/D Network. Terminating Resistors are connected at each end of the trunk line. 24 VDC Trunk line T CompoBus/D cables are used. Trunk line T T T-branch Tap T-branch Tap Drop line Drop line Drop line Trunk line Node Node Power Supply Tap Trunk or T-branch Tap line M Terminating Resistors are connected at each end of the trunk line.
Chapter 2 CompoBus/D Communications Line Design 2-1-2 Connections H Trunk and Drop Lines The trunk line is a cable to which Terminating Resistors are connected at the ends. Drop lines are cables that branch from the trunk lines. A special 5-wire cable is used for both the trunk lines and the drop lines. H Branching Patterns Branching Patterns from Trunk Line 1.One drop line from trunk line 2.Three drop lines (maximum) from trunk line 3.
Chapter 2 CompoBus/D Communications Line Design 2-2 Network Configuration Restrictions CompoBus/D communications are designed to meet a wide range of applications by providing a choice of baud rates and allowing different combinations of T-branch and multi-drop connections. The restrictions of CompoBus/D communications that are required to enable the various communications possibilities are described here.
Chapter 2 CompoBus/D Communications Line Design H Total Drop Line Length The total drop line length is the total sum length of all the drop lines (but not including the trunk line). Do not exceed the maximum total drop line length (even when the length of each individual drop line is 6 m or less). The standard for the total drop line length varies with the baud rate as shown in the previous table.
CompoBus/D Communications Line Design 2-3 Chapter 2 Communications Power Supply 2-3-1 Locating the Communications Power Supply H Basic Concept • The communications power supply must be 24 VDC. • Make sure that the power is supplied from the trunk line. • When providing power to several nodes from one power supply, if possible try to locate the nodes in both directions from the power supply. • Provide power through Power Supply Taps.
Chapter 2 CompoBus/D Communications Line Design H Flowchart Use the flowchart below to determine the communications power supply on the trunk line. Satisfy the conditions for each drop line on page 2-6. Provisionally determine the location of the power supply. Step 1 Determine the best location of the power supply from the graphs. Are the power supply specifications met? Yes No Consider changing the location of the power supply. Consider using Thick Cable.
Chapter 2 CompoBus/D Communications Line Design 1 Locating the Nodes on Both Sides of the Power Supply Power Supply Tap or T-branch Tap Node Node Communications power supply Node Node Node 2 Locating the Nodes on One Side of the Power Supply Note Configuration 1 is recommended for a single power supply to several nodes.
Chapter 2 CompoBus/D Communications Line Design Note 3. Consider changing to Thick Cable to meet specifications if the current capacity of the Thin Cable exceeds 3 A when using Thin Cable for the trunk line. H Setting the Power Supply Location Determine whether or not the current can be supplied normally by finding the current capacity required by each node and the voltage drop in the cables to be used to provide power. Calculate the values below in advance.
Chapter 2 CompoBus/D Communications Line Design H Thick Cable Distance (m) Max. current (A) 0 8.00 25 8.00 50 5.42 100 2.93 150 2.01 200 1.53 250 1.23 300 1.03 350 0.89 400 0.78 450 0.69 500 0.63 8 7 6 Max. current (A) 5 4 3 2 1 0 0 Distance (m) H Thin Cable Distance (m) Max. current (A) 0 3.00 10 3.00 20 3.00 30 2.06 40 1.57 50 1.26 60 1.06 70 0.91 80 0.80 90 0.71 100 0.64 3 2 Max.
Chapter 2 CompoBus/D Communications Line Design 3 Compare the values found in steps 1 and 2, above. If the first value (A) is less than the second (B), this shows that power supply specifications are met and power can be supplied to all nodes at any point in the Network. Note Be sure to refer to the correct graph as the maximum current flow is different for Thick and Thin Cables.
Chapter 2 CompoBus/D Communications Line Design Basically, in the CompoBus/D Network the permissible maximum voltage drop within the system can be specified at 5 V for a power supply line (+V or –V), by calculating the specifications for the voltage of the communications power supply (24 VDC) and the input voltage of the communications power supply of each device (11 to 25 VDC). Of the permissible 5-V maximum voltage drop within the system, the permissible voltage drop is 4.65 V in the trunk lines and 0.
Chapter 2 CompoBus/D Communications Line Design Right Side Calculation Node 4: (40 0.015 + 1 0.005) 0.15 = 0.09075 (V) Node 5: (80 0.015 + 2 0.005) 0.25 = 0.3025 (V) Node 6: (120 0.015 + 3 0.005) 0.15 = 0.27225 (V) If 0.09075 + 0.3025 + 0.27225 = 0.6655 V x 4.65 V, the conditions are satisfied. 2-3-4 Step 3: Splitting the System into Multiple Power Supplies Go to Step 3 if the best location for the nodes cannot be calculated from the formulae.
CompoBus/D Communications Line Design Chapter 2 2-3-5 Dual Power Supplies Because diodes are contained in Power Supply Taps, these taps can be used to construct a dual power supply system in the Network. Dual power supply differs from parallel operation of power supplies, so the following restrictions apply. H Restrictions Dual power supply is basically used to ensure backup power supply, not parallel operation of power supplies.
Chapter 2 CompoBus/D Communications Line Design 2-4 Communications Line Noise Prevention 2-4-1 Communications Line Noise The communications line sends and receives high-speed pulse signals, and checks whether the data is correct by checking the sequence of the signals. If the amount of noise on the communications line is too great, the interference will alter the communications signal data, and communications will be impossible.
Chapter 2 CompoBus/D Communications Line Design Note If the cable grounded to the Inverter is not sufficient and is receiving noise interference, disconnect the grounding cable. Shield 2-4-3 Communications Power Supply Noise Prevention The communications power supply is the most important power supply in a CompoBus/D Network. The following measures will prevent noise in the communications power supply. • Use the recommended power supply (S82H/S82J) for communications.
Chapter 2 CompoBus/D Communications Line Design Suspending the Communications Power Supply S82J power supply DC power supply Insulating material (such as baked board or acrylic board) S82Y-jjN (Mounting Tool) When using S82J power supply When using other power supplies 2-4-4 Noise Prevention Wiring To prevent inductive noise, do not wire the communications line, SYSMAC power lines, and other power lines near to each other.
Chapter 2 CompoBus/D Communications Line Design 2-4-5 Noise Prevention for Peripheral Devices • Install surge suppressors on devices that generate noise, particularly devices that have an inductive component such as motors, transformers, solenoids, and magnetic coils.
3 Chapter 3 Setup and Wiring 3-1 3-2 Nomenclature and Settings Installation and Wiring
Chapter 3 Setup and Wiring 3-1 Nomenclature and Settings 3-1-1 Names of Parts Operation indicators PWR indicator MS indicator Terminal block (TC) NS indicator WD indicator Node address and baud rate setting pins Shielded grounding cable 3-1-2 Terminal Block The following table provides details of the terminal block connected to the communications line.
Chapter 3 Setup and Wiring 3-1-3 Operation Indicators The CompoBus/D Communications Card has 4 operation indicators that show the status of the power and communications as described in the following table. Display Indicator PWR MS Color Status Green Lit --Not lit Green Lit Flashing Red --- NS Lit Flashing Not lit Green Lit Flashing Red Lit Flashing --- WD Not lit Green Flashing Red Lit --Not lit Meaning Power is being supplied from the Inverter to the Card.
Chapter 3 Setup and Wiring 3-1-4 Baud Rate and Node Address Settings In a CompoBus/D Network, the baud rate can be set to 500 Kbps, 250 Kbps, or 125 Kbps. To manage Master/Slave communications, numbers are assigned as node addresses. Baud rate setting pins Node address setting pins Note Default settings are all OFF.
Setup and Wiring 3-2 Chapter 3 Installation and Wiring ! WARNING Never touch any internal parts of the Inverter. Doing so may result in electric shock. ! WARNING Install, remove, or wire the Optional Card only after turning OFF the Inverter, making sure that all the indicators of the Inverter are OFF, and waiting for the time specified on the front cover of the Inverter to elapse. Not doing so may result in electric shock.
Chapter 3 Setup and Wiring 6. Press the top of the connector 2CN and check that the apexes of the triangular marks on both sides match. Option A Control Circuit Board Connector 4CN for option A area Make sure that the apexes of the black triangular marks match Option C Connector 2CN for option C area Connector 3CN for option D area Front View Side View Note When the CompoBus/D Communications Card is mounted, other Optional Cards cannot be mounted in the C area.
Chapter 3 Setup and Wiring 3. Remove the exposed weaving and the aluminum tape from the signal and power lines. Strip the covering from the signal and power lines to the proper length for the crimp terminals. Twist together the wires of each of the signal and power lines. Strip to match the crimp terminals H Inverter Internal Wiring Keep the CompoBus/D wiring separated from the main circuit wiring as much as possible. Do not wire them together. Inverters of 15 kW or Less Inverters of 18.
Chapter 3 Setup and Wiring 2. Insert the wires from underneath the terminal block. 3. Tighten the terminal screws securely to a torque of 0.5 N@m. Note 1. Separate the CompoBus/D communications cables from the main circuit wiring and other power lines. Note 2. Do not solder the ends of the electric wires. Doing so may cause contact failure. Note 3. If straight crimp terminals are not used, strip the electrical wires to a length of 5.5 mm. Note 4. Do not tighten the screws to a torque exceeding 0.5 N@m.
Chapter 3 Setup and Wiring D DCN1-1C T-branch Tap * Use for trunk line of longest drop line. D DCN1-3C T-branch Tap * Use for trunk line of longest drop line. D T-branch Tap Connectors The required number of connectors (on cable side) for T-branch Taps are supplied with the product. Name Model Manufacturer COMBICON Plug with Screw Flange MSTBP 2515-STF-5.
Chapter 3 Setup and Wiring H Connecting Terminating Resistors Terminating resistors must be connected at each end of the trunk line. Use the methods described here to connect the Terminating Resistors. D T-branch Tap Terminating Resistor A Terminating Resistor is included with the T-branch Tap. Insert the Terminating Resistor into the Tbranch Tap as shown in the following diagram. The Terminating Resistor can face in either direction. 21 max. D Terminal-block Terminating Resistor 20 41 max. 20 max.
4 Chapter 4 CompoBus/D System Startup 4-1 4-2 4-3 SYSMAC Word Allocations and Scan List SYSDRIVE 3G3FV Settings Startup Procedure
Chapter 4 CompoBus/D System Startup 4-1 SYSMAC Word Allocations and Scan List In a CompoBus/D Network, remote I/O and message communications can be used simultaneously. This section describes remote I/O communications, particularly the memory words allocated in the SYSMAC PC that correspond to the remote I/O of the Slaves.
Chapter 4 CompoBus/D System Startup • Slaves that require two words can be allocated two words using only one node address so that the next node addresses can be set for another Slave. • Remote I/O words can be allocated in sequence regardless of the order of the node addresses. Note The Configurator uses one node address. Therefore, the number of Slaves that can be connected is reduced if the Network is to be operated with the Configurator still connected.
Chapter 4 CompoBus/D System Startup • Slave remote I/O allocations providing the number of I/O words allocated to and the node address set for each Slave. • Communications parameters providing the initial remote I/O communications status and the communications cycle time settings. H Scan List Application A scan list is not required for a Network with only one Master Unit and remote I/O that is allocated according to the fixed settings. The scan list is necessary, however, in the following cases.
CompoBus/D System Startup Chapter 4 H Using Scan Lists D Enabling/Disabling a Scan List To enable a scan list, turn ON the Enable Scan List software switch or use the Configurator. To disable a scan list, turn ON the Clear Scan List software switch. Note 1. Scan lists cannot be disabled from the Configurator. The scan list will always be enabled when created on the Configurator and registered in a Master Unit. Note 2. Always enable the scan list during actual system operation.
Chapter 4 CompoBus/D System Startup Node address 0 1 2 ... 30 31 32 ... 48 49 50 ... 62 63 SYSMAC Programmable Controllers CV-series PCs Output area Input area (CIO 1900 to CIO 1963) CIO 1900 CIO 1901 CIO 1902 ... CIO 1930 CIO 1931 CIO 1932 ... CIO 1948 CIO 1949 CIO 1950 ... CIO 1962 CIO 1963 (CIO 2000 to CIO 2063) CIO 2000 CIO 2001 CIO 2002 ... CIO 2030 CIO 2031 CIO 2032 ... CIO 2048 CIO 2049 CIO 2050 ... CIO 2062 CIO 2063 C200HX/HG/HE PCs Output area Input area (IR 50 to IR 99) IR 50 IR 51 IR 52 ...
Chapter 4 CompoBus/D System Startup D Verification Error: Slave I/O Size Differs A verification error (Slave I/O Size Differs) will occur and it will not be possible to start CompoBus/D communications if a Master Unit is being used with the scan list enabled and the type of I/O (input or output) or the number of I/O points registered for a Slave in the scan list does not match the actual I/O specifications of the Slave that is connected to the Master Unit.
CompoBus/D System Startup Chapter 4 2. Set the initial settings for the Slaves: Node address (DIP switch) Baud rate (DIP switch) Etc. 3. Mount the Master Unit and wire the Network. For CV-series PCs, Master Units are treated as CPU Bus Units and can be mounted to the CPU Rack or Expansion CPU Rack. Only one Master Unit can be mounted if a Configurator is not used, but up to 16 Master Units can be mounted if a Configurator is used.
Chapter 4 CompoBus/D System Startup 4-1-4 Free Allocations H Allocation Areas and Maximum Words for Different PCs When free allocations are used, the remote I/O areas consist of input blocks 1 and 2, which input Slave data to the PC, and output blocks 1 and 2, which output data from the PC to the Slaves. These four blocks can be allocated as desired using the following words. Each block, however, must consist of continuous words within one data area.
Chapter 4 CompoBus/D System Startup H Free Allocation Restrictions • Each node address can be set only once in the output blocks and once in the input blocks. The same node address cannot be set twice. WRONG Output block 1 Output block 2 Node 02 Node 02 • If a Configurator is used to freely allocate words or bytes to each Slave, only a Slave using only one byte (8 bits) can be set in the leftmost byte of the allocated word.
Chapter 4 CompoBus/D System Startup H Example of Free Allocations Output area Input area Output points Input points 0 16 0 CIO 1950 1 8 8 CIO 1951 2 16 16 CIO 1952 Allocated (02) 3 0 8 CIO 1953 Allocated (10) 10 32 0 CIO 1954 Allocated (10) Node address Node address 4 Output Input points points 0 48 9 0 8 12 8 16 Output block 1 Allocated (00) Allocated (01) Not used Input block 1 CIO 1900 CIO 1901 Not used Allocated (12) Allocated (03) Input block 2 Output block 2
CompoBus/D System Startup Chapter 4 8. Connect a Configurator to the Network. 9. Turn ON the power supply to all nodes. 10. Switch the PC to PROGRAM mode. 11. Get the device list and create the master parameters with the Configurator. 12. If more than one Master Unit is mounted to the same PC, use the Configurator to check for duplication in the master parameter settings. 13. Register the master parameters in the Master Unit(s). 14. Go to step 28. 15. Connect a Configurator to the Network. 16.
Chapter 4 CompoBus/D System Startup 4-2 SYSDRIVE 3G3FV Settings Set the parameters according to the applications of the Inverter for CompoBus/D communications. The shaded part in the following table indicates the default setting. Note The parameters set here are applied to the CompoBus/D Communications Card when the power is turned ON. Turn OFF the power after changing parameters and turn ON again to apply them.
Chapter 4 CompoBus/D System Startup 4-2-3 CompoBus/D Communications Settings The parameters below have been added for functions that are exclusive to CompoBus/D communications. Set these parameters according to the desired application.
Chapter 4 CompoBus/D System Startup 4-2-4 Frequency Reference Settings and Display Units The parameters for units of frequency (speed) data used in CompoBus/D communications are set with the following constant. The standard unit used with DeviceNet is r/min, so always set the number of motor poles. Default setting: 0 o1-03 Constant 0 1 2 to 39 40 to 39,999 Content 0.01 Hz 0.01% (max. frequency is 100 %) r/min (Set the number of motor poles.
CompoBus/D System Startup 4-3 Chapter 4 Startup Procedure The CompoBus/D communications system can be started from any of the nodes on the Network. The following procedure gives the startup process after turning ON the power to the Inverter’s CompoBus/D Communications Card. If the startup process shown below is interrupted or stops before being completed, an error will occur. Correct errors that occur, referring to Chapter 6 Communications Errors. 1. Turn ON the power. 2.
5 Chapter 5 CompoBus/D Communications Card Operations 5-1 5-2 5-3 5-4 Remote I/O Message Communications (DeviceNet Explicit Messages) Switching Remote I/O Operation Special Remote I/O Operation
CompoBus/D Communications Card Operations ! Caution 5-1 Chapter 5 Be careful when changing settings. Not doing so may result in injury or product damage. Remote I/O There are two types of CompoBus/D communications: Remote I/O and message communications. There are three types of remote I/O operation: Basic remote I/O, standard remote I/O, and special remote I/O. This section explains standard remote I/O operations and the types of remote I/O.
Chapter 5 CompoBus/D Communications Card Operations 5-1-1 Standard Remote I/O (Initial Setting) The type of remote I/O operation pre-set as the initial setting for the Inverter’s CompoBus/D Communications Card is standard remote I/O. This remote I/O can be used for general Inverter control.
Chapter 5 CompoBus/D Communications Card Operations H Words Allocated to SYSDRIVE 3G3FV-series Inverters A SYSDRIVE 3G3FV-series Inverter is allocated a total of four SYSMAC I/O words (two input and two output) via a CompoBus/D Communications Card. I/O classification Bits Word address 15 to 8 Output (SYSMAC PC to Inverter) n n+1 Input (Inverter to SYSMAC PC) m m+1 Not used. Rotational speed reference (leftmost bits) Not used.
Chapter 5 CompoBus/D Communications Card Operations Note 2. Control From Net shows the input status of word n, bit 5 (Net Control) for CompoBus/D communications. Note 3. The Reference From Net and Control From Net functions are applicable for Inverter software versions S1042 and later. Check the version with the Inverter monitor function U1–14. Note 4. Reverse Operation indicates reverse output status. This bit does not turn ON for DC braking (DC injection). Note 5.
Chapter 5 CompoBus/D Communications Card Operations 5-1-2 Types of Remote I/O Operation There are three types of CompoBus/D Communications Card remote I/O operation: • Basic remote I/O: Remote I/O operation for the standard DeviceNet configuration. • Standard remote I/O: Remote I/O operation (DeviceNet-compatible) that is the default setting for the CompoBus/D Communications Card.
Chapter 5 CompoBus/D Communications Card Operations D Inputs (3G3FV to SYSMAC PC) Byte number Wd m Wd m+1 Bit 7 Bit 6 At Reference Reference From Net Instance ID: 71 Dec (47 Hex) Bit 5 Control From Net Bit 4 Bit 3 Bit 2 Bit 1 Inverter Ready During reverse run During forward run Warning (minor fault) Rightmost 0 Leftmost 1 Rightmost 2 Rotational speed monitor (rightmost data) Leftmost 3 Rotational speed monitor (leftmost data) Bit 0 Fault Note A shaded box indicate that the bit is
Chapter 5 CompoBus/D Communications Card Operations 5-2 Message Communications (DeviceNet Explicit Messages) There are two types of CompoBus/D communications: Remote I/O and message communications. This sections explains CompoBus/D Communications Card message communications. With message communications, specific instructions (SEND, RECV, CMND, and IOWR) are used for reading and writing data between Master and Slave Units.
Chapter 5 CompoBus/D Communications Card Operations Note Message communications are supported by CV-series and C200HX/HG/HE PCs, but not by C200HS PCs. H Overview of Explicit Messages Explicit messages are sent and received as described below. Basically explicit message communications are executed in 1-byte (8-bit) units.
Chapter 5 CompoBus/D Communications Card Operations D C: Control Code The control code is set as shown below for CompoBus/D Master Units. C: Destination unit address: FE (Master Unit) Master Unit must be set for explicit messages. Destination node address: 0 to 3F hex (0 to 63) The Master Unit node address must be set for explicit messages. Response setting: ON: No response. OFF: Response required. Must be OFF (response required) for explicit messages.
Chapter 5 CompoBus/D Communications Card Operations H Message Timing The Message Communications Enabled Flag must be used as an execution condition for the Master when IOWR is used. Be sure this flag is ON before executing IOWR. If IOWR is executed when this flag is OFF, a Special I/O Unit error may be generated for the Master. Execution condition Message Communications Enabled Flag A (@) IOWR C S B D B 25506 Equals Flag A 1.
Chapter 5 CompoBus/D Communications Card Operations H Timing of Message Response Reading Responses are read when the Message Communications Enabled Flag turns ON in the next cycle. The Message Communications Enabled Flag will turn OFF when a Master Unit is executing message communications. If the message response is faster than the PC ladder program cycle time, the Message Communications Enabled Flag will remain ON and response processing will not be possible.
CompoBus/D Communications Card Operations Chapter 5 5-2-3 SYSMAC CV-series Message Transmission H Using CMND(194) With CV-series PCs, CMND(194) is used to send explicit messages. To send an explicit message, it is necessary to place FINS command “2801” in front and to send the command to the Master Unit. The Master Unit that receives the command converts the command data to an explicit message and transfers it to the destination node.
Chapter 5 CompoBus/D Communications Card Operations D C: Beginning Control Code Word Specify the beginning word address of the area for storing the required control codes for message communications. The control codes shown in the following table are required by CompoBus/D Master Units. Preset the data in consecutive words. Bits Word address C C+1 C+2 C+3 C+4 C+5 15 14 to 8 7 to 0 Number of command data bytes: 0000 to 00A0 hex (0 to 160 bytes) Set the amount of data from the beginning S word.
Chapter 5 CompoBus/D Communications Card Operations H Communications Flags Type SYSMAC PC flags Master Unit status flag Address Name Network Communications Enabled Flag Word A502 Network Communications Error Flag A502 Message Communications Enabled Flag 25 x Unit number + 1501 Bit 7: Port 7 6: Port 6 5: Port 5 4: Port 4 3: Port 3 2: Port 2 1: Port 1 0: Port 0 15: Port 7 14: Port 6 13: Port 5 12: Port 4 11: Port 3 10: Port 2 9: Port 1 8: Port 0 12 Content 0: Execution disabled (executing) 1: Execu
Chapter 5 CompoBus/D Communications Card Operations H Response Format D Normal Response 28 01 00 00 32 bytes max.
Chapter 5 CompoBus/D Communications Card Operations H Object Details Instance Attribute Setting range Default 00 01 Object Software Revision Name Indicates class 28 software revisions. The revision value is advanced whenever there is a change. Content --- 0001 Yes Read No Write Word Size 01 03 Motor Type Indicates the type of motor to be used. The setting for a squirrel-cage inductive motor is 7.
Chapter 5 CompoBus/D Communications Card Operations H Object Details Instance Attribute Name 00 01 Object Software Revision 01 03 Setting range Default Indicates class 29 software revisions. The revision value is advanced whenever there is a change. --- 0001 Yes No Word Forward/Stop 00: Stop 01: Forward operation 00, 01 00 Yes Yes Byte 04 Reverse/Stop 00: Stop 01: Reverse operation 00, 01 00 Yes Yes Byte 05 Net Control Local/remote switch 00: Operate by b1–02 setting.
Chapter 5 CompoBus/D Communications Card Operations Note 2. A DeviceNet Fault mode cannot be set from communications. The Inverter will stop when a communications fault is detected. In versions S1042 and later, the fault processing method can be selected with an Inverter parameter (F9–06).
Chapter 5 CompoBus/D Communications Card Operations 5-2-7 AC/DC Drive Objects: Class 2A Hex AC/DC drive objects are assigned to command-related functions for drive devices such as Inverters and Servomotors. Command-related data reading and writing, monitor data reading, set data scale changes, and so on, are all enabled. These functions are shared with similar functions used for remote I/O, so even if they have been set for message operations they may get rewritten for remote I/O.
Chapter 5 CompoBus/D Communications Card Operations Instance Attribute 01 09 Name Current Actual Content Can be referenced in hexadecimal with the output current monitor (U1–03) minimum unit as 0.1 A. Setting range Default Read Write Size --- 0000 Yes No Word --- 0000 Yes No Word --- 0000 Yes No Word --- 0000 Yes No Word 0.0 to 6,000.0 × 103 ms (0.00 to 600.00 × 103 ms) 2710 Hex (10.0 s) Yes Yes Word 2710 Hex (10.
Chapter 5 CompoBus/D Communications Card Operations Instance Attribute 01 1A Name Power scale Content Setting range Power data unit selection can be set and read. The power data unit value is calculated as follows: Default Read Write Size –15 to 15 (F1 to 0F hex) 00 Yes Yes Byte –15 to 15 (F1 to 0F hex) 00 Yes Yes Byte –15 to 15 (F1 to 0F hex) 00 Yes Yes Byte --- 00 Yes No Byte Unit = 0.1 [W] x 1/2c c: Power scale set value Set a negative value as its 2’s complement.
CompoBus/D Communications Card Operations Chapter 5 Note With frequency, the speed scale has no effect. Example 3: Finding the communications data for setting a one-minute acceleration time with the following condition set.
Chapter 5 CompoBus/D Communications Card Operations 5-3 Switching Remote I/O Operation To use remote I/O operations other than the standard remote I/O operation it is necessary to switch the remote I/O operation. There are two ways to switch: • Use the Configurator to set the remote I/O instance IDs for parameter objects. • Set the remote I/O instance IDs for connection objects.
Chapter 5 CompoBus/D Communications Card Operations 5. Set up the Master Unit and 3G3FV Inverter connection by turning ON their power. The remote I/O connection will then start up with the specified remote I/O operation. When creating scan lists, set the scan list to disable mode once and then create scan lists or change the settings as follows for the Inverter I/O allocation byte number from the Configurator.
CompoBus/D Communications Card Operations Chapter 5 Note For details on using message communications, refer to 5-2 Message Communications (DeviceNet Explicit Messages and the operation manual for the Master Unit being used.
Chapter 5 CompoBus/D Communications Card Operations 5-4 Special Remote I/O Operation There are three kinds of CompoBus/D remote I/O operation: Basic remote I/O, standard remote I/O (the default setting), and special remote I/O. This section explains special remote I/O. Special remote I/O operation enables using all the functions of 3G3FV-series Inverters, and setting and reading all parameters. These operations have been developed independently, and are not part of the DeviceNet standard.
Chapter 5 CompoBus/D Communications Card Operations H Setting Data for Operations and Parameter Constants Read data and write data to be set for operations and parameters are calculated as shown below and then transmitted in hexadecimal. • Convert to hexadecimal values with the operation/parameter minimum setting value as 1. • Negative numbers are expressed as two’s complements. • If the original data is already displayed in hexadecimal, it is transmitted as is.
CompoBus/D Communications Card Operations Chapter 5 Note 1. Unless an enter command is transmitted, data will not be enabled and the Inverter may not start. Note 2. The enter command requires a parameter constant (Register No. 0100 or higher). Since the run command or frequency reference (Register No. 0000 to 000F) is stored only in the RAM area, set data will be enabled without an enter command.
Chapter 5 CompoBus/D Communications Card Operations H Handling Illustration 10 hex 0001 hex 10 hex 0000 hex 03 hex 0021 hex 03 hex 0010 hex Frequency reference writing Inverter run command writing Output frequency monitoring Inverter status reading Function code register number Processing contents Transmission completed signal Function code–response number comparison (CMP) 5-4-3 Inputting Control/Frequency The Inverter’s various control inputs are allocated to the registers shown in the following
CompoBus/D Communications Card Operations Chapter 5 D Inverter Run Commands: Register Number 0000 Hex Bit 0 1 2 3 4 5 6 7 8 to 15 Content Forward/stop (1: Forward operation) Reverse/stop (1: Reverse operation) Multi-function input 1 Multi-function input 2 Multi-function input 3 Multi-function input 4 Multi-function input 5 Multi-function input 6 Not used.
Chapter 5 CompoBus/D Communications Card Operations 5-4-4 Inverter Monitoring Functions All Inverter monitoring can be accessed. To read Inverter status, fault monitoring, alarm monitoring, I/O status monitoring, error log, etc., specify the register number from the following table and read the data. Register number (hex) 0010 0011 0012 0013 0014 0015 0016 0017 0018 0019 001A 001B to 001F Function Inverter status Operator status Operator setting error number Not used.
CompoBus/D Communications Card Operations Chapter 5 D Fault 1: Register Number 0014 Hex Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Display PUF UV1 UV2 UV3 SC GF OC OV OH OH1 OL1 OL2 OL3 OL4 RR RH Content Fuse open Undervoltage (main) Undervoltage (CTL) Undervoltage (MC) Short-circuit Ground fault Overcurrent Overvoltage Overheat (See note 1.) Overheat (See note 2.) Motor overload Inverter overload Overtorque detection 1 Overtorque detection 2 Braking transistor Braking resistor Note 1.
CompoBus/D Communications Card Operations D CPF Error 1: Register Number 0017 Bit 0 1 2 3 4 5 6 7 to 15 Display ----CPF02 CPF03 CPF04 CPF05 CPF06 --- Content Not used. Baseblock circuit error EEPROM error Internal A/D error (See note 1.) External A/D error (See note 2.) Option connect error Not used. Note 1. CPU internal A/D converter error Note 2. CPU external A/D converter error D CPF Error 2: Register Number 0018 Hex Bit 0 1 to 15 Display CPF20 --- Content Optional Card A/D error Not used.
CompoBus/D Communications Card Operations Chapter 5 H Inverter Monitoring: U1–jj Register number 0020 0021 0022 Monitor number U1-01 U1-02 U1-03 Monitored item Frequency reference Output frequency Output current 0023 0024 0025 0026 0027 0028 0029 U1-04 U1-05 U1-06 U1-07 U1-08 U1-09 U1-10 Control method Motor speed Output voltage Main circuit DC voltage Output power Torque reference Input terminal status 002A 002B 002C 002D 002E 002F 0030 0031 U1-11 U1-12 U1-13 U1-14 U1-15 U1-16 U1-17 U1-18 Output
CompoBus/D Communications Card Operations D Output Terminal Status: Register Number 002A Hex Bit 0 1 2 3 4 5 6 7 8 to 15 Content 1: Terminal 9 and 10 short 1: Terminal 25 and 27 short 1: Terminal 26 and 27 short Not used. 1: Terminal 18 and 20 short Not used. D Operating Status: Register Number 002B Hex Bit 0 1 2 3 4 5 6 7 8 to 15 5-36 Content During RUN Zero speed Forward/reverse (1: Reverse operation) During Fault Reset input Frequency agree 1 Operation ready Alarm Fault Not used.
CompoBus/D Communications Card Operations Chapter 5 H Inverter Monitoring: U2–jj, U3–jj Register number 0080 0081 0082 0083 0084 Monitor number U2-01 U2-02 U2-03 U2-04 U2-05 0085 0086 U2-06 U2-07 0087 U2-08 0088 0089 008A U2-09 U2-10 U2-11 008B U2-12 008C U2-13 008D 0090 0091 0092 0093 0094 U2-14 U3-01 U3-02 U3-03 U3-04 U3-05 0095 U3-06 0096 U3-07 0097 U3-08 Monitored item Current fault Last fault Fault frequency reference Fault output reference Fault output current Fault motor speed F
CompoBus/D Communications Card Operations D Error Codes Code 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 21 to FF Display PUF UV1 UV2 UV3 SC GF OC OV OH OH1 OL1 OL2 OL3 OL4 RR RH EF3 EF4 EF5 EF6 EF7 EF8 --OS DEV PGO PF LF --OPR ERR --- Content Fuse open Undervoltage (main) Undervoltage (CTL) Undervoltage (MC) Short-circuit Ground fault Overcurrent Overvoltage Overheat (See note 1.) Overheat (See note 2.
Chapter 5 CompoBus/D Communications Card Operations 5-4-5 Parameter Constant Reading and Writing The following tables show the SYSDRIVE 3G3FV-series Inverter parameter constant numbers and the corresponding register numbers. Write and read the various parameter constants with “1” as the minimum setting unit. Negative numbers are expressed as two’s complement. If the setting unit is in hexadecimal, there is no need to convert it.
Chapter 5 CompoBus/D Communications Card Operations Constant Name Register No. Setting unit Setting range Default setting Chang es during operation V/f control Control mode setting V/f with PG Open loop vector Flux vector b2-04 DC injection braking time at stop. 018A 0.01 0.00 to 10.00 0.50 No Yes Yes Yes Yes b3-01 Speed search selection at start 018E 1 0, 1 0 (See note.) No Yes Yes Yes Yes b3-02 Speed search operation current 018F 1 0 to 200 100 (See note.
Chapter 5 CompoBus/D Communications Card Operations D Tuning (C) Parameter Constants Constant Name Register No. Setting unit Setting range 0.1 (See note 1.) 0.0 to 6,000.0 (See note 1.) Control mode setting Default setting Chang es during operation V/f control V/f with PG 10.
Chapter 5 CompoBus/D Communications Card Operations Constant Name Register No. Setting unit Setting range Default setting Chang es during operation V/f control Control mode setting V/f with PG Open loop vector Flux vector C5-06 ASR Primary delay time 021A 0.001 0.000 to 0.500 0.004 No No No No Yes C5-07 ASR Switching frequency 021B 0.1 0.0 to 400.0 0.
Chapter 5 CompoBus/D Communications Card Operations D Command-related (d) Parameter Constants Constant Name Register No. Setting unit 0.01 (See note.) Setting range 0.00 to Max. frequency Control mode setting Default setting Chang es during operation V/f control V/f with PG 6.00 Yes Yes Yes Yes Yes 0.00 Yes Yes Yes Yes Yes Open loop vector Flux vector d1-01 Frequency reference 1 0280 d1-02 Frequency reference 2 0281 d1-03 Frequency reference 3 0282 0.
Chapter 5 CompoBus/D Communications Card Operations Constant Name Register No. Setting unit Setting range Default setting Chang es during operation V/f control Control mode setting V/f with PG Open loop vector Flux vector E1-03 V/f pattern selection 0302 Hex 0 to F F No Yes Yes No No E1-04 Maximum frequency (FMAX) 0303 0.1 40.0 to 400.0 60.0 No Yes Yes Yes Yes E1-05 Maximum voltage (VMAX) 0304 0.1 0.0 to 255.0 (See note 1.) 200.0 (See note 1.
Chapter 5 CompoBus/D Communications Card Operations Constant Name Register No. Setting unit Setting range Default setting Chang es during operation V/f control Control mode setting V/f with PG Open loop vector Flux vector E4-03 Motor 2 maximum voltage frequency 031A 0.1 0.0 to 400.0 60.0 No Yes No Yes No E4-04 Motor 2 intermediate frequency 031B 0.1 0.0 to 400.0 3.0 (See note 2.) No Yes No Yes No E4-05 Motor 2 intermediate voltage 031C 0.1 0.0 to 255.0 (See note 1.
Chapter 5 CompoBus/D Communications Card Operations D Option (F) Parameter Constants Constant Name Register No.
Chapter 5 CompoBus/D Communications Card Operations Constant Name Register No. Setting unit Setting range Default setting Chang es during operation V/f control Control mode setting V/f with PG Open loop vector Flux vector F9-03 Communications external fault input operation selection 039B 1 0 to 3 1 No Yes Yes Yes Yes F9-04 Not used. 039C 1 --- 0 --- --- --- --- --- F9-05 Not used.
Chapter 5 CompoBus/D Communications Card Operations Constant Name Register No. Setting unit Setting range Default setting Chang es during operation V/f control Control mode setting V/f with PG Open loop vector Flux vector H3-10 Gain: Terminal 14 0412 0.1 0.0 to 1,000.0 100.0 Yes Yes Yes Yes Yes H3-11 Bias: Terminal 14 0413 0.1 –100.0 to +100.0 0.0 Yes Yes Yes Yes Yes H3-12 Analog input filter time 0414 constant 0.01 0.00 to 2.00 0.
Chapter 5 CompoBus/D Communications Card Operations Constant Name Register No.
Chapter 5 CompoBus/D Communications Card Operations Note 1. The default setting depends upon the type of Inverter. The value for a 200-V-class 0.4 kW Inverter will be displayed. Note 2. These are values for a 200-V-class Inverter. Values for 400-V-class Inverter are double. D Operator (o) Parameter Constants Constant Name Register No.
6 Chapter 6 Communications Errors 6-1 6-2 6-3 6-4 Communications Line Errors Message Communications Errors Special Remote I/O Errors Inverter Faults
Chapter 6 Communications Errors 6-1 Communications Line Errors Malfunctions in CompoBus/D communications that are a result of broken wires, short circuits, reversed wiring, duplicate node address assignments, or noise interference are detected as transmission (BUS) errors. When a transmission error is detected, the Inverter’s Fault Bit will turn ON and the motor will coast to a stop.
Chapter 6 Communications Errors Indicator NS Display Color Status Green Lit Flashing Red Lit Meaning The CompoBus/D Network (DeviceNet) is operating normally. (Communications connections established.) The Network is normal, but the communications connection with the Master Unit is not established. A fatal communications error has occurred. Countermeasures --- Turn ON the power supply again after the following steps. • Register in the scan list. • Turn ON the power supply to the Master Unit.
Chapter 6 Communications Errors Indicator WD Display Color Status Green Flashing Red --- Lit Not lit Meaning Countermeasures The CPU Unit of the Card is operating nor- --mally. The CPU Unit of the Card is not ready or Check the Option Card conthe CPU Unit has malfunctioned. nector and turn ON the Inverter power supply. Power is not being supplied from the Inverter. The Card is not connected properly and power is not being to supplied to it. Replace the Option Card.
Chapter 6 Communications Errors 6-2 Message Communications Errors H Explicit Message Errors If an explicit message is sent, but communications do not end normally, one of the following error codes will be returned with service code 94. Check the meaning of the error message, and either correct the message or adjust the timing of the message. Error Code 0000 08FF Normal end response. The requested service does not exist. 09FF An invalid attribute was detected.
Chapter 6 Communications Errors 6-3 Special Remote I/O Errors H Special Remote I/O Errors If each function is not set properly using the special remote I/O, the MSB of the function code will be changed to 1 and one of the following error codes will be returned. Check the meaning of the error message, and either correct the message or adjust the timing of the message. Error Code --- 01 02 21 22 24 Meaning Normal operation response.
Communications Errors 6-4 Chapter 6 Inverter Faults H Detecting Inverter Faults When a fault is detected in the Inverter itself, the status will change as shown in the following table. Function Remote I/O Explicit messages Special remote I/O Inverter Fault Status The fault output allocated in the remote I/O will turn ON. If the fault output is ON, turn OFF all related inputs controlling the Inverter, and program a sequence to stop the program.
7 Chapter 7 Communications Programs (SYSMAC C200HX/HG/HE PCs) 7-1 7-2 7-3 Standard Remote I/O Programming Message Communications Programming Special Remote I/O Programs
Chapter 7 Communications Programs (SYSMAC C200HX/HG/HE PCs) Note In this chapter, the bits, words, and data memory used in the ladder programs are selected at random. When creating actual programs, modify the contents so that they do not overlap with other areas.
Chapter 7 Communications Programs (SYSMAC C200HX/HG/HE PCs) H Timing Chart 00000 (Frequency Reference Input Bit) 00001 (Forward Input Bit) 00002 (Reverse Input Bit) Word m bit 2 (During Forward Run) Word m bit 3 (During Reverse Run) Rotational speed reference data DM 0000 (rotational speed reference data transmitted to words n + 1) 03000 (Fault Flag) 00003 (Fault Reset Input Bit) 1. 2. 3. 4. 5. 6. 7. H Operation 1.
Chapter 7 Communications Programs (SYSMAC C200HX/HG/HE PCs) H Ladder Program 00004 DIFU (013) 03001 DIFD (014) 03002 03001 During forward run (word m bit 2) During reverse run (word m bit 3) 03003 03002 03003 See note 03004 03004 03004 Net control (word n bit 5) Net reference (word n bit 6) 00000 Speed reference setting MOV (021) DM0000 n+1 00001 Reverse Operation (word m bit 3) 03000 00002 Forward Operation (word m bit 2) 03000 Fault Bit (word m bit 0) 00003 Forward/Stop Bit (word n b
Communications Programs (SYSMAC C200HX/HG/HE PCs) 7-2 Chapter 7 Message Communications Programming 7-2-1 Inverter Fault Processing The message communications programming example given here reads and stores the fault data using explicit messages for fault outputs from the Inverter. If the Inverter has a fault, the remote I/O input’s Fault Bit (word m bit 0) will turn ON. Be sure to turn OFF the Run Command Bits (word n bits 0 and 1). In this program example, the fault code is stored in DM 0200.
Chapter 7 Communications Programs (SYSMAC C200HX/HG/HE PCs) H Timing Chart Word m bit 0 (Fault Bit) 00000 (Fault Read Flag) 03003 (Sending Message Flag) 03002 (Message Sent Flag) IOWR instruction execution 00001 (IOWR Write Completed Flag) 00002 (Response Flag) 10112 (Message Communications Enabled Flag) 03000 (Fault Flag) 00100 (Reset Input Bit) DM0200 (Fault code storage) Fault code 1. 2. 3. H Operation 1. When the Inverter has a fault, bit 0 of word m (Fault Bit) will be turned ON.
Chapter 7 Communications Programs (SYSMAC C200HX/HG/HE PCs) H Ladder Program Master Unit: Node 0 Fault Bit (word m bit 0) 03001 MOV (021) DIFU (013) #00FE 03001 03001 Fault Bit (word m bit 0) DM0500 03000 (Fault Flag) MOV (021) 03000 #8207 word n bit 2 (Fault Reset Bit) DM1000 00100 (Reset Input Bit) MOV (021) 03001 #D000 MOV (021) DM1001 #0000 DM0300 MOV (021) #0064 MOVD (083) DM1002 DM0000 #0210 MOV (021) #0009 DM0300 DM1003 MOV (021) ORW (035) Sets the node address for Slaves to
Communications Programs (SYSMAC C200HX/HG/HE PCs) 00002 Chapter 7 10112 Message Communications Enabled Flag Checks the message response. CMP (020) #0000 DM2001 25506 (Equals Flag) MOV (021) DM2001 Re-executes the IOWR instruction in case of FINS error stop. DM0100 ASR (026) 000 ASR (026) 000 25506 (Equals Flag) MOV (021) DM2004 Transfers data to DM 0200 in case of FINS normal stop.
Communications Programs (SYSMAC C200HX/HG/HE PCs) Chapter 7 H Allocations Bit 01000 Program Start Input Bit Bit 00000 Message Execution Flag Bit 00001 Command Write Flag Bit 00002 Response Flag Bit 03000 Sending Message Flag Bit 03001 Message Sent Flag DM 0000 Slave node address (3G3FV Inverter) DM 0001 Service code; 0E: Read, 10: Write DM 0002 Number of command data bytes (hex) DM 0003 Class ID (hex) DM 0004 Instance ID (hex) DM 0005 DM 0006 Attribute ID (hex) to DM 0009 Writ
Chapter 7 Communications Programs (SYSMAC C200HX/HG/HE PCs) H Timing Chart 01000 (Program Start Input Bit) 01001 (Start Switch ON) 00000 (Message Execution Flag) 03000 (Sending Message Flag) 03001 (Message Sent Flag) IOWR instruction execution 00001 IOWR Write Completed Flag 00002 Response Flag Message Communications Enabled Flag Completion code error DM 0100 (Completion code storage) 1. 2. 3. H Operation 1.
Chapter 7 Communications Programs (SYSMAC C200HX/HG/HE PCs) H Ladder Program 01000 (Program Start Input Bit) 01001 DIFU (013) MOVD (083) 01001 DM0007 01001 #0012 BSET (071) DM0204 #0000 DM0200 MOVD (083) DM0220 DM0007 #0210 DVB (053) DM0205 DM0002 #0002 MOVD (083) DM0200 DM0008 #0012 CMP (020) DM0205 #0000 DM0201 25506 (Equals Flag) MOVD (083) DM0008 ADB (050) #0210 #0001 DM0206 DM0200 DM0200 MOVD (083) DM0009 ADB (050) #0004 #0012 DM0200 DM0206 DM0200 MOVD (083) DM0000 BCD (024)
Chapter 7 Communications Programs (SYSMAC C200HX/HG/HE PCs) 01001 Master Unit: Node 0 10112 00002 Message Communications Enabled Flag MOV (021) CMP (020) #00FE #0000 DM0500 DM2001 25506 (Equals Flag) MOV (021) MOV (021) #8207 DM2001 DM1000 DM0100 ASR (026) MOV (021) 000 #D000 DM1001 ASR (026) 000 MOV (021) 25506 (Equals Flag) #0064 MOV (021) DM1002 MOV (021) DM0002 DM1003 #0000 Checks FINS end code. If an error is found, the IOWR instruction is executed again.
Communications Programs (SYSMAC C200HX/HG/HE PCs) 7-3 Chapter 7 Special Remote I/O Programs 7-3-1 Simple Operation Programs This section describes examples of simple operation programming using special remote I/O. To use special remote I/O, it is necessary to switch the remote I/O operation. Refer to 5-3 Switching Remote I/O Operation and change to the special remote I/O operation. Once the Program Start Input Bit is turned ON, Inverter operations will continue until the Program End Input is turned ON.
Communications Programs (SYSMAC C200HX/HG/HE PCs) Chapter 7 D Program-related Bits Used Word 00000 00001 00002 00003 00004 01000 00101 00102 00103 00300 00301 00302 00303 03110 Function Program Start Input Bit Program End Input Bit Program Execution Flag Communications Error Reset Input Bit Inverter Stop Command Flag Frequency Reference Write Flag Control Input Write Flag Output Frequency Read Flag Inverter Status Read Flag Frequency Reference Write Completed Flag Control Input Write Completed Flag Outpu
Chapter 7 Communications Programs (SYSMAC C200HX/HG/HE PCs) H Timing Chart 00000 (Program Start Input Bit) 00001 (Program End Input Bit) or 03110 (Communications Error Flag) 00002 (Program Execution Flag) 00100 (Frequency Reference Write Flag) 00101 (Control Input Write Flag) 00102 (Output Frequency Read Flag) 00103 (Inverter Status Read Flag) 00300 (Control Input Write Completed Flag) 00301 (Frequency Reference Write Completed Flag) 00302 (Output Frequency Read Completed Flag) 00303 (Inverter Status Read
Communications Programs (SYSMAC C200HX/HG/HE PCs) Chapter 7 4. When the Inverter Status Read Flag is turned ON, the Inverter status will be read. When the Inverter Status Read Completed Flag is turned ON, the read Inverter status will be transferred to word 020, the Inverter Status Read Flag will be turned OFF, and the Frequency Reference Write Flag will be turned ON. Setting the Frequency Reference Write Flag to ON will repeat the above steps 1 to 4. 5.
Communications Programs (SYSMAC C200HX/HG/HE PCs) Chapter 7 H Ladder Program 00000 00103 00004 DIFU (013) MOV (021) 03000 03000 #0003 DM0100 00004 00002 00002 MOV (021) Reads Inverter status. #0010 DM0101 03000 MOV (021) #0001 00100 03002 001 00101 00100 MOV (021) #0010 00102 DM0100 00103 ANDW (034) DM1000 03002 XFER (070) #FF00 #0002 DM0101 DM0100 n ORW (035) DM0101 MOVD (083) #0001 DM0102 DM0101 #0010 ANDW (034) Sets frequency reference.
Chapter 7 Communications Programs (SYSMAC C200HX/HG/HE PCs) 00103 00101 CMP (020) CMP (020) #0003 #0010 m 25506 (Equals Flag) m 03107 25506 (Equals Flag) 03103 ANDW (034) m+1 ANDW (034) #00FF m+1 DM1002 #00FF CMP (020) DM1002 #0010 CMP (020) DM1002 25506 (Equals Flag) #0000 03108 DM1002 25506 (Equals Flag) 03107 03108 03104 ANDW (034) m+2 03103 #00FF 03104 ASL (025) 020 001 MOV (021) 00301 #0001 00102 001 CMP (020) #0003 00303 m 00002 25506 (Equals Flag) ANDW (034) 03105 m
Communications Programs (SYSMAC C200HX/HG/HE PCs) Chapter 7 00004 MOV (021) Executes stop command. #0000 001 MOV (021) #0010 DM0100 MOV (021) #0000 DM0101 MOV (021) #0000 DM0102 XFER (070) #0002 DM0100 n MOVD (083) DM0102 #0010 n+2 7-3-2 Reading Parameter Data This programming example is designed to read the parameter data specified in the 3G3FV Inverter. To use special remote I/O, it is necessary to switch the remote I/O operation.
Chapter 7 Communications Programs (SYSMAC C200HX/HG/HE PCs) D Remote I/O Allocation Areas I/O classification Output n (PC to 3G3FV Inverter) n+1 Input (3G3FV Inverter to PC) Word 15 to 8 Register number (leftmost byte) Register data (leftmost byte) n+2 m m+1 Not used. Register number (leftmost byte) Register data (leftmost byte) m+2 Not used.
Chapter 7 Communications Programs (SYSMAC C200HX/HG/HE PCs) H Ladder Program 00000 (Read Parameter Input Bit) 03001 DIFU (013) 03002 03003 03005 00001 00001 03005 03001 03005 03000 MOV (021) 03000 m+1 DM0201 00001 MOV (021) BSET (071) #0000 m+2 DM0200 DM0202 DM0209 ANDW (034) ANDW (034) DM0201 DM0000 #FF00 #FF00 DM0203 DM0200 ANDW (034) ORW (035) DM0202 DM0200 #00FF #0003 DM0204 DM0205 ORW (035) ANDW (034) Transfers read data to DM 0001.
Chapter 7 Communications Programs (SYSMAC C200HX/HG/HE PCs) 7-3-3 Writing Parameter Data This programming example is designed to write the parameter data in the 3G3FV Inverter. After writing has been completed, be sure to send an enter command to enable the written data as the Inverter operation data. To use special remote I/O, it will be necessary to switch the remote I/O operation. Refer to 5-3 Switching Remote I/O Operation and change to the special remote I/O operation.
Chapter 7 Communications Programs (SYSMAC C200HX/HG/HE PCs) H Timing Chart 00000 (Write Parameter Input Bit) 03000 (Data Write Flag) 03005 (Data Agree Flag) 00100 (Sending Written Data Flag) 00101 (Sending Enter Command Flag) 00102 (Sending “00” Function Flag) 00103 (Data Write Completed Flag) Word n to n+2 (Send Data) Send Data (Write) Word m to m+2 (Receive Data) 1. 2. Enter Command “00” Function Send Data (Write) Enter Command 3. “00” Function 4. H Operation 1.
Communications Programs (SYSMAC C200HX/HG/HE PCs) Chapter 7 H Ladder Program 00000 (Write Parameter Input Bit) 03010 00101 DIFU (013) 00001 00103 MOV (021) 00001 03010 #FF10 DM0205 03000 03000 MOV (021) #00FD 00103 DM0206 MOV (021) #0000 MOV (021) 001 #0000 Sets enter command. DM0207 MOV ()21) 00001 #0001 001 00102 BSET (071) 00100 #0000 BSET (071) #0000 Sets “00” function.
Communications Programs (SYSMAC C200HX/HG/HE PCs) Chapter 7 (From previous page.) 03001 CMP (020) DM0205 m 25506 (Equals Flag) 03002 ANDW (034) m+1 #00FF DM0208 ANDW (034) DM0206 #00FF DM0209 CMP (020) DM0208 DM0209 25506 (Equals Flag) 03003 03002 03003 03005 ASL (025) 001 Word m bit 7 00002 03010 03010 MOV (021) #0000 001 Data error processing.
8 Chapter 8 Appendices 8-1 8-2 8-3 Specifications Objects CompoBus/D Communications Response Time
Chapter 8 Appendices 8-1 Specifications Item Model Remote I/O Specifications 3G3FV-PDRT1-SIN • Basic remote I/O: Allocated 2 input and 2 output words. • Standard remote I/O (default setting): Allocated 2 input and 2 output words. • Special remote I/O: Allocated 3 input and 3 output words. Note 1. The user can select from among these three types of remote I/O.
Chapter 8 Appendices 8-2 Objects There are eight types of object: • Identify objects (identification information): Class 01 hex • Message router objects: Class 02 hex • DeviceNet objects: Class 03 hex • Assembly objects: Class 04 hex • DeviceNet connection objects: Class 05 hex • Motor data objects: Class 28 • Control supervisor objects: Class 29 hex • AC/DC drive objects: Class 2A hex For details on motor data objects, control supervisor objects, and AC/DC drive objects, refer to 5-2-5 Motor Data Object
Chapter 8 Appendices H Object Details Instance Attribute Name Content Setting range Default (Hex) Read Write Size 00 01 Object Software Revision Indicates class 01 software revisions. The revision value is advanced whenever there is a change. --- 0001 Yes No Word 01 01 Vender ID Indicates the maker’s code. --- 002F Yes No Word --- 0002 Yes No Word --- 0034 Yes No Word OMRON: 47 (2F hex) 02 Device Type Indicates the DeviceNet profile classification.
Chapter 8 Appendices H Support Service Code Service Code No. (Hex) 0E Service Get attribute single H Object Details Instance Attribute 00 01 Name Content Object Software Revision Indicates class 02 software revisions. The revision value is advanced whenever there is a change. Setting range Default (Hex) --- 0001 Read Yes Write No Size Word 8-2-3 DeviceNet Objects: Class 03 Hex DeviceNet objects are objects related to CompoBus/D (DeviceNet) communications information and operations.
Chapter 8 Appendices D Allocation Information Details Byte 0 0 Bit 7 0 Bit 6 0 Bit 5 Bit 4 Bit 3 1 0 0 Node address (MAC ID) of Master connected for DeviceNet communications. 0 Bit 2 0 0 Bit 1 Bit 0 1: Remote I/O 1: Explicit connection message status connection status Note The Master Unit automatically writes allocation information when the communications connection is completed. After the Master Unit has written the information, writing is prohibited.
Chapter 8 Appendices 8-2-5 DeviceNet Connection Objects: Class 05 Hex DeviceNet connection objects are objects related to information and operations involving CompoBus/D (DeviceNet) communications connections. The Master Unit uses the information and operations of these objects to execute the initial processing for communications. H Support Service Codes Service Code No.
Chapter 8 Appendices Instance Attribute Name 01 Explicit message 09 Expected packet rate 0C Watchdog time-out action Content Setting range Default (Hex) Read Write Size Indicates the length of the internal processing timeout when a communications request is received. Incremented by 10-ms units. 0 to 65,535 (ms) 09C4 (2,500 ms) Yes Yes Word Indicates the action for internal processing timeout related to communications.
Chapter 8 Appendices Instance Attribute 02 Remote I/O 01 Name State Content Indicates the status of this object (instance). Setting range Default (Hex) --- Must be “03” when communications are established. Yes No Byte --- 01 Yes No Byte 00: Does not exist in network, or is not ready. 01: In network state, waiting for connection event from Master Unit. 02: Waiting for connection ID (attribute) writing. 03: Connection completed.
Chapter 8 Appendices Instance Attribute Name 02 Remote I/O 07 Produced connection size 08 Content Setting range Default (Hex) Read Write Size Indicates the maximum number of bytes for transmission. --- 0004 Yes No Word Consumed connection size Indicates the maximum number of bytes for reception. --- 0004 Yes No Word 09 Expected packet rate Indicates the length of the internal processing timeout when a communications request is received.
Chapter 8 Appendices 8-3 CompoBus/D Communications Response Time This section describes communications response time when OMRON Master and Slave Units are being used. Use this section for reference when planning I/O timing. The equations provided here are valid under the following conditions: • The Master Unit is operating with the scan list enabled. • All of the required Slaves are participating in communications.
Chapter 8 Appendices H I/O Response Time of Inverter The following shows processing time between the Inverter and the CompoBus/D Communications Card.
Index A-B AC/DC drive objects, 5-16, 5-20 details, 5-20 alarms, 5-34 connection objects, 5-25 connections, methods, 2-2 constants initialize mode, 5-39 program mode, 5-39 allocation areas, 1-11 fixed allocation, 4-5 free allocation, 4-9 Control From Net Bit, 7-2 assembly objects, 5-16 details, 8-6 service codes, 8-6 Control Input Write Flag, 7-14 At Frequency Bit, 7-2, 7-13 Control Input Write Completed Flag, 7-14 control monitor objects, details, 5-18 control supervisor objects, 5-16, 5-17 basic r
Index errors communications line, 6-2 explicit messages, 6-5 setup I/O Area Overlap, 4-6 I/O Area Range Violation, 4-6 special remote I/O, 6-6 verification, 4-6 Slave I/O Size Differs, 4-7 explicit messages, 1-3, 1-5 errors, 6-5 overview, 5-9 transmission, 5-9 F fault, Inverter, 6-7 Fault Bit, 7-3, 7-6, 7-13 fault codes, 5-19 Fault Flag, 7-2, 7-6 Fault Read Flag, 7-6 Fault Reset Input Bit, 7-2, 7-13 faults, 5-33 FINS commands, 1-5, 7-8 fixed allocation, 1-7 allocation areas, 4-5 application procedure, 4-7
Index Message Communications Enabled Flag, 5-11, 5-12, 7-6, 7-10 Message Communications Status Flag, 5-12 P motor data objects, 5-16 parameter constants, 5-28 application, 5-39 command-related, 5-43 external terminal functions, 5-47 motor constants, 5-43 operators, 5-50 options, 5-46 program mode, 5-39 protective functions, 5-48 reading/writing, 5-39 tuning, 5-41 mounting procedure, 3-5 parameter objects, 5-24 Message Execution Flag, 7-10 message router objects, 5-16 details, 8-5 service codes, 8-5 Me
Index Reset Input Bit, 7-6 Reverse Input Bit, 7-2 Reverse/Stop Bit, 7-2 rotational speed monitor data, 5-5 system configuration, 1-7 example, 1-5 fixed allocation, 1-7 free allocation, 1-8 with Configurator, 1-8 without Configurator, 1-7 rotational speed reference data, 5-5, 7-2 S T T-branch multi-drop lines, 1-6 scan lists, 4-3 application, 4-4 disabled, 4-5 enabled, 4-5 T-branch Tap, 2-5 DCN1-1C, 3-9 DCN1-3C, 3-9 installation, 3-8 Sending Message Flag, 7-6, 7-10 T-branch Tap Terminating Resistor,
Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. I525-E1-1 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.