Communication With NC-Module

Similar documents
Communication With NC-Module UFM UDM. Telegram Description PLC/NC-Module Profibus. Manual SM Profibus Communication 4 Datawords V4.

Lecture #3 RS232 & 485 protocols

Confirm entry value Set display to value from Actual value and input display Select datum P79 (P80!) (7-segment LED,

Select datum Page backward in. parameter list

Ultrasonic Multiplexer OPMUX v12.0

Voltage regulator TAPCON 240

MPS PROFIBUS-DP INTERFACE

2F. No.25, Industry E. 9 th Rd., Science-Based Industrial Park, Hsinchu, Taiwan Application Note of OGM220, AN001 V1.8

G3P-R232. User Manual. Release. 2.06

SMARTALPHA RF TRANSCEIVER

Data Acquisition Modules/ Distributed IO Modules

Modbus communication module for TCX2: AEX-MOD

MULTI-DROPS DIGITAL MODEM FOR PRIVATE LINE

SilverMax Datasheet. QuickSilver Controls, Inc. NEMA 23 Servomotors.

Absolute encoder HE-65

WARNING Improper operation may result in serious personal injury CAUTION

Voltage regulator TAPCON 260

2CSG445013D0201 M2M PROFIBUS. Profibus DP interface user manual M2M ABB

Characteristics and functioning

Single Channel Loop Detector

Thank you for purchasing S100 Profibus-DP Communication Module SAFETY PRECAUTIONS

Concept of Serial Communication

Product Specification for model TT Transducer Tester Rev. B

Applications. Operating Modes. Description. Part Number Description Package. Many to one. One to one Broadcast One to many

Series 2000 Reader System. Reader S251B RI-STU-251B. Reference Guide. April 2000 SCBU035

Home Automation, Inc. Omnistat2. RC-1000 and RC-2000 Communicating Thermostat. Serial Protocol Description

Universal RS232/CMOS to RS422/RS485 Converter

Select datum Page backward in parameter list

NetBiter I/O Extender 4RO 6RTD 8DIO - DAIO User Manual Revision 1.00

M7 Over-The-Air Protocol. Overview. Technical Brief AN187 Rev A1

Chapter 10 Counter modules

APPLICATION BULLETIN. SERIAL BACKGROUNDER (Serial 101) AB23-1. ICS ICS ELECTRONICS division of Systems West Inc. INTRODUCTION CHAPTER 2 - DATA FORMAT

PROMUX Distributed MODBUS I/O Modules Catalog and Design Guide

Technical description MT24. User manual WARNING GENERAL INSTRUCTIONS GENERAL DESCRIPTION

maxon document number:

USER'S MANUAL. Model : K

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)

Serial Communications RS232, RS485, RS422

AT-XTR-7020A-4. Multi-Channel Micro Embedded Transceiver Module. Features. Typical Applications

PC-based controller for Mechatronics System

Hardware Manual. PCD3.F240/PCD2.F2400 LON interface module for TP/FT-10 channel. Hardware Manual PCD3.F240/PCD2.F2400, LON interface module

Electronics / Water analogy. Resistor. Inductance. Capacitor. Water Electronics Energy - Energy Pressure - Voltage Flow - Current Volume - Charge

SE-330/SE-330AU/SE-330HV PROFIBUS-DP INTERFACE

Texas Instruments Registration and Identification System. Micro-reader RI-STU-MRD1. Reference Manual

Manual IF2008A IF2008E

Hardware Guide. Control Made Simple. Model 401A Signal Generator

IQ SENSOR NET MIQ/MC(-A)-RS

Line-to-line RMS Volts, 3 phases 4 digits (XXX.X) Volts

Logosol AC/DC Programmable Servo & Logic Controller LS-151

TAS APFC Controller / Load Managers with MOD-BUS Interface

1 What s in the shipping package?

Data sheet CPU 013C (013-CCF0R00)

The MP SERIES CONTROLLER. User s Manual. ISE, Inc.

Design Characteristics. FlexDrive II. Series

Catalog

UNIGYR Building Level Network, PROFIBUS X1 V1 E4

BLuAC5 Brushless Universal Servo Amplifier

WWVB Receiver/Decoder With Serial BCD or ASCII Interface DESCRIPTION FEATURES APPLICATIONS

8V General information. 2 Order data 8V

PM50. Technical Data TECHNOSOFT. DSP Motion Solutions. Power Module for DC, Brushless DC and AC Motors. Version 3.0. PM50 v3.0.

The Allen-Bradley Servo Interface Module (Cat. No SF1) when used with the Micro Controller (Cat. No UC1) can control single axis

LCC-10 Product manual

Characteristics and functioning

ioselect Z-NET Z-4RTD 4 Channel RTD Input Module

XIOC technology and networking modules

Serial Servo Controller

Catalogue

Answering frequently asked Questions (Firmware V.107)

Motion Control. INFO-ACSr. AC Motor Controller 100% Digital. Technical Data

HC-12 Wireless Serial Port Communication Module

PROFIBUS HUB REPEATER

MY-ZB010C UART to ZigBee Module

Application Note: Demonstrating CAN with nqbasic

SIPART DR Input/Output Modules

LIN Bus Shunt. Slave Node Position Detection. Revision 1.0. LIN Consortium, LIN is a registered Trademark. All rights reserved.

ICAM. Electronics & Software. Industrial Charge Amplifier for Applications in Manufacturing. Type 5073A...

PROMUX Distributed MODBUS I/O Modules Catalog and Design Guide

SV-MESH Mesh network series Catalogue

Configuring a Mitsubishi PLC CC-Link Network

Debugging a Boundary-Scan I 2 C Script Test with the BusPro - I and I2C Exerciser Software: A Case Study

HG G B. Gyroscope. Gyro for AGV. Device Description HG G B. Innovation through Guidance. Autonomous Vehicles

Ocean Controls KT-5221 Modbus IO Module

Brushed DC Motor Control. Module with CAN (MDL-BDC24)

Channels that are not occupied by temperature sensors, can take over alternative functions:

8V General information. 2 Order data 8V

2W UHF MHz Radio Transceiver

Logosol AC/DC Intelligent Servo Drive for Coordinated Control LS-174WP

Fanuc Serial (RS232) Communications Information

Serial Input/Output. Lecturer: Sri Parameswaran Notes by: Annie Guo

RF ISM Transparent Transceiver Module V4.0

Analog Module D1-15P User Manual

Brief Manual of HERA Application Board. with MiDAS Family. V2.0 March 2006

I-2533CS series User Manual

ScienceMode for the MOTIONSTIM8

