ICP DAS USA 7000 user manual Checksum=0

Page 84

Step 3: read the module status, chksum=DISABLE

Step 5: enable checksum with the INIT*_pin floating, so the function fails. If the user want to enable the checksum bytes of the 7000 module, the INIT*_pin must be connected to the GND_pin. If the INIT*_pin is left floating (unconnected), the 7000 module will echo ?AA to the user.

Step 8: enable checksum with the INIT*_pin connected to the GND_pin. After this command, the checksum is still in the DISABLE state. The state of checksum will be changed only during the power-on period. But the checksum status is saved into EEPROM immediately.

Step 10: read the module status from EEPROM and find that checksum is in the ENABLE state. The state of checksum was changed in step 8 but this module is still in checksum DISABLE state. Only when the module has powered-off-and-powered-on, the state of checksum will be changed to

ENABLE

Step 11: power off, disconnect the INIT*_pin and the GND_pin. Power on. The checksum status of this module is enabled now.

Step 12-17: Changes TEST.EXE to baud rate 9600 and checksum enable, then read back the module status and find that the module is in checksum enable state now.

The steps to compute checksum are given as follows:

step 1: checksum=0;

1.Step 2: for all command byte checksum = checksum + command byte

2.Step 3: checksum=checksum&0xff

3.Step 4: convert checksum to ASCII high byte and ASCII low byte

For example, command = $012[Enter]

Checksum = $+0+1+2=0x24+0x30+0x31+0x32=0xB7 Checksum & 0xff = 0xB7

Checksum ASCII high byte = ASCII B = 0x42 Checksum ASCII low byte = ASCII 7 = 0x37 Command with checksum = $012B7[Enter

7000 Bus Converter User Manual (version 1.2,Feb/2003, 7PH-006-10) ---------------

84

Image 84
Contents 7000 Series Bus Converter Common Features of the 7000 Series Dimension7520 Pin Assignment and Specifications Block Diagram 7000 series overview7510 7513PC Networking Applications RS-232 Devices Network Quick Starting the 7000 SeriesIntroduction Group 10 Power supply module ACE-540A 24V/2A power supply Page Page Page Page Back View Stack Mounting Din Rail Mounting 7520/A/R/AR, PCI-7520AR, PCISA-7520R Isolation voltage3 I-7520 is designed Termination resistor 120 Ohm on board Remove resistorI-7520R Pin Assignment and Specifications 7520R RS-232 to RS-485 ConverterI-7520A Pin Assignment and Specifications 7520A RS-232 to RS-422/485 ConverterDefault sitting Ohm on board JP1JP3 I-7520AR Pin Assignment and Specifications 7520AR RS-232 to RS-422/485 ConverterPCI-7520AR Pin Assignment and Specification Terminal Wire RS-485 Wire RS-422Not Connect PCISA-7520R Pin Assignment and Specification Terminal Wire RS-4857000 Host Computer 7520 Page Therefore the Host PC/PLC is common ground with NetworkPower Ground with Host PC/PLC for Uses the same DCHost PC/PLC If there is high voltageConfiguration B 7560 / I-7561 I-7560 Pin Assignment and Specifications IntroductionI-7560 System Network Configuration Block Diagram 3 I-7560 Driver Installation Installing the DevicePage Page Page Page Page Page Page I-7561 Pin Assignment and Specifications SpecificationsPage Set Type Channels RS-485 4 I-7561 is designed Termination resistor 120 Ohm on boardJP3 Page Page Page Page Page Page Page Page Page Page Page Page I-7563 Pin Assignment and Specifications 7563Page Page Page Page Page Page Page Page Page I-7551 Pin Assignment and Specifications RS-232 TxD, RxD, CTS, RTS, GND or TxD, RxD, DCD, DTR, GNDPage 7510 / I-7510A / I-7510AR I-7510A Pin Assignment and Specifications 7510A RS-485/RS-422 RepeaterI-7510AR Pin Assignment and Specifications 7510ARPage 7513 Page Page RS-485 Networking This is the third function GND Page PLC Networking Applications RS2PC Networking Applications RS-485 Series 7520 Host PC RS-232 device Find Status of Unknown Module Wire connection Refer to Sec Quick Starting the 7000 SeriesChanging Module Address Wire connection Refer to Sec Press $02FEnterChanging Baud Rate Wire connection Refer to Sec Checksum Enable/Disable Wire connection Refer to Sec Press $012Enter Receive=!01080640B1Checksum=0