- No category
advertisement
6 Message Communications
6-1 Overview
Message communications enable messages to be sent between nodes on a PROFIBUS network when required by system conditions. It is possible for messages to be sent between a CPU and a PROFIBUS
Master or Slave Unit. You can use them to send/receive data; read time data, error logs, and other data; or control specific operation, e.g., clearing the error log.
There are three types of messages:
• Explicit
• PROFIBUS
• Other
The figure below depicts the command structure for the CJ1W-PRM21 PROFIBUS Master units
CPU Unit
Other message
PROFIBUS Master Unit
Other message function
SendCMd
Instruction
(0101 Hex)
(2103 Hex)
SendCmd
Instruction
(2809 Hex)
2809 PROFIBUS message
PROFIBUS message function
SendCmd
Instruction
(2801 Hex)
2801 Explicit message
Explicit message function
PROFIBUS network
PROFIBUS message
DP-V1 Explicit message
6-2 CJ-series PROFIBUS Master Unit Operation Manual for NJ-series CPU Unit (W509)
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 1 CJ1W-PRM21 Operation Manual
- 3 Introduction
- 4 Relevant Manuals
- 5 Manual Configuration
- 10 Manual Structure
- 12 Sections in this Manual
- 18 Read and Understand this Manual
- 21 Safety Precautions
- 26 Precautions for Safe Use
- 32 Precautions for Correct Use
- 35 Regulations and Standards
- 37 Unit Versions
- 39 Related Manuals
- 40 Revision History
- 14 CONTENTS
- 41 Section 1 Features and System Configuration
- 42 1-1 Overview of PROFIBUS
- 42 1-1-1 Introduction
- 43 1-1-2 PROFIBUS Communication Protocol
- 44 1-1-3 Device Types
- 45 1-1-4 Bus Access Protocol
- 46 1-1-5 Diagnostic functions
- 47 1-1-6 Protection Mechanisms
- 47 1-1-7 Network Operation Modes
- 48 1-1-8 Configuring the PROFIBUS Master
- 48 1-1-9 FDT/DTM Technology
- 50 1-1-10 GSD File Technology
- 51 1-2 PROFIBUS Master Unit
- 51 1-2-1 PROFIBUS Master Unit Features
- 52 1-2-2 Specifications
- 57 1-3 CX-ConfiguratorFDT
- 57 1-3-1 CX-ConfiguratorFDT Features
- 59 1-3-2 Specifications
- 62 1-4 Basic Operating Procedure
- 62 1-4-1 Overview
- 63 1-4-2 Preparations for Communications
- 63 1-4-3 Procedures Prior to Starting Communications
- 65 Section 2 Nomenclature and Installation
- 66 2-1 Unit Components
- 66 2-1-1 Nomenclature
- 66 2-1-2 Indicators
- 67 2-1-3 Switch Settings
- 68 2-1-4 PROFIBUS Connector
- 70 2-2 Installing the PROFIBUS Master Unit
- 70 2-2-1 System Configuration Precautions
- 70 2-2-2 Mounting
- 71 2-2-3 Handling Precautions
- 71 2-2-4 External Dimensions
- 72 2-3 Network Installation
- 72 2-3-1 Network Structure
- 74 2-3-2 Bus Termination
- 75 2-3-3 PROFIBUS Cable Connector
- 76 2-3-4 Shielding Precautions
- 77 2-4 Software Configuration
- 79 Section 3 Configuration Software
- 80 3-1 CX-ConfiguratorFDT
- 80 3-1-1 Starting CX-ConfiguratorFDT
- 80 3-1-2 CX-ConfiguratorFDT Main Window
- 83 3-1-3 Device Catalogue
- 86 3-1-4 Updating the Device Catalogue
- 86 3-1-5 Adding Devices to the Network
- 87 3-1-6 Saving and Opening Projects
- 87 3-1-7 Exporting to HTML
- 88 3-1-8 Error Logging and FDT Monitoring
- 89 3-1-9 Access Control and User Management
- 93 3-2 CJ1W-PRM21 PROFIBUS Master DTM
- 93 3-2-1 Configuration User Interface
- 106 3-2-2 Diagnostic User Interface
- 112 3-2-3 Connecting to the CJ1W-PRM21
- 116 3-3 Generic Slave Device DTM
- 116 3-3-1 Configuration User Interface
- 124 3-3-2 Diagnostic User Interface
- 127 Section 4 Data Exchange with the CPU Unit
- 128 4-1 Data Exchange with the CPU Unit
- 128 4-1-1 Data Flow
- 131 4-1-2 Accessing From the User Program
- 134 4-2 Device Variables for CJ-series Unit (Software Switches, Statuses)
- 135 4-2-1 Software Switches (*_SwCmd)
- 137 4-2-2 Global-Control Command (*_GlobCtlCmd)
- 141 4-2-3 Unit Status (*_UnitSta)
- 143 4-2-4 Master Status (*_MstrSta)
- 145 4-2-5 Master Errors (*_MstrErrSta)
- 147 4-2-6 Slave Status (*_SlvSta)
- 148 4-2-7 Actual Bus Cycle Time (*_ActCycleTm)
- 148 4-2-8 Slave Data Exchange Active Flags (*_SlvDatXchg, *_SlvDatXchgL, *_SlvDatXchgH)
- 150 4-2-9 Slave New Diagnostics Flags (*_SlvNewDiagL, *_SlvNewDiagH, *_SlvNewDiag)
- 153 Section 5 Operation
- 155 5-1 Introduction
- 156 5-2 Setting Up a Network
- 158 5-2-1 Adding Devices to the Network
- 160 5-2-2 Changing Device and DTM Addresses
- 164 5-3 Configuring the Slave Devices
- 164 5-3-1 Defining the I/O Configuration
- 166 5-3-2 Setting Parameters
- 167 5-3-3 Selecting the Group Assignment
- 169 5-4 Configuring the Master
- 170 5-4-1 Setting the Master Parameters
- 171 5-4-2 Setting the Bus Parameters
- 172 5-4-3 Defining and Changing the I/O Mapping
- 173 5-4-4 Configuring CX-Server
- 175 5-4-5 Downloading the Configuration
- 177 5-5 I/O Communication Characteristics
- 177 5-5-1 I/O Data Configuration
- 177 5-5-2 Mapping I/O Data
- 186 5-5-3 Supported Data Types
- 187 5-5-4 Exchanging I/O Data Over PROFIBUS
- 189 5-5-5 I/O Response Time
- 192 5-5-6 System Startup Time
- 193 5-6 Operating the Network
- 193 5-6-1 User Access to the Network
- 194 5-6-2 Changing PROFIUS Mode of the Master Unit
- 195 5-6-3 Transmitting Global-Control Commands
- 199 5-6-4 Using Auto-CLEAR
- 201 5-7 Monitoring the Network
- 201 5-7-1 Monitoring the Master Unit and the Network
- 204 5-7-2 Monitoring Slave Status
- 206 5-7-3 Using the Error Log
- 209 5-8 PROFIBUS DP-V1 Services
- 209 5-8-1 Configuring and Monitoring Slaves using DTMs
- 210 5-8-2 PROFIBUS Services From CPU
- 211 Section 6 Message Communications
- 212 6-1 Overview
- 213 6-2 Sending Acyclic Messages Using SendCmd Instructions
- 217 6-3 Acyclic Messages
- 217 6-3-1 EXPLICIT MESSAGE SEND (2801)
- 219 6-3-2 PROFIBUS MESSAGE SEND (2809)
- 230 6-3-3 MEMORY AREA READ (0101)
- 231 6-3-4 ERROR LOG CLEAR (2103)
- 233 Section 7 Troubleshooting and Maintenance
- 234 7-1 Overview
- 235 7-2 Troubleshooting with the PROFIBUS Master Unit Indicators
- 235 7-2-1 Indicators
- 235 7-2-2 Unit Startup Errors
- 236 7-2-3 Unit Operational Errors
- 237 7-2-4 Unit Configuration Errors
- 238 7-2-5 Network Errors
- 241 7-3 Troubleshooting Using Error Status
- 241 7-3-1 Unit Status Word
- 243 7-3-2 Master Errors Word
- 245 7-4 Troubleshooting the Network
- 245 7-4-1 Troubleshooting Parameter Download
- 246 7-4-2 Troubleshooting the Network using CX-ConfiguratorFDT
- 250 7-4-3 Troubleshooting I/O Communication
- 254 7-4-4 Troubleshooting PROFIBUS DP-V1 Communication
- 255 7-5 Error Log Functions
- 255 7-5-1 Overview of the Error Log
- 256 7-5-2 Error Codes and Detailed Codes
- 258 7-6 Event Logs
- 258 7-6-1 Overview of the Event Logs
- 258 7-6-2 Error Table
- 260 7-6-3 Error Descriptions
- 264 7-7 Maintenance and Replacement
- 264 7-7-1 Cleaning
- 264 7-7-2 Inspection
- 265 7-7-3 Replacing Faulty Units
- 265 7-7-4 Addition/Replacement of Units on the PROFIBUS Network
- 267 Appendices
- 268 A-1 Differences in Available Functions Depending on the CPU Unit (NJ/CJ series) to be Connected
- 268 A-1-1 Differences in Available Functions
- 268 A-1-2 Differences in Accessing from User Program
- 274 A-2 Bus Parameters
- 278 A-3 Application Notes
- 279 A-4 Application Program
- 280 A-5 CX-ConfiguratorFDT Warning and Error Messages
- 287 A-6 I/O Data Type Definitions
- 287 A-6-1 Integer Data Conversions
- 288 A-6-2 Floating Point Data Conversions
- 288 A-6-3 Text String Data Conversion
- 289 A-6-4 Date/Clock Time Data Conversions
- 290 A-7 Slave Diagnostics Message
- 290 A-7-1 Slave Diagnostics Data Message
- 291 A-7-2 Standard Diagnostics Data Bytes
- 293 A-7-3 Extended Diagnostics Data Bytes
- 298 A-7-4 PROFIBUS DP-V1 Error Codes
- 301 Index