E5AF E5EF Manual en 200212
E5AF E5EF Manual en 200212
E5AF E5EF Manual en 200212
Operation Manual
Produced July 1992
Notice:
OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual. The following conventions are used to indicate and classify warnings in this manual. Always heed the information provided with them. DANGER! Indicates information that, if not heeded, could result in loss of life or serious injury.
Caution Indicates information that, if not heeded, could result in minor injury or damage to the product.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of information. Note Indicates information of particular interest for efficient and convenient operation of the product.
1, 2, 3... Indicates lists of one sort or another, such as procedures, precautions, etc.
OMRON, 1992
!
! "# $ %!
&%'&%'( )
* , / & ) * , / & )
!
"
#!!$ %
'
$ (!
+
* *&, !
-
.
0
# 1 # 2
3
0
3
!
.
3
#
# !
4
-
-
-5 !
& ) * , / / & ) * * , /
'
* )
* * * ** *, * */ *&
'
* ** ** ** *, *& * ,&
+ )
,
(!
,
"
%8 %
(
,-
&
++
#
"
-
/ /
-0 (
Section 1 introduces the basic features of the E5AF/E5EF Fuzzy Temperature Controllers front panel and a brief description of its remote mode and local mode. Section 2 gives a general description of the E5AF/E5EF Fuzzy Temperature Controllers rear panel communications connector/terminals. Section 3 provides the interface specifications and basic operational elements required in order to use the RS-232C/RS-422/RS-485 Controllers and also provides the header codes. Section 4 provides the basic operational elements required in order to use the BCD Output Models and also gives two examples of its use. Section 5 describes the connections and settings of the Transmission Output Models. Appendix A provides an ASCII list. Appendix B provides a list of optional accessories.
.
8
2
:
! 8
-,#-,- ;;$
!
< !
Section 1--2
1--1
Front Panel
The following diagram identifies the major features found on the Fuzzy Temperature Controller front panel and gives a brief description of the function of each front panel feature.
E5AF-A=
Auto-tuning (AT) indicator Flashes during auto-tuning Process Value (PV) display Displays process value, characters identifying the parameter being set, and error messages.
Shift indicator Lights when input shift function is used. Remote indicator Lights when in remote mode; OFF when in local mode. Output (OUT) indicator Lights when control output is ON; OFF with current output. Level Key Press this key for at least 2 s to change display levels.
Alarm Output 1 (ALM1) indicator Lights when Alarm Output 1 is ON. Set Value (SV) display Displays main settng and other values. Alarm Output 2 (ALM2) indicator Lights when Alarm Output 2 is ON. Auto-tuning (AT) Key Press for at least 1 s to begin autotuning. Press again for at least 1 s to stop auto-tuning.
Remote Key Press this key for at least 1 s to enable remote operation. Press again to enable local operation and setting via key operation. This key cannot be used on the Transmission Output Model. Display Key Press this key to shift the display to the next parameter.
Up Key Press this key to increase the value on the display. Hold down the key to successively decrease the value on the display. Down Key Press this key to decrease the value on the display. Hold down the key to successively decrease the value on the display.
Front Cover
1--2
Remote mode
Local mode
Pressing the Remote Key again puts the E5AF/E5EF in local mode and enables settings via keys on the front panel. In the local mode, the E5AF/E5EF cannot be remotely controlled, except for reading of the process temperature. The changing from one mode to the other cannot be remotely controlled.
The Heater Burnout Detection Models are shown below. E5AF-AH E5EF-AH
Section 1--2
8
2
! 8
-,#-,-
!
1
!
! 8
>
?
2
$!
:
%8 8
-,#-,- ;;$
!
Section 2--1
2--1
Connector/Terminals
Depending upon the requirements, one of several connector/terminals can be used.
Communications connector A 25-pin D-sub Connector for connecting to the host computer when communications are executed using RS-232C or BCD.
Communications connector A 9-pin D-sub Connector for connecting to the host computer when communications are executed using RS422, RS485 or transmission output.
Terminal Connections
E5EF-A
For current output For voltage output For relay or SSR output
9 8
+ 4 to 20 mA --
9 8
+ 12 VDC 40 mA --
9 8
Control output
9 17 8 16 7
15 14 13 4 12 3 11 2 10
12 11 10 -11 10
B B
SP SHIFT
E5EF-AH (with Heater Burnout Alarm)
For voltage output For relay or SSR output
Section 2--1
9 8
+ 12 VDC 40 mA --
9 8
Control output
9 17 8 16 7
15 14 13 4 12 3 11 2 10
SP SHIFT Note: *The Current Transformer must be the E54-CT1 or E54-CT3. Other Current Transformer cannot be connected. **The heater burnout alarm goes ON when the E5EF detects a sensor failure or heater burnout.
9 8
+ 4 to 20 mA --
9 8
+ 12 VDC 40 mA --
9 8
Control output
9 17 8 16 7
15 14 13
4 12 3 11 2 10 1 10 + 10 11 -12 11
B B
9 8
+ 12 VDC 40 mA --
9 8
Control output
9 17 8 16 7
15 14 13
4 12 3 11 2 10 1
Note:
*The Current Transformer must be the E54-CT1 or E54-CT3. Other Current Transformer cannot be connected. **The heater burnout alarm goes ON when the E5EF detects a sensor failure or heater burnout.
E5EF-A02 (with RS-422 Communications)
For current output For voltage output For relay or SSR output
Section 2--1
9 8
+ 4 to 20 mA --
9 8
+ 12 VDC 40 mA --
9 8
Control output
9 17 8 16 7
15 14 SDB 5 13
4 12 3 11 2 10 1 10 + 10 11 -12 11
B B
9 8
+ 12 VDC 40 mA --
9 8 Control output
9 17 8 16 7
15 14 SDB 13
SDA RDB RDA Note: *The Current Transformer must be the E54-CT1 or E54-CT3. Other Current Transformer cannot be connected. **The heater burnout alarm goes ON when the E5EF detects a sensor failure or heater burnout. SG
4 12 3 11 2 10 1
9 8
+ 4 to 20 mA --
9 8
+ 12 VDC 40 mA --
9 8
Control output
9 17 8 16 7
15 14 SDB 13 4 12
12 11 10 -11 10
B B
3 11 2 10 1
Section 2--2
9 8
+ 12 VDC 40 mA --
9 8 Control output
9 17 8 16 7 Alarm output 6 15 14 5 13 4 12 B A 3 11 2 10
Note:
*The Current Transformer must be the E54-CT1 or E54-CT3. Other Current Transformer cannot be connected. **The heater burnout alarm goes ON when the E5EF detects a sensor failure or heater burnout.
SG
2--2
*1 *2
Depth of the main body from panel when mounted *1: Without OMRON XM4 D-sub Connector 100 mm *2: With OMRON XM4 D-sub Connector No less than 170 mm (25-pin connector) No less than 160 mm (9-pin connector)
The following OMRON D-sub Connectors are recommended: 25 pin: XM4A-2521 (plug) + XM2S-2511 (hood) 9 pin: XM4A-0921 (plug) + XM2S-0911 (hood) If using an equivalent connector, make sure that the connector screws are the following metric size: M2.6 x 0.45 mm.
Section 2--2
Securely insert the communications connector from the external system into the communications connector on the Temperature Controller. After connection, tighten the screws on either side of the communications connector with a screwdriver. When connecting communications via terminal blocks, use crimp-style terminals of the appropriate size for use with M3 x 8 mm connector screws.
5.8 max.
For the appropriate cable length, refer to the respective communications specifications.
3
! "# $ %!
&%'&%'(
8
!2
8
!
:
>
8
* *&,
8
8
!2
8
:8 ! !
5 !
!
*
*&,
"
#!!$ %
'
$ (!
* +
* *&, !
, -
,
, "@
, -
,*
.
/
0
& # 1 # 2
)
3
0
3
!
* .
3
,
#
/ # !
& 4
-
-
)
-5 !
-5 !
* *&,
(!
-5 !
& ) * , / / & ) * * , / / *)
Section 3--1
3--1
3--1--1
Interface Specifications
RS-232C
This interface is for the E5AF only. Electrical characteristics conform to EIA RS-232C.
Communications Signals
13 1
25
14
Signal Frame ground (safety ground) Signal ground or common return Send data Receive data Request to send Clear to send Data set ready Data terminal ready
Abbreviation FG SG SD RD RS CS DR ER
Pin no.
Connection Diagram The following diagram shows how the E5AF is connected to the host computer using the RS-232C.
Host computer RS-232C Abbreviation FG SG SD RD RS CS DR ER Pin no. 1 7 2 3 4 5 6 20 Shielded cable If the terminals are connected as shown by the dotted lines in the figure, which is not absolutely necessary, the cable can be used regardless of the direction. E5AF RS-232C Pin Abbrevino. ation 1 7 2 3 4 5 6 20 FG SG SD RD RS CS DR ER +V TX RX LT1081CN or equivalent
Section 3--1
15 m maximum. To increase the cable length, use OMRONs RS-232C optical interface (Z3RN).
Applicable connectors: Plug: XM4A-2521 (OMRON) or equivalent Hood: XM2S-2511 (OMRON) or equivalent Connection method (RS-232C direct connection): 1:1 connection only A carrier detect (CD) signal for the host computer is not supported by the E5AF via its RS-232C port since the E5AFs RS-232C is defined as DTE (Data Terminal Equipment). If a CD signal is needed, it must be provided a the host computer.
3--1--2
RS-422
Electrical characteristics conform to EIA RS-422.
Communications Signals The following information identifies the input/output signals of the interface.
5 1 24 23 22 21 20 9 Connector 6 Terminals
Signal Send Data A Send Data B Receive Data A Receive Data B Signal Ground Frame Ground (safety ground)
Terminal no.
------
!
Section 3--1
The following illustration shows how the E5AF is connected to the host computer via RS-422.
Host computer RS-422 Termination resistance Abbreviation FG RDA RDB SDA SDB SG The termination resistance must have a minimum resistance of 100 . Shielded cable E5AF RS-422 Pin no. 9 5 6 1 3 Abbreviation SDA SDB RDA RDB SG 220 SW602 6.8 V 220
Internal clock
500 m maximum (total) XM2A-0901 (OMRON) or equivalent XM4A-0921 (OMRON) or equivalent Hood: XM2S-0911 (OMRON) or equivalent
Connection method (RS-422 connection): Maximum 1:32 connection Note SW601 and SW602 of the terminator must be turned on. SW601 and SW602 of the Controllers other than the terminator must be turned off.
'
Section 3--1
The following example shows several E5AF-A02s connected to a personal computer using the RS-422 connection method with Link Adapters.
Personal computer
(Host system)
RS-232C 1 2 3 4 5 6 7 8 20
RS-232C
RS-232C RS-422 7 1 3 5 6 9
RS-422
RS-422
RS-422
Up to 32 Controllers (n) can be connected. The maximum extended cable length is 500 m.
Section 3--1
The following example shows several E5AF-A02-Xs connected to a personal computer. Only one Link Adapter is required (to convert to RS-232C at the computer) because the Controllers are connected directly to each other.
Host computer
RS-232C
The maximum number of connecting Controllers (n) is 32 with a total cable length of 500 m maximum.
3--1--3
RS-485
Electrical characteristics conforms to EIA RS-485.
Communications Signals The following information identifies the input/output signals of the interface.
5 1 24 23 22 21 20 9 Connector 6 Terminal
,
Section 3--1
The following diagram shows how the E5AF is connected to the host computer using RS-485.
E5AF: SW601 of Controllers other than the terminator must be turned off. RS-485 Pin Abbrevino. ation 9 5 3 -4.7 K + SG + SG 6.8 V 51 K 220 VDD SN751177N or equivalent 51 K
SW601 4.7 K
Shielded cable
E5AF terminator RS-485 Pin Abbrevino. ation 9 5 3 Shielded cable -+ SG SW601 of the terminator must be turned on. 220
SW601 ON
Internal clock
Applicable connectors: Plug: XM4A-0921 (OMRON) or equivalent Hood: XM2S-0911 (OMRON) or equivalent Connection method (RS-485 connection): Maximum 1:32 connection Note In the connection diagram above, the Temperature Controllers cannot be connected to a SYSMAC Wired Remote I/O System (SYSMAC BUS).
-
Section 3--2
3--2
Disconnect the communications cable from the E5AF. Lift the internal mechanism while pressing the hook at the bottom of the front panel.
Communications cable
Hook Pull out the internal mechanism while holding down the hook with your finger.
To mount the Output Unit, insert it in the direction shown by the arrow. To remove it, first remove the communications board (A) by pulling it in the direction of the arrow ( ). Then remove the Output Unit.
Mount the Output Unit with this mark facing the direction (A) indicated by the arrow.
If the relay for the output selector switch (SW202), the SSR, or the Voltage Output Unit is installed, set the output selector switch to PUL (pulse). If the Current Output Unit is installed, set the switch to CUR (current).
Function Switches
Refer to the E5AF instruction manual or the operating procedures in the datasheet for detailed information about setting the switches shown in the following diagram.
Output selector (SW202, OUT) Temperature sensor selector (SW206, INPUT) Alarm 2 mode selector (SW203, ALM2) Alarm 1 mode selector (SW205, ALM1) Function selector (SW201, FUNCTION)
(
Section 3--2
For the RS-422 (E5AF-A02) and RS-485 (E5AF-A03) Models, designate the E5AF located at both ends of the transmission line as an terminator by setting the terminator switch of that Controller to ON. (Terminator designation is not required for the RS-232C Models.)
Terminator switches
Communications connector
Terminator Switches
SW601 and SW602 are factory set to OFF. SW601 and SW602 of Controllers other than the terminator must be OFF.
OFF ON SW602 SW601
SW602 ON ON
SW601
There is no SW602.
Caution If a wrong Controller is designated as the terminator, the operating current will increase, thus causing the Fuzzy Temperature Controller to malfunction.
0
Section 3--3
3--3
Key Operation
Before attempting communications when using RS-232C, RS-422, and RS-485 Models, set the baud rate (communications speed) and Controller number according to the following procedures; use the keys on the front of the Controller to make the settings. For operation procedures other than the following, refer to the operation manual supplied with the Controller or the operating procedures listed in the datasheet.
Display Levels
The E5AF/E5EF goes to display level 0 when power is turned on. The display level changes when the level key is pressed for two seconds or more. The displayed contents at each level are shown in the following diagram. The baud rate and Controller numbers can be set at display level 2.
Display level 0 Level Key Process temperature, main setting, alarm value, input shift value, PID constants, fuzzy strength. Display level 1 Level Key Setting limit, control period, input shift value, hysteresis, fuzzy scale 1, fuzzy scale 2. Display level 2 Level Key Control output value, Controller number, input type, baud rate alarm modes (1 and 2).
Power on
Character Display:
Control output value (See Note) Press Display Key Input type Press Display Key Alarm 1 mode Press Display Key Alarm 2 mode (see Note) Press Display Key Controller number Press Display Key Baud rate Press Display Key Note Heater Burnout Detection Models do not have a Alarm 2 mode display.
Controller Number (): This setting assigns a Controller number (integers from 0 to 99) to each Fuzzy Temperature Controller to allow the host computer to distinguish one Fuzzy Temperature Controller from the others in the same system during communications. When appears on the process value display, use the Up Key or Down Key to input a set value. The Controller number is set to 0 before shipment. Do not give identical Controller numbers to Fuzzy Temperature Controllers in the same system, as this will interfere with communications. Baud Rate (:!): This sets the speed for communications with the host computer. When :! appears on the process value display, use the Up Key or Down Key to input a set value. The rate is set to 9600 bps before shipment. The baud rate can be set to 150, 300, 600, 1200, 2400, 4800, or 9600 bps. The set value becomes effective only after the E5AF/E5EF power is switched off once and then on again.
3
Section 3--5
3--4
Start bit
D0
D1
D2
D3
D4
D5
D6
Parity bit
2 stop bits
The E5AF RS-232C is defined as DTE (Data Terminal Equipment). This means that a carrier detect (CD) signal for the host computer is not supported. If a CD signal is needed, it must be provided (via the +12 V terminal) on the host computer side. The communications specifications of the E5AF are the same as those of the E5AX, except for the commands that are used for the fuzzy function of the E5AF.
3--5
3--5--1
@ Controller no. Header code E5AF/E5EF Text FCS Terminator Response block
Section 3--5
Controller numbers correspond to unit numbers in a PC system. When assigning Controller numbers for several Controllers, be sure to avoid duplication of the settings.
3--5--2
Blocks
The block transmitted from the host computer is referred to as a command block. Blocks sent from the Temperature Controller are called response blocks. One block begins with the start character @ and communications address, and ends with the FCS and a terminator. Data characters are in ASCII.
8 bit
X X
(00 to 99)
FCS Terminator
The FCS (frame check sequence) is formed by converting the 8-bit data obtained by taking the exclusive-OR of @ to the last text character into two ASCII characters. Be sure to attach the FCS to the end of the text. FCS Calculation Example
@ 0 0 R U 0 1 4 6
ASCII code
Controller no.
Header code
Text
FCS
40H
30H
30h
52H
55H
30H
31H
34H
36H
FCS = 40H (+) 30H (+) 30H (+) 52H (+) 55H (+) 30H (+) 31H = 46H (Converted into ASCII code 34H + 36H) (+) is exclusive-OR, H is hexadecimal code.
3--5--3
Error Control
E5AF/E5EF errors must be corrected at the host computer. The host computer controls the following error recovery procedures: Errors in transmission can be detected in the following ways. 1. Character checks (check of each character) Vertical parity check (even): This is an exclusive-OR check for each character. Framing check: This detects the 0 bit in a stop bit and determines it to be an error. Overrun check. Overrun occurs when the next character is received while the current character is being processed. 2. Block checks (check of each block) Format check: Command format structure is checked. Register data check: The range of values such as the channel numbers or set value is checked.
Section 3--5
3--5--4
Precautions
When reading or writing various types of numeric data, take decimal positions into account. All data is expressed in four digits. It is necessary to take decimals into account in the following cases: Proportional band Output value Main setting, alarm value, process temperature, and set limit value when Pt 100 is selected. Fuzzy scale 1 and fuzzy scale 2. Heater burnout alarm value and heater current value for the E5AF/E5EFAH and E5EF-BAH.
Example 1: Example 2:
When a Pt 100 is selected as an input and the main setting is 20 C, the data becomes 0200.
A main setting of --15 C is expressed as F015. When a Pt 100 is selected as input, a main setting of --10.5 C is expressed as F105.
After sending a command, a response is returned. Check the contents of the response and process it on the host computer. The system cannot operate when the E5AF detects overflow, underflow, or A/D error. Write a program which checks the status data. When a communications input is executed in ordinary BASIC, the computer waits for an input and cannot operate without it. Write a program which can confirm that communications are not taking place when, for example, the E5AF is not powered up. When errors are suspected to have been caused by noise, try executing communications repeatedly (approximately 10 times) until the E5AF/E5EF returns to the normal operating condition.
!
!
Section 3--6
3--6
Header Codes
The following table shows the header codes for each Model. The codes are accompanied by their function names. The table also indicate whether each of the functions can be operated in the Remote mode and the Local mode. For further details, check the reference section in the last column.
Header code ME MA MW MB WS W% WI WB WN WV WW Wj Wk W RS R% RI RB RN RV RO RW Rj Rk R RL RX RZ RU AS AP IC
Name Backup mode RAM write mode selection RAM data all save Remote/Local mode select Main setting write Alarm temperature write Input shift value write Proportional band write Integral time write Derivative time write Heater burnout alarm temperature write Fuzzy strength write Fuzzy scale 1 write Fuzzy scale 2 write Main setting read Alarm temperature read Input shift value read Proportional band read Integral time read Derivative time read Output value read Heater burnout alarm temperature read Fuzzy strength read Fuzzy scale 1 read Fuzzy scale 2 read Setting limit read Process temperature read Heater current read Initial status read Auto-tuning start Auto-tuning stop Undefined error
--------------------Yes
------
3--11
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Note 1. Write commands are not valid in the local mode or during auto-tuning. If attempted, an end code 0D (command cannot be executed) reply will be received. 2. These header codes are available when using the E5AF/E5EF-AH= and E5EF-BAH. 3. This header code is available when using the E5EF-AH= and E5EF-BAH.
'
Section 3--7
3--7
Backup Mode
In the Backup mode, all set values are stored in the non-volatile memory and the RAM. This mode should not be selected if the value you set must be changed frequently (more than a few times a day in single value control operation, for example) while operating the E5AF/E5EF. The E5AF/E5EF automatically enters its Backup mode each time power is ON. The non-volatile memory stores data when E5AF/E5EF is in local mode. The following block diagram shows the condition of data storage for both Backup mode and Local mode:
Non-volatile memory
RAM
In the RAM write mode, all set values are stored in the RAM while power is on. This mode should be selected if the value you set must be changed frequently (in program control operation, for example). Any set value stored in the RAM is lost when the power is turned off. Any set value written in this mode will not be backed up. Use the RAM data all save function to store it. The following block diagram shows data storage in the RAM write mode.
Non-volatile memory
Communications board
CPU
Relationship between Write Mode Switching and Remote/Local Modes Switching from the Remote mode to the Local mode or vice versa does not affect the write mode that has been already set. Any values that have been set are automatically stored in the non-volatile memory when the mode is switched from the Remote mode to the Local mode. In the Local mode, values are stored in the non-volatile memory regardless of the write mode that has been selected.
Command Format ME: Backup mode MA: RAM write mode Channel no.: 01
@ Controller no. X101 Start X100 Header Channel no. code M 01 FCS
Section 3--9
*
Terminator
00 to 99
Response Format
If the end code is 00, operation was normal. If the end code is other than 00, the command was not processed.
@ Controller no. X101 X100 M End code X161 X160 FCS
Note For the end code list, refer to 3--19 End Code List.
3--8
Command Format
Channel no.: 01
@ Controller no. X101 Start X100 Header Channel no. code MW 01 FCS
*
Terminator
00 to 99
Response Format
If the end code is 00, operation was normal. If the end code is other than 00, the command was not processed.
@ Controller no. X101 X100 MW End code X161 X160 FCS
3--9
Command Format
*
Terminator
00 to 99
,
#
Response Format
Section 3--11
If the end code is 00, operation was normal. If the end code is other than 00, the command was not processed.
MB
FCS
*
Terminator
00 to 99
Note 1. Decimals must be taken into account for writing some types of data. 2. For negative data values, x103 becomes F (e.g. --35 C = F035). 3. The channel number can be set to either 01 or 02. When setting alarm output 2 for the E5AF-A, use the channel number 02. For all other settings, use channel number 01, or end code 15 will be returned. 4. The Controller number (00 to 99) must be a decimal code that allows the host computer to distinguish an E5AF Model from the other E5AF Models in the same system when communicating (via RS-422 or RS-485). Do not give identical Controller numbers to Fuzzy Temperature Controllers in the same system as this will interfere with communications.
FCS
Start
Controller no.
Header code
Channel no.
120 C
Response Format
If the end code is 00, operation was normal. If the end code is other than 00, the command was not processed.
FCS
00 to 99
Note For the end code list, refer to page 3--19 End Code List.
-
#
Command Format For Channel no. settings, refer to 3--10 Set Value Write.
Section NO TAG
FCS
Start 00 to 99
Header code.
Response Format
If the end code is 00, operation was normal. If the end code is other than 00, the command was not processed. For negative data values, x103 becomes F (e.g. --35 C = F035). The output value is processed down to the first decimal place (e.g. 0567 = 56.7%). For details refer to 3--16 Auto-tuning Start.
FCS
00 to 99
Header code
R L
0 X101
1 X100
FCS
Start 00 to 99
Response Format
For negative data values, x103 becomes F (e.g. --35 C = F035). Any data read will not include decimals. Refer to the following examples: For a Pt 100 input (--99.9 to 450.0 C), the lower limit is F999 and the upper limit is 4500. For a K thermocouple input (--200 to 1,300 C), the lower limit is F200 and the upper limit is 1300.
R L
X160 X103
00 to 99
Header code
FCS
(
Section 3--13
R X
0 X101
1 X100
FCS
00 to 99
Response Format
R X
X160 X103
00 to 99
FCS
23 22 21 20 23 22 21 20 23 22 21 20 23 22 21 20
Remote mode: 0 Local mode : 1 Backup mode: 0 RAM write mode: 1 Auto-tuning being carried on. Alarm output 2 ON. Alarm output 1 ON. Input shift input ON.
Overflow Underflow Sensor malfunction A/D converter failure Heater burnout detection RAM data abnormality (See Note) 0; RAM and non-volatile memory data coincide. 1: RAM and non-volatile memory data do not coincide.
As the status data, the corresponding bits are set. For example, when alarm output 1 is ON, the status data is 0200 (ASCII code - 30H, 32H, 30H, 30H). For negative data values, x103 becomes F (e.g. --35 C = F035). An A/D error requires E5AF/E5EF inspection. When the E5AF/E5EF is underflowing, the process temperature will be the lower limit value of the maximum input range. During overflowing or with sensor error, the process temperature will be the upper limit value of the maximum input range. Check the status data for the proper operation of the E5AF/E5EF. For the Heater Burnout Detection Models, alarm output 1 bit is used as the alarm bit. Alarm output 2 bit is for the detection of heater burnout and abnormal input. For the Heater Burnout Models, the input shift bit is 0.
0
Section 3--14
When a data error occurs while a set value is being written into the RAM, the RAM data will be void, and the data in the non-volatile memory will be transferred instead.
Non-volatile memory Communications board CPU Transfer RAM Data error
Simultaneously, the status data will have the RAM data abnormality flag. Check the error referring to the following examples and take necessary counter-measures: Example 1: Always check if the status data has the RAM data abnormality flag. The RAM data abnormality flag in the status data means that an abnormality has occurred. The flag will be reset after it is read. Always monitor the set values. Any value different from the one that has been written means that abnormality has occurred.
Example 2:
R Z
0 X101
1 X100
FCS
00 to 99
Use Channel number 01, or end code 15 (data error) will be returned.
!3
Section 3--15
R Z
00 to 99
Header code
FCS
23 22 21 20 23 22 21 20
*1 Overflow *2 Display hold *1: If the heater current exceeds 50.0 A, 1 will be set, at which time 50.0 will be read as an heater current value. *2: If the control output is ON for less than 200 ms, 1 will be set and the present value will be maintained as a heater current value.
Command Format
R U
0 X101
1 X100
FCS
*
Terminator
00 to 99
Response Format
R U
Status X102
ALM1 ALM2
X160 X103
Input type
FCS
00 to 99
Header code
(1)* (2)* (2)* (3)* *: refer to the following subsections within this response format section.
!
Section 3--15
Note The proportional alarm mode is not available for alarm output 2 of the E5AF/ E5EF-A= and E5EF-BA. Alarm output 1 of the E5AF/E5EF-AH= and E5EFBAH has alarm data. Alarm output 2 of the Models do not have an alarm function.
!
$
(3) Input Type (E5AF)
No. 0 1 2 3 4 5 6 7 8 9 R S K J T E JPt100 Pt100 L U Type
Section 3--16
A S
0 X101
1 X100
FCS
00 to 99
Note 1. If this command is sent during auto-tuning, an end code 0D (command cannot be executed) will be returned. 2. To check the execution, completion, or interruption of auto-tuning, use the response block status data that corresponds to the process temperature reading.
!!
%
Section 3--18
3. To restart auto-tuning while auto-tuning is in progress, stop it once and then restart. 4. With ON/OFF control (function selector SW201 is ON), auto-tuning cannot be executed.
Response Format
A S
FCS
00 to 99
Header code
0 X101
1 X100
FCS
00 to 99
Note When auto-tuning is interrupted, the setting data becomes that before the start of auto-tuning. Response Format
A P
FCS
00 to 99
Header code
FCS
00 to 99
Header code
!'
Section 3--19
Note This end code is available when using the E5EF. Error Criteria
End code 0D 10 11 12 13 14 15 Contents Local mode Parity error (even) Framing error Overrun error FCS error Format error Data error Condition When a write command is sent while the Fuzzy Temperature Controller is in its local mode or performing auot-tuning. When the sum of 1 bits in the received data do not agree with the even or odd parity that has been set. When the stop bit is 0. When the receive data register is full and new receive data is transferred to it. When the FCS shows disagreement. When the total length of the command is incorrect. When there is a setting error in write data. When a Channel number is invalid. When the write data is not acknowledged as numeric values.
Order of Priority
E5AF: Wrong Controller number > Undefined > Local mode > Parity > Framing > Overrun > FSC error > Format > Register data E5EF: Undefined > Command execution impossible > Parity > Framing > Overrun > Format > FCS error > Non-volatile memory > Data
Section 3--20
Setting 500 C to Channel no. 01, Controller no. 00. Command Format: 15 bytes. @00WS010500 (FCS 2 digits) Since the configuration of start-stop sync data requires 11 bits to 1 byte, 11 bits x 15 bytes = 165 bits. Therefore, when communicating at 1,200 bps, 165/1,200 bps = approx. 0.2 s. Internal Processing Time: Operating Cycle: 0.5 s max. 0.5 s max.
The time from the start of communications to the start of the resulting operation is therefore a maximum of 1.2 s (0.2 + 0.5 + 0.5). Example 2: Reading the Process Temperature
Reading the temperature of Controller 00. Command Format: @00RX01(FCS 2 digits) 11 bits x 11 bytes = 121 bits. Response Format: 19 bytes (present @00RX000500(status data 4 digits)(FCS 2 digits) value: 500 C). 11 bits x 19 bytes = 209 bits. Therefore, when communicating at 1,200 bps, (121 + 209 bits)/1,200 bps = approx. 0.3 s. However, no more than 0.8 s is required between the time the command is sent and the response is output.
11 bytes.
The time from the communications start to the process temperature read is approx. 0.5 s. Thus the temperature displayed is actually no more than a maximum of 0.7 s (0.2 + 0.5) previous to the time of reading.
!,
Section 3--21
$ + , 0 $ + , 0 $ + , 0 $ $ $ $$ $+
== !" # %&'( )*
" % -
%.'/
!" 12 !"!3 -!4 .'/ 12
5 3 -3 6 / 12
- .7./ 12 5! -5%4& %.'/ 12 81!3 -6 %.'/ "5 6 -!4 .'/ !"!3 9 4. .. 3!
: ..% ; . .' 9
3: .& .<.& .' 5!
"
=)9
3* " 6 '. .& =:>?1> 5.4 6 3
=:>>@A=)$* 3. 6. "=:>" " > " 6 6. "=:>"5 5> "$=:> > " >
0$> B . % 31" -3 6 /
5 3 !"13 > "5 5 3 >C "5= .6 6 %
!-
Section 3--21
$
$, $0 $ $ + + + +$ ++ +
+, +0 + +
$
+
,
0
, , , ,$ ,+ ,
,, ,0 , , 0 0 0 0$ 0+ 0
!(
": 4. .& 6 . 3D "3: 4. ..% ; . : 4. ..% .6 4' =:>> 4. ..% 6 !"3 BC "5= 5 EA!9 )"3-3!
"5 :* )E' ..%* ! 9)*: 3A" F! ..G.6 6 %...HI.. J6'. 51
D=:!"13=)9)*CB* ..G.6 6 .%. =: =@51
D= AF=:!A3=) =C* 3. (.K ! AF=:3
= 3A" : F! "3:"3@ ..% ; . %'. E"5 12 #AF .%. (.K ! AF-/ 3A" 3D .& .7. 31" -5%4& %.'/ 5! !"3 > " >L = ..G.6 6 6%4& ! ": 3A" 5! #"5 " 6 6%4& !: 3 " !"3 >3D>L!L>:/ >L"
=)!* "M3 5! #"5 31" -6 %.'/
Section 3--21
0, 00 0 0 $ + , 0 $ + , 0 $ + , 0 $ +
81!3 9 B 4. % 31" - 44/ : 4. !: 3 9")51
D=* : M )
!5=)51
D=C!C* "M3 =:!A3=)>>@AM=) *C* AM G. 31" -.%. (.K/ #AF AF: ! .%. ..G.6 ! : 3A" # AF : 5=:
!5=) =C,C* AF: ! .6' I4 ! 5=-/>> 3A" # AF : AF: 12 #AF (.K ! AF: 3A" AF#"5 "4 .6 # ! AF: 3A" "
=)"*:"= " 6 '. ! AF: 3A" "
=)"*:"=@5= ! AF:$ 3A" "
=)"*:"$= ":"@ " .<.& %'. ! ":9
3 3A" AF: ! " .<.& .7..6 (. . .& .<.&C (. .& AF : AF#"5 31" - (.K/ #AF 9"3A:9") =*+ I '. 44 51
D=:93=) =C9"3A* 12 44
!0
Section 3--21
, =:
!5=) =C9"3A@C* E(. . 0 ! =-/ = 3A" AF:$ AF : $ 31"
* (Final Response)
'3
'
* )
8
!2
8
: !
>
8
"1 (!
8
%
5 !
-,#
*
*
-,##)
*
*
"
%
#!!
* (!
6 '
$
** ! 7
** 8
:
** -
*, 1
* 8
* 0
*
*/ -,##)6 #!! -5 !
9
*/ ( #
*/ 6 -52
*/ 6 -52
0
*/* 6 :
*& -,##)6 #!! -5 !
9
*& . %
*& -5 !
*& (
$
*&*
*&,
(!
8
* * * ** ** ** ** ** *, *& *& * * * , , ,, ,& ,& , * ,
'
Section 4--1
4--1
4--1--1
Communications Connectors
Connection of E5AF-A20 and PC
The E5AF Fuzzy Temperature Controller with BCD communications can be directly connected to a PC (Programmable Controller) or a personal computer.
E5AF-A20
Input circuit External power supply 4.7 k DSL1 DSL2 DSL3 DSL4 DSL5 DSL6 WD1 WD2 WD3 WD4 VAL RD1 RD2 RD3 RD4 BUSY GND Output circuit 24 DC GND 1 2 3 4 5 6 8 9 10 11 12 Input Unit (24 VDC input) 14 15 16 17 18 23, 24 13, 25 +V (24 VDC) COM (0 V) COM (24 VDC) +24 V 0V OUT : IN IN COM COM 0V OUT Output Unit (Transistor output) OUT
PC (SYSMAC)
+24 V
Note The communications specifications of the E5AF-A20 and those of the E5AX-A20 are identical. Operation Communications are possible as long as the VAL signal from the SYSMAC PC is ON (low). When a data select code (DSL1 to DSL6) is input from the PC to the E5AF-A20, the E5AF-A20 either reads data from lines WD1 through WD4 or writes data to lines RD1 through RD4 according to the data select code. Note 1. Use the communications connector on the back of the E5AF to connect the PC and the E5AF-20. 2. To communicate between one PC and several E5AF-A20 Models, use a wired OR to connect each signal terminal other than the VAL terminal, and select the Controller to communicate with using independent VAL signal lines. Terminals
Input/output signal name Input DSL1 to DSL6 WD1 to WD4 VAL RD1 to RD4 BUSY Voltage 24 VDC Current 5.1 mA Impedance 4.7 k Remarks ------
Output
24 VDC
5 to 15 mA
------
Open collector
'
Section 4--1
4--1--2
Terminals
E5AF-A20 terminal identifications and functions are shown below.
13 1
25
14
Terminal no. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Signal name DSL1 DSL2 DSL3 DSL4 DSL5 DSL6 -----WD1 WD2 WD3 WD4 VAL GND RD1 RD2 RD3 RD4 BUSY --------------------24 VDC 24 VDC GND
Signal direction Input Input Input Input Input Input -----Input Input Input Input Input -----Output Output Output Output Output -----------------------------------Data select code 20 Data select code 21 Data select code 22 Data select code 23 Data select code 24 Data select code 25 -----Write data 20 Write data 21 Write data 22 Write data 23 Effective signal
Description
Output side power supply 0 V Read data 20 Read data 21 Read data 22 Read data 23 BUSY signal --------------------24 VDC output side power supply (must be supplied from an external power supply) 24 VDC output side power supply (common with terminal 23) 24 VDC output side power supply (common with terminal 13)
Connectors
'!
Section 4--4
4--2
4--3
4--4
4--4--1
Communications Programming
Things to Remember
1, 2, 3... 1.
Process values and set values must be read and written in units of four digits. If all four digits are not written/read, no data will be written or the E5AF will continue displaying the previous data even after reading starts. The read data is renewed in the following situations:
2.
On the falling edge of the VAL signal. When a new data select code is set. After the four digits of the present data is read, but before reading the next set of data. 3. Data can be received when the VAL signal is low. 4. Data is read after the rising edge of the BUSY signal. 5. When writing, set the write data and then change the select code. 6. The select code is read on the falling edge of the BUSY signal. Do not change the select code while the BUSY signal is high. 7. Once the select code has been changed, do not change it again until after the falling edge of the next BUSY signal. 8. If the VAL signal goes high while the BUSY signal is low (under process), select code processing may be interrupted. Do not change the VAL signal while the BUSY signal is high. 9. Wait at least 20 ms after the BUSY signal has gone high (OFF) before changing the VAL signal. VAL signal detection requires a maximum of 20 ms. 10. For negative values, write F as the leftmost digit (e.g. --23 AC = F023). 11. When several Controllers have been connected into a wired-OR data line, keep each VAL signal high for at least 20 ms.
4--4--2
Communications Errors
When an error occurs, it will not be displayed, but the BUSY signal will be output. A communications error will occur under the following conditions: When an undefined select code is sent. When improper four-digit writing data has been set. When read or write data cannot be set (refer to the note below). When a write command is received while the Controller is in local mode or is auto-tuning. Note The Alarm Temperature (2) (AL2) for E5AF-AH= cannot be set.
''
'
Section 4--5
4--5
Code 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F Undefined
Write 20 21 22 23 100 101 102 103 100 101 102 103 100 101 102 103 100 101 102 103 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F
Code
Read Process temperature 100 101 102 103 100 101 102 103 100 101 102 103 100 101 102 103 100 101 102 103
Undefined
Undefined
Undefined Memory status Mode status Error code (1) Error code (2) Status (1) Status (2) Status (3) Alarm Type (1) Alarm Type (2) Sensor Type
'
Section 4--5
1. Memory and Mode Status Each status explained below is for the write mode. For details, refer to 3--7 Selection of Write Modes. Memory Status Data select code [16]
23 X X X
Note The BUSY signal will be delayed after this command is executed because data transfer will take up to 0.5 s. Mode Status Data select code [17]
X X X 20 0: Backup mode 1: RAM write made
2. Error Code
',
'
3. Status Status (1) Data select code [3A]
23 22 21 20
Section 4--5
Input shift input ON (See Note 1) Alarm 1 output relay ON (See Note 2) Alarm 2 output relay ON (See Note 2) Auto-tuning being carried out
Note 1. The input shift bit of E5AF-AH= will be 0. 2. Alarm output 1 bit of the E5AF-AH= is the alarm bit. Alarm output 2 bit is for the detection of an abnormal input and heater burnout. Status (2) Data select code [3B]
23 22 X 20 1 Temperature scale . . . . . . 0
F
C
No Pulse
Alarm Model (1) Data Select Code [3D] For the E5AF-A=, this code indicates the Model of alarm output 1. The responses are shown in response 0 to 9 of Alarm Model (1).
Response 0 1 2 3 4 5 6 7 8 9 Model Alarm No alarm Upper/lower limit alarm Upper limit alarm Lower limit alarm Upper/lower limit range alarm Upper/lower limit alarm with stand-by sequence Upper limit alarm with stand-by sequence Lower limit alarm with stand-by sequence Absolute value alarm Proportional alarm Description
Alarm Model (2) Data Select Code [3E] For the E5AF-A=, this code indicates the Model of alarm output 2. The responses are shown in response 0 to 8 of Alarm Model (1).
'-
(
Input Type Data select code [3F] With this data select code, the following table is applicable.
Response 0 1 2 3 4 5 6 7 8 9 R S K J T E JPt100 Pt100 L U Model
Section 4--6
4--6
Timing Chart
The following charts show the timing of the signals when reading or writing data.
4--6--1
Writing
20 ms min.
VAL
DSL3, 102 set (3) (A)II (B) 101 data write (C)II DSL II
DSL4, 103 set (5) (A)III (B) 102 data write (C)III DSL III (D)III WD III (B)
BUSY DSL 1 to 6 WD 1 to 4
DSL I
(D)I WD I
(D)II WD II
WD IV
1) (A)I, (A)II, (A)III 40 to 60 ms 2) (A)IV 40 to 90 ms (When four-digit write data is all ready) 3) (B) MIN. 30 ms 4) (C)I, (C)II, (C)III MAX. 90 ms 5) (C)IV MAX. 120 ms
'(
Section 4--7
4--6--2
Reading
DSL1 set (0) 100 read DSL2 set (1) (A)I DSL3 set (2) (3) (B) (C)I (C)II DSL II (D)II RD I (D)III RD II RD III RD IV 101 read DSL4 set (4) (5) (B) (C)III DSL III 102 read (6) (B) (C)IV DSL IV 103 read (8) 20 ms min.
VAL
(A)II
(A)III
(A)IV
BUSY DSL 1 to 6
(D)I DSL I
RD 1 to 4
1) (A)I, (A)II, (A)III, (A)IV 30 to 50 ms 2) (B) MIN. 30 ms 3) (C)I, (C)II, (C)III, (C)IV MAX. 80 ms Note If the scanning speed of the PC is too slow to read the low level BUSY signal (part (A) of the above timing chart), change the DSL setting as follows: (D)I > (C)I, or, (D)II > (C)II, (D)III > (C)III
4--7
4--7--1
I/O Configuration
The following illustration and table show the system configuration and I/O allocations used in this example. Signal direction designations are from the view of the E5AF; I/O allocations and PC Unit designations are from the view of the PC.
Input Units Output Units IR 000 IR 001 IR002 IR 003 C1000H SYSMAC IR 004 C-series PC
Control inputs
Display
Thumbwheel switches
E5AF
'0
Section 4--7
Turned ON to output set value via IR 004 to display Turned ON to write set value input from IR 001 to E5AF Inputs set value from four thumbwheel switches Inputs data from E5AF to PC Outputs data from PC to E5AF Outputs set value to 4-digit segment display
Description Data select code 20 Data select code Data select code Data select code Data select code Data select code -----Write data 20 Write data 21 Write data Write data 22 23 21 22 23 24 25 I/O allocation IR 00704 on Output Unit IR 00705 on Output Unit IR 00706 on Output Unit IR 00707 on Output Unit IR 00708 on Output Unit IR 00709 on Output Unit -----IR 00700 on Output Unit IR 00701 on Output Unit IR 00702 on Output Unit IR 00703 on Output Unit IR 00704 on Output Unit -----IR 00900 on Input Unit IR 00901 on Input Unit IR 00902 on Input Unit IR 00903 on Input Unit IR 00904 on Input Unit ---------------------
Effective signal Output side power supply 0 V Read data Read data Read data Read data 20 21 22 23
Output side power supply 24 VDC -----Output side power supply 24 VDC -----Output side power supply 24 VDC ------
4--7--2
Section 4--7
03300
00312 MOV(21) #0001 040 Turns ON bit 1 of word that will be used as shift register.
03300
00312
00204 DIFU(13) 03200 IR 03200 is ON for 1 scan to indicate rising edge of BUSY signal IR 03201 is ON for 1 scan to indicate falling edge of BUSY signal
DIFD(14) 03201
25314 03200
03201
25314
Section 4--7
Moves DSL1 to output word. #0110 003 04001 MOVD(83) DM 0001 #0110 003 04002 MOVD(83) 002 #0000 DM 0010 04003 MOVD(83) DM 0002 #0110 003 04004 MOVD(83) 002 #0100 DM 0010 04005 MOVD(83) DM 0003 Move DSL4 to output word. #0110 003 04006 MOVD(83) 002 #0200 DM 0010 04008 MOVD(83) 002 #0300 DM 0010 25313 MOV(21) DM 0010 004 END(01) Moves set value stored in DM area to output word for display Moves 103 read data to DM area from input word. Moves 102 read data to DM area from input word. Moves 101 read data to DM area from input word. Moves DSL3 to output word. Moves 100 read data to DM area from input word. Moves DSL2 to output word.
4--7--3
Section 4--7
03400
00312 MOV(21) #0001 040 Turns ON bit 1 of word that will be used as shift register.
03400
00312
IR 04200 is ON for 1 scan to indicate rising edge of BUSY signal IR 04201 is ON for 1 scan to indicate falling edge of BUSY signal
04201
25314
04000 MOVD(83) DM 0030 #0000 003 MOVD(83) DM 0020 #0110 003 04001 MOVD(83) DM 0030 #0001 003 MOVD(83) DM 0021 #0110 003 04003 MOVD(83) DM 0030 #0002 003 MOVD(83) DM 0022 #0110 003 Continues on the next page. Moves DSL3 to output word. Moves write data 102 to output word. Moves DSL2 to output word. Moves write data 101 to output word. Moves DSL1 to output word. Moves write data 100 to output word.
Section 4--7
END(01)
4--7--4
00001
00312 MOV(21) Turns ON bit 1 of word that will be used as shift register.
03400
#0001 035
03300
03301
03400
03401
'
Section 4--7
I SFT(10) P R 040 040 Used to control data movement sequence of both read and write operations
03201
25314
03301 IL(02) 03500 MOVD(83) DM 0000 #0110 003 03501 MOVD(83) DM 0001 #0110 003 03502 MOVD(83) 002 #0000 DM 0010 03503 MOVD(83) DM 0002 Moves DSL3 to output word. #0110 003 03504 MOVD(83) 002 #0100 DM 0010 03505 MOVD(83) DM 0003 #0110 003 03506 MOVD(83) 002 #0200 DM 0010 03508 MOVD(83) 002 #0300 DM 0010 ILC(03) Continues on the next page. Moves read data 103 to DM area. Moves read data 102 to DM area. Moves DSL4 to output word. Moves read data 101 to DM area. Moves read data 100 to DM area. Moves DSL2 to output word. Moves DSL1 to output word. Interlocks read operation
Section 4--7
ILC(03) 25313 MOV(21) DM 0010 004 Moves read data stored in DM 0010 to output word for the display.
MOV(21) 001 DM 0030 Moves data input from thumb-wheel switches to DM area for writing to E5AF.
END(01)
Section 4--8
4--8
4--8--1
Hardware Configuration
Heater E5AF-A20
IR 003: Read data from E5AF to PC IR 004: Write data from PC to E5AF PC
7-segment display (DM 0505: read data from E5AF) IR 005 output to display Display for data read from the E5AF
VAL control switch (IR 00215) Execution control switch (IR 00200)
Program Operation
1, 2, 3... 1.
2.
3. 4.
5.
When the VAL control switch is ON, the E5AF-A20 is ready to process communications. When the read/write control switch is ON, data will be written to the E5AF-A20. When this control switch is OFF, data will be read from the E5AF-A20. Select codes 04 through 07 (set value 1) are used to write data and select codes 20 through 23 are used to read data (the process value). Each time the DSL (data select code) switch is turned ON, the E5AFA20 increments the select code and read/writes one digit (of the 4 digits). Read data is displayed on a 7-segment display and write data is input via thumbwheel switches.
Section 4--8
4--8--2
PC Program Example
DIFD(14) 03202
00311 MOVB(82) 002 #1215 Execution control switch 00200 004 CP CNT 001 03414 Differentiated bit for VAL signal ON R #0001
03405
00311
03405
Counters that count ON transitions in the BUSY signal. These counters are used to control data movement instructions indirectly through DIFU(13) instructions All of these counters are reset through IR 03405, which is turned ON by the Completion Flag for CNT 009, below.
00311
03405
00311
03409
Section 4--8
Produce differentiated bits from Completion Flags for CNT 001 through CNT 004 and CNT 009.
00215
DIFU(13) 03414
00208
03303 MOVD(83) From CNT 001 DM 0501 #0000 004 MOVD(83) DM 0502 #0110 004
DSL1 The differentiated bits produced off CNT 001 through CNT004 are used together with the ON status of the Read/write control input (IR 00208) to sequentially move the write data to the output word for E5AF. The write data in DM 0501 was moved there from IR 000, the input word from the thumbwheel switches. IR 03404 (next page) is used to indicate that all four digits have been written.
00208
03304 MOVD(83) From CNT 002 DM 0501 #0001 004 MOVD(83) DM 0502 #0112 004
DSL2
00208
03305 MOVD(83) From CNT 003 DM 0501 #0002 004 MOVD(83) DM 0503 #0110 004
DSL3
Section 4--8
4th write digit
03404 06113 Always ON Flag MOV(21) 000 DM 0501 00208 MOV(21) #0504 DM 0502
Moves set value input via thumbwheel switches (IR 000) to DM 0501
DSL1 and DSL2 Store the data select codes (DSL) for writing data.
MOV(21) #0706 DM 0503 03303 MOVD(83) From CNT 001 DM 0502 #0110 004 00208 03304 MOVD(83) From CNT 002 DM 0502 #0112 004 00208 03305 MOVD(83) From CNT 003 DM 0503 #0110 004 00208 03306 MOVD(83) From CNT 004 DM 0503 #0112 004 00208 MOV(21) #2120 DM 0502
00208
Move the data select codes for reading to the output word for the E5AF. These instructions are also activated indirectly from CNT 001 through CNT 004, but this time the read/write control input signal (on IR 00208) is OFF.
,3
Section 4--8
03406 MOVD(83) From CNT 005 003 #0003 DM 0505 03407 MOVD(83) From CNT 006 003 #0103 DM 0505 03408 MOVD(83) From CNT 007 003 #0203 DM 0505 03409 00208 MOVD(83) From CNT 008 003 #0303 DM 0505
The differentiated bits produced off CNT 005 through CNT 008 are used to sequentially move the read data from the input word for E5AF to storage words in the DM area. IR 03402 is used to indicate that all four digits have been read.
00311 00313
00412 00315
END(01)
,
Section 4--8
4--8--3
I/O Allocations
I/O Bits
The following I/O bits are used in the IR area of the PC to transfer signals and data between control/display devices and the PC and between the PC and the E5AF.
IR 002 (control inputs) Execution control input Not used IR 003 (Input from E5AF) Not used. IR 004 (Output to E5AF) Write data ( (set value 1) for f E5AF
Bit 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
IR 000 (Input from thumbwheel switches) Write data 100 for E5AF
Read/write control input Not used. Not used. BUSY signal input
Write data
103
for E5AF
IR 005 Output of process value to segments g a through th h g of f th the 7 7-segment t di display l (1st digit)
IR 006 Output of process value to segments g a through th h g of f th the 7 7-segment t di display l (3rd digit) Not used.
IR 007
Not used. Output of process value to segments g a through th h g of f th the 7 7-segment t di display l (4th digit)
Output of process value to segments g a through th h g of f th the 7 7-segment t di display l (2nd digit)
Output to BUSY indicator Not used Not used. Output to VAL indicator
,
Section 4--8
The various data transfers in the program are timed using nine counters, as shown in the following table. The Completion Flags for these counters are programmed through operand bits of DIFU(13) (called differentiated bits) to activate actual data transfers.
No. CNT 000 CNT 001 CNT 002 CNT 003 CNT 004 CNT 005 CNT 006 CNT 007 CNT 008 CNT 009 Set value Not used. #001 #001 #002 #003 #001 #002 #003 #004 #004 Differentiated bit Not used. IR 03303 IR 03304 IR 03305 IR 03306 IR 03406 IR 03407 IR 03508 IR 03409 IR 03300 Not used. 1st digit of write data 2nd digit of write data 3rd digit of write data 4th digit of write data 1st digit of read data 2nd digit of read data 3rd digit of read data 4th digit of read data Completion of all 4 digits of write data (indirectly resets CNT 001 through CNT 004) Application
Program address Not used. 00146 00150 00154 00158 00292 00296 00300 00304 00164
Work Bits
Bit 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 IR 032
The following bits are used within the program to control execution.
IR 033 Differentiated bit for CNT 009 Completion Flag Not used. Bit indicating 4 digits read Differentiated bit for CNT 001 Completion Flag Differentiated bit for CNT 002 Completion Flag Differentiated bit for CNT 003 Completion Flag Differentiated bit for CNT 004 Completion Flag Not used. Reset bit for CNT 005 to CNT 008 Bit indicating 4 digits written Reset bit for CNT 001 to CNT 004 Differentiated bit for CNT 005 Completion Flag Differentiated bit for CNT 006 Completion Flag Differentiated bit for CNT 007 Completion Flag Differentiated bit for CNT 008 Completion Flag Not used. Not used. IR 034
Bit indicating BUSY signal ON Differentiated bit for BUSY signal ON Differentiated bit for BUSY signal OFF Not used.
Differentiated bit indicating VAL signal OFF Differentiated bit indicating VAL signal ON Not used.
,!
Section 4--8
4--8--4
CNT 002
CNT 003
CNT 004
CNT 009
CNT 008
,'
+ )
8
!2
8
:
8
8
8
(!
,
(!
,
-5 !
,
,
,
"
%8 %
(
& & & &
Section 5--1
5--1
5--1--1
E5AF
Output selected
Valve control
5--1--2
Terminals
5 1 21 20
9 Connector
6 Terminal
Signal name
Plug: XM4A-0921 (OMRON) or equivalent one. Hood: XM2S-0911 (OMRON) or equivalent one.
5--1--3
Connection
E5AF +Vout 1 (2, 3, 4, 5 common) (Connector Model) 21 (Terminal Model) 20 (Terminal Model) 6 (7, 8, 9 common) (Connector Model) External unit
Recorder
max.
,,
Section 5--2
Resolution when outputting process temperature: Approx. 1/3,200 resolution or 0.1 C/ F, whichever is larger. When outputting output value: 0.1% (1% in manual operation)
) )
500 ms Yes
Note The output specifications of the E5AF Transmission Output Models and those of the E5AX Transmission Output Models are identical.
5--2
With the E5AF-AF Transmission Output Models, the contents of its output can be set.
ON
1 2
Items
Output contents
ON OFF ----------OFF
Operation
ON OFF OFF
4 mA Process temperature
4 mA Process temperature
Normal output
Reverse output
,-
Section 5--2
4 mA 0% 100% Output
4 mA 0% 100% Output
Normal output
Reverse output
Reverse
to
to
Note 1. The upper limit of the set value is expressed by 8 and the lower limit of it is expressed by . 2. In the case of A/D error, memory error, or abnormal input, 1 mA (safety side) is output in the same manner as the Electrical Current Output Unit. 3. If the process temperature exceeds either edge of the set limit, the transferoutput will rither be 4 mA or 20 mA.
,(
Appendix A
ASCII List
b8 b7 b6 b5
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
b8 b7 b6 b5
Even parity
b4 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
b3 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
b2 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
b1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 2 DLE SPACE ! DC1 DC2 # DC3 $ DC4 % NAK & SYN , ETB ( CAN ) EM SUB * + ESC , FS -GS RS / US
3 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
4 @ A B C D E F G H I J K L M N O
5 P Q R S T U V W X Y Z [
O
a b c d e f g h i j k l m n o
N
]
+ ,
7 p q r s t u v w x y z { | } ~ DEL
,0
Appendix B
List of Optional Accessories Link Adapters
3G2A9-AL001 Three RS-422 connectors for RS-422 line distribution.
3G2A9-AL004-E One RS-232C connector and two RS-422 connectors for RS-232C and RS-422.
Connectors
XM4A-0921, XM4A-2521 (Plug) D-sub connectors. Use in combination with XM2S.
-
Appendix B
Recorder
E55A-A6=C, E55A-B==C (4 to 20 mA input) In conjunction with E5AF-=F, the process temperature can be recorded.
-
.
#$ #% &'(( #) $$ $$ $% $% $% $%
*
,'+ %0 %1 - %1 %1 %1 %# %# %/ + 5 )$ + 5 *)
6378 *
6&78 *
*. +5 )$ *)
! ** ** ! ** **
02*. 10 -
0) 00 -
0$ 0/ (9 %4 (9 1$ 3' - 04 1% $0 $0 $0 $% *) ** ! ! ** ! **
)$ *) '+ )$ *) *) ,'+ %% %% ,'+ %* *) - %. - $# &*$*' *) &%** *) &%/0 *) $1 02*. 3' %* 1/ 1 ,'+ %* ,'+ %$ 4
2'& ** ! **
* * :: ) *# *# :: * *# *#
-!
&
02 )/ ,'+ ! %% 1/ 1/ - 1/ 1/ < )/
)/
1
*%
$. $. $)
6;)8 * * 6;*8 * * 6<58 * * * $) $* $) $) )* &*$*' )* &%** )$ &%/0 )1
14 ,'+ %% *$ $. *4 *4 *4
$.
*1 *1 *1 * 9 *1 *1 *# &*$*' )* )* &%** )$ )% - )0 &%/0 )1 )#
4
! = * + = * ;
= * = * *. = * < = *
*
)
> , + $ $*
*/ */ */
*# */ */ *# *# *#
*0
-'
&
1 ,'+ %$ %4 %/ ! *0 *1 *0 *1 *0
Revision History
A manual revision code appears as a suffix to the catalog number on the front cover of the manual.
-0
Z77-E1-1