P-Bus Gateway Firmware PBGW2.128 Version 1.61
P-Bus Gateway Firmware PBGW2.128 Version 1.61 - Persy
P-Bus Gateway Firmware PBGW2.128 Version 1.61 - Persy
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Calculating example<br />
If you want to calculate the modbus register offset Y to control an I/O Module at<br />
address A then:<br />
for P-<strong>Bus</strong> 1: Y = 512 + A * 8<br />
and<br />
for P-<strong>Bus</strong> 2: Y = 2816 + A * 8<br />
in which the registers:<br />
Y + 0 to Y + 3 are the read registers 0 – 3 of the I/O Module at address A and<br />
Y + 4 to Y + 7 are the write registers 0 – 3 of the I/O Module at address A.<br />
Now, suppose you’ll want to control an I/O Module at address 7 on P-<strong>Bus</strong> 2 then:<br />
Y = 2816 + 7 * 8 = 2872.<br />
The read registers 0 – 3 of the I/O Module at address 7 are: 2872 – 2875 and<br />
The write registers 0 – 3 of the I/O Module at address 7 are: 2876 – 2879.<br />
An easy tool for calculating the modbus-addresses is available on our website:<br />
www.persy.nl and can be found under document number: PCS018x<br />
diagnostic functions<br />
Detailed mapping of the diagnostic functions:<br />
Dec. Hex. Description<br />
0 0x00 Device Status<br />
1 – 7 0x01 – 0x07 Not used<br />
8 0x08 PBUS 1 Current Operating Mode<br />
9 0x09 PBUS 1 Error Status<br />
10 0x0A PBUS 1 Number of I/O Modules present<br />
11 0x0B PBUS 1 Number of load units present<br />
12 – 15 0x0C – 0x0F Not used<br />
16 0x10 PBUS 2 Current Operating Mode<br />
17 0x11 PBUS 2 Error Status<br />
18 0x12 PBUS 2 Number of I/O Modules present<br />
19 0x13 PBUS 2 Number of load units present<br />
20 – 255 0x14 – 0xFF Not used<br />
Device Status:<br />
0 = normal operations<br />
1 = firmware upgrade mode<br />
2 = reset<br />
3 = hardware failure, gateway need to be reset or exchanged<br />
PBUS Current Operating Mode:<br />
0 = not used<br />
1 = slave<br />
2 = master<br />
PBUS Error Status:<br />
Bit Description<br />
0 Set = general failure, gateway need to be reset or exchanged<br />
1 Set = overload<br />
2..15 not used<br />
16/17<br />
Persy Control Services B.V.<br />
Netherlands<br />
<strong>PBGW2.128</strong> – P-bus <strong>Gateway</strong><br />
PCS0113en<br />
02.2009