cat9555每次断电都要设置其输入输出吗

cat9555每次断电都要设置其输入输出吗,第1张

PLC断电重启有哪些注意事项:1、工艺程序已经完成,进入停止状态,否则需要人工处理生产线上的产品,2、确保工艺流程机械机构处于安全位置,否则可能产生机械事故,3、人员安全,4、机电器件(如电机、伺服、步进系统)先断电,5、断电后需要等一定时间(几分钟)再通电。

当然可以,同时打开多个文件读取或写入都是ok的,无论是FAT文件系统还是UFFS文件系统共,可以写个软件测试一下

稍后我写个软蔽神件测试一下,然后再贴出结果

\ | /

- RT - Thread Operating System

/ | \ 1.2.0 build Aug 23 2016

2006 - 2013 Copyright by rt-thread team

----------------------------------------

<boot>Booting...

<袜并档boot>----------- sys info ------------

<boot>rom = 512 KB

<boot>ram = 64 KB @0x20000000

<boot>xram = 512 KB @0x68000000

<boot>heap = 512 KB @0x68000000

<boot>freq = 72 Mhz

<boot>----------- app info ------------

<boot>bin = 161 KB @0x08003000

<boot>mem = 45 KB (static req)

<boot>............................[PASS]

----------------------------------------

<xram>Testing...

<xram>16 bit

<xram>512 KB OK

<xram>............................[PASS]

----------------------------------------

<SPI>Testing...

<SPI>Finding Next...

<SPI>ID = 00BF2541

<i2c>Configuration...

<i2c>............................[PASS]

----------------------------------------

<告乱cat9555>Testing...

<cat9555>EXIO0 @0x40

<cat9555>[cfg = 0x00c0]

init OK!

<cat9555>........................[PASS]

----------------------------------------

<Nand>Testing...

<Nand>ID = 2C,D3,90,A6,64

<Nand>Type = 1024M

<Nand>...........................[PASS]

----------------------------------------

<Nor>Testing...

<Nor>ID = 0001,227E,2221,2201

<Nor>...........................[PASS]

----------------------------------------

<CH374T>Testing...

<CH374T>Detect OK

<CH374T>LibInit OK

<CH374T>.........................[PASS]

----------------------------------------

<RTC>Testing...

<RTC>External Reset occurred

<RTC>No need to configure RTC

<RTC>............................[PASS]

----------------------------------------

<wm89xx>Testing...

<wm89xx>Find chip

<wm89xx>.........................[PASS]

----------------------------------------

<FileSystem>Init...

<FileSystem>Nor FS initialized!

<FileSystem>....................[PASS]

----------------------------------------

os : system memory alloc 1120 bytes

flsh: UFFS consume spare data size 18

os : system memory alloc 41360 bytes

os : system memory alloc 6288 bytes

os : system memory alloc 65536 bytes

tree: found bad block 412

tree: DIR 1, FILE 21, DATA 0

<FileSystem>Nand FS initialized!

<FileSystem>.....................[PASS]

----------------------------------------

<DSP>Testing...

<DSP>...........................[PASS]

----------------------------------------

>>Write /dev/FILE0.TXT ok

>>Write /dev/FILE1.TXT ok

>>Write /dev/FILE2.TXT ok

>>Write /dev/FILE3.TXT ok

>>Write /dev/FILE0.TXT ok

>>Write /dev/FILE1.TXT ok

>>Write /dev/FILE2.TXT ok

>>Write /dev/FILE3.TXT ok

>>Write /dev/FILE0.TXT ok

>>Write /dev/FILE1.TXT ok

>>Write /dev/FILE2.TXT ok

>>Write /dev/FILE3.TXT ok

>>Write /dev/FILE0.TXT ok

>>Write /dev/FILE1.TXT ok

>>Write /dev/FILE2.TXT ok

>>Write /dev/FILE3.TXT ok

>>Write /dev/FILE0.TXT ok

>>Write /dev/FILE1.TXT ok

>>Write /dev/FILE2.TXT ok

>>Write /dev/FILE3.TXT ok

>>Write /dev/FILE0.TXT ok

>>Write /dev/FILE1.TXT ok

>>Write /dev/FILE2.TXT ok

>>Write /dev/FILE3.TXT ok

>>Write /dev/FILE0.TXT ok

>>Write /dev/FILE1.TXT ok

>>Write /dev/FILE2.TXT ok

>>Write /dev/FILE3.TXT ok

>>Write /dev/FILE0.TXT ok

>>Write /dev/FILE1.TXT ok

>>Write /dev/FILE2.TXT ok

>>Write /dev/FILE3.TXT ok

>>Write /dev/FILE0.TXT ok

>>Write /dev/FILE1.TXT ok

>>Write /dev/FILE2.TXT ok

>>Write /dev/FILE3.TXT ok

>>Write /dev/FILE0.TXT ok

>>Write /dev/FILE1.TXT ok

>>Write /dev/FILE2.TXT ok

>>Write /dev/FILE3.TXT ok

finsh>>

finsh>>ls("/dev/")

Directory /dev/:

log <DIR>

devTst 4

NAND_DEMO 4

info_index 26

LOG.TXT 14

TABLE.DYB 35032

list_index 120

FILE0.TXT 100

FILE1.TXT 100

FILE2.TXT 100

FILE3.TXT 100

0, 0x00000000

finsh>>cat("/dev/FILE0.TXT")

1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 0, 0x00000000

finsh>>

如果需要代码可以再贴出来

1、首先/dev/tty1不是目录,是个设备文件,通常使用tty来简称各种类型的终端设备。tty是Teletype的缩写。

你可以在各种终端(显示器终端,串口,远程putty)分别敲几个命令感受可能更直观一些:悔桥禅

a)、w

b)、tty

c)、ps -ef

2、连接显示器登陆控制台(/dev/ttyn, /dev/console)

在Linux系统中,计算机显示器通常被称为控制台终端或控制台(Console)。它仿真了类型为Linux的一种终端,

并且有一些设备特殊文件与之相关联:tty0、tty1、tty2

等。当你在控制台上登录时,使用的是tty1。使用Alt+[F1—F6]组合键时,我们就可以切换到tty2、tty3等上面去。tty1 –tty6等称为虚拟终端,而tty0则是当前所使用虚拟终端的一个别名,

Linux系统所产生的信息都会发送到该终端上。因此不管当前我们正在使用哪个虚拟终端,系统信息都会发送到我们的屏幕上。

3、用串口登陆串行碧尘端口终端(/dev/ttySn)

串行端口终端(Serial Port Terminal)是使用计算机串行端口连接的终端设备。计算机把每个串行端口都看作是一个字符设备。

/dev/ttyS0和/dev/ttyS1分别对应COM1和COM2

可以给linux安装minicom调试cisco设备。

你的linux也可以通过串口被调试。

4、用putty或者SecureCRT登陆伪终端(/dev/pts/n),用w或者who命令体会一下

伪终端或者虚拟终端(Pseudo Terminal)是成对的逻辑终端设备,pts就是定义虚拟终端的

5、能力有限,说得可能比较消缓乱,man 4 tty会给你更多帮助


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/12422182.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-25
下一篇 2023-05-25

发表评论

登录后才能评论

评论列表(0条)

保存