Win-GRAF User Manual, V 1.05, Mar. 2016 by ICP DAS 1-3
4.6 i_exist (Test if the I/O module exists?) ............................................................................. 4-13
4.7 i_8084 (Frequency, UP/Down Counter, UP Counter) ...................................................... 4-14
4.7.1 i_8084_freq (8-channel Frequency) ..................................................................... 4-14
4.7.2 i_8084_cnt_ch04 (4-channel UP/Down Counter) ................................................ 4-17
4.7.3 i_8084_cnt_ch08 (8-channel UP Counter) ........................................................... 4-19
4.8 i_8093 (3-axis High Speed Encoder Module) ................................................................... 4-21
4.9 Using the Count Function for I-8084W, I-8093W, I-87082W, I-87084W, I-7083 and I-7080
Modules ............................................................................................................................ 4-23
4.9.1 COUNTER_START .................................................................................................. 4-23
4.9.2 COUNTER_STOP .................................................................................................... 4-25
4.9.3 COUNTER_GET ...................................................................................................... 4-26
4.9.4 COUNTER_STATE .................................................................................................. 4-27
4.9.5 COUNTER_RESET .................................................................................................. 4-28
4.10 Ping_ip (Test an Ethernet/Internet Connection) .............................................................. 4-29
4.11 I-8088W (8-channel PWM Output Module) ..................................................................... 4-31
Chapter 5 Modbus Master: connecting to Modbus Slave Devices ..................................... 5-1
5.1 Enabling the Win-GRAF PAC as a Modbus RTU/ASCII Master ........................................... 5-1
5.1.1 Read DI data............................................................................................................ 5-3
5.1.2 Write DO Data ........................................................................................................ 5-6
5.1.3 Read AI Data ........................................................................................................... 5-8
5.1.4 Write AO Data (16-bit) .......................................................................................... 5-11
5.1.5 Write AO Data (32-bit) .......................................................................................... 5-13
5.1.6 How to use the XV Board? .................................................................................... 5-15
5.1.7 Connecting the XV107/ XV107A (8 DI, 8 DO) ....................................................... 5-21
5.1.8 Connecting the XV110 (16 DI) .............................................................................. 5-23
5.1.9 Connecting the XV111, XV111A (16 DO) .............................................................. 5-24
5.1.10 Connecting the XV116 (5 DI, 6 Relay) ................................................................... 5-26
5.1.11 Connecting the XV308 (8 AI, 8 DIO) ...................................................................... 5-28
5.1.12 Connecting the XV310 (4 AI, 2 AO, 4 DI, 4 DO) ..................................................... 5-34
5.1.13 To Disable/Enable the Modbus RTU/ASCII Master Port ...................................... 5-37
5.2 Enabling the Win-GRAF PAC as a Modbus TCP/UDP Master ........................................... 5-38
5.2.1 Connecting ET-7000 Series I/O Module ............................................................... 5-43
5.2.2 Connecting the ET-7060 (6 DI, 6 Relay) ................................................................ 5-46
5.2.3 Connecting the ET-7018Z (10 AI) .......................................................................... 5-48
5.2.4 To Disable/Enable the Modbus TCP/UDP Master Port ........................................ 5-49
5.3 Connecting the Modbus TCP Slave device has two IP addresses .................................... 5-50
5.4 Connecting the tGW-700 to Expand Modbus RTU Master Ports ..................................... 5-55
5.4.1 Using the tGW-700 Series (Modbus TCP to Modbus RTU/ASCII Gateway).......... 5-55
5.4.2 Connecting the tGW-700 Series and the LC-103 module (1 DI, 3 Relay) ............. 5-58