AM335X-PAC Series User Manual version 2.0.1 Page: 58
Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
3.2. i-Talk Utility
The
i-Talk utility
can make the convenient for users to access the modules and hardware in the
LinPAC AM335x PAC and can be found in the path /usr/sbin/iTalk. An overview of the i-Talk utility
functions is given below:
LP-8x2x/9x2x
Instruction
Description
getlist
Lists the names of all modules inserted in the LP-8x2x/9x2x
setdo
Sets the Digital Output value for I-8K modules
getdi
Reads the Digital Input value for I-8K/9K modules
setport
Sets the Port offset value for the module
getport
Reads the Port offset value for the module
getsendreceive
Send ASCII command and wait response from a serial
getreceive
Get ASCII response from a serial module
getmrtu
Send a Modbus/RTU command and wait for a response from a serial
module
getmtcp
Send a Modbus/TCP command and wait for a response from a serial
module
getmasc
Send a Modbus/ASC command and wait for a response from a serial
module
getpactype
List the FPGA version
(Shown as
‘0x82’
on the
LP-8x21
, and
‘0x93’
on the
LP-9x21
)
wdt
Set the WatchDog Timer (WDT) for the LP-8x2x/9x2x