1W-H3-05 (K)* M12. * Letter K refers to a reader with a common cathode. RFID reader 125 khz Unique. Product Card

S O P H I S T I C A T E D A U T O M A T I O N

Tarocco Closed Loop Motor Controller

3V TRANSCEIVER 2.4GHz BAND

A50/A51/A60. June 2008 (4th Edition) All Rights Reserved

PROFINET USER S GUIDE ACSI Servo

Transcription:

UFM UDM Communication With NC-Module Telegram Description PLC/NC-Module Profibus HB Profibus Protocol UD 73 English V3.doc

content: 1 General... 1 2 Interfaces... 2 3 Connections... 3 3.1 Supply voltage, interface, digital Input/output... 3 3.2 RS 232 Port... 3 3.3 RS485 Port... 4 3.4 Profibus connector... 5 3.4.1 Shield... 5 3.4.2 Termination resistor... 6 3.4.3 Bus-topology... 6 4 Communication Basics... 7 4.1 Function of the NC-Module... 7 4.1.1 Profibus-DP configuration... 7 5 The telegram... 8 5.1 Operation of the NC-Module in connection with a Siemens PLC S5... 8 6 Communication between host and NC-Module... 9 6.1 Description of the protocol signs... 9 6.2 Data format I/O Host NC Module... 11 6.3 Bit usage EA level Host NC module... 12 6.4 Data format NC Module host... 14 6.5 Bit position I/O level NC host... 15 6.6 Data format Variables Host NC Module... 17 6.7 Bit condition variables range Host NC Module... 19 6.8 Data format Variables NC Module Host... 21 6.9 Bit position variables range NC Module -> Host... 22 6.10 Data Format ID Number Host NC Module... 24 6.11 Bit usage ID Number Host NC Module... 26 6.12 Data format ID Number NC Module Host... 27 6.13 Bit consistence ID Number NC Module Host... 28 6.14 Data Format Motion level Host NC Module... 30 6.15 Bit usage Motion Host NC Module... 31 6.16 Data format motion NC Module Host... 34 6.17 Bit consistence Motion NC Module Host... 35 6.18 Status information... 38 7 C ommand structure of the NC module... 39 8 Signal description... 41

8.1 Homing after switch-on... 41 8.2 Homing without request... 42 8.3 Cycle start... 43 8.4 E-stop during a move... 44 8.5 E-stop at in-position (no move)... 45 8.6 Changing program number... 46

1 General This document describes the communication between the NC-Module and the host. The protocol is simple an can easily be implemented into existing PC/PLC-systems. The interface is based on a RS232 or RS 422 and depends on the number of stations, which are connected to the PC. This description is valid for all NC-Modules version V1.2 or higher. NC-Module PROMESS software-version V1.03007 The complete functions of the NC-Module are run via the serial interface. Installation of NC-Module The Nc-Module may not be mounted, when the servo drive is powered. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 1

2 Interfaces The interface at the NC module is done via several 9-pin connectors at the bottom. Connections on the NC-Module: Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 2

3 Connections 3.1 Supply voltage, interface, digital Input/output The supply voltage is provided by the servo-amplifier. Only the interfaces RS232/RS422 and the digital inputs and outputs are located on the lower side of the NC-Module. The RS232 is specified with 19200 baud, 8 Data bits, 1 stop bit and no parity. The RS422 (4-wire) has a variable baud-rate up to 38400. The digital outputs are also located on the D-Sub-Min-connector (RS 422) and operate on a 5V-logic (TTL). 3.2 RS 232 Port WARNING! The RS232 Port is not electrically isolated. Diagram RS232: D-Sub 9-pin, male connector. 1 2 3 4 5 6 7 8 9 Pin Signal-description 1 Shield 2 TXD 3 RXD 4 DTR 5 GND 6 DSR 7 RTS 8 CTS 9 NC Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 3

3.3 RS485 Port WARNING! The digital outputs and inputs are electrically not isolated! Diagram RS422: D-Sub 9-pin, female connector. 1 2 3 4 5 6 7 8 9 Pin Signal-description 1 0V 2 /TX 3 /RX 4 DI0 Digital output 0 5 DI1 Digital output 1 6 TX 7 RX 8 DO0 Digital input 0 9 0V Digital E / A The digital I/Os are 5V-logic (TTL) and not electrical-isolated. To connect the I/Os to a PLC, a voltage converter is required (e.g. PHOENIX). Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 4

3.4 Profibus connector System-type Profibus-DP Profibus ID Code 3345 Baudrate 1,5 Mbaud Signal-transfer RS485 Electrical isolation Yes Connector 9 pin D-Sub female connector Diagram Profibus: D-Sub 9-pin, female connector. 1 2 3 4 5 6 7 8 9 The pin description: Pin Signal-description 1 Not used 2 Not used 3 RxD / TxD P 4 RxD / TxD N 5 0V 6 Power supply (+5V) for cable terminator 7 Not used 8 RxD / TxD N 9 Not used RxD/TxD-P 3 Twisted Pair 3 RxD/TxD-P RxD/TxD-N 8 8 RxD/TxD-N DGND 5 5 DGND 3.4.1 Shield The shield of the cable must be connected to the housing of the connector. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 5

3.4.2 Termination resistor The termination resistor must meet to the PROFIBUS-Standard. The last participant must have a terminating resistor in the connector enabled. The housing of the connector should be screwed with the Profibus participant, so that the shield of the cable has connection to the ground of the participant. You will find detailed information in the manual UD73. VP (6) D-P (3) D-N (8) DGND (5) 390R 390R 390R Pic. 5: cable connector for the first and last participant. 3.4.3 Bus-topology Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 6

4 Communication Basics 4.1 Function of the NC-Module The NC-Module is a Profibus participant with several levels. These levels are defined by a 3-bit-combination in the header (1 st data word) of the participant. Level 0 defines a simple I/O-level, which is used for start, stop and status. Start and Stop for the press are generally transferred from the PLC to the NC module. The NC module will then execute the motion commands immediately after receiving. Before the execution however, the status of the NC-Module has to be analyzed, as different conditions are possible within the NC-Module. To transfer data, different data-levels are provided. The data are separated concerning direction and content. The exact design of the bytes is described in this manual, suffix A. The level-architecture within the NC-Module looks like this: Bit # Description 000 I/O-level Start / Stop / GOOD / BAD / homing /Input / Output 001 Data-level Variables / setting or reading of measuring points 010 ID-number ID Data from the PLC to the PC 011 Motion level Motion and position feedback combined level Each Profibus command is divided into words with 16 bit length. 4.1.1 Profibus-DP configuration The Profibus DP configuration is stored in configuration-files. The configuration is executed due to the used control via special configuration programs (e.g. COM Profibus). Following configuration files are available: Ct3345td.200 Ct3345ax.200 Ctc-3345.gsd Ctu-3345.gsd SIEMENS-PLC profibus config.-file for V4.0 software V5.0 software general usable config-file, 8 byte with consistency With this config.-file, two formats can be selected: 8 byte with consistency, 4 words with consistency, 4 words without consistency. The NC-Module activates the right format automatically during initialization. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 7

