西门子S7系列串口通讯模块的信息与使用8.常见问题:CP341模板和调制解调器之间的通讯
日期:2008-3-20 19:04:00 来源: 作者:51plcjs 点击:
点击【 大 中 小 】放大字体.
ANSWER:
The modules CP341 and CP441 have different default settings for the V24 output signals DTR and RTS after return of power: the CP441 starts up with DTR = RTS = 1 and the CP341 with DTR = TRS = 0.
As a result of DTR = 0 the SATEL modem puts the Receive line of the CP341 (RxD) into BREAK and in this state sending is not possible.
With reference to the interfacing of modems, when assigning the parameters for the CP341 in the hardware configuration, you have the option 'Automatic operation of V24 signals'. With this setting the CP341 sets its DTR statically to 1 and also the RTS before each 'Send'.
However, this setting requires correct response behavior of the modem that is not provided by the SATEL modem. Other modems acknowledge the set DTR of the CP with set DSR or the set RTS of the CP with set CTS. If the DSR and CTS remain at 0 (as with SATEL), then a corresponding error message is generated and the Send procedure aborted.
Remedy:
In order to realize communication between the CP341 and the SATEL modem after resumption of power you have to call block FC6 (V24_SET), for example, in OB1. The parameters RTS and DTR must then be set to 'TRUE'.
P
L
C
技
术
网
|
可
编
程
控
制
器
技
术
门
户
|
十
万
P
L
C
工
程
师
的
共
同
选
择
!
·最新招聘信息
·最新求职信息
·推荐产品
·推荐厂商
深圳秦合源科技有限公司 | | 深圳市秦合源科技有限公司是国内领先的规模较大品种齐全的称重传感器(Loadce...... |
|
|
深圳联脉电子有限公司 | | 公司自1998年创立以来,一直致力于工业控制产品的研发、制造、销售,目前有机房监...... |
|
|
东莞市友诚自动化 | | 本公司专业代理台湾永宏、台达PLC、HITECH人机、特价供应文本显示器MD20...... |
|
|
·栏目热门排行
·站内热门排行
jhgjgjgjjg,S7,FX,自锁,PLC程序,梯形图,D/A,A/D,串口,USB,RS232,电缆,施耐德,Twido,CPM1A,三菱,触摸屏,印刷,计数器,伺服,PID,西门子,安川,欧姆龙,台达,PLC技术,松下,Rockwell,变频,步进,解密,模拟,数字,仿真,STEP7,SIMITIC,通讯,I/O,定时器,指令,现场总线,供水,培训,组态,WINCC,CAN总线,FANUC,数控