296
6-5 Read write serial port parameters
In addition to modifying communication parameters through serial configuration panel, it can
also be realized by reading instruction [CFGCR] of serial parameters and writing instruction
[CFGCW] of serial parameters.
6-5-1 Read serial port parameters [CFGCR]
1)Summary
Read the serial port parameters to local specified registers.
Read serial port parameters[CFGCR]
Normally ON/OFF, rising
edge triggering
2)Operands
Local register starting address
Read serial port parameters number
3)Suitable soft component
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD; DM
includes DM, DHM; DS includes DS, DHS. M includes M, HM, SM; S includes S, HS; T
includes T, HT; C includes C, HC.
Operator S1: The number of registers used to read serial parameters is generally 8
(XD5E/XDME series is 9).
Operator S2: Serial port range: K0 ~ K5. K0: Port0, K1: Port1, K2: Port2 or Port2-
RS232 or Port2-RS485, K3: Port3, K4: Port4, K5: Port5.
tudonghoatoancau.com