background image

EZT-430i Communications Manual

                                           

 
 

Serial 

Communication 

                   

 

 

 

 

 

 CSZ 

EZT-430i 

REV 

4.4 

4.2 Protocol 

Protocol describes how to initiate an exchange.  It also prevents two machines from attempting to send data 
at the same time.  There are a number of different data communications protocols, just as there are different 
human cultural protocols that vary according to the situation. 
 
The protocol portion of EZT-430i communications is very important, because it provides a quality of 
communication that others often don’t have.  Protocol-driven communications are more accurate because 
they are less prone to both operator and noise errors.  Protocol maintains system integrity by requiring a 
response to each message.  It’s like registered mail — you know that your letter has been received because 
the post office sends you a signed receipt. 
 
In EZT-430i data communications, a dialog will continue successfully as long as the messages are in the 
correct form and responses are returned to the protocol leader.  If the operator enters an incorrect message, 
or interference comes on to the data line, there will be no response.  In that case the master must retransmit 
the message or go to a recovery procedure.  If an operator continues to enter an incorrect message or 
interference continues on the data line, the system will halt until the problem is resolved.  EZT-430i uses 
Modbus RTU as the protocol of choice.  Modbus RTU enables a PC to read and write directly to registers 
containing the EZT-430i parameters.  With it, you can read all of the controller’s parameters with just a single 
read command. 
 

Modbus Remote Terminal Unit (RTU) 

Gould Modicon, now called AEG Schneider, created this protocol for process control systems called 
"Modbus".  It has the advantage over other protocols of being extremely reliable in exchanging information.  
This protocol works on the principle of packet exchanges.  The packet contains the address of the controller 
to receive the information, a command field that says what is to be done with the information and several 
fields of data.  The last item sent in the packet is a field to ensure the data is received intact.  This is called a 
cyclic redundancy check-sum.  See the following example for information on how to generate this value.  All 
information is exchanged in hex numbers.  EZT-430i only supports the binary version of Modbus, referenced 
as RTU.  The ASCII version is less efficient and is not supported.  Therefore, you must be certain to format all 
data in hexadecimal. 
 
The CRC (Cyclical Redundancy Checksum) is caulated by the following steps: 
 
1.  Load a 16-bit register (called CRC register) with 0xFFFF 
 
2.  Exclusive OR the first 8-bit byte of the command message with the low order byte of the 16-bit CRC 

register, putting the result in the CRC register. 

 
3.  Shift the CRC register one bit to the right with MSB zero filling.  Extract and examine the LSB. 
 
4.  If the LSB of the CRC register is zero, repeat step 3, else Exclusive OR the CRC register with the 

polynomial value 0xA001. 

 
5.  Repeat steps 3 and 4 until eight shifts have been performed.  When this is done, a complete 8-bit byte will 

have been processed. 

 
6.  Repeat steps 2 through 5 for the next 8-bit byte of the command message.  Continue doing this until all 

bytes of the command message have been processed.  The final contents of the CRC register is the CRC 
value. 

 

When transmitting the CRC value in the message, the upper and lower bytes of the CRC value must 
be swapped, i.e. the lower order byte will be transmitted first.

 

Содержание EZT-430i

Страница 1: ...Table of Contents CSZ EZT 430i REVC i EZT 430i Single Dual Loop Controller User Communications Reference Manual ...

Страница 2: ...or WARNING safety statement Technical Assistance If you encounter a problem with your EZT 430i controller review all of your configuration information to verify that your selections are consistent with your application inputs outputs alarms limits etc If the problem persists after checking the above you can get technical assistance by dialing 1 513 772 8810 or by faxing your request to 1 513 772 9...

Страница 3: ...0 4 3 3 Transmitting and Receiving Messages 4 11 5 EZT 430i Data Registers standard serial interface 5 1 5 1 Control Registers 5 2 5 2 Automatic Program Registers 5 7 5 2 1 Starting an Automatic Program on EZT 430i 5 10 6 EZT 430i Simulated F4S D Interface Operation 12 6 1 F4S D Supported Control Monitoring Data Registers 12 6 2 F4S D Supported Profile Step Data Registers 17 6 2 1 Limitations of P...

Страница 4: ...o the application through software switches called events or be programmed to act as system alarm outputs EZT 430i can be operated in single set point or automatic program control mode Program entry is made easy through the use of copy paste and delete menu selections Programs can be copied to the external USB memory stick and then imported to another EZT 430i controller which eliminates the need ...

Страница 5: ...order mode for view only applications Email SMS FTP VNC and Web functionality standard Remote View Control using PC Tablet or Smartphone Detailed maintenance alarm monitoring and alarm history User configurable data logging and historical data viewer 4 level security with digitally signed audit trails and data files National time server connectivity with daylight savings Multi lingual user interfa...

