![ICP DAS USA I-7521 User Manual Download Page 74](http://html1.mh-extra.com/html/icp-das-usa/i-7521/i-7521_user-manual_3573743074.webp)
I-7521/I-7522/I-7522A/I-7523/I-7524/I-7527 User’s Manual,Ver2.5 Aug.2015
74
5.3.4
$AAPN[parity-bit]
Description
:
This function reads/sets the parity bit for COM 1/2/3/4/5/6/7/8
$AAPN
[chk](CrLf)
Reads the parity bit for COM 1/2/3/4/5/6/7/8 stored in
the EEPROM
$AAPN[parity-bit]
[chk](CrLf)
Sets the parity bit for COM 1/2/3/4/5/6/7/8
Syntax
:
$AAPN[parity-bit][chk](CrLf)
$
Delimiter character
AA
2-character module address in HEX format. The valid range is from
00 to FF
N=0
Reads/Sets the parity bit for the COM 2
N=1
Reads/Sets the parity bit for the COM 1/3/4/5/6/7/8
[parity-bit] 0=NONE, 1=EVEN, 2=ODD
[chk]
2-character checksum. If the checksum is disabled
no [chk]
(CrLf)
End Character
Response
: valid command
!AA[parity-bit][chk](CrLf)
invalid command
?AA[chk](CrLf)
no response
syntax error, communication error, or address error
!
Delimiter character indicating a valid command
?
Delimiter character indicating an invalid command
AA
2-character module address in HEX format
[chk]
2-character checksum. If the checksum is disabled
no [chk]
(CrLf)
End Character
Example
: (Assume the AA address value of the I-7523 module is 01)
command: $01P00(CrLf)
response : !01(CrLf)
command: $01P10(CrLf)
response : !01(CrLf)
command: $02P11(CrLf)
response : !02(CrLf)
command: $03P12(CrLf)
response : !03(CrLf)
Changes parity-bit to NONE for RS-485 (COM2)
Changes parity-bit to NONE for RS-232 (COM1)
Changes parity-bit to EVEN for RS-232 (COM3)
Changes parity-bit to ODD for RS-232 (COM4)
For: I-7521/I-7522/I-7522A/I-7523/I-7524/I-7527
Summary of Contents for I-7521
Page 11: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 11 1 4 Pin Assignment...
Page 13: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 13...
Page 15: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 15...
Page 17: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 17...
Page 19: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 19...
Page 21: ...I 7521 I 7522 I 7522A I 7523 I 7524 I 7527 User s Manual Ver2 5 Aug 2015 21...