5 The telegram The communication parameters are predefined for the NC-Module at 1,5 Mbit and is implemented in an internal hardware board of the module. Two connectors are available for PROFIBUS-standard-connectors. The module is integrated with other clients in a bus, one client is the PLC/PC. The clients are connected via a two wire-cable. The PLC/PC therefore must have at least one Profibus-module or a corresponding board. The protocol has been developed by the user organization and clearly defines the data-exchange. After receiving a valid protocol and acknowledging by handshake, the data are taken into the NC-Module. This happens after a positive acknowledgment to avoid, that wrong data are written into the NC-Module. The last client should have the terminating resistor enabled, which is often integrated into the connector housing. In any case, the user must follow the valid standards (see also literature provided by SIEMENS). 5.1 Operation of the NC-Module in connection with a Siemens PLC S5 When the NC-Module is connected to a SIEMENS S5-PLC, the configuration of the NC-module is recommended with 4 words input, 4 words output with full consistency. It is adjusted with a configuration-program, e.g. COM Profibus. When a configuration with data-consistency is needed, the programming of the S5 must fulfill certain demands. The exact approach to program the S5 is shown in the SIEMENS Manual Dezentrales Periphiesystem ET200, Siemens-order-# 6ES5 998-3ES12 suffix B, page B1 and B27. If this procedure is not met, following fault will come up: Installation successful Bus runs No or incorrect data-exchange between PLC and NC-Module possible. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 8

6 Communication between host and NC-Module. The NC-Module can communicate with different hosts like the PLC or a PC. The communication is always started by the host, the NC-Module generally is passive and waits for a command via the serial interface. 6.1 Description of the protocol signs Bit name description bit range CST1: consistence Bit 2 ( 0 1 ) CMD0 CMD2: command level ( 000 111 ) NU00 NU08: not used IN_07 IN_00: Virtual inputs 1 8 ( 00000000 11111111 ) PRG0 PRG7: Program Selector via PRG_S ( 00000 11111 ) PRG_S: Program strobe ( 0 1 ) STEP: step mode ( 0 1 ) START: Start program ( 0 1 ) REF: Start homing ( 0 1 ) CST0: consistence Bit ( 0 1 ) IO: Part status Ok ( 0 1 ) NIO: Part status NOk ( 0 1 ) REF_R: home request ( 0 1 ) CYC_E: Cycle end ( 0 1 ) STEP_E: step end ( 0 1 ) Out_07 Out_00: Virtual outputs ( 00000000 11111111 ) STA00 STA03: Status information (,0000 1111 ) KB: Keyboard lock. ( 0 1 ) This disabled any command from the PC executing a motion. M_UP: Motion upward (Moves the press up with the reference motion speed settings). M_DWN: Motion downward (Moves the press down with the reference motion speed settings). ID_00 ID_07: Identification number bits ( 0 1 ) If documentation is required then the PLC has to transmit the ID number to the NC module. WHEEL Wheel active ( 0 1 ) MOVE Move to input position (Level4) ( 0 1 ) SEL_n Binary type selection ( 00 11 ) IDX_n Binary addresse ( 00000000 11111111 ) ATTENTION: By running the function M_UP, M_DWN, WHEEL and MOVE, the nominal Force will work as overload. The bit CST0 and CST1 represents the consistency of the data between these two bits. The data between CST0 and CST1 are valid only, if both bits have the same condition. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 9

CST0 = 0 CST1 = 0 or CST0 = 1 CST1 = 1. A change within the bits can change the status of CST0 and CST1, therefore the status of these two bits must be checked to make sure, that the data and command bits are valid. The consistency bits are sent back to the PLC after reception. REMARK: If data are transferred via the PROFIBUS and the data must be arranged in the PLC, the level bits should be set to 1 at level 7 first (CMD0 CMD2), otherwise misinterpretations might happen on the bus. If the words are than correct in regard to their consistency, the level-selection can be set to the right level. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 10

6.2 Data format I/O Host NC Module The command structure is: Standard structure of data byte 0-level_000. The structure of the protocol is The design of the protocol is shown as bits in the following description. These are shown in MSB after LSB for the first data byte of the NC-Module. Host Protocol: IN_04 IN_03 IN_02 IN_01 IN_00 PRG5 PRG4 PRG3 BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 PRG2 PRG1 PRG0 PRG_S STEP START REF NU BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 CST1 CMD2 CMD1 CMD0 NU00 NU01 NU02 NU03 BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_09 BIT_08 NU04 NU05 NU06 NU07 NU08 IN_07 IN_06 IN_05 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 NU NU NU NU NU NU NU NU BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 NU NU NU NU M_DWN M_UP KB CST0 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 11

6.3 Bit usage EA level Host NC module Data word 1 BIT # Name Description 15 IN_04 Input bit 4 14 IN_03 Input bit 3 13 IN_02 Input bit 2 12 IN_01 Input bit 1 11 IN_00 Input bit 0, used to influence the program-flow. 10 PRG5 Program Selection bit 5. 9 PRG4 Program Selection bit 4. 8 PRG3 Program Selection bit 3. 7 PRG2 Program Selection bit 2. 6 PRG1 Program Selection bit 1. 5 PRG0 Program Selection bit 0. (up to 512 Programs can be coded) 4 PRG_S Program strobe to take over a selected program (PRG0 PRG5). 3 STEP Single step of the actual program. 2 START Start of the actual program. (can be executed after homing, when the unit has been switched on.) 1 REF Start homing. End of homing is defined by REF_R Bit. 0 NU Not used Data word 2 BIT # Name Description 15 CST1 Consistency Bit 1 must match to CST0 to declare tha data valid. 14 CMD2 Selection of level 2. 13 CMD1 Selection of level 1 12 CMD0 Selection of level 0. To select the function needed 0 = I/O, etc. 11 NU00 Not used 10 NU01 Not used 9 NU02 Not used 8 NU03 Not used 7 NU04 Not used 6 NU05 Not used 5 NU06 Not used 4 NU07 Not used 3 NU08 Not used 2 IN_07 Input bit 7. 1 IN_06 Input bit 6. 0 IN_05 Input bit 5. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 12