Страница 6: ...h EZT 430i and the PC in order to convert the RS232 communications port to RS485 multi drop communications network for connecting multiple EZT 430i controllers on the PC communications link WARNING To avoid potential electric shock and other hazards all mounting and wiring for EZT 430i must conform to the National Electric Code NEC and other locally applicable codes Special expertise is required t...

Страница 7: ...ne EZT 430i to the next When using shielded twisted pair cable be sure to ground only when end of the cable preferably at the RS232 to RS485 network adapter Allowing any other portion of the cable shield to come in contact with ground or grounding both ends will cause ground loop currents to flow in that section of the cable which can cause communication errors ...

Страница 8: ...dard Code for Information Interchange called ASCII Bits and Bytes The word bit is simply the contraction of the words binary digit A bit is the basic unit in ASCII It is either a 1 or a 0 A byte is a string of eight bits that a computer treats as a single character ASCII can use a single byte to represent each letter of the alphabet each digit and each punctuation mark we use ASCII The ASCII code ...

Страница 9: ... 01011000 58 EM Ctrl Y 25 00011001 19 Y Shift Y 89 01011001 59 SUB Ctrl Z 26 00011010 1A Z Shift Z 90 01011010 5A ESC Ctrl 27 00011011 1B 91 01011011 5B FS Ctrl 28 00011100 1C 92 01011100 5C GS Ctrl 29 00011101 1D 93 01011101 5D RS Ctrl 30 00011110 1E Shift 6 94 01011110 5E US Ctrl _ 31 00011111 1F _ Shift 95 01011111 5F SP SPACE 32 00100000 20 96 01100000 60 Shift 1 33 00100001 21 a A 97 01100001...

Страница 10: ...ce that a character is coming and a stop bit tells it that a character is complete The start bit is always a 0 The stop bit is always a 1 The human speech equivalent of these bits could be a clearing of the throat to get someone s attention start bit and a pause at the end of a phrase stop bit Both help the listener understand the message A stop bit has a value of 1 or a mark state and it can be d...

Страница 11: ...n be connected to a master on a multi drop network up to 4000 feet long Wiring Most PCs have a standard EIA 232 port usually referred to as RS 232 In these instances you must use an interface converter to connect to an EIA 485 multi drop system The standards do not specify the wire size and type Use of 24 AWG twisted pair provides excellent results If shielded cable is used terminate the shield at...

Страница 12: ... enable this function The PC will not talk to the controller correctly without properly setting this Your converter may also require settings through dip switches to set up communications parameters like baud rate data bits start bits stop bits and handshaking The converter may also require a separate power supply Some converters get their power from the handshake lines of the PC If you rely on th...

Страница 13: ... Schneider created this protocol for process control systems called Modbus It has the advantage over other protocols of being extremely reliable in exchanging information This protocol works on the principle of packet exchanges The packet contains the address of the controller to receive the information a command field that says what is to be done with the information and several fields of data Th...

Страница 14: ...gned char char_ptr Start at the beginning of the packet char_ptr start_of_packet Initialize CRC crc 0xFFFF Loop through the entire packet do Exclusive OR the byte with the CRC crc unsigned int char_ptr Loop through all 8 data bits bit_count 0 do If the LSB is 1 shift the CRC and XOR the polynomial mask with the CRC if crc 0x0001 crc 1 crc 0xA001 If the LSB is 0 shift the CRC only else crc 1 while ...

Страница 15: ... between the host computer and multiple EZT 430i controllers on the serial link With a default timeout period in EZT 430i of 135ms it makes a total pause of 138ms minimum Thus after you receive a response from an EZT 430i controller at your PC you must wait a minimum of 138ms before sending the next command 4 Values containing decimal points such as process values and set points have the decimal p...

Страница 16: ...ess command registers and or data CRC Read Register s Command 0x03 This command returns from 1 to 60 registers This command is used for reading one or more data locations from EZT 430i Packet sent to EZT 430i controller address 1 byte read command 0x03 starting register high byte starting register low byte number of registers high byte 0x00 number of registers low byte CRC low byte CRC high byte P...

Страница 17: ...es in EZT 430i To set multiple values repeat the command for each data location Packet sent to EZT 430i controller address 1 byte write command 0x06 register high byte register low byte data high byte data low byte CRC low byte CRC high byte Packet returned from EZT 430i controller address 1 byte write command 0x06 register high byte register low byte data high byte data low byte CRC low byte CRC ...

