Win-GRAF User Manual, V 1.02, Mar. 2015 by ICP DAS 1-3
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.2 Enabling the Win-GRAF PAC as a Modbus TCP/UDP Master ........................................... 5-37
5.2.1 Connecting ET-7000 Series I/O Module ............................................................... 5-42
5.2.2 Connecting the ET-7060 (6 DI, 6 Relay) ................................................................ 5-45
5.2.3 Connecting the ET-7018Z (10 AI) .......................................................................... 5-47
5.3 Connecting the Modbus TCP Slave device has two IP addresses .................................... 5-48
Chapter 6 Retain Variable and Data Storage ............................................................................... 6-1
6.1 Retain Variable ................................................................................................................... 6-1
6.1.1 RETAIN_VAR (Retain a Variable) ............................................................................. 6-3
6.1.2 RETAIN_ARY (Retain an Array Variable) ................................................................. 6-4
6.1.3 RETAIN_FLAG_SET/GET/CLR (Set/Get/Clear the Retain Flag) ................................ 6-5
6.2 Retain Variable (Using files) ............................................................................................... 6-7