
TPM
EasyPAC User Manual
69
Ring_0 AI/O and Counter
IP
AI
COUNTER
MODBUS
AO
MODBUS
%I
Input Registers
%Q
Holding Registers
DEC
HEX
DEC
HEX
48
%IW 193
%ID 193
0
0
%QW 193
0
0
%IW 195
1
1
%QW 195
1
1
%IW 197
%ID 197
2
2
%QW 197
2
2
%IW 199
3
3
%QW 199
3
3
%IW 201
%ID 201
4
4
%QW 201
4
4
%IW 203
5
5
%QW 203
5
5
%IW 205
%ID 205
6
6
%QW 205
6
6
%IW 207
7
7
%QW 207
7
7
Table 5-6: table of Ring_0 AI/O and counter
IP: “48” Available IP for AIO/PIO is ranged from 48 to 63 and the total number is 16.
The following data types are available with the same slave IP: 8 Channel AI (%IW 193 ~ 207), 8 Ch. AO
(%QB 193 ~ 207) and 4 Channel PI Counter (%ID 193 ~ 205).
The data type of AIO is WORD (Hex 0x0000~0xFFFF). The engineering unit can be calculated. When the
gain of Ch.0 of AI is ±10V, %IW 193 = 0x0000 (-10V) ~ 0xFFFF (+10V)
The data type of PIO counter module is DWORD (Hex 0x00000000~0xFFFFFFFF).
In the case of 108-P120, different modes can be set as described in the following:
1.
Counter: Count the no. of pulses.
2.
Frequency: Measure the frequency of the input pulse (Time is 0.1s~100s).
For example, When Time is set to 1s and gets 1000 pulse from IN0, %ID 193 = 0x000003E8. The freq. is
1 KHz.
3.
Period: Measure the period of the incoming pulse in the unit of ns.
For example, when the input pulse is with 2ms width in IN0, %ID 193 = 0x001E8480, period is
2000000ns. The freq. is 500 Hz.
4.
GT: Measure the ON/Off Time in the Gate, sampling period is 0.1ms.
For example, the signal in the gate is 2 seconds, 2000ms/0.1ms= 20000, %ID 193 = 0x00004E20.
5.
GC: Only 2 channels are available in this mode:
Channel 0
Channel 1
IN0: Count0
IN2: Count1
IN1: Gate0
IN3: Gate1
IN1 and IN3: Measure the Gate input time
IN0 and IN2: Measure the pulse input Count
Summary of Contents for EasyPAC
Page 74: ...TPM EasyPAC User Manual 74 ...
Page 75: ...TPM EasyPAC User Manual 75 ...
Page 76: ...TPM EasyPAC User Manual 76 ...
Page 77: ...TPM EasyPAC User Manual 77 ...
Page 78: ...TPM EasyPAC User Manual 78 ...
Page 79: ...TPM EasyPAC User Manual 79 ...
Page 80: ...TPM EasyPAC User Manual 80 ...
Page 81: ...TPM EasyPAC User Manual 81 ...
Page 82: ...TPM EasyPAC User Manual 82 ...
Page 83: ...TPM EasyPAC User Manual 83 ...
Page 84: ...TPM EasyPAC User Manual 84 ...
Page 85: ...TPM EasyPAC User Manual 85 ...
Page 86: ...TPM EasyPAC User Manual 86 ...
Page 87: ...TPM EasyPAC User Manual 87 ...
Page 88: ...TPM EasyPAC User Manual 88 ...
Page 89: ...TPM EasyPAC User Manual 89 ...
Page 90: ...TPM EasyPAC User Manual 90 ...
Page 91: ...TPM EasyPAC User Manual 91 ...
Page 92: ...TPM EasyPAC User Manual 92 ...
Page 93: ...TPM EasyPAC User Manual 93 ...
Page 94: ...TPM EasyPAC User Manual 94 ...
Page 133: ...TPM EasyPAC User Manual 133 ...
Page 140: ...TPM EasyPAC User Manual 140 Standard behavior of 2 following absolute movements ...
Page 141: ...TPM EasyPAC User Manual 141 ...
Page 209: ...TPM EasyPAC User Manual 209 Figure 6 104 axis status with Stop signal turned on ...