Страница 18: ... byte number of registers to write high byte number of registers to write low byte number of data bytes data high byte data low byte register n data high byte register n data low byte CRC low byte CRC high byte Packet returned from EZT 430i controller address 1 byte write command 0x10 starting register high byte starting register low byte number of registers to write high byte number of registers ...

Страница 19: ...ate incomplete or failed transmissions To insure that the data you receive from a read command is correct and that the controller properly received a write command you must parse the controller s response and validate the return message to insure it is correct In order to validate that the message you received is correct you must caulate the CRC for the received message and compare it with the CRC...

Страница 20: ...smission or end of transmission characters if the serial port driver you are using does not support an interval timeout setting allowing you to automatically terminate a read after a specified time passes between bytes signaling the end of a message you must know how long the message will be that you are receiving That allows you to know how many bytes to read from your serial port and when you ha...

Страница 21: ...btain complete message Read in number of data bytes from message plus 2 additional CRC bytes Caulate the CRC for the message and compare to CRC received NO YES CRC s match Disregard message transmission error Enter recovery mode and resend command message in attempt to get valid response and or alert operator of a communication failure in order to take appropriate action Received message is valid ...

Страница 22: ... control register For the purpose of this manual parameters defined as bit oriented will have the function of each bit associated with the bit s index number in the data word The index number is equal to that of a typical array function Thus an index number of zero selects the first bit in the word LSB An index number of 1 selects the second bit in the word and so on This helps eliminate offset se...

Страница 23: ...tep Number R W 1 64 15 0x000F Automatic Program Operating Status R W B8 B8 16 0x0010 Program Name Characters 1 2 R B9 B9 17 0x0011 Program Name Characters 3 4 R B9 B9 18 0x0012 Program Name Characters 5 6 R B9 B9 19 0x0013 Program Name Characters 7 8 R B9 B9 20 0x0014 Program Name Characters 9 10 R B9 B9 21 0x0015 Program Name Characters 11 12 R B9 B9 22 0x0016 Program Name Characters 13 14 R B9 B...

Страница 24: ...0037 Alarm 5 Setpoint R W B12 B12 C1 56 0x0038 Alarm 6 Setpoint R W B12 B12 C1 57 0x0039 58 0x003A 59 0x003B Notes A R W Specifies readable writable data R specifies read only data and W specifies a write only control value B The range of certain parameters are dependent upon system options Consult the following range tables for information regarding the use of these parameters Reading bit oriente...

Страница 25: ...ve Bit4 Alarm 5 Active Bit5 Alarm 6 Active Bit6 Bit15 Not Assigned B5 Parameter Value Description Bit0 Loop 1 Manual Mode Bit1 Loop 2 Manual Mode Bit2 Bit15 Not Assigned Parameter Value Description 0 EZT 430i Online 1 Offline Program Download in Progress The status of this register should be used for information only as a means of determining if the system is ready for operation Note If either bit...

Страница 26: ...emble the ASCII characters in order from low to high byte starting with register 16 in order to assemble the automatic program name Store Test Note that null characters are not used in the program name A space 0x20 will be used is used in place of a null character to maintain the 14 character name length if the program name is not 14 characters long Note Auto tune may not be available depending up...

Страница 27: ...tive Bit13 Event 1 On Bit14 Event 2 On Bit15 Event 3 On B11 Parameter Value Description 0 No Error 4 Illegal Setup Values 10 Comm Error Bad Function Code 11 Comm Error Register Out of Range 14 Comm Error Write Read Only Data 15 Comm Error Out of Range Data 25 Holdback Time Out 26 Auto Tune Error 27 Input Type Requires Calibration 29 EEPROM Error 30 Cold Junction Failure 39 Sensor Break 40 A to D F...

Страница 28: ...gram step consists of 14 data registers The program must be written one step at a time using a multiple write command 0x10 to write the data for all 14 registers at once This allows programs to be stored as two dimensional arrays of which code can be written to simply index through the array step by step and transmit the program file to EZT 430i The first 14 registers of the program contain specif...

Страница 29: ...p Number must be offset by 1 when writing step data to EZT 430i Steps 1 64 will be sent with the step number as a value of 0 63 1 offset All remaining steps of the program follow the same format and data structure as is represented for step one above Up to the following 882 registers are used to contain the additional step data of the program as required for steps 2 through 64 Since few if any pro...

Страница 30: ...its hour on a dual loop system Since step time is defined by the ramp rate and the change in set point the program will get out of sync between each loop causing an automated program run error Note The last step of an automatic program must be an end step If the last step is not an end step the program will not run correctly and or a program download error will occur and the program will not opera...

