Example Map - Stanley QB Expert Instruction Manual

Table of Contents

Advertisement

MODBUS TCP

6.13.1 Example Map

Here is an example of mapping addresses between an external PLC and the Alpha controller after the I/O functions
have been assigned in the Alpha controller.
Controller Inputs
External PLC
Address
30001:0
30001:1
30001:2
30001:3
30001:4
30001:5
30001:6, 7
30001:8 - 15
30002
Register:Bit
#
Integer, Float and ASCII data must start on a zero (first) bit of a byte and not in the middle of a byte. Function
code 03 (0x03) can only transmit a 16-bit register, not the individual bits within a register. The PLC will need to
send the 16-bit register and the Alpha controller will parse the individual bits after receipt.
Controller Outputs
External PLC
Address
40001:0
40001:1
40001:2
40001:3
40001:4
40001:5
40001:6, 7
40001:8 -15
40002
40004
Register:Bit
#
Integer, Float and ASCII data must start on a zero (first) bit of a byte and not in the middle of a byte. Function
code 04 (0x04) can only transmit a 16-bit register, not the individual bits within a register. The PLC will need to
capture the 16-bit register and then parse the individual bits after receipt.
148
Modbus Input*
#
0/0
0/1
0/2
0/3
0/4
0/5
0/6
1/0
2/0
*Byte/Bit
Modbus Output*
#
0/0
0/1
0/2
0/3
0/4
0/5
0/6
1/0
2/0
6/0
*Byte/Bit
Alpha Controller
Assigned Function
Length (Bits)
Start
Stop
Reverse
Job Select (Bit) 0
Job Select (Bit) 1
Job Select (Bit) 2
Ignored
Ignored
Part ID (ASCII)
Alpha Controller
Assigned Function
Length (Bits)
Fault
Ready
Tool Running
In Cycle
Cycle OK
Cycle NOK
Not Used
Not Used
Torque (Float)
Angle (Float)
QB Expert Alpha Controller
1
1
1
1
1
1
2
8
80
1
1
1
1
1
1
2
8
32
32

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents