Académique Documents
Professionnel Documents
Culture Documents
TCP
Modbus TCP
Modbus TCP
Basic Requirements
Modbus TCP
Basic Setup with PEWIN32
Pro2
-Configure->Modbus
Setup
-Set the start address - In the standard Turbo PMAC
CPU/memory configuration (Option 5C0), this address
will be $010700
-The software will automatically set I67 to the correct
value The book says it will do so after setting it equal
to any number > 0, then SAVE and $$$, but this does
not always work
-You must choose the size of the buffer default is
256 words
-Press Setup Modbus Buffer button
ACC-65ETH
ACC-65ETH
ACC-65ETH
Data begins at i67+$80+$10 (PMAC Reference 32=16 words
=$10)
Assuming i67=$10700:
X:$10790,0,16
32
Y:$10790,0,16
X:$10791,0,12
ADC Input1
34
Y:$10791,0,12
ADC Input2
35
X:$10792,0,16
36
Y:$10792,0,16
37
X:$10793,0,12
38
DAC 1
23
X Memory
Sock #0
Mode(upper4
of 8 bits)
IP future
IP future
Future Spare
Future Spare
40xB
0xC
TBD
(8 bits)
0xD
TBD
TBD
0xE
TBD
TBD
0xF
TBD
TBD
0x1
0
0x6
9
0x8
0
TBD
(8 bits)
23
Server IP0
Period Timer
4
(8 bits)
Y Memory
TBD (8 bits)
Client
CmdListStrt
(8bits)
Server IP1
Server IP2
Period Timer 3
(8 bits)
Period Timer
2
(8 bits)
Client
CmdListEnd
(8bits)
Server IP3
Period Timer 1
(8 bits)
16
X:15
Timer (3 bits)/
Function Code (5 bits)
Y:23
16
Y:15 -
$370000040020,$000004040024
$37 = Timer 1, FC 23
$0000 = Modbus Reference Number = 0
$04 = Length = 4
$0020 = PMAC Reference Number = $20
Reference Numbers
Memory Allocation
Automation Direct GS
Series VFD
Automation Direct GS
Series VFD
Automation Direct GS
Series VFD
Automation Direct GS
Series VFD
Command
Data Location
M1660
(base+
$80)
FC3
2330
m1661
FC16
2330
m1662
FC3
2331
m1663
FC16
2331
m1664
FC3
2332
m1665
FC16
2332
m1666
FC3
1567
m1667
FC3
1568
Modbus Reference
PMAC
Reference
Count
(leng
th)
Command
Type
Automation Direct GS
Series VFD
Read/Write
Hex
Speed Reference
Run Command
Direction
091CH
External Fault 091DH
Fault reset
091EH
Jog 091FH 42336
Status
2101H
Frequency cmd
Output frequency
Output current
DC-bus voltage
Output voltage
Motor RPM
2107H
Scale freq (low)
Scale freq (high)
% Load
210BH
Firmware Version
Modbus
091AH 42331
091BH 42332
42333
42334
42335
48450
2102H
2103H
2104H
2105H
2106H
48456
2108H
2109H
48460
2110H
48451
48452
48453
48454
48455
48457
48458
48465
$91a=2330
4 is used as a holder
Modbus Reference
start with 1, not 0
The correct Modbus
Reference for us is
2330, not 2331
Phoenix FL IL BK
Modbus I/O
Phoenix FL IL BK
Modbus I/O
QTerm
QTerm
M841
1
Function
Axis Select
2
4
Feedhold
Cycle Start
8
16
Home
Estop
32
4096
Program Set
J+
8192
16384
JJ=
Client mode
or Server
mode
Basic HMI
with
developmen
t package
$0
PMAC/Mo
dbus Ref.
#
0/1
X: Memory Parameter
Y: Memory Parameter
$1
2/3
$2
4/5
$3
6/7
$4
8/9
$5
10/11
$6
12/13
$7
14/15
$8
16/17
$9
18/19
Reserved
Reserved
$A
20/21
Reserved
Reserved
$B
22/23
Reserved
Reserved
$C
24/25
Reserved
Reserved
$D
26/27
Reserved
Reserved
$E
28/29
Reserved
Reserved
$F
30/31
Reserved
Reserved
BIT
(Motor Only) *
(Motor Only) *
12 Step (STEP/QUIT)
13 Stop (ABORT)
14 Home
(Motor Only)
* When both Jog-Minus and Jog-Plus are set, motor will stop
Gotchas