Страница 31: ... sent registers 100 113 EZT 430i then begins looking for the number of steps of the program to be sent as was set in register 106 As each step is received it increments the count Once all steps have been received EZT 430i downloads the program to the loop controller program memory During this transfer register 0 will be set to 1 to indicate that the process is taking place Once the register value ...

Страница 32: ...1 second pause between write commands Send program data 100 thru 113 1 second pause Send step 1 data 114 thru 127 1 second pause Send step 2 data 128 thru 141 1 second pause Send last step data Is EZT 430i online 0 0 NO Set program start step 14 1 64 YES Set program to run 15 0 Done 1 second pause EZT 430i begins program download NO Write error during program download YES 20 second pause EZT 430i ...

Страница 33: ...tions registers see the Series F4S D User s Manual available from Watlow s website http www watlow com downloads en manuals Series 20F4SD_Rev 20H pdf 6 1 F4S D Supported Control Monitoring Data Registers The following table of data registers represents active functional data registers for the F4 interface that are used by EZT 430i for control monitoring While EZT 430i provides the full register ba...

Страница 34: ...ar Alarm 2 Key Press Simulation W B6 B6 332 0x014C Silence Alarm 2 Key Press Simulation W B6 B6 602 0x025A Set Point Low Limit Analog Input 1 R 32768 32767 C1 603 0x025B Set Point High Limit Analog Input 1 R 32768 32767 C1 606 0x025E Decimal Point Analog Input 1 R 0 3 608 0x0260 Process Units Analog Input 1 R B7 B7 612 0x0264 Set Point Low Limit Analog Input 2 R 32768 32767 C1 613 0x0265 Set Point...

Страница 35: ...Event Output 1 10 characters R B9 B9 3110 thru 3119 0x0C26 thru 0x0C2F Name Digital Event Output 2 10 characters R B9 B9 3120 thru 3129 0x0C30 thru 0x0C39 Name Digital Event Output 3 10 characters R B9 B9 3130 thru 3139 0x0C3A thru 0x0C43 Name Digital Event Output 4 10 characters R B9 B9 3140 thru 3149 0x0C44 thru 0x0C4D Name Digital Event Output 5 10 characters R B9 B9 3150 thru 3159 0x0C4E thru ...

Страница 36: ... 1 Current Profile Status R 32768 32767 C1 4123 0x101B Set Point Channel 2 Current Profile Status R 32768 32767 C1 4126 0x101E Jump Count Current Profile Status R 1 10000 Notes Parameters descriptions with Watlow F4 designations of channel 1 input 2 etc refer to EZT 430i data values for loop 1 or loop 2 A R W Specifies readable writable data R specifies read only data and W specifies a write only ...

Страница 37: ...99 B9 Range limited to standard printable ASCII characters 0 9 A Z etc B10 Parameter Value Description 1 Ramp Time 3 Soak 4 Jump 5 End Parameter Value Description 0 Temperature 3 Process units Note Auto tune may not be available depending upon the loop configuration If auto tune operation is not available auto tune will automatically turn off after being set The Watlow F4 contains multiple PID set...

Страница 38: ... non supported functions so a special profile editor is not required For the proper method of downloading profiles to an F4 controller reference the Profile Programming Procedures in section 7 Communications of the Watlow F4S D User Manual Register Address Parameter Description Data D Range E F Type Low High Unit 4000 0x0FA0 Profile Number R W 1 1 4001 0x0FA1 Profile Step Number W 1 64 4002 0x0FA2...

Страница 39: ...ak Steps W 0 1 4049 0x0FD1 Guaranteed Soak Channel 2 Ramp Soak Steps W 0 1 4050 0x0FD2 Jump to Profile Jump Step 4051 0x0FD3 Jump to Step Jump Step W 1 64 4052 0x0FD4 Jump Repeats Jump Step W 1 999 4060 0x0CSZ End Action End Step 4061 0x0FDD End Idle Setpoint Channel 1 End Step W 32768 32767 F2 4062 0x0FDE End Idle Setpoint Channel 2 End Step W 32768 32767 F2 Notes D R W Specifies readable writabl...

Страница 40: ...s of Profile Download Operation IMPORTANT Please Read The section covers the rules of use when sending F4S D based profiles to the EZT 430i controller These rules must be followed in order to insure proper profile operation especially when using the Profile Editor tool of WatView software WatView s operation can not be altered to comply with the manner in which EZT 430i operates so it is up to the...

Страница 41: ...automatically configures itself to use the best time format based on the programming for all ramp and soak steps For example if all ramp steps have only entries for minutes and seconds all hour entries are 0 EZT 430i will select minutes seconds for the ramp step time format However if a single ramp step has a non zero entry for hours it will use the hours minutes status registers for operation Thi...

Отзывы: