COMMUNICATION MANUAL Universal Digital Controller C10 M10 – M300 – M400 – M5000 X100 – X400 – X5000 – X7000 ATHENA CONTROLS, INC. 5145,
10 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 Di
100 Comm Parameters (figure 13): Figure 13 Tune Parameters (figure 14): Figure 14
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
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 (figur
103 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 In
104 It will come visualized the following window (figure 21): Figure 21 Select the file of the configuration to send and press the button Open.
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
106 14. Recommended RS-232 to RS-485 Converter 14.1 Athena Part# 223A001401 RS-232 to RS-485 Optically Isolated Communications Converter This p
107 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
11 Example: Request for slave 17 to read bits 0004 to 0015. ADDR FUNC DATA start Addr HI DATA start Addr LO DATA bit # HI DATA bit # LO CRC HI CR
12 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. Quest
13 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 a
14 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 al
15 Example: Error code in response to the request indicated above. ADDR FUNC DATA Except. Code CRC HI CRC LO 0A 81 02 B0 53 4.1 Error Code
16 requested function. To evaluate the lapse in time for different functions reference can be made to the following expressions: Request: T3TTLcs≅+
17 5.6 Assignment of the parameters and E2PROM All the parameters modified from keyboard or assigned through serial communication, come written in
18 6.2 Communication Cable Laying Recommendations In order to minimise interference caused by the external environment to serial communication, an
19 Rt Rt Co mmon Rg G/R Rg G/R Rg G/R Rg G/R Supervisor Device 1 Device 2 Device "n" G = Transmitter R = Receiver G/R = Bi-directiona
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
20 7.2 Read Status Function 07 (Read Status) returns an eight bit status with the following meanings: Bit Address Variable 1 (LSB) 1 - 2 2 - 3
21 7.4 Word Zone - Page 2 Configuration Address Modbus JbuS Variable Parameter Code Type 100 101 - - - 101 102 Configuration code ConF R/W 4
22 none 2 nU 3 U 4 nA 5 A 6 bar 7 PSI 8 rh 9 Ph 10 8. To select the protocol type, the value between 0 and 1 must be assigned as per the below ta
23 11 12 Outputs lock (0 = locked, 1 = unlocked) R/W 12 13 - - 13 14 - - 14 15 - - 15 16 - - 8.2 Read Status Function 07 (Read Status) retu
24 29 30 Setpoint low limit S.P. L R/W 30 31 Setpoint high limit S.P. H R/W 31 32 Error dead band d.Err R/W 32 33 Main output high limit OP.
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
26 11. To select the retransm. output range, the value between 0 and 1 must be assigned as per the below table: Variable Serial value 0 .. 20 mA
27 9. M400 Controller 9.1 Bit zone Address Modbus JbuS Variable Type 0 1 Timer function status (0 = OFF, 1 = Run) 1 R/W 1 2 Auto/Man (0 = Au
28 12 13 AL2 alarm threshold A2S.P R/W 13 14 AL3 alarm threshold A3S.P R/W 14 15 AL2 alarm Hysteresis A2hy R/W 15 16 AL3 alarm Hysteresis A2
29 107 108 Communications protocol Prot R/W 9 108 109 Baud rate baud R/W 10 109 110 Retransmission range retr R/W 11 110 111 Retransmission signal
3 C O N T E N T S 1. MODBUS PROTOCOL...
30 A 6 bar 7 PSI 8 rh 9 Ph 10 9. To select the protocol type, the value between 0 and 1 must be assigned as per the below table: Protocol type S
31 14. To select the Timer action, a value between 0 and 7 must be assigned as per the below table: Timer action Serial value Launch OP3 status Ti
32 22 23 Hold PV ( 0=Disabled 1=Enabled ) R/W 23 24 OP1 forced status by serial comm.s ( 0 = OFF 1 = On ) R/W 19 24 25 OP2 forced status by
33 30 31 Setpoint high limit SPL.H. R/W 31 32 Main output low limit OP.l R/W 32 33 Main output high limit OP.H R/W 33 34 Cool output maximum
34 111 112 Retransmission low range rt.lo R/W 112 113 Retransmission high range rt.Hi R/W 113 114 Auto/Man enable E.AMn R/W 114 115 Remote inp
35 157 158 Segment 1 – Time ti.1 R/W 158 159 Segment 1 – Setpoint 5P.1 R/W 159 160 Segment 1 20 digital output d0.1 R/W 160 161 Segment 2 – Ti
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 calculat
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 0 Relay
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 0 Abs
39 18. The JbuS 122 + 123 and 124 + 125 addresses contain the strings (of 4 characters) for the product and release codes: each address represents t
4 9. M400 CONTROLLER ...
40 10 11 Keypad lock (0 = locked, 1 = unlocked) R/W 11 12 Outputs lock (0 = locked, 1 = unlocked) R/W 12 13 IL1 Digital input status (0 = OF
41 23 24 Minimum output step MU.Hy R/W 24 25 Timer setting tiMe R/W 25 26 Stand-by Setpoint S.P.Sb R/W 26 27 Soft-satrt output value St.OP R/W 2
42 11.5 Word Zone - Page 3 Program Address Modbus JbuS Variable Parameter code Type 64 65 Program status Stat R/W 8 65 66 Restart after a pow
43 111 112 CT primary high range Ht.F.S R/W 112 113 Password Code R/W 113 114 Retransm. calibration low range (for Athena Controls only) CAL.3 R
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-s
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 0 24
46 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
47 12. X5000 CONTROLLER 12.1 Bit zone Address Modbus JbuS Variable Type 0 1 Remote status (0=LOC, 1=REM) R/W 1 2 Auto / Manual ( 0 = Auto,
48 12.3 Word zone - Page 1 Parameters Address Modbus JbuS Variable Parameter Code Type 0 1 PV process variable - R 1 2 SP Setpoint - R 2
49 48 49 Control output forcing value F.Out R/W 49 50 Sampling time t.San R/W 50 51 Manual Reset M.reS R/W 51 52 Configuration Password C.PASS
5 13.16.2 Parameters of the Data Base (X5000 controller only) ...97 13.16.3 How to
50 116 117 Store Setpoint Tracking S.P.tr R/W 117 118 Level access Ac.Le R/W 16 118 119 OP5 Cool output ( 0 = No, 1 = Yes ) C.O.P.S R/W 119 120
51 189 190 Prog. 1 segment 1 - Time ti. 1 R/W 190 191 Prog. 1 segment 1 - Setpoint S.P. 1 R/W 191 192 Prog. 1 segment 1 - OP3 digital output
52 240 241 Prog. 1 segment 13 - OP4 digital output OP. 4 R/W 26 241 242 Prog. 1 segment 14 - Time ti.14 R/W 242 243 Prog. 1 segment 14 - Setp
53 291 292 Prog. 2 segment 9 - OP3 digital output OP. 3 R/W 26 292 293 Prog. 2 segment 9 - OP4 digital output OP. 4 R/W 26 293 294 Prog. 2 seg
54 342 343 Prog. 3 segment 5 - Setpoint S.P. 5 R/W 343 344 Prog. 3 segment 5 - OP3 digital output OP. 3 R/W 26 344 345 Prog. 3 segment 5 - OP4
55 393 394 Prog. 4 segment 1 - Time ti. 1 R/W 394 395 Prog. 4 segment 1 - Setpoint S.P. 1 R/W 395 396 Prog. 4 segment 1 - OP3 digital output
56 444 445 Prog. 3 segment 13 - OP4 digital output OP. 4 R/W 26 445 446 Prog. 3 segment 14 - Time ti.14 R/W 446 447 Prog. 3 segment 14 - Setp
57 RTD 2 14 Delta T 15 0 .. 50 mV 16 0 .. 300 mV 17 0 .. 5 V 18 1 .. 5 V 19 0 .. 10 V 20 0 .. 20 mA 21 4 .. 20 mA 22 2 KHz Frequency 23 2
58 11. To select the Secondary output (Cool), the value between 0 and 11 must be assigned as per the below table: Secondary output (Cool) Serial va
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 0 Operator
6 1. MODBUS Protocol The Modbus protocol defines the format and method of communications between a “master” which controls the system and one or mo
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 0 M
61 12.6 RS-485 Configuration Dip Switch On the RS485 board a 4 position dip Switch is provided. It enables the correct hardware configuration of th
62 13.1 Use of instruments with the RS 485 communications option For instruments C10, M10, M300 and M400 with the RS 485 communications option, th
63 Controller Instrument terminal N°9-Way port Pin N° 25-Way port Pin N°M5000 7 2 3 M5000 8 3 2 M5000 9 5 7 X100 1 2 3 X100 2 3 2 X100
64 13.3 To enter the configuration software After loading the software, enter the program by clicking: ‘Start’; ‘Programs’; ‘Athena Controls DIN
65 13.4 Configuration software settings Click on ‘Comms’ and ‘Port’ and ensure that the port number corresponds to the one being used on the compu
66 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 ‘Para
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 M50
68 13.7 To clone several instruments To clone several instruments from one that has been programmed with required values, connect this instrument
69 Simultaneously when saving the binary format of the configuration, the program writes, with the same path, a text file which includes the confi
7 2.1 Characters Format The above mentioned packets referred to the transmitted character from the PC or Supervisor.In this case this character c
70 13.10 Printing of the configuration To print the present configuration of the instrument: select “file” from the main window, select “Print Con
71 Functions of the buttons: - Close return to the configuration software main window - Zoom out Visualization from the start of the data acq
72 and the commands to select the program state appear in the “Programmed Setpoint” card: From the “Programmed setpoint” menu select New/Modify
73 To create a new program: 1. select one of the items of the “Recover action after blackout” parameter 2. select an item of the “time unit” para
74 Enter program to the instrument On selecting Enter on the Programmed setpoint menu the Setpoint program can be sent to instrument M5000. The win
75 Receiving program at the instrument On selecting Receive from the Programmed setpoint menu the Setpoint program can be received from instrument
76 Programmed setpoint card The Programmed setpoint card contains the commands to run, pause or stop the program. Select the corresponding co
77 13.12.2 X400 Controller New program 1. configure the serial communication parameters. 2. check that there is the “Programmed setpoint” optio
78 When the selection has been made the Programmed Setpoint menu is enabled. From the “Programmed setpoint” menu select New/Modify. New Setpoin
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 pr
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
80 On selecting the Enter button the following window displays: Once the enter phase has finished the window is displayed Receiving program at
81 and then: where a name can be assigned to the file which will contain the program just received. Programmed setpoint card The Programmed set
82 13.12.3 X5000 Controller New program 1. configure the serial communication parameters. 2. select the “Receive configuration” card: if the ins
83 and the commands to select the program state appear in the “Programmed Setpoint” card: From the “Programmed setpoint” menu select New/Modify
84 The decimals number, as already set in the Configuration – Config. Configurator input, is also displayed. To limit the Setpoint to the full prog
85 Enter program to the instrument On selecting Enter on the Programmed setpoint menu the Setpoint program can be sent to instrument X5000. The win
86 Receiving program at the instrument On selecting Receive from the Programmed setpoint menu the Setpoint program can be received from instrument
87 Programmed setpoint card The Programmed setpoint card contains the commands to run, pause or stop the program. Select the corresponding comma
88 13.13 Configuration of the Master communications (only X5000) Select the menu "Math/ Master". Is visualized the window "Master C
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
9 2.4.1 CRC 16 Flow Chart n = 0Shift to right CRC 16NOYESn = n + 1YESNON > 7Next ByteNOYESENDHex FFFFCRC 16CRC 16 XOR byteCRC 16CRC 16 XOR
90 At the end press the button "OK" to confirm the modifications or press the button "CANCEL" to cancel it. To eliminate a conn
91 Select in the list "Operand A" the address of the parameter that wants to be used like first operand: the admitted addresses are betwee
92 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 confi
93 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 v
94 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 an
95 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 voi
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
97 13.16.2 Parameters of the Data Base (X5000 controller only) In succession have brought the available parameters divided for groups. Home parame
98 Parameters Alarm (figure 9): Figure 9 PID Parameters (figure 10): Figure 10
99 Input Parameters (figure 11): Figure 11 Output Parameters (figure 12): Figure 12
Commentaires sur ces manuels