A002.西门子-S7COM
□ 支持西门子 S7-300/400 的 PROFIBUS/MPI 接口协议;
台式机使用 CP5611、CP5613 通讯卡,笔记本使用 CP5512 通讯卡;
监控系统集成 CP5611 卡驱动,CP5613 通讯卡驱动需要单独安装;
□ STEP7 编程软件,设置 PROFIBUS/MPI 接口的站号(如 2)和网络属性(如 1.5Mbps、Standard):
□ 打开"控制面板",执行其中"Set PC/PG Interface",使"S7ONLINE"对应为"CP5512(PROFIBUS/MPI)";
□ 选择 CP5512(PROFIBUS/MPI),执行[Properties]按钮,设置网卡通讯属性,须与 PLC 一致:
□ 选择 CP5512(PROFIBUS/MPI),执行[Diagnostics]按钮,诊断通讯连接:
□ 如果未出现"OK",或不能查询到 PC 和 PLC 站号,检查 PC 和 PLC 的参数是否一致、网线是否接好,直到能查询到 PC 和 PLC 的站号,说明通讯物理接通;
□ 安装驱动:
□ 驱动参数:
变量处理方式:
错误代码 - 描述
00CA :no resources available
00CB: configuration error
00CD: illegal call
00CE: module not found
00CF :driver not loaded
00D0 :hardware fault
00D1 :software fault
00D2 :memory fault
00D7: no message
00D8 :storage fault
00DB :internal timeout
00E1: too many channels open
00E2 :internal fault
00E7: hardware fault
00E9 :sin_serv.exe not started
00EA :protected
00F0 :scp db file does not exist
00F1 :no global dos storage available
00F2 :error during transmission
00F2 :error during reception
00F4 :device does not exist
00F5 :incorrect sub system
00F6 :unknown code
00F7 :buffer too small
00F8 :buffer too small
00F9 :incorrect protocol
00FB :reception error
00FC: licence error
0101 :connection not established / parameterised
010A :negative acknowledgement received / timeout error
010C :data does not exist or disabled
012A :system storage no longer available
012E :incorrect parameter
0132 :no memory in DPRAM
0201 :incorrect interface specified
0202 :maximum amount of interfaces exceeded
0203 :PRODAVE already initialised
0204 :wrong parameter list
0205 :PRODAVE not initialised
0206: handle cannot be set
0207 :data segment cannot be disabled
0300 :initialisiation error
0301: initialisiation error
0302 :block too small, DW does not exist
0303 :block limit exceeded, correct amount
0310 :no HW found
0311: HW defective
0312 :incorrect config param
0313: incorrect baud rate / interrupt vector
0314 :HSA parameterised incorrectly
0315: MPI address error
0316 :HW device already allocated
0317 :interrupt not available
0318 :interrupt occupied
0319 :sap not occupied
031A :no remote station found
031B :internal error
031C :system error
031D :error buffer size
0320 :hardware fault
0321 :DLL function error
0330: version conflict
0331 :error com config
0332 :hardware fault
0333: com not configured
0334 :com not available
0335 :serial drv in use
0336 :no connection
0337 :ob rejected
0380 :internal error
0381: hardware fault
0382 :no driver or device found
0384 :no driver or device found
03FF :system fault
0800 :toolbox occupied
4001: connection not known
4002 :connection not established
4003 :connection is being established
4004 :connection broken down
8000 :function already actively occupied
8001 :not allowed in this operating status
8101 :hardware fault
8103 :object access not allowed
8104 :context is not supported
8105: invalid address
8106 :type (data type) not supported
8107 :type (data type) not consistent
810A :object does not exist
8301 :memory slot on CPU not sufficient
8404 :grave error
8500 :incorrect PDU size
8702 :address invalid
D201 :syntax error block name
D202 :syntax error function parameter
D203 :syntax error block type
D204 :no linked block in storage medium
D205 :object already exists
D206 :object already exists
D207 :block exists in EPROM
D209 :block does not exist
D20E :no block available
D210 :block number too big
D241 :protection level of function not sufficient
D406: information not available
EF01 :incorrect ID2
FFFB :TeleService Library not found
FFFE: unknown error FFFE hex
FFFF :timeout error. Check interface