Page 2
Copyright 1996 Athena Controls All rights reserved No part of this document may be stored in a retrieval system, or transmitted in any form, electronic or mechanical, without prior written permission of Athena Controls. Athena Controls has used the best care and efforts in preparing this book and believes the information in this publication are accurate.
ORCE ULTIPLE OILS (16) ......................14 RESET ULTIPLE EGISTERS ERROR MANAGEMENT..........................14 ............................15 RROR ODES MODBUS ON ATHENA CONTROLS PLATINUM® INSTRUMENTS ..........15 ....................15 ERIAL COMMUNICATIONS PARAMETERS ..........................15 OMMUNICATIONS TIME ..............................16 ..............................16 ...............................16 PROM ..................17 SSIGNMENT OF THE PARAMETERS AND ELECTRICAL CONNECTIONS ........................17 ..........................17...
Page 4
ORD ZONE ONFIGURATION 12.5 ......................50 ORD ZONE ROGRAMMER 12.6 RS-485 C .......................61 ONFIGURATION WITCH CONFIGURATION SOFTWARE FOR PLATINUM CONTROLLERS ..........61 13.1 RS 485 ............62 SE OF INSTRUMENTS WITH THE COMMUNICATIONS OPTION 13.2 ..........................63 O LOAD THE SOFTWARE 13.3 ....................64 O ENTER THE CONFIGURATION SOFTWARE 13.4...
Page 5
13.16.2 Parameters of the Data Base (X5000 controller only) ..............97 13.16.3 How to save the configuration (X5000 controller only) ..............103 13.16.4 How to send the configuration of the Profibus parameters (X5000 controller only).......103 13.16.5 How to receive the configuration of the Profibus parameters (X5000 controller only) .......104 RECOMMENDED RS-232 TO RS-485 CONVERTER ................106 14.1 A # 223A001401 RS-232...
1. MODBUS Protocol The Modbus protocol defines the format and method of communications between a “master” which controls the system and one or more “slaves” which respond to commands sent by the master. The Modbus defines how the transmitter and reciever are identified, how messages are exchanged and how errors are detected.
2.1 Characters Format The above mentioned packets referred to the transmitted character from the PC or Supervisor.In this case this character cannot be modified because they are set by Athena Controls. The default value is 8 , N, 1. It means 8 data bits without parity check and with 1 stop bit.
Page 8
In reality, as the device that converts the data to be sent into serial form (UART) sends the least significant bit (LSB) first instead of the MSB as it should do for the CRC calculation, the CRC is carried out by inverting the polynomial.
2.4.2 Visual Basic Calculate CRC16 example Function CRC16(String As String) As String Dim N As Integer, i As Integer, NByte As Integer Dim CRC As Long, a As Byte Dim Buffer As String NByte = Len(String) CRC = 65535 For i = 1 To NByte a = Asc(Mid$(String, i, 1)) 'C(I) CRC = (CRC Xor a) And &HFFFF For N = 0 To 7...
Example: Request for slave 17 to read bits 0004 to 0015. DATA DATA DATA DATA ADDR FUNC start start bit # bit # Addr HI Addr LO Answer In addition to the address of the slave and the function code (01), the message comprises a character containing the number of data bytes and the characters containing data.
3.5 Force Single Coil (05) This function is used for forcing the status of a single binary variable ON or OFF. Broadcast mode is allowed. Question In addition to the address of the slave and the function code (05), the message contains the address of the variable to be forced in two bytes and two characters of which the first is set to FFh (255) to force it ON and 00h to force it OFF, while the second is always set to zero.
3.7 Read Status (07) This function is used for reading the status of eight predetermined bits with a compacted message. Broadcast mode is not allowed. Question The message consists only of the slave address and the function code (07). Example: Request of the status of slave 25. ADDR FUNC Answer...
3.9 Preset Multiple Registers (16) This function is used for setting the value of a consecutive block of 16-bit registers. Broadcast mode is allowed. Question. In addition to the address of the slave and the function code (16), the message contains the starting address, the number of words to be written, the number of bytes that contain data and the data characters.
The function cannot be performed under the current operating conditions or an attempt has ACKNOWLEDGMENT been made to write in a read-only address. 5. MODBUS ON ATHENA CONTROLS PLATINUM® INSTRUMENTS 5.1 Serial communications parameters The parameters are shown in the below table: Parameter...
requested function. To evaluate the lapse in time for different functions reference can be made to the following expressions: ≅ Request: where: = Elapsed time. = Time of a character. = Variable time from 0 to 10mS which is dependent on the internal processes.
Normally the datum that has a frequency of better writing it is the value of Setpoint. In the instruments C10, M10 and M300 in as not furnished of NOVRAM or buffered RAM, exists two formality of assignment of the...
6.2 Communication Cable Laying Recommendations In order to minimise interference caused by the external environment to serial communication, and thus obtain maximum efficiency between the supervisor and the instruments, a few essential technical precautions must be taken. The most important and easiest to implement of all is to separate the power or power supply lines from the communication lines and lay them as far as possible from remote-controlled switches, electromagnets, powerful motors, etc.
7.2 Read Status Function 07 (Read Status) returns an eight bit status with the following meanings: Address Variable 1 (LSB) Main output condition (0 = OFF, 1 = ON) AL2 alarm status (0 = OFF, 1 = ON) AL3 alarm status (0 = OFF, 1 = ON) Out of range (0 = Normal operation, 1 = Safety) 8 (MSB) Auto-Tune (0 = OFF, 1 = Run)
7.4 Word Zone - Page 2 Configuration Address Modbus JbuS Variable Parameter Type Code Configuration code ConF AL3 alarm configuration code Con.2 Engineering units unit Decimal point Sc.d.d Low range for engineering units Sc.Lo High range for engineering units Sc.Hi Communications protocol Prot Baud rate...
4 .. 20 mA 7.5 Termination and Polarisation The Platinum ® C10 and M10 instruments do not have any line termination or polarisation system. If necessary a termination resistance (120Ω ¼ W) must be connected to the terminals of the last instrument of the line.
Outputs lock (0 = locked, 1 = unlocked) 8.2 Read Status Function 07 (Read Status) returns an eight bit status with the following meanings: Address Variable 1 (LSB) Timer function status (0 = OFF, 1 = Run) Main output condition (0 = OFF, 1 = ON) Alarm condition AL2 (0 = OFF, 1 = ON) Alarm condition AL3 (0 = OFF, 1 = ON) Out of range (0 = Normal operation, 1 = Safety)
Setpoint low limit S.P. L Setpoint high limit S.P. H Error dead band d.Err Main output high limit OP. H Output safety value Sa.OP Setpoint ramp up Sl. u Setpoint ramp down Sl. d Input filter t.FiL Input shift In.Sh Auto-Tune enable tune Serial comm.s address...
Page 25
Notes: 1. Assignment of Setpoint to the addresses JbuS 2 and 4 writes the Computer Setpoint. It is different from the Local Setpoint, which can be in any case set by keypad. 2. Assignment of output at the address JbuS 3 is only possible if the Auto/Man option if fitted and when the controller is in Manual mode.
8.5 Termination and Polarisation The Platinum ® M300 instruments do not have any line termination or polarisation system. If necessary a termination resistance (120Ω ¼ W) must be connected to the terminals of the last instrument of the line.
9. M400 Controller 9.1 Bit zone Address Modbus JbuS Variable Type Timer function status (0 = OFF, 1 = Run) Auto/Man (0 = Auto, 1 = Man) Control output status (0 = OFF, 1 = ON) AL2 alarm status ( 0 = OFF, 1 = ON ) AL3 alarm status ( 0 = OFF, 1 = ON ) Out of range (0 = Normal operation, 1 = Safety) Auto Tuning ( 0=OFF 1=Run )
AL2 alarm threshold A2S.P AL3 alarm threshold A3S.P AL2 alarm Hysteresis A2hy AL3 alarm Hysteresis A2hy Relative Cold Gain r.C.Ga Cool output Hysteresis (On-OFF only) Hy. C Heat/Cool dead band d.bnd Cool output cycling time t.c. C Cool output maximum value OP.HC Motor travel time MU.tM...
Page 29
Communications protocol Prot Baud rate baud Retransmission range retr Retransmission signal selection Current transformer range Ht.F.S Password Code RTX low range calibration value (Reserved) CAL.3 RTX high range calibration value (Reserved) CAL.4 Timer operating mode t.Mod Timer action t.Act Digital input function IL.Fn Factory code R(W)
Page 30
9. To select the protocol type, the value between 0 and 1 must be assigned as per the below table: Protocol type Serial value Modbus JbuS 10. To select the serial comm.s baud rate, the value between 0 and 3 must be assigned as per the below table: Baud Rate Serial value...
Timer launch 9.5 Termination and Polarization The Platinum ® M400 instruments do not have any line termination or polarization system. If necessary a termination resistance (120Ω ¼ W) must be connected to the terminals of the last instrument of the line.
Hold PV ( 0=Disabled 1=Enabled ) OP1 forced status by serial comm.s ( 0 = OFF 1 = On ) OP2 forced status by serial comm.s ( 0 = OFF 1 = On ) OP3 forced status by serial comm.s ( 0 = OFF 1 = On ) OP4 (logic) forced status by serial comm.s ( 0 = OFF 1 = On ) 10.2 Read Status Function 07 (Read Status) returns an eight bit status with the following...
Page 35
Segment 1 – Time ti.1 Segment 1 – Setpoint 5P.1 Segment 1 digital output d0.1 Segment 2 – Time ti.2 Segment 2 – Setpoint 5P.2 Segment 2 digital output d0.2 Segment 3 – Time ti.3 Segment 3 – Setpoint 5P.3 Segment 3 digital output d0.3...
Page 36
3. The above parameters can only be read when the Adaptive Tuning is launched. The Td derivative time is not shown but it can be simply calculated as the ¼ of the Ti integral time (Td = Ti/4). 4. To select the Input type, the value between 0 and 15 must be assigned as per the below table: Input Type Serial Value...
Page 37
7. To select the Output type, the value between 0 and 10 must be assigned as per the below table: Output Type Serial Value Not active Relay Logic 0 .. 5 V 1 .. 5 V 0 .. 10 V 0 ..
Page 38
13. To select the Alarm Function, the value between 0 and 7 must be assigned as per the below table: Alarm Function Serial Value Disabled Absolute active high Absolute active low Deviation active high Deviation active low Band active out Heater break Loop break alarm N.B.
18. The JbuS 122 + 123 and 124 + 125 addresses contain the strings (of 4 characters) for the product and release codes: each address represents two characters, the most significant byte in the word contains the ASCII code of the second. 19.
Keypad lock (0 = locked, 1 = unlocked) Outputs lock (0 = locked, 1 = unlocked) IL1 Digital input status (0 = OFF, 1 = ON) IL2 Digital input status (0 = OFF, 1 = ON) IL3 Digital input status (0 = OFF, 1 = ON) 11.2 Read Status Function 07 Read Status returns an eight bit status with the following meaning:...
Minimum output step MU.Hy Timer setting tiMe Stand-by Setpoint S.P.Sb Soft-satrt output value St.OP Soft-start activation time St.tM Manual reset M.reS Setpoint low limit S.P. L Setpoint high limit S.P. H Error dead band d.Err 11.4 Word Zone - Page 2 Parameters Address Modbus JbuS...
11.5 Word Zone - Page 3 Program Address Modbus JbuS Variable Parameter Type code Program status Stat Restart after a power OFF FaiL Time units Unit Number of segments n.Seg Number of program cycles Cyc. Allowed deviation band Segment “0” time ti.
Page 43
CT primary high range Ht.F.S Password Code Retransm. calibration low range (for Athena CAL.3 Controls only) Retransm. calibration high range (for Athena CAL.4 Controls only) Timer setting t.Mod Timer action t.Act IL1 digital input function IL2 digital input function IL3 digital input function Address Modbus JbuS...
Page 44
9. To select the re-start status of the program after a power failure, the value between 0 and 2 must be assigned as per the below table: Re-start status of the Serial value program Continue Reset Ramp 10. To select the program time unit, the value between 0 and 2 must be assigned as per the below table: Program time unit Serial value...
Page 45
14. To select the serial comm.s baud rate, the value between 0 and 3 must be assigned as per the below table: Baud Rate Serial value 1200 2400 4800 9600 15. To select the OP5 retransm. output range, the value between 0 and 1 must be assigned as per the below table: Variable Serial value...
19. To select the digital input functions, a value between 0 and 9 must be assigned as per the below table: Digital input function Serial value Not used Keypad lock Measure hold Manual mode Remote mode stored Setpoint stored Setpoint Local Setpoint Run Timer Run/stop of a program...
12.3 Word zone - Page 1 Parameters Address Modbus JbuS Variable Parameter Type Code PV process variable SP Setpoint MV Main control output R(/W) SPL local Setpoint SPL local Setpoint Proportional band (Hysteresis ON - OFF) P.b. (hy.) Overshoot control O.C.
Control output forcing value F.Out Sampling time t.San Manual Reset M.reS Configuration Password C.PASS Internal servomotor position Dead band d.bnd Password Level access A.PASS Adaptive Proportional band P.b. Adaptive Integral time t.i. stored Setpoint S.P. 1 stored Setpoint S.P. 2 stored Setpoint S.P.
Page 57
RTD 2 Delta T 0 .. 50 mV 0 .. 300 mV 0 .. 5 V 1 .. 5 V 0 .. 10 V 0 .. 20 mA 4 .. 20 mA 2 KHz Frequency 20 KHz Frequency 8. To select the engineering unit, the value between 0 and 10 must be assigned as per the below table: Engineering unit Serial value...
Page 58
11. To select the Secondary output (Cool), the value between 0 and 11 must be assigned as per the below table: Secondary output Serial value (Cool) none Relay / Triac Logic 0 .. 5 V 1 .. 5 V 0 .. 10 V 0 ..
Page 59
16. To select the Access level, the value between 0 and 2 must be assigned as per the below table: Access level Serial value Full Operator Edit 17. The JbuS 122 + 123 and 124 + 125 addresses contain the strings (of 4 characters) for the product and release codes: each address represents two characters, the most significant byte in the word contains the ASCII code of the second.
Page 60
21. To select the slopes time unit, the value between 0 and 2 must be assigned as per the below table: Slopes time unit Serial value Second Minute Hour 22. To select the 2 retransmitted output selection, the value between 0 and 2 must be assigned as per the below table: retransmitted Serial value...
11 – black on the instrument. The computer and the instrument should be turned off during this procedure. For instruments C10, M10, M300 and M400, terminals 10 and 11 are also the SSR drive voltage output. To avoid a communication error, open circuit the sensor input terminals, to prevent the SSR drive output from turning on.
RS 232C to RS 485 (2 wires) converter and a standard RS 232C cable. To use instruments C10, M10, M300 and M400 with the RS 485 communications option using an RS 232C to RS 485 converter, connect a standard RS 232C cable between a spare port on the computer and the RS 232C port of the converter.
Controller Instrument 9-Way port 25-Way terminal N° Pin N° port Pin N° M5000 M5000 M5000 X100 X100 X100 X400 X400 X400 X5000 X5000 X5000 Turn on the power to the computer and the instrument (and the RS 232C to RS 485 converter if used). 13.2 To load the software Insert the CD-ROM.
13.3 To enter the configuration software After loading the software, enter the program by clicking: ‘Start’; ‘Programs’; ‘Athena Controls DIN Controllers’ and then clicking on the required instrument, e.g. ‘M300’.
13.4 Configuration software settings Click on ‘Comms’ and ‘Port’ and ensure that the port number corresponds to the one being used on the computer. Click on the correct port number if there is a check mark by the wrong setting. Click on ‘Comms’...
13.5 To store the screen settings into the instrument Click on the tab ‘Download Cnf’. Click on the floppy disk ‘icon’ under the heading ‘Parameters and Configuration’ to store the screen settings into the instrument. 13.6 To load a custom sensor configuration Click on the tab ‘Download Cnf’.
Page 67
The following custom sensor file options are available: File name Sensor Type Range Instrument b.cst ∆T (2 x RTD Pt100) -50 .. +50 °C no M5000,X5000,X7000 d.cst Thermocouple type B 0 .. 1800 °C e.cst Thermocouple type N 0 .. 1300 °C f.cst RTD Pt100 0.0 ..
*.c10 (for C10 or M10 controllers), *.M5000 (for M5000 controllers), etc. Over-type the * with the filename required, leaving the .m300, .c10, etc. as the file extension, as in normal Windows practice. Click ‘OK’. In any case the program sets automatically the suffix of the...
Simultaneously when saving the binary format of the configuration, the program writes, with the same path, a text file which includes the configuration parmeters. 13.9 To recall a previously stored file To recall a previously stored file, click on ‘File’ and then ‘Open’, or click on the open ‘icon’...
13.10 Printing of the configuration To print the present configuration of the instrument: select “file” from the main window, select “Print Conf” from the menu The following will be printed: all the configuration tab sheets; all the parameter tab sheets; the Access page. The printing will be equal to the “print screen”.
Functions of the buttons: Close return to the configuration software main window Zoom out Visualization from the start of the data acquisition till the present time. The time scale is changed automatically Reset the data acquisition starts again. The old data are lost. Stop the data acquisition is stopped.
Page 72
and the commands to select the program state appear in the “Programmed Setpoint” card: From the “Programmed setpoint” menu select New/Modify New Setpoint programs can be created and saved in this window or already existing programs loaded from the Menu File, for any modifications.
Page 73
To create a new program: select one of the items of the “Recover action after blackout” parameter select an item of the “time unit” parameter select the number of segments which make up the program (minimum 1, maximum 14) select the number of program cycles (from 0 to 9999, where 0 indicates infinite cycles) and enter the dead band value.
Page 74
Enter program to the instrument On selecting Enter on the Programmed setpoint menu the Setpoint program can be sent to instrument M5000. The window will display: On selecting the Enter button the following window displays: Once the enter phase has finished the window is displayed...
Page 75
Receiving program at the instrument On selecting Receive from the Programmed setpoint menu the Setpoint program can be received from instrument M5000. The window dislays: When the reception has finished the window is displayed and then : where a name can be assigned to the file which will contain the program just received.
Page 76
Programmed setpoint card The Programmed setpoint card contains the commands to run, pause or stop the program. Select the corresponding command and press “Enter” to run it.
13.12.2 X400 Controller New program configure the serial communication parameters. check that there is the “Programmed setpoint” option: To check the active options: select the “Accesses” card press “Check options”: if “Program Enabled” is present. select the “Receive” card and detect the configuration In the Configuration –...
Page 78
When the selection has been made the Programmed Setpoint menu is enabled. From the “Programmed setpoint” menu select New/Modify. New Setpoint programs can be created and saved in this window or already existing programs loaded from the Menu File, for any modifications.
Page 79
To display the window of the setpoint profile of the data entered in the New/Modify page program: Press “Print” to print the window. Enter program to the instrument On selecting Enter on the Programmed setpoint menu the Setpoint program can be sent to instrument X400. The window will display:...
Page 80
On selecting the Enter button the following window displays: Once the enter phase has finished the window is displayed Receiving program at the instrument On selecting Receive from the Programmed setpoint menu the Setpoint program can be received from instrument X400. The window dislays: When the reception has finished the window is displayed...
Page 81
and then: where a name can be assigned to the file which will contain the program just received. Programmed setpoint card The Programmed setpoint card contains the commands to run, pause or stop the program. Select the corresponding command and press “Enter” to run it.
13.12.3 X5000 Controller New program configure the serial communication parameters. select the “Receive configuration” card: if the instrument has the program option, in the Configuration – Config. Setpoint card the Type of Programmed Setpoint can also be selected select the “Programmed setpoint” card”: The Programmed Setpoint menu is displayed:...
Page 83
and the commands to select the program state appear in the “Programmed Setpoint” card: From the “Programmed setpoint” menu select New/Modify New Setpoint programs can be created and saved in this window or already existing programs loaded from the Menu File, for any modifications.
Page 84
The decimals number, as already set in the Configuration – Config. Configurator input, is also displayed. To limit the Setpoint to the full programmed setpoint range select “SP limit full range” from the Programmed setpoint menu.For each segment set: time Setpoint value OP3 and OP4 output state.
Page 85
Enter program to the instrument On selecting Enter on the Programmed setpoint menu the Setpoint program can be sent to instrument X5000. The window will display: On selecting the Enter button the following window displays: Once the enter phase has finished the window is displayed...
Page 86
Receiving program at the instrument On selecting Receive from the Programmed setpoint menu the Setpoint program can be received from instrument X5000. The window dislays: When the reception has finished the window is displayed and then: where a name can be assigned to the file which will contain the program just received.
Page 87
Programmed setpoint card The Programmed setpoint card contains the commands to run, pause or stop the program. Select the corresponding command and press “Enter” to run it.
13.13 Configuration of the Master communications (only X5000) Select the menu "Math/ Master". Is visualized the window "Master Communications and Math Editor". Select the card "Master Communications". Select in the list "Slave Address" under "Write To" the address of the device on which you want to transfer the parameter.
Page 89
N.B. The admitted addresses are between 1 and 247; 256 is the address of the device master; 0 is the BROADCAST address for transfer the parameter to all the connected devices! Select in the list "Datum Address" under "Write To" the address where you want to transfer the parameter.
At the end press the button "OK" to confirm the modifications or press the button "CANCEL" to cancel it. To eliminate a connection previously introduced, select it with a click of the mouse in the same way for the modification and press the button "Delete".
Page 91
Select in the list "Operand A" the address of the parameter that wants to be used like first operand: the admitted addresses are between 1 and 256 (modbus) or between 0 and 255 (jbus); besides are visualize the variabled (VAR_1..VAR_16) constants configured (CONST_1..CONST_16).
Modify the values as in demand, acting in the same way for the insertion of a new operation. At the end press the button "OK" to confirm the modifications or press the button "CANCEL" to cancel it. To eliminate an operation previously introduced, select it with a click of the mouse like for the modification and press the button "Delete".
Select one of the 16 constants (CONST_1_CONST_16) to define in the list and insert his value in the underlying window (N.B. in the case of real values pay attention to the symbol shaped in Windows like decimal separator: point for the Italian versions, comma for the others!) Press the button "OK"...
13.15.2 To eliminate a constant To eliminate a constant previously introduced, select it with a click of the mouse like for the modification and press the button "Delete". At the end of the configuration of the mathematical constants, press the button "Close"...
It comes as visualized the principal window of the program. From the menu File select: the New voice for create a new configuration, the Open voice for open a created configuration previously (see figure 2). Figure 2 If the Open voice is selected appears the following window (figure 3) Figure 3 Select the desired line and press the button Open 13.16.1 How to insert the parameters in the configuration...
Page 96
Figure 4 To eliminate a parameter inserted select the parameter and press the Delete button (see figure 5): Figure 5 For eliminate all the inserted parameters press the Clear button (figure 6): Figure 6 Confirm pressing the OK button or annul the operation pressing the Cancel button.
13.16.2 Parameters of the Data Base (X5000 controller only) In succession have brought the available parameters divided for groups. Home parameters (figure 7): Figure 7 Parameters Setpoint (figure 8): Figure 8...
Page 101
It is also possible visualize the map of the selected parameters. From the menu file select the Display I/O Map voice (figure 15) Figure 15 It will come visualized the following window (figure 16): Figure 16...
Page 102
It is possible print the map of the selected parameters pressing the Print button or selecting the Print I/o Map voice from the menu File (figure 17): Figure 17 Selecting the option Async R/ W are enabled the asyncronous services of the Profibus (figure 18): Figure 18...
13.16.3 How to save the configuration (X5000 controller only) From the menu File select the Save voice or Save As (figure 19): Figure 19 Insert the name of the line and press the button Save. 13.16.4 How to send the configuration of the Profibus parameters (X5000 controller only) To send the configuration of the Profibus parameters it is sufficient select...
It will come visualized the following window (figure 21): Figure 21 Select the file of the configuration to send and press the button Open. The configuration will come as sent to the tool. 13.16.5 How to receive the configuration of the Profibus parameters (X5000 controller only) To receive the configuration of the Profibus parameters from the tool X5 it...
Page 105
Insert the name of the desired file and press the button Save. The file is now available to have visualized and modified through the software of configuration of the Profibus...
14. Recommended RS-232 to RS-485 Converter 14.1 Athena Part# 223A001401 RS-232 to RS-485 Optically Isolated Communications Converter This product is used to convert unbalanced, full-duplex RS-232 signals to half-duplex (2- wire) RS-485 signals. It also provides optical isolation of data lines and ground between the RS-232 and RS-485 equipment.
14.2 General Information The converter may be plugged directly into the 9-pin serial port of a PC or connected via a standard 9-pin to 9-pin PC serial cable. The echo jumper must be in the “off” position and will configure the converter for RS- 485 two-wire (only) mode.
Need help?
Do you have a question about the C10 and is the answer not in the manual?
Questions and answers