ICP DAS USA 100-700 PLCS, DB25, DN-3000 Use Command Block, Use Diagnostics, Output Data Size

Page 22

DeviceNet to PLCs or Devices

The DN-3000 supports up to a total of 64 bytes (32 words) of combined Input and Output data. Each word (2 bytes) of Input or Output data can be configured to exchange data with any one valid data register in any one of the PLCs/Devices connected to port 2 of the DN-3000 (see “CONFIGURING PORT 2” for PLC/Device Protocol and communication parameters).

Use Command Block

In some projects it may be necessary to be able to access more than just the 32 PLC/Device registers that can be configured in the Input and Output data. A Command Block reserves the first 4 words of Output data for commands, and the first 4 words of Input data for command results. This reduces your total number of words that can be used for register data to 24 words, but adds flexibility by allowing your DeviceNet Host to issue commands to the DN-3000 to access any valid data registers in any PLC or Device connected to port 2 of the DN-3000. Commands are issued by moving a command code, PLC/Device address, file number (Allen-Bradley PLCs only), register number, and data into the first 4 words of the Output data (see “COMMAND BLOCK”).

Use Diagnostics

Diagnostics allows the DeviceNet Host to monitor PLC/Device connections to the DN-3000. The first word of the Input data following the Command Result Block (if any) will be reserved for Diagnostics if this option is selected. The DN-3000 keeps track of the connection status with each PLC/Device address (0-255). Whenever an attempt to communicate with a PLC/Device is successful, the connection status for that PLC/Device is set to ‘0’. Whenever an attempt to communicate with a PLC/Device is unsuccessful, the connection status for that PLC/Device is set to ‘1’. Of course, returning 256 status bits would require 16 words of Input data (half of the available I/O data). Instead, only 16 bits (1 word) of are returned. Each of the 16 bits of the Diagnostics word represents the status of 16 PLC/Device addresses, as follows: bit 0 represents PLC/Device addresses 0, 16, 32, 48, 64, etc.; bit 1 represents PLC/Device addresses 1, 17, 33, 49, 65, etc.; and so forth. If the status of any of the PLC/Device addresses represented by a bit is ‘1’, that bit will contain a ‘1’, otherwise, that bit will contain a ‘0’. Note that the status of a PLC/Device is set to ‘1’ only if the DN-3000 attempts to communicate with that PLC/Device and that attempt is unsuccessful.

Output Data Size

This determines the number of words of Output data that will be used in your project. Output data is data that is output from your DeviceNet Host to the DN-3000 (commands, and register data to be written to PLCs/Devices). This is also known as the Consumed I/O Data of the DN-3000. If a Command Block is used, it will automatically reserve 4 words of Output data. The combined size of the Input and Output data must not exceed 32 words.

Output Data

Pressing the Output Data button brings up a window allowing you to edit the configuration of the Output data in your project. You can press the Output Data button by clicking on it with your mouse, or moving the focus to the button with the arrow keys and pressing the SPACEBAR. See “OUTPUT DATA TABLE”.

16

Image 22
Contents DN-3000 Page Warranty & Notices WarrantyTable of Contents Application Notes Motor Drives Page Introduction IntroductionInstallation Software InstallationGeneral Information Software Information Software START-UPCreating Project Files Creating a Project FileProject Types Additional Project Menu Sub-Headings Devicenet to Plcs or Devices DeviceNet to PLCs or DevicesDevice Profile DeviceNet Host to Serial PLC with Pass-Through Connection Example ApplicationsDeviceNet Host to Multi-Dropped Serial PLCs Multiple DN-3000s with Different PLC or Device Types Configuring Port #1, Devicenet DeviceNet to PLCs or Devices Edit MenuMAC ID of DN3000 Configuring Port #2 Plcs or Devices PLC/Device ProtocolWire RS422 or RS485 Communications Configuring Port # 3 Passthrough Intermessage Time-OutData Configuration Use I/O DataOutput Data Size Use Command BlockUse Diagnostics Output DataInput Data Size Input DataOutput Data Table File Number Allen-Bradley PLCs only Use Output WordPLC/Device Address Register NumberInput Data Table Use Input Word PLC/DeviceAddressCommand Block DeviceNet to Motor Drives Devicenet to Motor DrivesDeviceNet Host to Serial Motor Drive DeviceNet Host to Multi-Dropped Serial Motor DrivesMultiple DN-3000s with Different Motor Drive Types DeviceNet to Motor Drives Edit Menu MAC ID of DN3000 Configuring Port # 2 Motor Drives Motor Drive TypeMinimum Delay Between Messages Data Configuration Use Command Block Input Data Size Output Data Table Motor Drive Address Parameter NumberInput Data Table Use Input Word Word Motor Drive Address Result Code Command Word Motor Drive Address CommandNumber Word Parameter Data write command only Number Word Returned Parameter Data read command onlyUpper Link Configuration Mitsubishi Drives Only Operation of the Link SwitchException Table Mitsubishi Drives Only Transferring Project Files Transferring Project FilesUpload Project from DN3000 Transfer OptionsDownload Project to DN3000 VerifyOptions Settings Options SettingsSET Directory Current Directory Path Graphic Area SET COM Port Load Options from Disk Default OptionsSET Printer Options Save Options to DiskPhysical Dimensions Power RequirementsTechnical Information Visual LED Indicators DIP Switch SettingsSwitch # Normal Off Configuration Diagnostic Flashes followed by a pause Invalid DIP Switch Setting DN-3000 Troubleshooting InformationFlashes followed by a pause ALLEN-BRADLEY PLC 5, SLC500 and Micrologix Plcs Registers AccessedApplication Notes PLCs and Devices Protocols SupportedIdec FA Series Plcs Idec MICRO-3 PlcsLink Adapter Requirement Memory Address PLC Registers Accessed Koyo / PLC Direct 205 Series PlcsKoyo / PLC Direct / TI 305 Series Plcs Omron Plcs Mitsubishi FX Series PlcsModicon Plcs and Modbus Devices RTS ControlProtocol Information Pass-Through PortSquare D Model 100-700 Plcs Passthrough Port NoteToshiba T Series Plcs Toshiba EX and M Series PlcsWestinghouse Plcs Baldor Motor Drives Application Notes Motor DrivesDrive Parameter Numbers Assigned By Panel-Tec Configuring a Baldor Drive For Serial Communications Drive Addresses Assigned By Panel-TecWoods Motor Drives Configuring a Woods Drive For Serial CommunicationsMitsubishi Motor Drives Yaskawa Motor DrivesCable Diagrams DN3000 Configuration CableAllen Bradley Solder EndGE Fanuc 90/20, 30 GE Fanuc DN3000Idec Koyo/PLC Direct Mitsubishi FX Series MitsubishiModicon ModiconOmron Host LinkSiemens S7 Square D TSX07Simatic TI5 Series TI5 232 Port DN3000Toshiba Toshiba DN3000Baldor Motor Drives BaldorMitsubishi Motor Drives Woods Motor Drives Yaskawa Motor Drives DeviceNet Cable DeviceNet DN3000