
7.CR#24 ~ CR#27: display the present temperature (°F) of CH1~CH4 input signal.
8.CR#30 is the fault code register. Refer to the chart below.
Fault description | Content | b15~b8 | b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | |
Power source abnormal | K1(H1) |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | |
Analog input value error | K2(H2) |
| 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | |
Setting mode error | K4(H4) |
| 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | |
Offset/Gain error | K8(H8) | Reserved | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | |
Hardware malfunction | K16(H10) | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | ||
| |||||||||||
Digital range error | K32(H20) |
| 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | |
Average times setting error | K64(H40) |
| 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | |
Instruction error | K128(H80) |
| 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Note: Each fault code has the corresponding bit (b0~b7). Two or more faults may happen at the same time. 0 means normal and 1 means fault happened.
9. CR#31:
10.CR#32:
11.CR#33: b0~b11: Used to reset the settings of CH1~CH4 to factory defaults.
b12~b15: defined the ERR LED, factory setting is b12~b15=1111.
12.CR#34: software version.
13.CR#35~ CR#48: Reserved for internal system use.
14.The corresponding parameters address H4064~H4095 of CR#0~CR#48 are provided for users to read/write data via
A.Baud rate can be 4800, 9600, 19200, 38400, 57600, 115200bps.
B.MODBUS communication protocol can be either ASCII or RTU mode. Communication format for ASCII mode is 7Bit, even bit, 1 stop bit (7 E 1), while for RTU mode is 8Bit, even bit, 1 stop bit (8 E 1).
C.Function code: 03H read data from register.
|
| 06H write 1pcs WORD into register. |
|
| 10H write multiple WORD into register. |
|
|
|
5 |
| TEMPERATURE/DIGITAL CHARACTERISTIC CURVE |
Temperature mode: (Centigrade)
Digital Output
+6000
3.
4.After receiving the first
5.If the input or output exceeds the upper or lower bounds, then the ERROR LED will blink.
Example:
M1000
FROM K0
M1002
TO K0
= H402 D0
FROM
K0
FROM
K0
FROM
K0
FROM
K0
FROM
Explanation:
Read the model type of extension module K0 (should be H0402 for
The average values of CH1~CH4 saved in D10~D13 are written into CR#2~CR#5.
For
The read average temperature (°F) of CH1~CH4 (4 data) from CR#12~CR#15 and saved into D24~D27.
The read present temperature (°C) of CH1~CH4 (4 data) from CR#18~CR#21 and saved into D30~D33.
The read present temperature (°F) of CH1~CH4 (4 data) from CR#24~CR#27 and saved into D34~D37.
7 |
| RELATED INSTRUCTIONS EXPLANATION |
API |
|
|
|
|
|
|
| TO |
|
|
|
|
|
|
|
|
|
|
| Special module CR |
| Applicable model | ||||||||||||||||
79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ES |
|
| EP |
| EH | |||||||||||||||
|
|
| D |
|
|
|
|
| P |
|
|
|
|
|
|
|
| data write |
|
|
|
|
| |||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
| Bit device |
|
|
|
|
| Word device |
|
|
|
|
|
|
|
| |||||||||||||||||||||
|
| X | Y | M | S | K | H | KnX | KnY | KnM | KnS | T | C | D | E | F |
|
| ||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Continuous |
|
|
|
|
|
| Pulse |
| ||
m1 |
|
|
|
|
|
|
|
|
| ¼ | ¼ |
|
|
|
|
|
|
|
|
|
|
| TO |
| TO | P |
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| execution |
|
| execution | |||||||||||||||
m2 |
|
|
|
|
|
|
|
|
| ¼ | ¼ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
S |
|
|
|
|
|
|
|
|
| ¼ | ¼ | ¼ | ¼ | ¼ | ¼ | ¼ | ¼ | ¼ | ¼ | ¼ |
|
| ||||||||||||||||
n |
|
|
|
|
|
|
|
|
| ¼ | ¼ |
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Continuous |
|
|
|
|
|
| Pulse | |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| D | TO |
| D | TO | P | |||||||||||||
|
|
|
|
|
| Note: The usage range of operand m1 is 0~7. |
| execution |
| execution | ||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
| |||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
| The usage range of operand m2: ES/EP: |
|
|
| Flag: When M1083=On, it |
| |||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
| EH: |
|
|
|
|
|
|
|
|
| allows to insert interrupt | ||||||||||||||||||
|
|
|
|
|
|
|
|
|
| The usage range of operand n: ES/EP: n= |
|
|
| during FROM/TO. Refer to | ||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| following for detail. |
| ||||||||||||||||||
|
|
|
|
|
|
|
|
|
| ES series does not support pulse execution |
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||
|
|
|
|
|
|
|
|
|
| instruction (TOP, DTOP) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
Command |
|
|
|
|
|
| : the module number you are probing. |
|
| : the number of Controlled |
| |||||||||||||||||||||||||||
Explanation |
|
| Registers to be written to. |
| : the data to write. | : the number of CR to be | ||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
| written to in one time. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
| special modules. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| : When assign the bit operand, K1~K4 are used for | |||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
| used for |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
Program |
|
| Using the | |||||||||||||||||||||||||||||||||||
Example |
|
| and CR#2 of special module#0. DTO only allows one group of data to be written at |
a time (n=1).
The instruction is executed when X0=ON. Nothing will occur and the stored data will have no change when X0=OFF.
X0
DTO K0
The rules for adding multiple special modules to a Main Processing Unit:
Footnote
m1: The maximum number of special modules attached to an MPU is 8. The module closest to the MPU is 0 and the module furthest from the MPU is 7. m2: The number of Controlled Registers (CR) built in is 49. (#0~#48).
FROM/TO instruction read/write one CR at a time, while DFROM/DTO instruction read/write two CR at a time. Example below:
Upper
Assigned CR numer
+3000
Temperature Input
+600 C |
Temperature mode: (Fahrenheit)
Digital Output
+11120
API |
|
|
|
| FROM |
|
|
|
|
|
|
|
|
| Read special module CR |
| Applicable model | ||||||||||||||||||||
78 |
|
|
| D |
|
|
| P |
|
|
|
|
|
|
| data |
|
|
|
| ES |
|
| EP |
| EH | |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
| Bit device |
|
|
|
|
|
| Word device |
|
|
|
|
|
|
|
|
|
| |||||||||||||||||
|
| X | Y | M | S | K |
| H | KnX | KnY | KnM | KnS | T | C | D | E | F |
|
|
|
| ||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| FROM Continuous | FROM |
|
|
| Pulse |
| |||||||||||||
m1 |
|
|
|
| ¼ | ¼ |
|
|
|
|
|
|
|
|
|
| P |
|
|
| |||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| execution |
|
|
|
|
|
|
| execution | |||
m2 |
|
|
|
|
|
|
|
| ¼ | ¼ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||||
D |
|
|
|
|
|
|
|
| ¼ | ¼ | ¼ | ¼ | ¼ | ¼ | ¼ | ¼ |
|
|
|
| |||||||||||||||||
n |
|
|
|
| ¼ | ¼ |
|
|
|
|
|
|
|
|
|
|
|
| Continuous |
|
|
|
|
|
|
| Pulse |
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| D | FROM execution |
| D | FROM | P | execution | ||||||
|
|
|
|
|
| Note: The usage range of operand m1 is 0~7. |
|
| |||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||||||||||||
|
|
|
|
|
|
|
| Flag: When M1083 On, it allows | |||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
| The usage range of operand m2: ES/EP: |
|
| ||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
| EH: |
|
|
|
|
|
|
| to enable interrupt during | ||||||||||||||||||||
|
|
|
|
|
|
|
|
| The usage range of operand n: ES/EP: n= |
|
| FROM/TO. Refer to the |
|
Assigned | Assigned | ||
Equipment | CR | ||
D0 |
|
| CR#5 |
|
| ||
|
| ||
D1 |
|
| CR#6 |
|
| ||
D2 |
|
| CR#7 |
|
| ||
D3 |
|
| CR#8 |
|
| ||
D4 |
|
| CR#9 |
|
| ||
D5 |
|
| CR#10 |
|
| ||
|
|
|
|
Assigned Equipment
D0
D1
D2
D3
D4
D5
Assigned
CR
CR#5
CR#6
CR#7
CR#8
CR#9
CR#10
+5560
Temperature Input
+1112 F | |
|
6 |
|
| INITIAL PLC |
| LED display: |
1.Upon
2.POWER LED on and ERROR LED off means No Error.
Low Voltage error (lower than 19.5V), ERROR LED will blink continuously till the power supply goes above 19.5V.
| below for detail. | |||
| ES series model doesn’t support pulse |
|
| |
| execution instruction (FROMP, DFROMP). |
|
| |
Command | : the module number you are probing. | : the number of Controlled Registers | ||
Explanation | to be read. | : the data register location for storing data. | : the number of CRs |
to read at one time.
: When assigning bit operand, K1~K4 are used for
Please refer the following footnote for calculating of special module number.
Program | Read the content of CR#24 and CR#25 of module#0 and save it into D0 and D1 |
Example | when n=2. |
Instruction will be executed when X0=ON. However, nothing will occur and the stored data has no change when X0=OFF.
X0
FROM K0
|
|
In ES series models, flag M1083 is not provided. When FROM/TO instruction is executed, all interrupts (including external or internal interrupt subroutines) will be disabled. All interrupts will be executed after FROM/TO instruction is completed. Besides, FROM/TO instruction also can be executed in the interrupt subroutine.
The function of the flag M1083 (FROM/TO mode exchange) provided in EP/EH series models:
a.When M1083=Off, all interrupts (including external or internal interrupt subroutines) will be disabled when FROM/TO instruction is executed. The Interrupts will resumed after FROM/TO instruction complete. Please be advised FROM/TO instruction can be executed in the interrupt subroutine.
b.When M1083=On, if an interrupt enable occurs while FROM/TO instruction are executing, the interrupt FROM/TO instruction will be blocked till the requested interrupt finish. Unlike M1080 off situation, FROM/TO instruction cannot be executed in the interrupt subroutine.