Vous êtes sur la page 1sur 3

D V P - E S 2 / E X 2 / S S 2 / S A2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g

1.

Data response delay time can be set when PLC is a Slave in COM2, COM3 RS-485 communication. Unit: 0.1ms. 0~10,000 adjustable. By using PLC-Link, D1038 can be set to send next communication data with delay. Unit: 1 scan cycle. 0~10,000 adjustable

2.

Function Group Number Contents: 1.

Fixed scan time M1039, D1039

When M1039 is ON, program scan time is determined by D1039. When program execution is completed, next scan will be activated only when the fixed scan time is reached. If D1039 is less than actual scan time, it will scan by the actual program scan time.
M1000 M1039 normally ON contact MOV P Fix scan time K20 D1039

Scan time is fixed to 20ms

2.

Instructions related to scan time, RAMP, HKY, SEGL, ARWS and PR should be used with fixed scan time or timed interrupt. Particularly for instruction HKY, which is applied for 16-keys input operated by 4x4 matrix, scan time should be set to 20ms or above. Scan time displayed in D1010~D1012 also includes fixed scan time.

3.

4.

Function Group Number Contents: 1. 2.

Analog Function D1062, D1110~D1113, D1116~D1118

The function is for EX2/SX2 Only Resolution of AD (analog input) channels: 12 bits. Voltage: -10V~10V Current: -20mA~20mA Current: 4mA~20mA Value: -2000~2000. Value: -2000~2000 Value: 0~2000

3.

Resolution of DA (analog output) channels: 12 bits Voltage: -10V~10V Current: 0~20mA Current: 4mA~20mA Value: -2000~2000 Value: 0~4000 Value: 0~2000

4.

D1118: EX2/SX2 sampling time of analog/digital converstion. Default: 2. Unit: 1ms. If D1118 2, it will be regarded as 2ms.

2-64

2 . P r o g r a m m i n g C o n c e p ts

5.

Default of average times in analog input channels: (K2). If set value = K1, PLC takes the present value. Device D1062 D1110 D1111 D1112 D1113 Function Average times of EX2/SX2 analog input channels (CH0~CH3): 1~20, Default = K2 Average value of EX2/SX2 analog input channel 0 (AD 0) Average value of EX2/SX2 analog input channel 1 (AD 1) Average value of EX2/SX2 analog input channel 2 (AD 2) Average value of EX2/SX2 analog input channel 3 (AD 3) EX2/SX2 analog mode selection (0: Voltage / 1: Current) bit0~bit3 sets AD0~AD3, bit4~bit5 sets DA0~DA1 D1115 bit8~bit13 : range of current bit8~bit11 sets AD0~AD3 (0: -20mA~20mA, 1: 4~20mA) Bit12~bit13 sets DA0~DA1 (0: 0~20mA, 1: 4~20mA) Output value of analog output channel 0 (DA 0) Output value of analog output channel 1 (DA 1) For EX2/SX2 series, sampling time of analog/digital conversion. Sampling time will be regarded as 2ms If D1118 2.

D1116 D1117 D1118

Function Group Number Contents: Device M1067 M1068 D1067 D1068

Program Execution Error M1067~M1068, D1067~D1068

Explanation Program execution error Execution error locked Error code for program execution Address of program execution error

Latched None None None None

STOP RUN Clear Unchanged Clear Unchanged

RUN

STOP

Unchanged Unchanged Unchanged Unchanged

Error code explanation: D1067 error code 0E18 0E19 0E1A 0E1B 0E1C BCD conversion error Divisor is 0 Use of device exceeds the range (including E, F index register modification) Square root value is negative FROM/TO instruction communication error Function

2-65

D V P - E S 2 / E X 2 / S S 2 / S A2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g

Function Group Number Contents:

I/O Modules Detection D1140, D1142, D1143, D1145

D1140: Number of right-side modules (AIO, PT, TC, etc.), max. 8 modules can be connected. D1142: Number of input points (X) on DIO modules. D1143: Number of output points (Y) on DIO modules. D1145: Number of left-side modules (AIO, PT, TC, etc.), max. 8 modules can be connected. (Only applicable for SA2/SX2).

Function Group Number

Reverse Interrupt Trigger Pulse Direction M1280, M1284, M1286

Contents: 1. The falgs should be used with EI instruction and should be inserted before EI instruction 2. The default setting of interrupt I101 (X0) is rising-edge triggered. If M1280 is ON and EI instruction is executed, PLC will reverse the trigger direction as falling-edge triggered. The trigger pulse direction of X1 will be set as rising-edge again by resetting M1280. 3. When M0 = OFF, M1280 = OFF. X0 external interrupt will be triggered by rising-edge pulse. 4. When M0 = ON, M1280 = ON. X0 external interrupt will be triggered by falling-edge pulse. Users do not have to change I101 to I000.
M0 OUT M1280 EI FEND M1000 I001 INC D0 IRET END

Function Group Number Contents: 1.

Stores Value of High-speed Counter when Interrupt Occurs D1240~D1243

If extertal interrupts are applied on input points for Reset, the interrupt instructions have the priority in using the input points. In addition, PLC will move the current data in the counters to the associated data registers below then reset the counters.

2-66

Vous aimerez peut-être aussi