Data word 3 BIT # Name Description 15 NU Not used 14 NU Not used 13 NU Not used 12 NU Not used 11 NU Not used 10 PRG8 Program Selection bit 8. 09 PRG7 Program Selection bit 7. 08 PRG6 Program Selection bit 6. 07 NU Not used 06 NU Not used 05 NU Not used 04 NU Not used 03 M_DWN Manual motion down. 02 M_UP Manual motion up. 01 KB Keyboard lock. 00 CST0 consistence Bit 0 must match to to CST1 to declare the data valid Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 13

6.4 Data format NC Module host Standard structure of data word_1 - level_000. NC Protocol: data word 1 Out_04 Out_03 Out_02 Out_01 Out_00 PRG5 PRG4 PRG3 BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 PRG2 PRG1 PRG0 PRG_S STEP_E CYC_E REF_R NU BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 data word 2 CST1 CMD2 CMD1 CMD0 STA05 STA04 STA03 STA02 BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_09 BIT_08 STA01 STA00 QUIT IO NIO Out_07 Out_06 Out_05 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 data word 3 NU NU NU NU NU PRG8 PRG7 PRG6 BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 NU NU NU NU A_DWN A_UP KB CST0 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 14

6.5 Bit position I/O level NC host The data of the PROFIBUS is divided into 4 words a 16 bits. It is recommended to use data consistency for the data transfer since this guarantees valid data in any case. Data word 1 BIT # Name Description 15 Out_04 Output bit 4. 14 Out_03 Output bit 3. 13 Out_02 Output bit 2. 12 Out_01 Output bit 1. 11 Out_00 Output bit 0. 10 PRG5 Ack. program selection bit 5. 9 PRG4 Ack. program selection bit 4. 8 PRG3 Ack. program selection bit 3. 7 PRG2 Ack. program selection bit 2. 6 PRG1 Ack. program selection bit 1. 5 PRG0 Ack. program selection bit 0. 4 PRG_S Program strobe to acknowledge a selected program (PRG0 PRG5). Change from Low -> High = Program was loaded 3 STEP_E End of a step in the actual program. 2 CYC_E End of program (Low -> High). 1 REF_R End reference motion is defined by REF_R Bit. 0 NU ab consistence Bit 1 must match with CST0 to declare the data valid. Data word 2 BIT # Name Description 15 CST1 Consistence Bit 1 must match CST0 to declare the data valid 14 CMD2 Level selection 2. 13 CMD1 Level selection 1. 12 CMD0 Level selection 0. Defines, which function was selected (0 = I/O, etc...). 11 STA_LL Program strobe to acknowledge a selected program (PRG0 PRG5). Change from Low -> High = Program was loaded 10 STA_UL Status bit 4 (upper limit exceeded) 09 STA_NF Ack. program selection bit 1. 08 STA_FEA Status Bit 2 (force limit exceeded in preposition) 07 STA_REF Status Bit 1 (Reference) 06 STA_OL Status Bit 0. Additional information about a fault in the program (0 = no fault, etc..). 05 QUIT Ack. For input signals 04 IO Good part (OK) 03 NIO Bad part (After program end the status information bad part (NOK), Good part (OK) are set) 02 Out_07 Output bit 7. 01 Out_06 Output bit 6. 00 Out_05 Output bit 5. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 15

Data word 3 BIT # Name Description 15 NU STA_12 14 STA_LST Cycle - Start lost 13 STA_ADC ADC limit reached 12 STA_RES Reset 11 CTRL Drive enabled 10 PRG8 Ack. program selection bit 8. 09 PRG7 Ack. program selection bit 7. 08 PRG6 Ack. program selection bit 6. 07 STA_MAX Max. position "Press to Force (Signal)" reached 06 STA_FER Max. permitted positioning fault crossed 05 STA_FT Force transducer max. deviation of 10% exceeded 04 PC_LIFE PC connected and ready 03 A_DOWN Acknowledge motion down. 02 A_UP Acknowledge motion up. 01 KB Acknowledge keyboard lock. 00 CST0 Consistence Bit 0 must match CST1 to declare the data valid Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 16

6.6 Data format Variables Host NC Module To request variable / gauging values the selection bits SEL_0 & SEL_1 have to be set accordingly. SEL_0 SEL_1 data type 0 0 Variables 1 0 Gauging values 0 1 Not used 1 1 Not used The variables 1 to 8 and are then addressed via the index (IDX_0 - IDX_3) as a binary Offset. IDX_0 IDX_1 IDX_2 IDX_3 Variable 0 0 0 0 1 Variable 1 0 0 0 2 Variable 0 1 0 0 3 Variable 1 1 0 0 4 Variable 0 0 1 0 5 Variable 1 0 1 0 6 Variable 0 1 1 0 7 Variable 1 1 1 0 8 Variable 0 0 0 1 9 Variable 1 0 0 1 10 Variable 0 1 0 1 11 Variable 1 1 0 1 12 Variable With gauging values the index bits IDX_3 & IDX_4 have to be used to determine the gauging number. For the data type the lower significant bits IDX_0 to IDX_2 have to be used. IDX_0 IDX_1 IDX_2 Data type 0 0 0 Status (0 = Sample taken / Base condition) (2 = acquisition active) (4 = single position trigger active) 1 0 0 Position (Start) 0 1 0 Position (End) 1 1 0 Upper limit 0 0 1 Force / analog value 1 0 1 Lower limit 1 1 0 Acquisition position. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 17

IDX_3 IDX_4 Gauging value 0 0 1 Gauging value 1 0 2 Gauging value 0 1 3 Gauging value 1 1 4 Gauging value Standard structure of level_001. NC Protocol: Data word 1 D_SGN D_29 D_28 D_27 D_26 D_25 D_24 D_23 BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 D_22 D_21 D_20 D_19 D_18 D_17 D_16 D_15 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Data word 2 CST1 CMD3 CMD2 CMD1 READ WRITE SEL_1 SEL_0 BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_09 BIT_08 IDX_7 IDX_6 IDX_5 IDX_4 IDX_3 IDX_2 IDX_1 IDX_0 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Data word 3 D_14 D_13 D_12 D_11 D_10 D_09 D_08 D_07 BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 D_06 D_05 D_04 D_03 D_02 D_01 D_00 CST_0 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 18

