Difference between revisions of "IO12-Update"
m (→Prerequisites) |
m (→Prerequisites) |
||
Line 11: | Line 11: | ||
* Modbus Test & Load BCL application (MBT_Vxx_S.cob for serial cable or MBT_Vxx_T.cob for TCP terminal) | * Modbus Test & Load BCL application (MBT_Vxx_S.cob for serial cable or MBT_Vxx_T.cob for TCP terminal) | ||
* Power supply 9VDC (min.) to 30VDC (max.), to supply both Barionet and IO12, 300mA (min.) | * Power supply 9VDC (min.) to 30VDC (max.), to supply both Barionet and IO12, 300mA (min.) | ||
* 4pin Extension cable to connect to Barionet 50 or 4 wires to connect to Barionet 100 | * 4pin Extension cable to connect to [[Barionet 50]] or 4 wires to connect to [[Barionet|Barionet 100]] | ||
'''⇒ Tips:''' | '''⇒ Tips:''' | ||
* Using a Barionet 50 is simpler as it needs no wiring: The supplied 4 pin extension cable can be used ! | * Using a [[Barionet 50]] is simpler as it needs no wiring: The supplied 4 pin extension cable can be used ! | ||
* Using the TCP version of the application is simpler as it needs no serial port and serial cable ! | * Using the TCP version of the application is simpler as it needs no serial port and serial cable ! | ||
<br> | <br> |
Revision as of 10:55, 17 February 2011
IO12 Update procedure
This page describes how to update the firmware on an IO12. The IO12 can be update using a Barionet and a PC/Mac using a terminal program to control the application. The terminal program can connect to the application either via TCP or a serial (RS-232) connection.
Prerequisites
Prepare the following material:
- PC or Mac with e and a terminal program such as hyperterm
- Optionally: a serial port (HW or USB2serial) and a serial cross cable (DB9 femaleto DB9 female)
- A Barionet 50 (FW 2.00 or higher) or a Barionet 100 (FW 2.08 or higher)
- Modbus Test & Load BCL application (MBT_Vxx_S.cob for serial cable or MBT_Vxx_T.cob for TCP terminal)
- Power supply 9VDC (min.) to 30VDC (max.), to supply both Barionet and IO12, 300mA (min.)
- 4pin Extension cable to connect to Barionet 50 or 4 wires to connect to Barionet 100
⇒ Tips:
- Using a Barionet 50 is simpler as it needs no wiring: The supplied 4 pin extension cable can be used !
- Using the TCP version of the application is simpler as it needs no serial port and serial cable !
Hardware setup
- Connect the PC/Mac and the Barionet to your network switch or hub
- Depending on the kind of application control connection do the following:
- If you plan to use the TCP version of the application skip to step 3.
- If you plan to use the serial version of the application:
- Connect the PC/Mac to the serial port of the Barionet with the cross cable
- Wire the IO12 with the Barionet and power supply as following:
Software setup
- Connect the PC/Mac and the Barionet to your network switch or hub
- Depending on the kind of application control connection do the following:
- If you plan to use the TCP version of the application:
- * Load the file MBT_Vxx_T.cob (xx is the version, at the time of writing: 11) into the Barionet's page WEB4 (Barionet 50: via extended web update, Barionet 100: via tftp), reboot when done and wait 10 seconds
- * Connect the PC/Mac to the serial port of the Barionet with the cross cable
- * Start a terminal program with the serial settings 9600,8,N,1 no HW control
- If you plan to use the serial version of the application:
- Load the file MBT_Vxx_S.cob (xx is the version, at the time of writing: 11) into the Barionet's page WEB4 (Barionet 50: via extended web update, Barionet 100: via tftp), reboot when done and wait 10 seconds
- ** Connect the PC/Mac to the serial port of the Barionet with the cross cable
- ** Start a terminal program with the serial settings 9600,8,N,1 no HW control
- Wire the X8 with the Barionet and power supply as following:
Signal | Barionet | X8 |
RS485 B | J7 pin 5 | J3 pin 3 |
RS485 A | J7 pin 4 | J3 pin 2 |
Power + | J6 pin 15 | J3 pin 1* |
Power - | J6 pin 16 | J3 pin 2* |
(*) the X8 has a built in bridge rectifier, so polarity of the power connection is unimportant.
procedure
1) Reset the Barionet. You should see the prompt of the MBT application. If you select "2" - service, you get into the modbus testing/exercising menu. note that the software will automatically set the serial parameters to 19200,e,8,1 and if a change is needed, it will automatically reboot/restart.
2) check if the connected X8 is working, for example, with a "read command": R0,256,4<CR>
Answer (example): READ: 00B2 0005 0005 0001
this shows 8 bytes from the eeprom of the X8, being type, firmware version (5) , serial number 1 (5) & 2 (1). The device will respond independent of its modbus address as this is a read to the "broadcast" address. ** note ** the numbers displayed are in hexadecimal notation. A serial number of an X8 such as 10-31 would be displayed as 000A 001F !
3) send the "firmware erase" command to the X8 - it needs the serial number of the X8 as two decimal numbers as parameter as a security feature. For example, X8 with serial number 5-001 needs the following command F5,1<CR>
4) the X8 will turn three of the four visible LEDs on, and after about 6 seconds 2 will stay iluminated.
...you can repeat this now for as many X8 as you wish. The X8 devices will be "erased" after this procedure. And new software will be loaded in the next step.
5) enter "X" command to leave the service mode, then select "3" for the firmware loader
6) the barionet will reconfigure the serial port, restart. Select "3" again for the load app (or wait it will be entered automatically).
7) if the X8 is still connected (and erased), press "S" to send the firmware to the X8. Otherwise, any X8 connected will start loading automatically after approx. 6 seconds.
8) after about 20 seconds, the firmware load is complete and the X8 will start blinking with one LED. power off/on the X8, it may still blink with the middle LED, repower again. The X8 now will blink only with one corner LED, all others will be off. The device has been loaded with the firmware and is operative.
Back to FAQ