Page 1
ProfiNet / ProfiBus Interfaces TRANSLATION OF THE GERMAN ORIGINAL MANUAL 5/2015 Manual MA 1263-A010 EN...
Page 2
We appreciate suggestions and criticisms for further improvement. Email address: doku@phytron.de Questions about the use of the product described in the manual that you cannot find answered here, please contact your representative of phytron (http://www.phytron.eu/) in your local agencies. MA 1263-A010 EN...
1 Legal information This manual: Read this manual very carefully before mounting, installing and operating the device and if necessary further manuals related to this manual. Please pay special attention to instructions that are marked as follows: DANGER –...
Page 4
ProfiNet / ProfiBus interfaces Safety Instructions CAUTION – Possible damage! Malfunctions are possible while programming the instruction codes – e.g. sudden running of a connected motor, braking etc. - Please test the program flow step by step. CAUTION – Possible damage! For each application, the functional reliability of software products by external factors such as voltage differences or hardware failure, etc.
MCC-Series or our phyMOTION phyLOGIC commands can easily be sent to the controller with phytron’s programming software (phyLOGIC Toolbox) via USB, embedded into other protocols like Ethernet or into interface protocols like ProfiBus / ProfiNet.
Page 7
Each of our programmable controllers comes along with pre set parameters (default values), which are automatically loaded into the temporary memory of each axis while starting the device. These parameters can be changed during your program is executed to optimise your motion tasks at any time.
5 Conditions - You have an S7 station, consisting of a power supply module and a CPU and configured. - The PG is connected to the PROFINET I/O. - The phyMOTION controller is connected to the superior main station via ProfiNet interface.
ProfiNet / ProfiBus interfaces 6 Configuration of the phyMOTION via SIMATIC Manager (Example) - Install the GSD data file which comes with your delivery on your PC. - Start the SIMATIC manager and open the project that you have created.
7 Download from the ftp Server The phytron PNS01 sub module contains an internal ftp server. This ftp server can be used for updating the firmware of every active phyMOTION module like MCM01, MCM02, I1AM01, DIOM01, etc. You can also transmit phyLOGIC...
ProfiNet / ProfiBus interfaces Leave the current files on the ftp server, so a module recently inserted into the phyMOTION is automatically updated to the latest firmware status, which is stored on the ftp server. IMPORTANT: It is only checked whether the update version of the ftp server differs from the version of the module.
As you can see in the screenshot of the HW Config (Fig.1) every phyMOTION™ module card already is addressed in the Profinet system. Once addressed commands can be sent to every single module card. In the following section the instruction set per module type is given referring to the phyLOGIC™...
Page 14
ProfiNet / ProfiBus interfaces According to phyLOGIC command Byte (refer to the Function of commands command (8 bytes) reference manual) command chap. Write register Register signed long 6.15 Register value Svalue RnnS Register float 6.15 Register value value 1) The command 0201 sets the flag ‚Save parameters‘.
8.1.2 Status Code (CPU) Status (2 bytes) Meaning 0001 Command error 0002 Range value error 0004 Checksum error (CRC) 0008 ADDR error (card could not be addressed) 0010 Timeout error on bus 0020 Bad value error 0040 Interface error (frame)
ProfiNet / ProfiBus interfaces 8.2 Axes Modules I1AM01 and I4XM01 Important: Byte ‘3’ (axis no.) differs for the two axis modules: I1AM01: axis no. = 00 I4XM01: axis no. = 00 to 03 Acc. to phyLOGIC command (refer to the command...
Page 17
Acc. to phyLOGIC command (refer to the command Byte reference manual) Function 8 command chap. CENTER switch via Axis – direction with encoder m.aR–C^I 6.25 track zero CENTER switch via Axis + direction with encoder m.aR+C^I 6.25 track zero only pulse zero in –...
Page 18
ProfiNet / ProfiBus interfaces Acc. to phyLOGIC command (refer to the command Byte reference manual) Function 8 command chap. Relative Positioning with parameter Axis distance signed long m.arvalue 6.25 Axis distance float m.arvalue 6.25 Axis distance signed long m.arvalue 6.25...
Page 19
Acc. to phyLOGIC command (refer to the command Byte reference manual) Function 8 command chap. Write parameters Para- Axis m.aPmm signed long meter Parameter value 6.25 Svalue Para- 6.25 Axis m.aPmm float meter Parameter value Svalue Read parameters Para-...
Page 20
ProfiNet / ProfiBus interfaces Byte Function Read axis status Error Status Current position code Read the complete Error Status Status 32 bit axis status code Axis instruction Reset Error Status Current position code Axis stop Error Status Current position code...
Meaning 0001 Busy (motor is running) Not now 0002 (command cannot be executed because the motor is running) 0004 Wait for SYNC (only ProfiNet) 0008 Reference run successful 0010 Limit switch ‘+’ is active 0020 Limit switch ‘–’ is active 0040 Limit switch ‘center’...
ProfiNet / ProfiBus interfaces Status (2 bytes) Meaning 400000 Axis is in free running mode 800000 Axis multi F run 1000000 Axis SYNC allowed 8.2.2 Error Code (Axes) Error (1 byte) Meaning Data error Motor temperature warning Motor shut-off temperature is reached Power stage temperature >...
8.3 Digital I/O Modules (DIOM) Acc. to phyLOGIC command (refer to the command Byte reference manual) Function command chap. AZn.a AG1R Read I/O status EZn.a EG1R Reset I/O Status SI0mC 6.20 Read input status Output and set output status...
ProfiNet / ProfiBus interfaces 8.3.1 Status Code (DIOM) Status (1 byte) Meaning Error Interrupt 1 Interrupt 2 8.3.2 Error Code (DIOM) Error (1 byte) Meaning unknown Instruction incorrect instruction incorrect data Short circuit at output 24 V electrically isolated is missed (no 24 V applied)
8.5.1 Status Code (AIOM) Status (1 byte) Meaning Error Interrupt 1 Interrupt 2 8.5.2 Error Code AIOM Error (1 byte) Meaning Module OK unknown Instruction incorrect instruction incorrect data DAC error 24 V electrically isolated is missed (no 24 V applied)
ProfiNet / ProfiBus interfaces 9 List of Parameters No. Meaning Default P01 Type of movement (free run, relative / absolute, reference run) 0 = Rotational movement (ignoring limit switches) 1 = Hardware limit switches are monitored for XY tables or other linear systems, 2 limit switches: Mechanical zero and limit direction –...
Page 29
No. Meaning Default not used P07 Emergency stop ramp 100 000 Input for I1AM0x: in 4000 Hz/s steps I4XM01: in 1 Hz/s steps P08 f MØP (mechanical zero point) 4000 Run frequency during initializing (referencing) Enter in Hz (integer value)
Page 30
ProfiNet / ProfiBus interfaces No. Meaning Default P13 Recovery time MØP Time lapse during initialization Enter in msec P14 f Run frequency during program operation 4000 Enter in Hz (integer value) I1AM0x: 40 000 maximum I4XM01: 4 000 000 maximum...
Page 31
No. Meaning Default P21 Absolute counter Encoder, multi turn and also for single turn. The value of P22 is extended to P21 by software. The encoder counters have a fixed resolution, e.g. 10 bit (for single-turn encoders: the resolution is bits per turn), then the read value repeats.
Page 32
ProfiNet / ProfiBus interfaces No. Meaning Default P26 The data transfer rate is set by P26 (ONLY for SSI encoder), by which the encoder is read. The transfer rate is dependent on the length of the cable by which the encoder is connected to the device. The shorter the cable, the encoder can more quickly be read.
Page 33
No. Meaning Default P30 For I4XM01 only! Frequency band setting 0 = manual 1 = automatic Remark It is recommended to work with the automatic setting mode. For each run frequency (P14) and ramp (P15) the controller automatically selects suitable settings.
Page 34
ProfiNet / ProfiBus interfaces No. Meaning Default P33 TBD P34 Encoder type 0 = no encoder 1 = incremental 5.0 V 2 = incremental 5.5 V 3 = serial interface SSI binary Code 5.0 V 4 = serial interface SSI binary Code 5.5 V 5 = serial interface SSI Gray Code 5.0 V...
Page 35
No. Meaning Default P38 Encoder preferential direction of rotation 0 = + (positive) 1 = – (negative) P39 Encoder conversion factor 1 increment corresponds to ... Computing the conversion factor: Thread Conversion factor Encoder steps revolution P40 Stop current in 0.01 A steps depending on the r.m.s.
Page 36
ProfiNet / ProfiBus interfaces No. Meaning Default P43 Current hold time in msec P44 For I4XM01 only! Origin of the Control pulses for the axis 0 = 1:1 (Input=Output) 1 = from X 2 = from Y 3 = from Z...
Page 37
No. Meaning Default P52 Internally used for trigger position. P53 Power stage monitoring 0 = off 1 = on P54 Motor temperature in 1/10 °C -999999 -999999: Temperature module not existent (read only) -9999: negative overflow or temperature lower -220 °C at PT100...
10 Warranty, Disclaimer and Registered Trademarks 10.1 Disclaimer Phytron GmbH has verified the contents of the manual to match with the hardware and software. However, errors and omissions are exempt and Phytron GmbH assumes no responsibility for complete compliance. The information contained in this publication is reviewed regularly and any necessary corrections are included in subsequent editions.
Need help?
Do you have a question about the ProfiNet and is the answer not in the manual?
Questions and answers