6.7 Bit condition variables range Host NC Module 1. Data word (most significant bits of variable) BIT #[DW] Name Description 15 DATA_SGN Sign of variable (0 = positive, 1 = negative) 14 DATA_29 Data bit 29 (MSB), this carries the value*1000, which has been collected in the NC-Module (e.g. 1234,560 = 1234560), the PLC must therefore divide the integer number by 1000, to get the real value. 13 DATA_28 Data bit 28 12 DATA_27 Data bit 27 11 DATA_26 Data bit 26 10 DATA_25 Data bit 25 09 DATA_24 Data bit 24 08 DATA_23 Data bit 23 07 DATA_22 Data bit 22 06 DATA_21 Data bit 21 05 DATA_20 Data bit 20 04 DATA_19 Data bit 19 03 DATA_18 Data bit 18 02 DATA_17 Data bit 17 01 DATA_16 Data bit 16 00 DATA_15 Data bit 15 Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 19

2. Data word (control bits) BIT #[DW] Name Description 15 CST1 Consistency Bit 1 must be the same as CST0 to declare the values valid. 14 CMD2 Level selection 2. 13 CMD1 Level selection 1. 12 CMD0 Level selection 2. To define the selected function: 0 = EA, 1 = Variables, 2 = Measuring values. 11 READ Read, at Bit 1 wait, until the NC-module has reflected the status. 10 WRITE Write. At Bit 1 wait until the NC-module has reflected the status. 09 SEL_1 Selector 1 (MSB) type of variable (0 = Variable, 1 = Measuring value) 08 SEL_0 Selector 0 07 IDX_7 Index 7 (MSB) range 0 255. The offset (number) of variable is set 06 IDX_6 Index 6 05 IDX_5 Index 5 04 IDX_4 Index 4 03 IDX_3 Index 3 02 IDX_2 Index 2 01 IDX_1 Index 1 00 IDX_0 Index 0 (LSB) 3. Data word (least significant bits of variable) BIT #[DW] Name Description 15 DATA_14 Data bit 14 14 DATA_13 Data bit 13 13 DATA_12 Data bit 12 12 DATA_11 Data bit 11 11 DATA_10 Data bit 10 10 DATA_09 Data bit 09 09 DATA_08 Data bit 8 08 DATA_07 Data bit 7 07 DATA_06 Data bit 6 06 DATA_05 Data bit 5 05 DATA_04 Data bit 4 04 DATA_03 Data bit 3 03 DATA_02 Data bit 2 02 DATA_01 Data bit 1 01 DATA_00 Data bit 0 00 CST0 Consistency Bit 0 must be the same as CST1 to declare the values as valid. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 20

6.8 Data format Variables NC Module Host Standard structure of data word _0 - level_001. NC Protocol: Data word 1 D_SGN D_29 D_28 D_27 D_26 D_25 D_24 D_23 BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 D_22 D_21 D_20 D_19 D_18 D_17 D_16 D_15 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Data word 2 CST1 CMD3 CMD2 CMD1 READ WRITE SEL_1 SEL_0 BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_09 BIT_08 IDX_7 IDX_6 IDX_5 IDX_4 IDX_3 IDX_2 IDX_1 IDX_0 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Data word 3 D_14 D_13 D_12 D_11 D_10 D_09 D_08 D_07 BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 D_06 D_05 D_04 D_03 D_02 D_01 D_00 CST_0 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 21

6.9 Bit position variables range NC Module -> Host 1. Data word (most significant bits of variable ) BIT #[DW] Name Description 15 DATA_SGN Sign of variable (0 = positive, 1 = negative) 14 DATA_29 Data bit 29 (MSB), this carries the value*1000, which has been collected in the NC-Module (e.g. 1234,560 = 1234560), the PLC must therefore divide the integer number by 1000, to get the real value. 13 DATA_28 Data bit 28 12 DATA_27 Data bit 27 11 DATA_26 Data bit 26 10 DATA_25 Data bit 25 09 DATA_24 Data bit 24 08 DATA_23 Data bit 23 07 DATA_22 Data bit 22 06 DATA_21 Data bit 21 05 DATA_20 Data bit 20 04 DATA_19 Data bit 19 03 DATA_18 Data bit 18 02 DATA_17 Data bit 17 01 DATA_16 Data bit 16 00 DATA_15 Data bit 15 2. Data word (control bits). BIT #[DW] name Description 15 CST1 Consistency Bit 1must be the same ascst0, to declare the data valid 14 CMD2 Level selection 2. 13 CMD1 Level selection 1. 12 CMD0 Level selection 2. To define the selected function :0 = I/O, 1 = Variable, 2 = Measuring values. 11 READ Read, at Bit 1 wait, until the NC-module has reflected the status. 10 WRITE Write. At Bit 1 wait until the NC-module has reflected the status. 09 SEL_1 Selector 2 (MSB) type of variable (0 = variable, 1 = Measuring value) 08 SEL_0 Selector 0 07 IDX_7 Index 7 (MSB) range 0 255. The offset (number) of variable is set 06 IDX_6 Index 6 05 IDX_5 Index 5 04 IDX_4 Index 4 03 IDX_3 Index 3 02 IDX_2 Index 2 01 IDX_1 Index 1 00 IDX_0 Index 0 (LSB) Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 22

3. Data word (least significant bits of variable) BIT # Name Description 15[1] DATA_14 Data bit 14 14[1] DATA_13 Data bit 13 13[1] DATA_12 Data bit 12 12[1] DATA_11 Data bit 11 11[1] DATA_10 Data bit 10 10[1] DATA_09 Data bit 09 09[1] DATA_08 Data bit 8 08[1] DATA_07 Data bit 7 07[1] DATA_06 Data bit 6 06[1] DATA_05 Data bit 5 05[1] DATA_04 Data bit 4 04[1] DATA_03 Data bit 3 03[1] DATA_02 Data bit 2 02[1] DATA_01 Data bit 1 01[1] DATA_00 Data bit 0 00[1] CST0 consistency bit 0 must be the same as CST1, to declare the values as valid Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 23

6.10 Data Format ID Number Host NC Module Consistency of Data word 1 - Ebene_011. The Identification Bytes can be used from 1 to 20 and will be selected via the index (IDX_0 & IDX_1 & IDX_2 & IDX_3 & IDX_4 ). IDX_0 IDX_1 IDX_2 IDX_3 IDX_4 Ident Byte No. 0 0 0 0 0 1 1 0 0 0 0 2 0 1 0 0 0 3 1 1 0 0 0 4 0 0 1 0 0 5 1 0 1 0 0 6 0 1 1 0 0 7 1 1 1 0 0 8 0 0 0 1 0 9 1 0 0 1 0 10 0 1 0 1 0 11 1 1 0 1 0 12 0 0 1 1 0 13 1 0 1 1 0 14 0 1 1 1 0 15 1 1 1 1 0 16 0 0 0 0 1 17 1 0 0 0 1 18 0 1 0 0 1 19 1 1 0 0 1 20 Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 24

Standard consistence of Data word 0 - level_002. NC Protocol: Data word 1 N.U. N.U. N.U. N.U. N.U. N.U. N.U. N.U. BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 ID_07 ID_06 ID_05 ID_04 ID_03 ID_02 ID_01 ID_00 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Data word 2 CST1 CMD3 CMD2 CMD1 READ WRITE N.U. N.U. BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_09 BIT_08 N.U. N.U. N.U. IDX_4 IDX_3 IDX_2 IDX_1 IDX_0 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Data word 3 N.U. N.U. N.U. N.U. N.U. N.U. N.U. N.U. BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 N.U. N.U. N.U. N.U. N.U. N.U. N.U. CST_0 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 25

6.11 Bit usage ID Number Host NC Module 1. Data word (most significant bits of Variable) BIT # Name Description 15 N.U. Not used. 14 N.U. Not used. 13 N.U. Not used. 12 N.U. Not used. 11 N.U. Not used. 10 N.U. Not used. 09 N.U. Not used. 08 N.U. Not used. 07 ID_07 Identification data bit 7 06 ID_06 Identification data bit 6 05 ID_05 Identification data bit 5 04 ID_04 Identification data bit 4 03 ID_03 Identification data bit 3 02 ID_02 Identification data bit 2 01 ID_01 Identification data bit 1 00 ID_00 Identification data bit 0 2. Data word BIT # Name Description 15 CST1 Consistency Bit 1 must match CST0 to make the contents of the bits valid. 14 CMD2 Level selection bit 2. 13 CMD1 Level selection bit 1. 12 CMD0 Level selection bit 0. These bits determine the level that should be used 0 = EA, 1 = Variables / gauging values, 2 = ID number. 11 READ Read. With the Bit high the NC module has to mirror the bit high to read the ID number. 10 WRITE Write. With the bit high the NC module has to mirror the bit high to take over the ID number. 09 N.U. Not used. 08 N.U. Not used. 07 N.U. Not used. 06 N.U. Not used. 05 N.U. Not used. 04 IDX_4 Index 4 (MSB) 03 IDX_3 Index 3 02 IDX_2 Index 2 01 IDX_1 Index 1 00 IDX_0 Index 0 (LSB) Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 26

2. Data word BIT # Name Description 15 N.U. Not used. 14 N.U. Not used. 13 N.U. Not used. 12 N.U. Not used. 11 N.U. Not used. 10 N.U. Not used. 09 N.U. Not used. 08 N.U. Not used. 07 N.U. Not used. 06 N.U. Not used. 05 N.U. Not used. 04 N.U. Not used. 03 N.U. Not used. 02 N.U. Not used. 01 N.U. Not used. 00 CST0 Consistency bit 0 must match the condition of CST1 to make the data valid. 6.12 Data format ID Number NC Module Host Standard consistence of Data word 1 level 010. NC Protocol: Data word 1 N.U. N.U. N.U. N.U. N.U. N.U. N.U. N.U. BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 ID_07 ID_06 ID_05 ID_04 ID_03 ID_02 ID_01 ID_00 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Data word 2 CST1 CMD3 CMD2 CMD1 READ WRITE N.U. N.U. BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_09 BIT_08 N.U. N.U. N.U. IDX_4 IDX_3 IDX_2 IDX_1 IDX_0 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Data word 3 N.U. N.U. N.U. N.U. N.U. N.U. N.U. N.U. BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 N.U. N.U. N.U. N.U. N.U. N.U. N.U. CST_0 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 27

6.13 Bit consistence ID Number NC Module Host 1. Data word ( ID Data area ) BIT # Name Description 15 N.U. Not used. 14 N.U. Not used. 13 N.U. Not used. 12 N.U. Not used. 11 N.U. Not used. 10 N.U. Not used. 09 N.U. Not used. 08 N.U. Not used. 07 ID_07 Identification data bit 7 06 ID_06 Identification data bit 6 05 ID_05 Identification data bit 5 04 ID_04 Identification data bit 4 03 ID_03 Identification data bit 3 02 ID_02 Identification data bit 2 01 ID_01 Identification data bit 1 00 ID_00 Identification data bit 0 2. Data word BIT # Name Description 15 CST1 Consistency Bit 1 must match the condition of CST0 to declare the data as valid. 14 CMD2 Level selection 2. 13 CMD1 Level selection 1. 12 CMD0 Level selection 0. This determines the level to be used. 0 = EA, 1 = Variables / gauging values, 2 = ID number. 11 READ Read. When set high the NC module has to mirror the bit back to read the ID number. 10 WRITE Write. When set high the NC module has to mirror the bit back to acknowledge that the number has been written. 09 N.U. Not used. 08 N.U. Not used. 07 N.U. Not used. 06 N.U. Not used. 05 N.U. Not used. 04 IDX_4 Index 4 (MSB) 03 IDX_3 Index 3 02 IDX_2 Index 2 01 IDX_1 Index 1 00 IDX_0 Index 0 (LSB) Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 28

3. Data word BIT # Name Description 15 N.U. Not used. 14 N.U. Not used. 13 N.U. Not used. 12 N.U. Not used. 11 N.U. Not used. 10 N.U. Not used. 09 N.U. Not used. 08 N.U. Not used. 07 N.U. Not used. 06 N.U. Not used. 05 N.U. Not used. 04 N.U. Not used. 03 N.U. Not used. 02 N.U. Not used. 01 N.U. Not used. 00 CST0 Consistency Bit 0 must match the condition of CST1 to declare the data as valid. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 29

6.14 Data Format Motion level Host NC Module Consistency of Data word 1 - level_011. The combination for the selection bits go from 1 to 3 and will select the value that is being transmitted over the profibus (SEL_0 & SEL_1). SEL_0 SEL_1 Function 0 0 1 Position 1 0 2 Force 0 1 3 Analog 1 1 1 4 Analog 2 Standard consistence of Data word 0 - level_011. NC Protocol: Data word 1 D_SGN D_29 D_28 D_27 D_26 D_25 D_24 D_23 BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 D_22 D_21 D_20 D_19 D_18 D_17 D_16 D_15 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Data word 2 CST1 CMD3 CMD2 CMD1 SEL_1 SEL_0 KB NU BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_09 BIT_08 Gelöscht: EXT_3 NU NU M_DWN M_UP WHEEL MOVE NU NU BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Data word 3 D_14 D_13 D_12 D_11 D_10 D_09 D_08 D_07 BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 D_06 D_05 D_04 D_03 D_02 D_01 D_00 CST_0 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 30

