15-25
15 Ethernet
CP2E CPU Unit Software User’s Manual(W614)
15-4 FINS C
o
mm
u
n
ication
s
15
15-4-6 N
e
w F
INS Command
s
Precautions for Correct Use
Precautions for Correct Use
No response will be returned if the command ends normally. A response will be returned only if
an error occurs.
In some cases, send requests (SEND/RECV instructions) made from the PLC to the built-in
Ethernet port just before execution of the RESET command may not be executed.
Except for the FINS communications service sockets, all open sockets (for sockets services) are
closed immediately before resetting.
Response Codes
z
ETHERNET PORT CONTROLLER DATA READ: 0501
Reads the following data from the Ethernet port, PLC model, PLC version, IP address, subnet mask,
FINS UDP port number, mode settings, Ethernet address.
Command Block
Response Block
Parameters
Model, Version (Response)
The PLC model and version are returned as ASCII characters occupying 20 bytes each (i.e., 20
characters each). If all bytes are not used, the remaining bytes will be all spaces (ASCII 20 Hex).
Example Model:
CP2E-ETN21
Version:
V1.00
IP Address, Subnet Mask (Response)
The built-in Ethernet port
’
s IP address and subnet mask are returned as 4 bytes each.
FINS UDP Port Number (Response)
The built-in Ethernet port
’
s UDP port number for FINS is returned as 2 bytes.
Mode Setting (Response)
The mode setting in the system setup is returned.
Response code
Description
1004
Command format error
05 01
Command code
05 01
20
b
yte
20
b
yte
4
b
yte
S
ub
net
mask
4
b
yte
FI
N
S UDP
port n
u
m
b
er
Mode
setting
6
b
yte
Ethernet address
Response
code
Command
code
Model
Version
IP address
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......