6.15 Bit usage Motion Host NC Module 1. Data word (most significant bits of value ) BIT # Name Description [SEL_n] 15[0] DATA_SGN Sign of variable (0 = positive, 1 = negative) 14[0] DATA_29 Data bit 29 (MSB), this carries the value*1000, which has been collected in the NC-Module (e.g. 1234,560 = 1234560), the PLC must therefore divide the integer number by 1000, to get the real value. 13[0] DATA_28 Data bit 28 12[0] DATA_27 Data bit 27 11[0] DATA_26 Data bit 26 10[0] DATA_25 Data bit 25 09[0] DATA_24 Data bit 24 08[0] DATA_23 Data bit 23 07[0] DATA_22 Data bit 22 06[0] DATA_21 Data bit 21 05[0] DATA_20 Data bit 20 04[0] DATA_19 Data bit 19 03[0] DATA_18 Data bit 18 02[0] DATA_17 Data bit 17 01[0] DATA_16 Data bit 16 00[0] DATA_15 Data bit 15 Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 31

2. Data word (control word) BIT # Name Description 15 CST1 Consistency Bit 1 must match CST0 to make the contents of the bits valid. 14 CMD2 Level selection bit 2. 13 CMD1 Level selection bit 1. 12 CMD0 Level selection bit 0. These bits determine the level that should be used 0 = EA, 1 = Variables / gauging values, 2 = ID number, 3 = Motion 11 SEL_1 Selection for type of value that will be transmitted. SEL_1 = 0 & SEL_0 = 0 -> Position SEL_1 = 0 & SEL_0 = 1 -> Force SEL_1 = 1 & SEL_0 = 0 -> Analog 1 SEL_1 = 1 & SEL_0 = 1 -> Analog 2 10 SEL_0 Dito. 09 KB Keyboard lock 08 N.U. N.U. 07 N.U. N.U. 06 N.U. N.U. 05 M_DWN Manual motion down. 04 M_UP Manual motion up. 03 WHEEL Sets the turn wheel motion active. 02 MOVE Move to input value 01 N.U. N.U. 00 N.U. N.U. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 32

3. Data word (least significant bits of variable) BIT # Name Description [SEL_n] 15[0] DATA_14 Data bit 14 14[0] DATA_13 Data bit 13 13[0] DATA_12 Data bit 12 12[0] DATA_11 Data bit 11 11[0] DATA_10 Data bit 10 10[0] DATA_09 Data bit 09 09[0] DATA_08 Data bit 8 08[0] DATA_07 Data bit 7 07[0] DATA_06 Data bit 6 06[0] DATA_05 Data bit 5 05[0] DATA_04 Data bit 4 04[0] DATA_03 Data bit 3 03[0] DATA_02 Data bit 2 02[0] DATA_01 Data bit 1 01[0] DATA_00 Data bit 0 00[0] CST0 consistency bit 0 must be the same as CST1, to declare the values as valid Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 33

6.16 Data format motion NC Module Host The combination for the selection bits go from 1 to 4 and will select the value that is being transmitted over the profibus (SEL_0 & SEL_1). SEL_0 SEL_1 Function 0 0 1 Position 1 0 2 Force 0 1 3 Analog 1 1 1 4 Analog 2 Standard consistence of Data word 1 - level_011. NC Protocol: Data word 1 D_SGN D_29 D_28 D_27 D_26 D_25 D_24 D_23 BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 D_22 D_21 D_20 D_19 D_18 D_17 D_16 D_15 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Data word 2 CST1 CMD3 CMD2 CMD1 SEL_1 SEL_0 NU NU BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_09 BIT_08 QUIT LIFE M_DWN M_UP WHEEL MOVE_INPOS NU REF_R BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Data word 3 D_14 D_13 D_12 D_11 D_10 D_09 D_08 D_07 BIT_15 BIT_14 BIT_13 BIT_12 BIT_11 BIT_10 BIT_08 BIT_08 D_06 D_05 D_04 D_03 D_02 D_01 D_00 CST_0 BIT_07 BIT_06 BIT_05 BIT_04 BIT_03 BIT_02 BIT_01 BIT_00 Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 34

6.17 Bit consistence Motion NC Module Host 1. Data word (most significant bits of value ) BIT # Name Description [SEL_n] 15[0] DATA_SGN Sign of variable (0 = positive, 1 = negative) 14[0] DATA_29 Data bit 29 (MSB), this carries the value*1000, which has been collected in the NC-Module (e.g. 1234,560 = 1234560), the PLC must therefore divide the integer number by 1000, to get the real value. 13[0] DATA_28 Data bit 28 12[0] DATA_27 Data bit 27 11[0] DATA_26 Data bit 26 10[0] DATA_25 Data bit 25 09[0] DATA_24 Data bit 24 08[0] DATA_23 Data bit 23 07[0] DATA_22 Data bit 22 06[0] DATA_21 Data bit 21 05[0] DATA_20 Data bit 20 04[0] DATA_19 Data bit 19 03[0] DATA_18 Data bit 18 02[0] DATA_17 Data bit 17 01[0] DATA_16 Data bit 16 00[0] DATA_15 Data bit 15 Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 35

3. Data word (control word) BIT # Name Description 15 CST1 Consistency Bit 1 must match the condition of CST0 to declare the data as valid. 14 CMD2 Level selection 2. 13 CMD1 Level selection 1. 12 CMD0 Level selection 0. This determines the level to be used. 0 = EA, 1 = Variables / gauging values, 2 = ID number. 11 SEL_1 Selection acknowledge for type of value that will be transmitted. SEL_1 = 0 & SEL_0 = 0 -> Position SEL_1 = 0 & SEL_0 = 1 -> Force SEL_1 = 1 & SEL_0 = 0 -> Analog 1 SEL_1 = 1 & SEL_0 = 1 -> Analog 2 10 SEL_0 Dito. 09 NU NU 08 NU NU 07 NU NU 06 LIFE PC connected and ready for data storage (must be monitored by the plc to make sure the data storage is set to 100%). 05 M_DWN Acknowledgment for motion down. 04 M_UP Acknowledgment for motion up. 03 WHEEL Indication that the turn wheel motion is active. 02 MOVE_IPOS Acknowledgment for motion (in Position) 01 NU NU 00 REF_R Reference request. Drops low when the reference has been run. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 36

3. Data word (least significant bits of value) BIT # Name Description [SEL_n] 15[0] DATA_14 Data bit 14 14[0] DATA_13 Data bit 13 13[0] DATA_12 Data bit 12 12[0] DATA_11 Data bit 11 11[0] DATA_10 Data bit 10 10[0] DATA_09 Data bit 09 09[0] DATA_08 Data bit 8 08[0] DATA_07 Data bit 7 07[0] DATA_06 Data bit 6 06[0] DATA_05 Data bit 5 05[0] DATA_04 Data bit 4 04[0] DATA_03 Data bit 3 03[0] DATA_02 Data bit 2 02[0] DATA_01 Data bit 1 01[0] DATA_00 Data bit 0 00[0] CST0 consistency bit 0 must be the same as CST1, to declare the values as valid Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 37

6.18 Status information Possible status messages STA_LST STA_ADC STA_RES STA_MAX STA_FT STA_FER STA_FEA STA_LL STA_UL STA_NF STA_FEA STA_REF STA_OL start lost ADC limit reached Reset max position "Press to Force (Signal)" reached Force transducer max. deviation of 10 % exceeded max. permitted positioning fault crossed force transducer not centered lower limit violated upper limit violated force not reached force in preposition reached reference request overload The error messaged have to be evaluated when the program cycle is finished. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 38

7 command structure of the NC module Command Bit(s) Description Level Start of program Homing Step start START, CYC_E REF_R, REF STEP, STEP_E Start of program by setting the start bit, end of program by reading the CYC_E Bits. When the REF_R Bits is set, homing is necessary. End of homing by reading the REF_R Bits. Start of the actual step by setting the STEP Bit. End of step by reading the STEP_E bit. Part status OK, NOK General status information about the part after program end. Read variable READ, SEL_n, IDX_n Write variables Read gauging values (1-4) WRITE SEL_n, IDX_n READ, SEL_n = 1, IDX_n. Numbers are multiplied with 1000 and copied into the datastructure, after that, READ is set to 1 and you have to wait, until the NC-Module reflects the 1 (after that reflection, the data are read) Numbers are multiplied with 1000 and copied into the datastructure, after that, WRITE is set to 1 and you have to wait, until the NC-Module reflects the 1 (after that reflection, the data are accepted.) Numbers will be multiplied by 1000 and copied into the data structure. To read the values the read bit has to be set to 1 and the PLC has to wait until the NC module mirrors the 1 back so the data gets declared valid. 000 000 000 000 001 001 001 Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 39

Command Bit(s) Description Level Read ID number (1 20) Write ID Number (1-20) Read value ID_xx, READ, IDX_n. ID_xx, WRITE, IDX_n. ID numbers can only be read segmented. To read the number the index bits (IDX_0 IDX_4) will have to be set and the READ bit also. Then the PLC has to wait for the NC module to acknowledge the read command (with mirroring the read bit). Then the ID byte can be taken from the data area. Then the read bit has to be reset. Writing a ID number can be achieved by setting the index bits, the data bits (ID number) and changing the write bit from 0 to 1. The NC module will then signal the reception by mirroring the write bit back to the PLC. Then the write bit has to be reset. SEL_n = 0-3, Read the values permanent 0 Position 1 Kraft 2 Analog 1 3 Analog 2 010 010 011 Wheel function Wheel Select the wheel function 011 Positioning Move Move to the position, witch is 011 insert at the data word Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 40

8 Signal description 8.1 Homing after switch-on Homing request (REF_R) 3 Quitt (QUIT) 2 5 Start homing 1 4 Description When the NC-Module has been switched on, the homing request and QUITT are set, the PLC sets the signal homing, the NC-Module acknowledges the signal by resetting the QUITT-signal, The PLC resets the signal homing, when the signal homing request has been reset by the NC-Module, The NC-Module acknowledges the reset of the signal homing by setting the QUITT signal. If the signal homing is reset during the homing procedure, the PC stops the homing and the signal homing request stays active. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 41

8.2 Homing without request 3 Homing request (REF_R) 2 Quitt (QUIT) 5 Start homing 1 4 Description The PLC sets the signal homing, The NC-Module acknowledges the signal by resetting the signal QUITT and setting the signal homing Request, The PLC resets the signal homing, when the signal homing request has been reset, The NC-Module acknowledges the reset of the signal homing by setting the Signal QUITT. If the signal homing is reset during the homing procedure, the PC stops the homing and the signal homing request stays active. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 42

8.3 Cycle start Start (START) 1 4 Quitt (QUIT) IO (IO) 2 5 NIO (NIO) 3 Description The PLC sets the signal START, The NC-Module acknowledges the signal by resetting the signal QUITT, The signal OK, or NOK informs the PLC, that the cycle has been finished, The NC-Module acknowledges the reset of the start-signal by setting the QUITT-signal, If the start-signal is rest during the cycle, the NC-Module stops the move and the signal QUITT and OK and NOK are set. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 43

8.4 E-stop during a move E-stop 1 Quitt (QUIT) 4 5 Start (START) 3 Hom. reque. (REF_R) 2 Description The E-stop opens the e-stop-circuit, The assembly unit reacts with a stop of the move, the OK and NOK signals are set, The PLC resets the start signal, when the PLC has seen the e-stop situation, When the e-stop-problem has been solved, the e-stop-circuit is closed and the PC acknowledges the signal-change with the signal QUITT, when the start-signal has been reset. After a new start the signal QUITT and OK and NOK are reset. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 44

8.5 E-stop at in-position (no move) E-stop 1 3 Quitt (QUIT) 2 4 Description In case of a e-stop-situation, the e-stop-circuit is opened, The NC-Module acknowledges by resetting the signal QUITT, When the e-stop-circuit is closed again, the NC module resets the signal QUITT. Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 45

8.6 Changing program number I Start I Home -Start I Prog. Bit 1 I Prog. Bit 2 1 I Prog. Bit n I Strobe 2 4 O Prog. Bit 1 O Prog. Bit 2 3 O Prog. Bit n O Strobe 5 Description: Setting of binary coded program number Setting of the strobe for handing over Mirroring of the program number Srobe for delivery confirmation after loading of the porgram Resteo strobe by the PLC and the NC-Module Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 46

Appendix A Definition of the function levels: Ebene Bits Funktion Beschreibung Input/output 000 Start / Stop / Status / EA Level 0: CMD0 =0,CMD1 = 0 and CMD2 =0 Data / Measuring values 001 Level 1: CMD0 =1,CMD1 = 0 und CMD2 =0 ID number 010 Level 2: CMD0 =0,CMD1 = 1 und CMD2 =0 Wheel function 011 Level 3: CMD0 =1,CMD1 = 1 und CMD2 =0 100 101 110 Program information 111 Version 2/5/2004 / NR / HB Profibus Protocol UD 73 English V3.doc page 47