Beruflich Dokumente
Kultur Dokumente
CS 1000/CS 3000
Reference
Subsystem Communication (Using RIO)
IM 33S01B30-01E 16th Edition
CONTENTS
PART-J
J1.
J1.2
J1.3
J1.4
J1.5
J1.6
J2.
J1.5.1
J1.5.2
J2.2
J3.
J2.2.2
J2.3
J2.4
J3.2
J3.3
J3.4
J3.5
J3.6
J3.7
J3.8
J3.9
Toc J-2
J4.
J5.
J6.
J7.
J4.2
J4.3
J4.4
J4.5
J4.6
J4.7
J4.8
J4.9
J5.2
J5.3
J5.4
J5.5
J5.6
J5.7
J5.8
J5.9
J5.10
J6.2
J6.3
J6.4
J6.5
J6.6
J6.7
J6.8
J7.2
J7.3
J7.4
J7.5
J7.6
J7.7
Toc J-3
J8.
J9.
J8.2
J8.3
J8.4
J8.5
J8.6
J8.7
J8.8
J8.9
J9.2
J9.3
J9.4
J9.5
J9.6
J9.7
J9.8
J9.8.2
J9.9
J9.10
J9.11
J10.2
J10.3
J10.4
J10.5
J10.6
J10.7
J10.8
J10.9
IM 33S01B30-01E
Toc J-4
J11. A-B Communication ............................................................................ J11-1
J11.1
J11.2
J11.3
J11.4
J11.5
J11.6
J11.7
J11.8
J11.9
J12.2
J12.3
J12.4
J12.5
J12.6
J12.7
J12.8
J12.9
J13.2
J13.3
J13.4
J13.5
J13.6
J13.7
J13.8
J13.9
Toc J-5
J14. DARWIN/DAQSTATION Communication (ACM71) ............................ J14-1
J14.1
J14.2
J14.3
J14.4
J14.5
J14.6
J14.7
J14.8
J14.9
J14.8.1
J14.8.2
J15.2
J15.3
J15.4
J15.5
J15.6
J15.7
J15.8
Transmission Time between Communication Module and SLC 500 ...... J15-21
J16.2
J16.3
J16.4
J16.5
J16.6
J16.7
J16.8
J16.9
Toc J-6
J17. Modbus Communication (ACM71) ..................................................... J17-1
J17.1
J17.2
J17.3
J17.4
J17.5
J17.6
J17.7
J17.8
J17.9
J1-1
FCS
Control
function
Communication module
(ACM11, ACM12)
Subsystem
communication
package
Subsystem
Communication module
I/O image area
Communication card
(ACM21, ACM22,
ACM71)
FCS-C
Subsystem
J010001E.EPS
This section explains only the communication method using the subsystem communication
package.
Hereinafter, Communication modules and Communication cards are all referred to as
communication modules.
IM 33S01B30-01E
J1-2
IM 33S01B30-01E
J1-3
SEE ALSO
For the subsystem communication package to be used for details on the functions of each communication
package, see the followings:
J3, FA-M3 Communication (ACM11, ACM12)
J4, FA-M3 Communication (ACM71)
J5, DARWIN Communication
J6, Gas Chromatography Communication
J7, YS Instrument Communication
J8, MELSEC-A Communication (ACM11, ACM12)
J9, MELSEC-A Communication (ACM71)
J10, Modbus Communication (ACM11, ACM12)
J11, A-B Communication
J12, SYSMAC Communication
J13, Siemens Communication
J14, DARWIN/DAQSTATION Communication (ACM71)
J15, SLC 500 Communication (ACM11)
J16, PLC-5/SLC 500 Communication (ACM71)
J17, Modbus Communication (ACM71)
IMPORTANT
The communication package in the communication module is the protocol for Master.
IM 33S01B30-01E
J1-4
ACM12:
ACM21:
ACM22:
ACM71:
*1:
*2:
*3:
*4:
IM 33S01B30-01E
J1-5
IMPORTANT
A non communication I/O module such as AMM or ADM cannot be used with a communication I/O module in the same communication I/O module nest.
SEE ALSO
For details on how to install the communication I/O module, see the following:
A3, Input & Output Modules in Input & Output Modules (IM 33Y06K01-01E)
Slot No. 2
ACM11
(RS-232C communication module)
Can be installed
Can be installed
ACM12
(RS-422/RS-485 communication module)
Can be installed
Can be installed
Remarks
J010101E.EPS
Two communication modules can be installed in one AMN33. The ACM11 and ACM12 can
be installed together in the slots of the same nest.
IM 33S01B30-01E
J1-6
Slot No. 2
ACM21
(RS-232C communication card)
Can be installed
Can be installed
ACM22
(RS-422/RS-485 communication card)
Can be installed
Can be installed
Remarks
J010102E.EPS
Two communication modules can be installed in the slots of the same AMN51. The ACM21
and ACM22 can be installed together in the slots of the same nest.
AMN51 communication module nest can be only installed on the number 2 nest position on
FCS (*1) (*2).
*1:
*2:
Slot No. 2
Can be installed
Can be installed
Remarks
J010103E.EPS
In one AMN51 Nest, two communication modules can be installed. ACM71 and ACM21 or
ACM22 can be installed in the same nest.
The AMN51 nest can only be installed on the Nest Position 2 in an FCS (*1) (*2).
*1:
*2:
AMN51 nest for communication modules can only be installed in enhanced type PFCS.
AMN51 nest for communication modules can only be installed in SFCS.
IM 33S01B30-01E
J1-7
Explanation
Word data
%WWnnnn
Bit data
%WBnnnnbb
The same data may be accessed both in word units and bit units. For example, each bit in
the 16-bit data %WW0020 can be accessed respectively as %WB002001 to
%WB002016.
16 bit
Word unit
%WW0020
Bit unit
%WB002003
16
J010202E.EPS
FIC1001
OUT
PID
%WW0001
%WW0003
J010203E.EPS
IM 33S01B30-01E
J1-8
IM 33S01B30-01E
J1-9
%WBnnnnbb
Data item
Description
PV
For word data access. The data format depends on the communication
protocol.
PV
For bit data access. Returns 1 or 0 for designated bit ON/OFF state.
PV16
For accessing a 16-bit datum starts from the designated bit towards
LSB (Lease Significant Bit).
PVI16 (*1)
PVU16 (*1)
PVI32 (*1)
PVU32 (*1)
PVF32 (*1)
PVF64 (*1)
OPMK
*1:
The data type exists for %WB but can not be accessed (reference/set) from function blocks.
When data buffered in %WB are accessed using PV16, the 16-bit data are accessed
starting at the bit designated by %WBnnnnbb as the most significant bit, towards the least
significant bit (when reaching the word boundary, it continues to the next word).
However, an error will occur if the same bit is defined to be accessed by more than one
%WB element.
When using %WB to access the word data, it subjects to the following restrictions.
Starting bit number (bb) should be 01, otherwise, error will occur.
An error will occur when the same bit is defined to be accessed by more than one
%WB element.
When write a datum to a %WB(nnnn), and the datum has different format from that
specified in the Data Item for that %WB, an error will occur. If that %WB has not been
specified with a data format, the datum will be forced into that %WB with its own
format.
When reading the data of PVF32 or PVF64 type, if the data are (+/-) infinite or NaN
(Non-numeric), errors will occur.
Meaning
BAD
NRDY
Can not properly access data during power breakage recovery or similar situation.
LPFL
Malfunction of the communication module or communication error with the connected device.
NR (*1)
*1:
In reality, there is no such status as NR; it indicates a state that none of BAD, NRDY or LPFL is present.
IM 33S01B30-01E
J1-10
Sequence control
block
SFC block
SEBOL
I N
OUT
Data inquiry/setting
ssread
sswrite
sswritebit
Data inquiry/setting
(*1)
Communication module
(ACM11, ACM12)
Subsystem
communication Package
Communication content
definition database
Subsystem
Serial communication
(RS-232C, RS-422/RS-485)
Subsystem data
J010301E.EPS
*1:
Figure Data Flow between the Function Blocks and Subsystem (when ACM11 or ACM12 is used)
IM 33S01B30-01E
J1-11
The figure below shows the flow of data between function blocks and subsystem when
ACM21 or ACM22 is used:
FCS
Regulatory control
block
Sequence control
block
SFC block
SEBOL
I N
OUT
Data inquiry/setting
Data inquiry/setting
ssread
sswrite
sswritebit
Communication package
Communication module
(ACM21, ACM22)
Subsystem
Serial communication
(RS-232C, RS-422/RS-485)
Subsystem data
J010302E.EPS
Figure Data Flow between the Function Blocks and Subsystem (when ACM21 or ACM22 is used)
IM 33S01B30-01E
J1-12
The figure below shows the flow of data between function blocks and subsystem when
ACM71 is used:
FCS
Regulatory control
block
Sequence control
block
SFC block
SEBOL
I N
OUT
Data inquiry/setting
Data inquiry/setting
ssread
sswrite
sswritebit
Communication package
Communication module
(ACM71)
Subsystem
Serial communication
(RS-232C, RS-422/RS-485)
Subsystem data
J010303E.EPS
Figure Data Flow between the Function Blocks and Subsystem (when ACM71 is used)
IM 33S01B30-01E
J1-13
In the case of SFC blocks, subsystem data defined via the Communication I/O Builder can
be accessed by using SEBOL statements specifically for accessing subsystem data.
ssread is used for reading, while sswrite and sswritebit are used for writing.
SEE ALSO
For details regarding SFC functions, see the following:
D5, Sequential Function Chart
For details regarding SEBOL functions, see the following:
H1.7, Subsystem Communication
IM 33S01B30-01E
J1-14
PV COM
IN
Communication
input conversion
Communication
module
PVFCS
PV
Subsystem
Data acquired
from the subsystem
J010304E.EPS
IM 33S01B30-01E
J1-15
GAIN and BIAS are set via the Function Block Detail Builder.
Some function blocks can designate communication input signal conversion from the input
signal conversion options.
IMPORTANT
Do not designate communication input conversion for the input signal conversion of function blocks that assigned with data other than subsystem data. This may cause data error
reading.
The following table is a list of blocks for which communication input conversion can be
designated:
Table Blocks for which Communication Input Conversion can be Designated (1/2)
Block type
Block type
Block code
Block name
PVI
PVI-DV
PID
PI-HLD
PID-BSW
ONOFF
ONOFF-G
PID-TP
PD-MR
PI-BLEND
PID-STC
MLD-PVI
RATIO
BSETU-2
BSETU-3
SS-DUAL
Block code
Block name
J010305E.EPS
IM 33S01B30-01E
J1-16
Table Blocks for which Communication Input Conversion can be Designated (2/2)
Block type
Operation blocks
Block type
Block code
Block name
ADD
Addition Block
MUL
Multiplication Block
DIV
Division Block
SQRT
EXP
Exponential Block
LAG
INTEG
Integration Block
LD
Derivative Block
RAMP
Ramp Block
LDLAG
Lead/Lag Block
DLAY
Dead-Time Block
DLAY-C
AVE-M
Moving-Average Block
AVE-C
Cumulative-Average Block
FUNC-VAR
TPCFL
ASTM1
ASTM2
CALCU
CALCU-C
DSET-PVI
Block code
Block name
J010306E.EPS
TIP
When subsystem data is assigned to the input terminal of a function block where communication
input conversion cannot be designated, or when something other than communication input conversion is designated for the input signal conversion, then PVFCS = PVCOM.
Communication input conversion is not performed when subsystem data is assigned to the feedback
(FB) terminal of a motor control block (MC-2 or MC-3).
IM 33S01B30-01E
J1-17
MV
MVFCS
Communication
output conversion
OUT
MVCOM
Data conversion
Subsystem
Communication
module
Data to be set
into the subsystem
J010307E.EPS
The following two processes are performed with respect to the data assigned to the OUT
terminal of the regulatory control block:
Communication output conversion
Data type conversion
Data assigned to the OUT terminal of the regulatory control block is output to the subsystem after going through communication output conversion and data type conversion.
IM 33S01B30-01E
J1-18
IMPORTANT
The following restrictions are applied with analog output to the subsystem:
Reverse output cannot be designated.
Neither pulse width output nor time-proportioning ON/OFF output can be designated.
When subsystem data is linked to the OUT terminal of a function block that has no
communication output conversion designation, the function blocks manipulated output
value (MV) is output to the subsystem as it is.
MVSUBS=MVFCU will be satisfied.
With the LFCS2 or LFCS, do not use velocity type outputs or an output velocity limiter for
the reasons given below (*1) :
The velocity analog output (MVn) is obtained by adding the DMVn (amount of output
change obtained via PID operation) to the output readback value (MVrb) from the communication module during each control period of the regulatory control block.
The output readback value (MVrb) is updated during each RIO bus communication period.
Because the output readback value (MVrb) update is delayed when the output readback
value (MVrb) refresh period is longer than the control period, an output value differing from
the actual output value is found and output to the communication module. To avoid this,
positional type output is specified in the Function Block Detail Builder. Moreover, when an
output velocity limiter is set, the output value becomes inaccurate for similar reasons, so do
not set an output velocity limiter.
FCS
PID operation
MVn
MVn = MVrb + MVn
MVn
Write data
MVrb
Communication module
J010308E.EPS
IM 33S01B30-01E
J1-19
GAIN and BIAS are set via the Function Block Detail Builder.
Some function blocks do not have communication output conversion for the output signal
conversion.
The following table is a list of blocks for which communication output conversion can be
designated.
Table Blocks for which Communication Output Conversion can be Designated (1/2)
Block type
Block type
Block code
Block name
PVI
PVI-DV
PID
PI-HLD
PID-BSW
PID-TP
PD-MR
PI-BLEND
PID-STC
MLD
MLD-PVI
MLD-SW
RATIO
PG-L13
BSETU-2
BSETU-3
VELLIM
SS-H/M/L
AS-H/M/L
SS-DUAL
XCPL
SPLIT
Block code
Block name
J010309E.EPS
IM 33S01B30-01E
J1-20
Table Blocks for which Communication Output Conversion can be Designated (2/2)
Block type
Operation blocks
Block type
Block code
Block name
ADD
Addition Block
MUL
Multiplication Block
DIV
Division block
AVE
Averaging Block
SQRT
EXP
Exponential Block
LAG
INTEG
Integration Block
LD
Derivative Block
RAMP
Ramp Block
LDLAG
Lead/Lag Block
DLAY
Dead-Time Block
DLAY-C
AVE-M
Moving-Average Block
AVE-C
Cumulative-Average Block
FUNC-VAR
TPCFL
ASTM1
ASTM2
CALCU
CALCU-C
DSW-16
DSET
DSET-PVI
Block code
Block name
J010310E.EPS
IM 33S01B30-01E
J1-21
When performing discrete output to the subsystem, a pulsive output cannot be designated in the
motor control block (MC-2, MC-3) or switch instrument block. If a pulsive output is designated, pulse
output to the subsystem may not be executed properly. In this case the duration of the pulse output
being ON will be unknown.
When performing discrete output to the subsystem, neither flashing output nor pulsive output can be
performed with respect to the discrete output. The flashing output requests and cancel requests from
the sequence table will be disregarded.
If the subsystem data is specified in the format %WBnnnnbb, each word (16 bits) can be
assigned to discrete inputs or discrete outputs. Subsystem data is identified by I/O number.
The DI number is the I/O number for discrete input and the DO number is the I/O number
for discrete output. In this case, MSB (most significant bit) corresponds to the smaller DI or
DO number and LSB (least significant bit) corresponds to the larger DI or DO number.
DI/DO number handled
in FCS
MSB
MSB
LSB
14 15 16
16 15 14
17 18 19
30 31 32
32 31 30
19 18 17
J010311E.EPS
In some cases, depending on the subsystem, this number correlation is reversed. Because
of this, it is possible to set LSB and MSB reversal via the Communication I/O Builder.
If bit reversal is specified in the Communication I/O Builder, when the data obtained via
communication is stored in the communication I/O data storage area, the order of data
reverses in 16-bit units so that at the connection destination, what was the MSB becomes
the LSB.
The figure below illustrates bit reversal.
Connection
destination
X
0
0
1
6
X
0
0
1
5
X
0
0
1
4
X
0
0
0
3
X X
0 0
0 0
0 0
2 1
Bit reversal
Communication
a
I/O data
J010312E.EPS
When the common switches or discrete I/O data inside the FCS is handled in word units,
the smallest bit number is stored in the MSB. On the other hand, some devices that are
connected via the communication I/O module (such as a PLC) store the smallest number in
the LSB. When connection is made to a device of this type, it may be necessary to specify
Reverse Bits.
IM 33S01B30-01E
J1-22
Moreover, on the builder, the most significant word (MSW) and the least significant word
(LSW) of a signal can be reversed.
When reversing the MSW and LSW is set on the builder, a signal sent from communication
line is put to memory image area after the MSW and LSW is reversed. A 32-bit signal is
converted by moving the lower 16 bits to the upper position and moving the upper 16 bits to
lower position. Thus the original signals upper part (MSW) becomes lower part (LSW) and,
vice versa, lower part becomes upper part.
The following figure illustrates how the words are reversed in a signal.
32-bit Datum
MSW
LSW
(Most Significant Word) (Least Significant Word)
Original Signal
D0001
D0002
Communication
D0002
I/O Data
Storage Area
Figure Reverse MSW and LSW
D0001
J010313E.EPS
When connecting the devices in which the 32-bit word data are in reversed arrangement,
i.e., the LSW (16 bits) is sent first with and the MSW (16 bits) is sent next to LSW. The data
are sent in this manner from the devices like MELSEC-A and FA-M3. When communicating
with this kind of devices, the words of communicated data need to be reversed.
SEE ALSO
For the settings of bit reversal on Communication I/O Builder, see the explanations for the subsystem
communication package used:
J3.6, Setting Items on Communication I/O Builder FA-M3
J4.6, Setting Items on Communication I/O Builder FA-M3
J5.6, Setting Items on Communication I/O Builder DARWIN
J6.6, Setting Items on Communication I/O Builder Gas Chromatography
J7.5, Setting Items on Communication I/O Builder YS Instrument
J8.6, Setting Items on Communication I/O Builder MELSEC-A
J9.6, Setting Items on Communication I/O Builder MELSEC-A
J10.6, Setting Items on Communication I/O Builder Modbus
J11.6, Setting Items on Communication I/O Builder PLC-5
J12.6, Setting Items on Communication I/O Builder SYSMAC
J13.6, Setting Items on Communication I/O Builder SIMATIC S5
J14.6, Setting Items on Communication I/O Builder DARWIN/DAQSTATION
J15.6, Setting Items on Communication I/O Builder SLC 500
J16.6, Setting Items on Communication I/O Builder PLC-5/SLC 500
J17.6, Setting Items on Communication I/O Builder Modbus
IM 33S01B30-01E
J1-23
32-bit data
(a) + (b)
Communication module
(a)
(b)
16-bit data
16-bit data
On the Communication I/O Builder,
data (A) and data (B) may be specified
to be transmitted at the same acquisition
timing, thus the simultaneity of the
transmitted 32 bits in FCS is guaranteed.
Subsystem
(a)
(b)
16-bit data
16-bit data
If data (a) and data (b) are set for the same timing
(within the same scan period), simultaneity is
preserved between data (a) and data (b).
J010314E.EPS
SEE ALSO
See the followings for the subsystem communication package being used for the number of bit units at
which simultaneity of communication data is guaranteed in communication between the communication
module and subsystem:
J3.1, Communication Specifications FA-M3
J8.1, Communication Specifications MELSEC-A
J10.1, Communication Specifications Modbus
J17.1, Communication Specifications Modbus
IM 33S01B30-01E
J1-24
Input
Output
Name
Data type
I16
U16
I32
U32
F32
F64
DI
I16
U16
I32
U32
F32
F64
DO
J010401E.EPS
*1:
The 64-bit data simultaneous transmission is not supported in subsystem communication packages. So that do not use
AIF64 and AOF64 data.
IM 33S01B30-01E
J1-25
SEE ALSO
For more information about the settings of Communication I/O Builder, see the explanations for the
subsystem communication package:
J3.6, Setting Items on Communication I/O Builder FA-M3
J4.6, Setting Items on Communication I/O Builder FA-M3
J5.6, Setting Items on Communication I/O Builder DARWIN
J6.6, Setting Items on Communication I/O Builder Gas Chromatography
J7.5, Setting Items on Communication I/O Builder YS Instrument
J8.6, Setting Items on Communication I/O Builder MELSEC-A
J9.6, Setting Items on Communication I/O Builder MELSEC-A
J10.6, Setting Items on Communication I/O Builder Modbus
J11.6, Setting Items on Communication I/O Builder PLC-5
J12.6, Setting Items on Communication I/O Builder SYSMAC
J13.6, Setting Items on Communication I/O Builder SIMATIC S5
J14.6, Setting Items on Communication I/O Builder DARWIN/DAQSTATION
J15.6, Setting Items on Communication I/O Builder SLC 500
J16.6, Setting Items on Communication I/O Builder PLC-5/SLC 500
J17.6, Setting Items on Communication I/O Builder Modbus
IM 33S01B30-01E
J1-26
IM 33S01B30-01E
J1-27
IM 33S01B30-01E
J1-28
From System View, a dialog box for creating a new IOM can be opened. On this dialog box,
there is a Type and Position tab, on which the following items can be set.
Duplicate Next Card
High Speed Read
The following items can be set on the Set Details tab of the New IOM dialog box called from
System View:
Connection Device
Baud Rate
Parity
Data Bits
Stop Bits
RS Control
DR Check
CD Check
Communication Error Process
Options
After creating a new I/O module, the settings can be modified on the I/O module property
sheet.
From System View, a dialog box for creating a new IOM can be opened. On this dialog,
there are Type and Position and Set Details tabs, on which the following items can be
set.
Connection Device
This item sets the type of connection device (subsystem).
The default is [FA-M3]. If the device is not FA-M3, this setting must be changed accordingly.
IM 33S01B30-01E
J1-29
Baud Rate
This sets the baud rate between the communication I/O module and subsystem.
The baud rate can be selected from the following options:
1200 bps
2400 bps
4800 bps
9600 bps
19200 bps
The default is [19200 bps].
However, subsystems may be restricted for selecting certain baud rates.
Parity
This sets the method for checking the parity of the subsystem data to be transmitted.
The parity can be selected from the following options:
Odd parity
Even parity
No parity
The default is [Even] parity.
When the baud rate is set to [19200 bps], the [No] parity cannot be set.
However, subsystems may be restricted for selecting certain parity settings.
Data Bits
This sets the data bit length of the subsystem data to be transmitted.
The data bit can be selected from the following:
7 bits
8 bits
The default is [8 bits].
IMPORTANT
Certain subsystems may require specific data bits. Please refer to the explanations regarding to the setting items in the related chapters of the corresponding subsystem.
IM 33S01B30-01E
J1-30
Stop Bits
This sets the stop bit of the subsystem.
The default is [1] bit.
IMPORTANT
Certain subsystems may require specific stop bit setting. Please refer to the explanations
regarding to the setting items in the related chapters of the corresponding subsystem.
RS Control
This item sets whether or not to perform RS control during subsystem data transmission.
By default, the [RS control] checkbox is not checked.
DR Check
This item sets whether or not to perform DR check during subsystem data transmission.
By default, the [DR check] check box is checked.
CD Check
This item sets whether or not to perform CD check during subsystem data transmission.
By default, the [CD check] checkbox is not checked.
Options
Set options for the communication parameters that vary with the connected subsystem.b
Options are set by entering settings to the fields of Option 1 through 4 in the Set Detail tab
of the New IOM dialog box called from System View.
The default is no setting.
IM 33S01B30-01E
J1-31
The following items can be set on the Set Details tab of the New IOM dialog box called from
System View:
Baud Rate
Parity
Data Bits
Stop Bits
RS Control
DR Check
CD Check
Communication Error Process
Options
Start of Text Delimiter
End of Text Delimiter
For Gas Chromatography communication package, the settings need to be performed not
only on the Set Details tab of the Create New IOM dialog box, but also on the Constant tab
of FCS property sheet called from System View:
After creating the new I/O module, the settings can be modified on the I/O module property
sheet.
From System View, a dialog box for creating a new IOM can be opened. On this dialog,
there is a Set Details tab, on which the following items can be set.
IM 33S01B30-01E
J1-32
Parity : SFCS
This sets the method for checking the parity of the subsystem data to be transmitted.
The parity can be selected from the following options:
Odd parity
Even parity
No parity
The default setting is [Even] parity.
IMPORTANT
Certain subsystems may require specific data bits. Please refer to the explanations regarding to the setting items in the related chapters of the corresponding subsystem.
IM 33S01B30-01E
J1-33
IMPORTANT
Certain subsystems may require specific stop bit setting. Please refer to the explanations
regarding to the setting items in the related chapters of the corresponding subsystem.
RS Control : SFCS
This item sets whether or not to perform RS control during subsystem data transmission.
By default, the [RS control] checkbox is not checked.
DR Check : SFCS
This item sets whether or not to perform DR check during subsystem data transmission.
By default, the [DR check] check box is checked.
CD Check : SFCS
This item sets whether or not to perform CD check during subsystem data transmission.
By default, the [CD check] checkbox is not checked.
IM 33S01B30-01E
J1-34
Options : SFCS
Set options for the communication parameters that vary with the connected subsystem.
Options are set by entering settings to the fields of Option 1 through 4 in the Set Detail tab
of the New IOM dialog box called from System View.
The default is no setting.
IM 33S01B30-01E
J1-35
For the above subsystems, the optional packages need to be added to Options item on the
Constant tab in the FCS [Properties] dialog box called from System View.
Then the following items need to be set on Detailed Setting tab of the Create New IOM
dialog box called from System View: Information such as Attribute, Destination Address,
Router Address and Hop-Count routing information can be set in the routing table by
clicking the [Add] button.
A maximum of eight items of routing information can be set.
IP Address
Subnet Mask
Attribute
Destination Address
Router Address
Hop Count
The following items can be set in any of the tabs of Detailed Setting 2 through 5 of the New
IOM dialog box called from System View.
Connected Device Name
Options 1 (Response Timeout)
Options 2 (Number of Retries Upon Response Timeout)
Options 3 (Interval of Connection Retries)
Options 4 (Port Number on Subsystem)
Options 5 (Port Number on Subsystem)
IM 33S01B30-01E
J1-36
From System View, a dialog box for creating a new IOM can be opened. On this dialog,
there is a Detailed Setting tab, on which the following items can be set.
IP Address
This item sets the IP address of the ACM71.
The default is no setting.
Subnet Mask
This item sets the subnet mask of the ACM71.
The default is no setting.
Attribute
This item specifies the host address host or network address net.
The default setting is host.
Destination Address
This item sets the destination host address or destination network address.
Set the host address area to 0 when setting the network address.
The default is no setting.
Router Address
This item sets the IP address of the router. This address must be on the same subnet as
the IP address of the ACM71.
The default is no setting.
Hop Count
This item sets the number of routers through which data travels from the FCS to the FA-M3.
(Up to eight routers can be used.)
The default setting is 1.
TIP
Attribute, Destination Address, Router Address and Hop Count need to be set only when required.
From System View, a dialog box for creating a new IOM can be opened. On this dialog,
there are Detailed Setting 2 to Detailed Setting 5 tabs, on which the following items can be
set.
Option 1
This sets the tolerant time for getting response from the subsystem. The time is set in unit of
seconds.
The setting range is between 0 and 99.
The default is no setting.
If 0 is specified, the system will operate in the same manner as when 4 is specified. In
other words, the Response Timeout will be 4 seconds.
IM 33S01B30-01E
J1-37
Option 2
This item sets the number of retries performed when a communication error occurs.
The setting range is between 0 and 99.
The default is no setting.
If 0 is specified, the system will operate in the same manner as when 1 is specified. In
other words, the communication retry will be performed for one time.
Option 3
Specify a time interval that the probe communication packets are sent to test if the connection can be established. The time is set in unit of seconds.
The setting range is between 0 and 999.
The default is no setting.
If 0 is specified, the system will operate in the same manner as when 30 is specified. In
other words, the Interval of Connection Retries will be 30 seconds.
Option 4
Set the port number of subsystem to this item.
The port number setting varies with the subsystem used.
If this is not set, communication can not be carried out.
The default is no setting.
Option 5
Set the port number of subsystem to this item.
The port number setting varies with the subsystem used.
If this is not set, communication can not be carried out.
The default is no setting.
IM 33S01B30-01E
J1-38
Communication
definition data 1
Connected subsystem A
Communication
definition data 3
Communication is executed in accordance
with the defined contents and data is acquired.
Specified by the
relative position within
the region
Function block
IN=PV(%WW0100)
J010501E.EPS
IM 33S01B30-01E
J1-39
Setting Items
Setting items on Communication I/O Builder are explained in this section.
SEE ALSO
The subsystem common settings and the setting items are explained. For more information about the
fixed and recommended settings of subsystems, see the users manuals of the used subsystem packages:
J3.6, Setting Items on Communication I/O Builder FA-M3
J4.6, Setting Items on Communication I/O Builder FA-M3
J5.6, Setting Items on Communication I/O Builder DARWIN
J6.6, Setting Items on Communication I/O Builder Gas Chromatography
J7.5, Setting Items on Communication I/O Builder YS Instrument
J8.6, Setting Items on Communication I/O Builder MELSEC-A
J9.6, Setting Items on Communication I/O Builder MELSEC-A
J10.6, Setting Items on Communication I/O Builder Modbus
J11.6, Setting Items on Communication I/O Builder PLC-5
J12.6, Setting Items on Communication I/O Builder SYSMAC
J13.6, Setting Items on Communication I/O Builder SIMATIC S5
J14.6, Setting Items on Communication I/O Builder DARWIN/DAQSTATION
J15.6, Setting Items on Communication I/O Builder SLC 500
J16.6, Setting Items on Communication I/O Builder PLC-5/SLC 500
J17.6, Setting Items on Communication I/O Builder Modbus
IM 33S01B30-01E
J1-40
IMPORTANT
On KFCS2/KFCS/RFCS5/RFCS2 communication I/O builder, the builder files created on
communication I/O builder of SFCS/LFCS2/LFCS/PFCS cannot be imported. Vice versa,
SFCS/LFCS2/LFCS/PFCS cannot import the builder files of KFCS2/KFCS/RFCS5/RFCS2
either. In order to use the builder files created on both builders respectively, it is necessary
to convert the builder files into CSV file format. Thus, to export the builder file into CSV
format on one builder and then import the CSV format file on the other builder.
Element
With respect to the address of the subsystem data buffer area, the element number is
indicated in the Communication I/O Builder as shown below. The element number is indicated for display purpose only. It is not selectable.
%WWnnnn
%WW:
nnnn:
Fixed
For standard type PFCS:
For enhanced type PFCS:
For SFCS, LFCS2 or LFCS:
*1:
1 to 1000
1 to 4000
1 to 4000 (*1)
IM 33S01B30-01E
J1-41
Buffer
This item sets the buffer used by a program.
The setting can be made within the following size range in word units.
For standard type PFCS:
1 to 1000
1 to 4000
1 to 4000 (*1)
*1:
Unit Number
Slot Number
Connection device name defined when a new I/O module was created
IM 33S01B30-01E
J1-42
Node
Unit Number
Slot Number
Connection device name defined when a new I/O module was created
Size
This item sets the data size (data length) from the head address set in Device & Address.
The Size can be set differently on Communication I/O Builder vary with the type of communication I/O module and the subsystem package.
The default is no setting.
Notices for setting the data size are shown below: Vary with subsystem used, the notices
may be different.
Up to 30 data size settings are possible for each buffer. When using Gas Chromatography communication package, up to 208 settings are possible for each buffer.
Must set the Size since this is a required setting item for the Communication I/O
Builder. Other setting items cannot be set unless the data size is set.
When an odd number is used to define the size, the data size of the next even number
is reserved by adding a value of one to the odd number.
If the set data size exceeds the buffer size, it will automatically be cut off to fit in the
range.
After properly setting the size and moving to the setting in the next line, an * (asterisk) is displayed in the sections for the size that has been reserved. The area displayed with (*) asterisks can not be set.
The following shows the relationship between the buffer and size.
Program 1
Program 2
Program 3
Program 4
Program 5
Program 6
Program 7
Program 8
J010502E.EPS
Port
Set the port number.
The Port setting varies with the subsystem used.
IM 33S01B30-01E
J1-43
IP Address
Sets the IP address.
The IP address needs to be set on communication I/O builder according to the type of
communication I/O module and subsystem used.
When using ACM11, ACM12, ACM21 or ACM22
The IP Address is not required to be set.
When using ACM71
Set the IP address of subsystem to this item.
Station
Set the station number of subsystem.
The Station setting varies with the subsystem used.
The default is no setting.
Data Type
This item sets the data type of subsystem data.
Data Type contains the following options; the data types can be selected vary with the
subsystem used.
Input (16-Bit Signed)
Input (32-Bit Signed)
Input (16-Bit Unsigned)
Input (32-Bit Unsigned)
Input (32-Bit Floating)
Output (16-Bit Signed)
Output (32-Bit Signed)
Output (16-Bit Unsigned)
Output (32-Bit Unsigned)
Output (32-Bit Floating)
Input (Discrete)
Output (Discrete)
The default setting is [Input (16-Bit Signed)].
IM 33S01B30-01E
J1-44
Reverse
This sets whether or not to make the bit or word arrangement in the FCS in reverse order of
the subsystem data.
The Reverse setting varies with the subsystem used.
Scan
The analogue data communicated to FCS can be put to the I/O data storage area at the
beginning of each fast-scan.
The default setting for [Scan] is [Normal] so that, the analogue data communicated to FCS
are put to the storage area at the beginning of each normal scan. However, the discrete I/O
data are put into the I/O data storage area at each fast-scan.
Fast-scan can be specified on FCS property sheet.
When accessing the analogue data by fast scan, the load of CPU will increase. When
setting [Fast], the CPU performance should be put in consideration.
Settings for [Scan] can be selected as follows:
Normal
Fast
The default setting is [Normal].
Service Comment
This item sets the comment.
The service comment setting can be omitted.
A character string of up to 40 single-byte or 20 double-byte characters can be used for the
service comment.
Label
The name of the function block I/O terminal can be set as a user-defined label name. This
setting can be set on Communication I/O Builder.
The user-defined label can only be set when the [Detailed Setting Items] on the [View]
menu bar is selected. The user-defined label setting can be omitted.
The user-defined label name is an optional setting item.
A character string of up to 16 single-byte characters in the following format can be set as
the user-defined label:
%%[A-Z] [A-Z0-9]
%%:
A-Z:
A-Z0-9:
Fixed
The third character must be an uppercase letter.
The fourth and succeeding letters must be alphanumeric characters.
IM 33S01B30-01E
J1-45
Maintenance Items
On-line maintenance items with respect to the communication I/O module are listed below:
Communication I/O module deletion
Communication I/O module addition
Subsystem name change
Changing the contents of communication I/O module definition
When a communication I/O module is added or the subsystem name is changed, the
subsystem program is downloaded with respect to the communication I/O module. While
downloading a subsystem program, subsystem communication will be stopped.
SEE ALSO
Regarding subsystem program downloading, see the following in this chapter:
Downloading the Subsystem Program
When the contents of the communication I/O module definitions are changed, the communication I/O module is initialized. During initialization of the communication I/O module
(approximately 10 seconds), subsystem communication is temporarily suspended.
The following table shows the status of the communication I/O module and function block
during on-line maintenance.
Table Status of Communication I/O Module and Function Block during On-Line Maintenance
Type of
maintenance
Adding a
communication
I/O module,
changing
subsystem name
Changing
contents of
communication
I/O module
definitions
IM 33S01B30-01E
J1-46
TIP
When a change that requires to download subsystem program, it takes some time to complete downloading. In this case, the engineering function (builder function) is terminated without waiting for the completion of download. Though modification can be performed on different builders, do not carry out further
change while downloading. Download completion can be confirmed from the system alarm message sent
to HIS.
When performing off-line downloading to the control station (FCS), the FCS control will start after
subsystem program downloading is completed.
During subsystem program downloading, the data status of the function block connected to that
communication I/O module becomes input open (IOP) or output open (OOP).
SEE ALSO
Regarding the system alarm messages sent to the HIS during subsystem program downloading, see the
following:
J2.3, System Alarm Messages Specific to the Communication Module
IM 33S01B30-01E
J2-1
ACM12:
ACM21:
ACM22:
ACM71:
Communication packages used for each subsystem at the communication destination and
available communication I/O modules are listed below:
FA-M3 communication package (ACM11, ACM12):
ACM11, ACM12
ACM71
ACM11
ACM21
ACM12
ACM11, ACM12
ACM71
ACM11, ACM12
ACM11, ACM12
ACM11, ACM12
ACM11, ACM12
ACM71
ACM11
ACM71
ACM71
J2-2
RS-232C
ACM12:
J2-3
Maximum quantity
Explanation
500 words
(1 word = 16 bits)
30 stations
30 definitions
J020101E.EPS
*1:
*2:
*3:
*4:
*5:
Maximum number for standard type PFCS. However when in dual-redundant configuration, this number changes.
Maximum number for enhanced type PFCS
Maximum number for SFCS
Maximum number for LFCS2, LFCS
Maximum number for standard type PFCS
SEE ALSO
For more information about dual-redundant configuration of communication modules, see the following:
Setting of Dual-Redundant Communication in chapter J10.9, Dual-Redundant Communication Modbus
IM 33S01B30-01E
J2-4
RS-232C
ACM22:
10 BASE-T
J2-5
Maximum quantity
Explanation
Number of communication
definitions per one communication
module
208 definitions
(*3)
J020201E.EPS
*1 :
*2 :
*3 :
IM 33S01B30-01E
J2-6
Maximum quantity
Explanation
*1 :
*2 :
IM 33S01B30-01E
J2-7
TIP
The system alarm message Configuration Error is sent when the subsystem program is not downloaded.
FCS name
Node number
Unit number
Slot number
TIP
The system alarm message Configuration Error is sent when the subsystem program is not loaded.
J2-8
FCS name
Node number
Unit number
Slot number
IM 33S01B30-01E
J2-9
FCS name
Node number
Unit number
Slot number
FCS name
Node number
Unit number
Slot number
J2-10
FCS name
Unit number
Slot number
Error code
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when Subsystem Program Downloading Ends Abnormally
FCS name
Node number
Unit number
Slot number
Error code
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when Subsystem Program Downloading Ends Abnormally
IM 33S01B30-01E
J2-11
Error description
2501 to 2509
250F to 2511
Internal error
2513 to 2514
2516 to 251B
251C to 2529
Internal error
252B
252C to 254D
2559
255A to 255F
Internal error
9D01 to 9DFF
A301 to A320
Downloading error
A321
A322 to A324
A334 to A335
Internal error
A336
A337 to A33A
A33C
A33D
A33E
A33F
A340
A701 to A730
A731
A732 to A735
A736
A737
A738
A739 to A73C
A741 to A750
C583
Internal error
Model code does not match
C591 to C5C0
Database error
C5C1 to C5C5
C5C6
C5C7
Error description
J020301E.EPS
J2-12
System Messages
The following system messages are provided for indicating the state of ACM71 online
downloading.
FCS name
FCS name
Error code
Error related data
FCS name
Unit number
Slot number
FCS name
Unit number
Slot number
J2-13
FCS name
RIO bus number where the error occurred
Node number where the error occurred
Unit number where the error occurred
Slot number where the error occurred
Communication module code (ACM71: 9D07)
Error Code
Description
1000
1100
20zz
21zz
yyyy:
yyyy
Description
2965
2966
2967
296A
296B
296C
296D
296F
2971
2972
2973
2974
Network is down.
2975
Network is unreachable.
2977
Connection abort.
2978
Connection reset.
2979
297A
297B
297C
297E
297F
Connection refused.
J020402E.EPS
Blank Page
J3-1
F3LC11-1N
LC01-0N
LC02-0N
IM 33S01B30-01E
J3-2
Maximum quantity
Explanation
500 words
(1 word=16 bits)
30 stations
64 words
IMPORTANT
When connecting to the ACM11, the station number is fixed at 01.
When connecting to the ACM12, 30 stations can be connected within the station
number range from 02 to 32. When using the ACM12, do not use 01 for the station
number.
J3-3
Description
RS-232C (D-sub 25 pin)
ACM11
RS-422, RS-485
ACM12
Transmission method
Half duplex
Synchronization method
Start-stop synchronization
Baud rate
Transmission procedure
Transmission code
ASCII
Data type
Control line
Time monitoring
Text frame
Remark
(*1)
Start bit
Data bit
[7] , 8
(*1)
Parity bit
(*1)
Stop bit
RS
Always ON
ER
Always ON
Transmission enable
monitoring time
1000ms
1500ms
Character interval
timeout processing
Regarded as an error
$02 (STX)
EOT character
None
0 to 99 seconds [ 3 seconds]
(*1)
0 to 99 times [1 time]
(*1)
(*1)
ACM11 connector
D-sub 25 pin
ACM12 connector
D-sub 9 pin
D-sub 25 pin
RS-422, RS-485
(M3 screw, 6 pole terminal block)
64 words (AI/AO)
Description
Remark
J030102E.EPS
J3-4
J3-5
Control bus
FCS
CN1
RDY
RCV
SND
CN1
RS-232C
MODEM
MODEM
RS-232C
FA-M3
F3LC11-1N
J030201E.EPS
J3-6
IMPORTANT
The length of the RS-232C cable between the ACM11 and modem and between the
modem and FA-M3/FA500 must be 15 meters or less.
The following section describes the cable connections when using the F3LC11-1N personal computer link module to connect ACM11 and FA-M3:
Since the F3LC11-1N personal computer link module uses an RS-232C D-sub 9 pin
connector, use a cable with an RS-232C D-sub 9 pin connector and RS-232C D-sub 25 pin
connector when connecting the computer link unit to the ACM11.
Table RS-232C D-sub 9 Pin Connector Specifications FA-M3
Name
Direction of signal
Pin number
Signal name
CD
Carrier Detect
RD
Receive data
SD
Send data
ER
SG
Signal ground
DR
Data Ready
RS
Request to Send
CS
Clear to Send
ACM11
FA-M3
Description
Not used with FA-M3
Not used
J030202E.EPS
9
6
1
D-sub 9 pin (female)
J030203E.EPS
J3-7
Shown below are the cable connections when the FA-M3/FA500 and ACM11 are connected via modem and the FA-M3 and ACM11 are connected directly without modem:
SD
RD
RS
CS
ACM11
DR
SG
CD
ER
FG
20
20
SD
RD
RS
CS
DR
Modem (*1)
SG
CD
ER
FG
Sheathed cable
Protective ground (100 ohms or less)
J030204E.EPS
*1:
SD
RD
RS
CS
ACM11
CD
DR
ER
SG
20
SD
RD
RS
CS
CD
FA-M3
DR
ER
SG
Connector shell connection
Sheathed cable
Protective ground (100 ohms or less)
J030205E.EPS
Figure Cable Connection between FA-M3 and ACM11 (when connected directly)
J3-8
The following shows the cable connections when using the LC01-0N and LC02-0N to
connect the ACM11 and the FA500.
The FA500 has an RS-232C D-sub 25 pin connector. The specifications of RS-232C D-sub
25 pin connector are as follows:
Table RS-232C D-sub 25 Pin Connector Specifications
Pin number
Signal name
Direction of signal
Name
ACM11
Description
FA500
FG
Frame ground
SD
Send data
Safety grounding
RD
Receive data
RS
Request to Send
CS
Clear to Send
DR
Data Ready
SG
Signal ground
CD
Carrier Detect
20
ER
Pin No.25
Pin No.14
Pin No.13
Pin No.1
J030211E.EPS
J3-9
The following shows a cable connection when directly connecting the ACM11 and the
FA500.
SD
RD
RS
CS
ACM11
CD
DR
ER
SG
FG
20
20
SD
RD
RS
CS
CD
FA500
DR
ER
SG
FG
Sheathed cable
Protective grounding (100 ohms or less)
J030212E.EPS
Figure Cable Connection between FA500 and ACM11 (when connected directly)
With the ACM11, the RS-232C circuit and FG (frame ground) are electrically insulated. This
has the function of preventing intrusion of noise from the FA-M3/FA500 side and improving
noise resistance. Satisfy all conditions given below to make this function effective:
For the frame ground, perform protective grounding (100 ohms or less) at the opposing side of the connection (the modem or FA-M3/FA500 side).
Attach only one side of the shield of the sheathed cable to the FG of the opposing side
of the connection. DO not ground the cable shield on the ACM11 side. Also, do not
use a connector shell that is conductive.
Connect the FG and the SG (signal ground) of the RS-232C circuit at the opposing
side of the connection. On the FA-M3/FA500, the frame ground (FG) and SG are
connected. When using a modem in which the FG and SG are not connected, use
Yokogawa Electrics AKB141 (RS-232C modem cable). For the AKB141 cable, SG
and FG are connected inside of the connector shell. Also, the cable shield can be
connected to the FG of the opposing side of the connection.
SEE ALSO
For details on cable connections, see the following:
A4.3, Wiring of Communication Module in Input & Output Modules (IM 33Y06K01-01E)
J3-10
ACM12
ACM12
FA-M3 (F3LC11-2N)
TX +
SDB
TX +
SDB
TX -
SDA
TX -
SDA
RX +
RDB
RX +
RDB
RX -
RDA
RX -
RDA
SG
SG
SG
SG
FG
FG
FG
FG
(4-wire connection)
(2-wire connection)
J030206E.EPS
ACM12
FA-M3 (F3LC11-2N)
FA500 (LC02-0N)
FA-M3 (F3LC11-2N)
FA500 (LC02-0N)
SDB
SDB
SDB
SDA
SDA
SDA
RDB
RDB
RDB
RDA
RDA
RDA
SG
SG
SG
FG
FG
FG
TX +
TX RX +
RX SG
FG
FA-M3 (F3LC11-2N)
FA500 (LC02-0N)
J030207E.EPS
FA-M3 (F3LC11-2N)
TX +
TX RX +
RX SG
FG
FA-M3 (F3LC11-2N)
SDB
SDB
SDA
SDA
RDB
RDB
RDA
RDA
SG
SG
FG
FG
FA-M3 (F3LC11-2N)
SDB
SDA
RDB
RDA
SG
FG
J030208E.EPS
IMPORTANT
When connecting FA500 and ACM12, 2-wire connection should not be used.
J3-11
With the ACM12, the FG (frame ground) and the SG (signal ground) for the RS-422 and
RS-485 are separated. Treat the shield for the RS-422 and RS-485 as follows:
Perform protective grounding (100 ohms or less) for the FG at the opposing side of the
connection (FA-M3/FA500 side).
Connect the shield for the cable between ACM12 and FA-M3/FA500 to the FG of the
FA-M3/FA500 side. Do not connect it to the FG of the ACM12 side.
SEE ALSO
For details on cable connections, see the following:
A4.3, Wiring of Communication Module in Input & Output Modules (IM 33Y06K01-01E)
2-wire
ON
ON
4-wire
OFF
OFF
J030209E.EPS
J3-12
J3-13
Device type
Bit device
Word device
Special device
Device name
Address
Read
Remark
Write
Input relay
Xnnnnn
Output relay
Ynnnnn
(*1) (*2)
Internal relay
Innnn
(*2)
Shared relay
Ennnn
(*2)
Link relay
Lnnnn
(*2)
Special relay
Mnnn
(*2)
Time-up relay
TUnnn
(*2)
Count-up relay
CUnnn
(*2)
TPnnn
TInnn
Timer setpoint
TSnnn
(*1) (*2)
CPnnn
CInnn
Counter setpoint
CSnnn
Data register
Dnnnn
File register
Bnnnn
(*3)
Shared register
Rnnnn
(*4)
Index register
Vnnnn
(*4)
Link register
Wnnnn
Special register
Znn
Communication time
SPnn
(*6) nn=01 to 04
Communication status
STSnn
(*6) nn=01,17
(*5)
J030301E.EPS
:
*1:
*2:
*3:
*4:
*5:
*6:
Access allowed.
Blank: Access not allowed.
Always set the input relay (Xnnnnn) and output relay (Ynnnnn) so that the last two digits are 01, 17, 33, 49.
If I/O relay points do not exist because of empty slots, etc., that device will be skipped when read by the LC01-0N and
LC02-0N PC link modules.
If the number of points is smaller than 64 points (for example, 32 points, 16 points, 8 points, etc.) or empty slots exist,
all devices are read virtually as 64-point areas by the F3LC11-1N and F3LC11-2N PC link modules.
Bnnnn of the FA-M3 corresponds to the file register (SP25/SP35).
There are neither shared register nor index register in the FA500.
It is possible to write in the FA-M3. However, writing to any devices other than link devices that are assigned to
the self station will be invalid by refresh from other station.
Information on the status of communication with FA-M3/FA500 can be acquired using the special device. The
information obtained by the special device includes SPnn, which indicates communication time, and STSnn, which
indicates communication status.
SEE ALSO
Refer to chapter 2, Devices in the FACTORY ACE FA500 High Performance Programmable Controller/FA-M3 Range Free Controller Ladder Sequence Users Manual (IM 34M06P11-01E) for details regarding addresses of accessible devices.
Refer to the FACTORY ACE FA500 High Performance Programmable Controller/FA-M3 Range Free
Controller Personal Computer Link Module Users Manual and Monitor Module Users Manual (IM
34M05H41-01E) for details concerning reading input and output relays.
J3-14
n
+
9
n
+
8
n
+
7
n
+
6
n
+
5
n
+
4
n
+
3
n
+
2
n
+
1
n
+
31
m=1
n
+
16
m=2
n+16 (m-1)+15
n+16 (m-1)
J030401E.EPS
J030402E.EPS
J3-15
Address
Read
Write
SP01
Yes
No
SP02
Yes
No
SP03
Yes
No
SP04
Yes
No
Remark
J030403E.EPS
Address
Read
Write
STS01
Yes
No
STS17
Yes
No
Remark
J030404E.EPS
00
Bit arrangement
16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01
STS17 configuration
15
Station number
00
Bit arrangement
32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
J030405E.EPS
Figure Relationship among Communication Time, Communication Status and Station Number
FA-M3
J3-16
In this section, setting items on System View for FA-M3/FA500, the specific functionality and the recommended settings are explained.
SEE ALSO
For more information regarding to Set Details tab on Create New IOM dialog box and subsystem common settings, see the following:
Setting Items for ACM11, ACM12 in J1.5.1, Overview of Setting Items on System View
For FA-M3, the setting items are as follows. This setting is done on the Set Details
tab of the New IOM dialog box called from the System View.
Connection Device
Baud Rate
Parity
Data Bits
Stop Bits
RS Control
DR Check
CD Check
Communication Error Process
Options
After creating the new I/O module, the settings can be modified on the I/O module
property sheet.
J3-17
Parity FA-M3
This sets the method for checking the parity of the subsystem data to be transmitted.
The recommended setting is [Even] parity.
When the baud rate is set to [19200 bps], the [No] parity cannot be set.
The parity set in the Set Details tab of Create New IOM dialog box should match the parity
setting of the DIP switch on the FA-M3/FA500.
SEE ALSO
For more information about DIP switch settings on FA-M3/FA500, see the following:
J3.8, Settings on Subsystem FA-M3
IMPORTANT
When using FA-M3/FA500, [2 bits] cannot be used as the stop bit.
SEE ALSO
For more information about DIP switch settings on FA-M3/FA500, see the following:
J3.8, Settings on Subsystem FA-M3
J3-18
RS Control FA-M3
This item sets whether or not to perform RS control during subsystem data transmission.
When using FA-M3/FA500, disable RS control by leaving the [RS control] check box
unmarked.
DR Check FA-M3
This item sets whether to perform DR check during subsystem data transmission.
When using FA-M3/FA500, enable the DR check by checking the [DR check] check box.
CD Check FA-M3
This item sets whether to perform CD check during subsystem data transmission.
When using FA-M3/FA500, disable the CD check by leaving the [CD check] check box
unmarked.
Options FA-M3
Set options for the communication parameters that vary with the connected subsystem.
Options are set by entering settings to the fields of Option 1 through 4 in the Set Detail tab
of the New IOM dialog box called from System View.
In the case of FA-M3/FA500, set 0 in option 1 through option 4.
J3-19
Element FA-M3
Element
With respect to the address of the subsystem data buffer, the element number are displayed on Communication I/O Builder.
Buffer FA-M3
Buffer
J3-20
Set the unit number, slot number and FA-M3 as Program Name on Communication I/O
Builder as follows:
u-sProgramName
u:
Unit number
s:
Slot number
ProgramName: FA-M3
Set the unit number, slot number and FA-M3 as Program Name on Communication I/O
Builder as follows:
n-u-sProgramName
n:
u:
s:
ProgramName:
Node number
Unit number
Slot number
FA-M3
Size FA-M3
Size
This item sets the data size (data length) from the head address set in Device & Address.
Must set the Size since this is a required setting item on Communication I/O Builder.
For FA-M3/FA500, the setting range is 1 to 64 words.
SEE ALSO
For more information about Size setting item, see the following:
J1.5.2, Overview of Settings on Communication I/O Builder
Port FA-M3
Port
IP Address FA-M3
IP Address
J3-21
Station FA-M3
Station
:
:
CPU number (1 to 4)
Station number (01 to 32)
IMPORTANT
When connecting to the ACM11, the station number is fixed at 01.
When connecting to the ACM12, the station number can be set in the range between
02 and 32. If the ACM12 is used, do not use 01 for the station number.
If the FA-M3 is used with the F3LC11-2N PC link module, match the setting for the station
number between the setting of Communication I/O Builder and the setting via the station
number setting switch in the PC link module.
SEE ALSO
For more information about station number setting DIP switch, see the following:
J3.8, Settings on Subsystem FA-M3
J3-22
Xnnnnn
Output relay:
Ynnnnn
Internal relay:
Innnn
Shared relay:
Ennnn
Link relay:
Lnnnn
Special relay:
Mnnn
Time-up relay:
TUnnn
Count-up relay:
CUnnn
TPnnn
TInnn
Timer setpoint:
TSnnn
CInnn
Counter setpoint:
CSnnn
Data register:
Dnnnn
File register:
Bnnnn
Shared register:
Rnnnn
Index register:
Vnnnn
Link register:
Wnnnn
Special register:
Znn
Communication time:
SPnn
Communication status:
STSnn
J3-23
Reverse FA-M3
Reverse
This sets whether to make the bit or word arrangement in FCS in reverse order of the
subsystem data.
The following settings can be selected:
Bits
No
Words
However, when choosing [Bits], only the data of discrete inputs or discrete outputs can be
reversed. In this case, the default setting is [Bits].
Regarding to words, only the 32-bit input data or 32-bit output data can be reversed. In this
case the default setting is [No].
J3-24
Scan FA-M3
Scan
Set whether to read the communication I/O analog data into the communication I/O data
buffer at the beginning of high-speed scan of the FCS.
Label FA-M3
Label
The name of the function block I/O terminal can be set as a user-defined label.
J3-25
Error UNITmm
SLOTnn
STNzzz
FCS name
Unit number
Slot number
Subsystem station number
Error code
When a communication error occurs in the subsystem, the system alarm message is
transmitted only once at the time the error occurs. The new system alarm message will not
be transmitted even if errors are generated by different causes.
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when a Communication Error Occurs FA-M3
J3-26
FCS name
Node number
Unit number
Slot number
Subsystem station number
Error code
When a communication error occurs in the subsystem, the system alarm message is
transmitted only once at the time the error occurs. The new system alarm message will not
be transmitted even if errors are generated by different causes.
SEE ALSO
For details on error codes, see the following in this document:
Error Codes When a Communication Error Occurs FA-M3
Recover
UNITmm
SLOTnn
STNzzz
FCS name
Unit number
Slot number
Subsystem station number
FCS name
Node number
Unit number
Slot number
Subsystem station number
J3-27
Description
A3B1
A3B2
A3B3
A3B4
A3B5
A3B6
A3B8
A3B9
A3BA
J030701E.EPS
J3-28
Description
A3C1
A3C2
OK, ER error
A3C3
Command error
A3C4
A3C5
ETX, CR error
A3C6
No data received
A3C7
J030702E.EPS
SEE ALSO
For details on OK, ER, check sum, ETX, CR, and so on, refer to the FACTORY ACE FA500 High Performance Programmable Controller/FA-M3 Range Free Controller Personal Computer Link Module Users
Manual and the Monitor Module Users Manual (IM 34M05H41-01E).
J3-29
Description
A391
A392
A393
A394
A395
A397
A398
A399
A39A
A39B
A39C
A39D
A39F
Other error
A3D0
A3D1
Command error
A3D2
A3D3
A3D4
A3D5
A3D6
A3D7
Parameter error
A3D8
Framing error
A3D9
Overrun error
A3DA
Parity error
A3DB
A3DC
A3DD
A3DE
CPU error
A3DF
A3E0
A3E1
A3E2
Device error
A3E3
A3E4
Other error
Error code
(hexadecimal)
Description
J3-30
Description
No response
A3FE
A3FF
Other error
J030704E.EPS
J3-31
LC11-1N
C LINK
Front
Back
2 3
9
5 6
0 1
7 8
O
F
F
1
2
3
4
5
6
7
8
J030801E.EPS
RDY
7 8
2 3
C LINK
STATION
NO.
456
7 8
901
2 3
456
901
LC11-2N
Front
Back
Station number
setting switch
(2 decimal
rotary switches)
TERMINATOR
2 3
4
5 6
SD B
Terminating resistor
setting switch
0 1
4-WIRE
OFF
SD A
2-
7 8
RD A
RD B
SG
O
F
F
1
2
3
4
5
6
7
8
SHIELD
J030802E.EPS
J3-32
2-wire
4-wire
4
J030803E.EPS
J3-33
The following shows the station number setting switches on the F3LC11-2N PC link module:
2
STATION
NO.
5
9
6
8
5
9
6
8
F3LC11-2N
J030804E.EPS
Figure FA-M3 Station Number Setting Switch (F3LC11-2N Personal Computer Link Module)
1
0
9
2 3
8 7
4
5
6
Cannot set
Cannot set
1200
2400
4800
9600
19200 (*1)
Cannot set
Cannot set
Cannot set
J030805E.EPS
Recommended setting
J3-34
OFF
O
F
F
1 2 3 4 5 6 7 8
ON
LC01-0N
LC02-0N
Number
ON
1
2
3
4
5
6
7
8
F3LC11-1N
F3LC11-2N
Function
OFF
ON
Remarks
Data length
7 bits
8 bits
Parity check
No
Yes
Parity
Odd number Even number This is enabled only when parity bit [yes] is selected
Stop bit
1 bit
2 bits
Check sum
No
Yes
EOT character
designated
No
Yes
Protect function No
Yes
IMPORTANT
When connecting FA-M3/FA500 to ACM11 or ACM12, always set the stop bit, check sum
and terminating character designation as follows:
Stop bit: 1 bit
Check sum: Yes
EOT character designation: Yes
J3-35
Communication
module
Create message
to be sent
Interpret response
message, store data
FA-M3/FA500
FA-M3/FA500
processing time
T1
T2
T3
T4
T5
J030807E.EPS
T1:
T2:
T3:
T4:
T5:
start bit
data bit +
parity bit
stop bit
J030808E.EPS
Start bit:
Data bit:
Parity bit:
Stop bit:
Baud rate:
1 bit fixed
7 bits or 8 bits
None, even or odd
1 bit fixed
1200, 2400, 4800, 9600, 19200 (bps)
TIP
The FA-M3/FA500 can handle a maximum of 64 words in a single communication transaction.
J3-36
19200 bps
10
104 ms
(scan period 100 ms+processing time 4 ms)
J4-1
IMPORTANT
On Detailed Settings tab of FCS Constants Builder, the setting item SEBOL/User C Ratio
needs to be properly set in accordance with the communication program size.
If the default ratio 100 % is used, all resource is assigned for SEBOL and the communication program may fail when SEBOL program is running.
IM 33S01B30-01E
J4-2
TCP/IP
The port number is fixed as 12289 (0x3001). Except this port number, the communication
specifications are in accordance with the Ethernet communication standards.
Description
Binary
Uses only the higher link service. Events are not supported.
Available station(s)
Communication Capacity
The communication capacity is as follows:
Maximum number of FA-M3s allowed for communication:
*1
10 (*1)
This capacity stands for the number of FA-M3 can be communicated with one FCS. It is irrelevant to number of ACM71
modules.
The maximum size of data allowed for communication, including data communicated via
other communication packages used for applicable FCSs, is the size allowed in the communication I/O data storage area (4000 words).
Communication data size in one frame is as follows:
F3SP21, F3SP25, F3SP35
Word device:
64 words
Bit device:
256 words
Bit device:
One frame is defined in one line on communication builder. It is the same as restricted by
FA-M3 protocol.
J4-3
Connection Configuration
An example of connections between FCSs and FA-M3s is shown below:
Ethernet
HIS
HIS
Control bus
FCS
Ethernet
Router
HUB
FA-M3
FA-M3
HUB
FA-M3
J040201E.EPS
J4-4
Model name
F3LE01-5T
Name
Ethernet interface module 10BASE-5, 10BASE-T
J040202E.EPS
A 10Base-T interface module is used for an ACM71 while 10BASE-T or 10BASE-5 Ethernet interface module is used for the FA-M3. A HUB or other peripherals may be required for
adapting the interfaces.
SEE ALSO
See the users manual of FA-M3 Ethernet Interface Module Users Manual (IM 34M06H24-01E) for more
information on the network configuration method.
J4-5
Addressing
The IP address and subnet mask must be specified for each ACM71 installed in the FCS.
Up to three IP addresses and subnet masks are specified for a single FCS, including the IP
address and subnet mask specified for the control bus of the FCS.
These three IP addresses must have different subnets, respectively.
HIS
Subnet 1
(control bus)
172.16.1.24
(255.255.0.0)
172.16.1.1
(255.255.0.0)
Subnet 2
172.16.1.2
(255.255.0.0)
Subnet 3
172.21.1.1
(255.255.0.0)
RDY
RCV
SND
CN1
RDY
RCV
SND
CN1
172.22.1.1
(255.255.0.0)
FCS
Ethernet
FA-M3
Control bus
FA-M3
RDY
RCV
SND
CN1
RDY
RCV
SND
CN1
FCS
Ethernet
FA-M3
Router
Ethernet
FA-M3
Subnet 4
(router destination, etc.)
J040203E.EPS
Figure Addressing
J4-6
Bit device
Word device
Device name
Address
Input relay
Xnnnnn
Output relay
Ynnnnn
Internal relay
Innnn
Shared relay
Ennnn
Link relay
Lnnnn
Special relay
Mnnn
Time-up relay
TUnnn
Count-up relay
CUnnn
TPnnn
TInnn
Timer setpoint
TSnnn
CPnnn
CInnn
Counter setpoint
CSnnn
Data register
Dnnnn
File register
Bnnnn
Shared register
Rnnnn
Index register
Vnnnn
Link register
Wnnnn
Special register
Znn
J040301E.EPS
SEE ALSO
See the users manual of the applicable FA-M3 CPU unit for more information on address specification.
J4-7
%WWxxxx
n n n n n n n
+ + + + + + +
15 14 13 12 11 10 9
n
+
8
n
+
7
n
+
6
n
+
5
n
+
4
n
+
31
n
+
3
n
+
2
n
+
1
m=1
n
+
16
m=2
n+16(m-1)+15
n+16(m-1)
J040401E.EPS
%WWxxxx
J4-8
In this section, setting items on System View for FA-M3, the specific functionality
and the recommended settings are explained.
SEE ALSO
For more information regarding to Detailed Setting tab on Create New IOM dialog box and subsystem
common settings, see the following:
Setting Items for ACM71 in J1.5.1, Overview of Setting Items on System View
J4-9
Similarly, select the following items in Detailed Setting tabs 2 through 5 in the Create New
IOM dialog box. Select any of the tabs of Detailed Setting 2 through 5.
Option 1
This sets the tolerant time for getting response from the subsystem.
Option 2
This item sets the number of retries performed when a communication error occurs.
Option 3
Specify a time interval that the probe communication packets are sent to test if the connection can be established.
Option 4
For FA-M3, set [12289 (0x3001) ] as port number.
Since there is no default setting, this port number must be entered.
J4-10
Element
Buffer
Program Name
Size
Port
IP Address
Station
Data Type
Reverse
Scan
Service Comment
Label
Element FA-M3
Element
With respect to the address of the subsystem data buffer, the element numbers are displayed on Communication I/O Builder. The element number is indicated for display purposes only. It is not selectable.
Buffer FA-M3
Buffer
J4-11
Set the unit number, slot number and FA-M3_E as a program name of subsystem on
Communication I/O Builder as follows:
u-sProgram Name
u:
Unit number
s:
Slot number
Program Name: FA-M3_E
Size FA-M3
Size
This item sets the data size (data length) from the head address set in Device & Address.
Must set the Size since this is a required setting item on Communication I/O Builder.
For FA-M3, the setting ranges are limited as follows, the unit is in Word.
F3SP21, F3SP25, F3SP35
Word device:
64 Words
Bit device:
256 Words
Bit device:
SEE ALSO
For more information about Size setting item, see the following:
J1.5.2, Overview of Settings on Communication I/O Builder
IMPORTANT
Because of the restrictions on FA-M3 Ethernet interface module F3LE01-5T, a write error
occurs when greater than 249 words.
Port FA-M3
Port
IP Address FA-M3
IP Address
J4-12
Station FA-M3
Station
:
:
:X0nnnn
Output relay
:Y0nnnn
Internal relay
:I0nnn
Shared relay
:E0nnn
Link relay
:L0nnn
Special relay
:M0nn
Time-up relay
:TUnnn
Count-up relay
:CUnnn
:TPnnn
:TInnn
Timer setpoint
:TSnnn
:CPnnn
:CInnn
Counter setpoint
:CSnnn
Data register
:D0nnn
File register
:B0nnn
Shared register
:R0nnn
Index register
:V0nnn
Link register
:W0nnn
Special register
:Z0n
SEE ALSO
For more information about address setting, see the following:
J4.3, Accessible Devices FA-M3
J4-13
Reverse FA-M3
Reverse
Set whether to reverse the bit/word arrangement between the FCS and the subsystem.
Any of the following can be selected for reverse:
Bits
No
Words
However, the bits setting is valid only if the data type is either the discrete input or discrete
output. In this case, the default is [Bits].
The words setting is valid only if the data type is the 32-bit analog input or the 32-bit analog
output. In this case, the default is [No].
J4-14
Scan FA-M3
Scan
Set whether to read the communication I/O analog data into the communication I/O data
buffer at the beginning of high-speed scan of the FCS.
Label FA-M3
Label
The name of the function block I/O terminal can be set as a user-defined label.
J4-15
IP Address Setting
In order to perform subsystem communication with the FA-M3, it is necessary to set the IP
address in the Ethernet interf0Face module on the FA-M3 side.
The IP address setting is performed using two hexadecimal rotary switches (IP address
setting switches).
Example: Setting the IP address to 172. 21. 1. 2
1
A
1
XX
C
5
Hexadecimal
AC
15
01
02
Decimal
172
21
2
J040701E.EPS
J4-16
8 7 6 5 4 3 2 1
No.
Function
Remarks (*1)
ON
Write protect
OFF
OFF
[OFF]
OFF
OFF
*1:
J4-17
Error Code
The table below shows the error codes specific to the FA-M3.
Table Error Code FA-M3
Error code (Hexadecimal)
Description
A3B0
No response
A3B1
A3B2
A3B6
A3B8
A3B9
A3BB
IP address error
A3BC
A3BD
A3BE
A3D1
A3D2
A3D3
A3D5
A3D8
A3E1
A3E2
The A3D1 and succeeding codes indicate errors generated when an error code is received
from the FA-M3. The error codes from the FA-M3 are indicated in parentheses.
SEE ALSO
See the FA-M3 Users Manual for more information on error codes.
For error codes pertaining to Ethernet communications, see the following:
J2.4, System Alarm Messages Specific to Ethernet Communication
J4-18
Communication Performance
The transmission time for communication between the communication card and a FA-M3 is
calculated as a sum of T1 through T4 as shown below.
Communication begins
Communication
card
Communication complete
Request
generation
processing
Data
FA-M3
Data
Communication
processing
T1
T2
T3
T4
Figure Time Chart for Communication between Communication Card and FA-M3
SEE ALSO
See the FA-M3 Users Manual for more information on T2 through T4.
J4-19
Calculation Example
The following shows an example of calculating the transmission time when reading data of
64 data registers.
The communication time is calculated based on the following conditions:
Comparing with other processing times, the transmission times of request (T2) and response (T4) are trivial, all together about 1 to 5 milliseconds. Thus in this calculation, T2 +
T4 = 5 ms.
The FA-M3s scan period is 50 ms.
Transmission time of request (T2) + Transmission time of response (T4) = 5 ms
CPU processing time (T3)
= Number of points/Number of points processed in one scan3scan time
= 64/6450 = 50ms
4
TIP
Note that the calculation is approximate since the actual communication time may vary by a wide margin
depending on network traffic.
Blank Page
J5-1
IM 33S01B30-01E
J5-2
Maximum quantity
Explanation
500 words
(1 word=16 bits)
300 channels
60 words
J050101E.EPS
J5-3
Description
Interface
Transmission method
Half duplex
Remark
ACM11
Synchronization method
Start-stop synchronization
Baud rate
(*1)
Transmission procedure
Binary mode
Transmission code
Binary
Data type
Control line
Start bit
Data bit
Parity bit
Stop bit
RS
Always ON
ER
Always ON
DR check
Yes
CD check
No
CS check
Transmission enable
monitoring time
1000ms
(*1)
Time monitoring
Text frame
Character interval
timeout processing
End of text
None
EOT character
None
XON/XOFF control
None
0 to 99 sec. [3 sec.]
(*1)
(*1)
(*1)
1 sec.
Item
Description
Remark
J050102E.EPS
J5-4
Control bus
FCS
CN1
RDY
RCV
SND
CN1
RS-232C
DARWIN
J050201E.EPS
J5-5
Signal name
Title
FG
Frame ground
SD
Send data
RD
Receive data
RS
Request to Send
CS
Clear to Send
DR
Data Ready
SG
Signal ground
CD
Carrier Detected
20
ER
Direction of signal
ACM11
DARWIN
Description
Safety grounding
SEE ALSO
For details on safety grounding, see the following:
Figure Cable Connection between ACM11 and DARWIN (when connected directly)
Pin No. 25
Pin No. 14
Pin No. 13
Pin No. 1
J050203E.EPS
J5-6
Shown below are the cable connections when the ACM11 and DARWIN are connected via
modem and connected directly without using a modem:
SD
RD
RS
CS
ACM11
DR
SG
CD
ER
FG
20
20
SD
RD
RS
CS
DR
Modem (*1)
SG
CD
ER
FG
Sheathed cable
Protective ground (100 ohms or less)
J050204E.EPS
*1:
SD
RD
RS
CS
ACM11
DR
SG
CD
ER
FG
20
1
Sheathed cable
20
1
SD
RD
RS
CS
DR
DARWIN
SG
CD
ER
FG
Figure Cable Connection between ACM 11 and DARWIN (when connected directly)
J5-7
With the ACM11, the RS-232C circuit and FG (frame ground) are electrically insulated. This
has the function of preventing intrusion of noise from the DARWIN side and improving
noise resistance. Satisfy all conditions given below to make this function effective:
For the frame ground, perform protective grounding (100 ohms or less) at the opposing side of the connection (the DARWIN side).
Attach only one side of the shield of the sheathed cable to the FG of the opposing side
of the connection. DO not ground the cable shield on the ACM11 side. Also, do not
use a connector shell that is conductive.
Connect the FG and the SG of RS-232C circuit on the opposing side of connection.
The FG and SG are connected on the DARWIN side. When using a modem in which
the FG and SG are not connected, use Yokogawa Electrics AKB141 (RS-232C
modem cable). For the AKB141 cable, SG and FG are connected inside of the connector shell. The cable shield can be connected to the FG on the opposing side of
connection.
SEE ALSO
For details on cable connections, see the following:
A4.3, Wiring of Communication Module in Input & Output Modules (IM 33Y06K01-01E)
J5-8
IMPORTANT
An error will occur when there is no input channel acknowledged by DARWIN between specified channels.
The channels for integration or other calculations in DARWIN can not be accessed.
J5-9
A1 B1
C1 D1
DATA1
......
An
Bn
Cn
Dn
DATAn
DATA1
DATA2
DATA3
:
:
:
:
:
DATAn
Alarm status
C1
D1
C2
D2
C3
D3
:
:
:
:
:
Cn
Dn
J050401E.EPS
A1 to An:
B1 to Bn:
Channel number
C1 to Cn:
D1 to Dn:
Data1 to Datan:
Measured data
SEE ALSO
For details on alarm status, refer to Users Manual of DARWIN.
J5-10
In this section, setting items on System View for DARWIN, the specific functionality
and the recommended settings are explained.
SEE ALSO
For more information regarding to Set Details tab on Create New IOM dialog box and subsystem common settings, see the following:
Setting Items for ACM11, ACM12 in J1.5.1, Overview of Setting Items on System View
For DARWIN, the setting items are as follows. This setting is done on the Set Details
tab of the New IOM dialog box called from System View.
Connection Device
Baud Rate
Parity
Data Bits
Stop Bits
RS Control
DR Check
CD Check
Communication Error Process
Options
After creating the new I/O module, the settings can be modified on the I/O module
property sheet.
Parity DARWIN
This sets the method for checking the parity of the subsystem data to be transmitted.
The recommended setting for the parity is [Even].
When the transmission speed is set to [19200 bps], the [no] parity choice cannot be set.
J5-11
IMPORTANT
When using DARWIN, a communication error will occur if [7 bits] is selected.
IMPORTANT
When using DARWIN, [2 bits] cannot be chosen.
RS Control DARWIN
This item sets whether or not to perform RS control during subsystem data transmission.
When using DARWIN, enable RS control by checking the [RS control] check box.
By default, the [RS control] checkbox is not checked.
DR Check DARWIN
This item sets whether to perform DR check during subsystem data transmission.
When using DARWIN, disable DR check by leaving the [DR Check] check box unchecked.
By default, the [DR check] check box is checked.
CD Check DARWIN
This item sets whether to perform CD check during subsystem data transmission.
When using DARWIN, disable CD check by leaving the [CD Check] check box unchecked.
J5-12
Options DARWIN
Set options for the communication parameters that vary with the connected subsystem.
Options are set by entering settings to the fields of Option 1 through 4 in the Set Detail tab
of the New IOM dialog box called from the System View.
In the case of DARWIN, set "0" in option 1 through option 4.
J5-13
Element DARWIN
Element
With addresses of the subsystem data buffer, the element numbers are displayed on
Communication I/O Builder .
The element numbers are for display only, cannot be set.
Buffer DARWIN
Buffer
J5-14
Set the unit number, slot number and DARWIN program name of subsystem as follows:
u-sProgramName
u:
s:
ProgramName:
Unit Number
Slot Number
DARWIN
Set the node number, unit number, slot number and DARWIN as Program Name on Communication I/O Builder as follows:
n-u-sProgramName
n:
u:
s:
ProgramName:
Node
Unit Number
Slot Number
DARWIN
Size DARWIN
Size
This item sets the data size (data length) from the head address set in Device & Address.
Must set the Size since this is a required setting item on Communication I/O Builder.
For DARWIN, the setting range is limited to 64 words
Precautions on use of DARWIN are as follows:
For alarm status, set the same size as the measured data immediately before.
The setting cannot include a nonexistent channel nor extend beyond the range of
subunits.
SEE ALSO
For more information about Size setting item, see the following:
J1.5.2, Overview of Settings on Communication I/O Builder
Port FA-M3
Port
J5-15
IP Address DARWIN
IP Address
Station DARWIN
Station
ALscc
Reverse DARWIN
Reverse
This sets whether to make the bit or word arrangement in the FCS in reverse order of the
subsystem data.
With DARWIN, choose [No].
The default setting is [No].
J5-16
Scan DARWIN
Scan
Set whether to read the communication I/O analog data into the communication I/O data
buffer at the beginning of high-speed scan of the FCS.
Label DARWIN
Label
The name of the function block I/O terminal can be set as a user-defined label name.
J5-17
Figure Communication Packet for Byte Sequence Specification + Output Data Selection
DARWIN
J5-18
p4
p3:
p4:
p5:
'.'
p5
CR LF
Operation mode
'1' Output measured data as binary data
Output head channel
Specify in three ASCII digits (no 0 suppression)
Output end channel
Specify in three ASCII digits (no 0 suppression)
J050704E.EPS
Figure Communication Packet for Measured Data Output Format Specification DARWIN
A1 B1
C1 D1
DATA1
A1 to n:
B1 to n:
C1 to n:
D1 to n:
DATA1 to DATAn:
......
An
Bn
Cn
Dn
DATAn
J5-19
Error UNITmm
SLOTnn
STNzzz
FCS name
Unit number
Slot number
Subsystem station number
Error code
When a communication error occurs in the subsystem, the system alarm message is
transmitted only once at the time the error occurs. After that, a new system alarm message
will not be sent even if an error is generated by a different cause.
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when a Communication Error Occurs DARWIN
J5-20
FCS name
Node number
Unit number
Slot number
Subsystem station number
Error code
When a communication error occurs in the subsystem, the system alarm message is
transmitted only once at the time the error occurs. The new system alarm message will not
be transmitted even if errors are generated by different causes.
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when a Communication Error Occurs DARWIN
Recover
UNITmm
SLOTnn
STNzzz
FCS name
Unit number
Slot number
Subsystem station number
FCS name
Node number
Unit number
Slot number
Subsystem station number
J5-21
Description
A3B1
A3B2
A3B3
A3B4
No data definition
A3B5
A3B6
A3B7
No communication
J050801E.EPS
J5-22
Description
A3C1
A3C2
A3C3
A3C4
<reserved>
A3C5
A3C6
A3C7
A3C8
<reserved>
A3C9
<reserved>
A3CA
A3CB
A3CC
A3CD
A3CE
<reserved>
A3CF
<reserved>
J050802E.EPS
Description
A391
A392
A393
A394
A395
A397
A398
A399
A39A
A39B
A39C
A39D
A39F
Other error
J050803E.EPS
J5-23
Description
No response
A3FE
A3FF
Other error
J050804E.EPS
J5-24
ACM11 side
DARWIN side
Byte sequence
specification +
output data selection
Byte sequence
specification +
output data selection
Send-receive interval
monitoring time
Retries
J050901E.EPS
Figure No-Response Error after Execution of Byte Sequence Specification + Output Data
Selection
J5-25
ACM11 side
Byte sequence
specification +
output data selection
Byte sequence
specification +
output data selection
Reply
("E1"+CR+LF)
DARWIN side
Reply
("E1"+CR+LF)
Retries
J050902E.EPS
Figure Reply Error after Execution of Byte Sequence Specification + Output Data Selection
ACM11 side
DARWIN side
Byte sequence
specification +
output data selection
Byte sequence
specification +
output data selection
Reply (?)
Reply (?)
Retries
J050903E.EPS
Figure Format Error after Execution of Byte Sequence Specification + Output Data Selection
J5-26
ACM11 side
Trigger execution
(=<GET>)
Send-receive interval
monitoring time
DARWIN side
Byte sequence
specification +
output data selection
Trigger execution
(=<GET>)
Send-receive interval
monitoring time
Retries
J050904E.EPS
ACM11 side
DARWIN side
Trigger execution
(=<GET>)
Byte sequence
specification +
output data selection
Trigger execution
(=<GET>)
Reply
(E1+CR+LF)
Reply
(E1+CR+LF)
Retries
J050905E.EPS
J5-27
ACM11 side
Trigger execution
(=<GET>)
DARWIN side
Byte sequence
specification +
output data selection
Trigger execution
(=<GET>)
Reply (?)
Reply (?)
Retries
J050906E.EPS
ACM11 side
DARWIN side
Specification of
output format and
output channel for
measured data
Specification of
output format and
output channel for
measured data
Send-receive interval
monitoring time
Byte sequence
specification +
output data selection
Send-receive interval
monitoring time
Retries
J050907E.EPS
Figure No-Response Error after Execution of Specification of Output Format and Output
Channel for Measured Data
J5-28
ACM11 side
Specification of
output format and
output channel for
measured data
Reply
(E1+CR+LF)
DARWIN side
Trigger execution
Reply
(E1+CR+LF)
Retries
J050908E.EPS
Figure Reply Error after Execution of Specification of Output Format and Output Channel for
Measured Data
Format Error after Execution of Specification of Output Format and Output Channel for Measured Data
Causes of format errors and loss of data are given below:
Format error
The data length stored in the top two bytes of the measured data does not agree with
the actual data length, or the number of data requested and the number of data
actually returned differ.
Channel error
The data channel number does not continue on from the starting channel number.
When specification of output format and output channel for measured data is executed
but the reply (or measured data) is returned in an unexpected frame format or loss-of-data
occurs, retries will be repeated for the number of times specified for number of retries in
the builder.
When communication does not return to normal even after retries are repeated for the
number of times specified in the number of retries, a format error is set for the trigger
execution and retries will be performed starting from byte sequence specification + output
data selection.
ACM11 side
DARWIN side
Specification of
output format and
output channel for
measured data
Specification of
output format and
output channel for
measured data
Reply (?)
Trigger execution
Reply (?)
Retries
J050909E.EPS
Figure Format Error after Execution of Specification of Output Format and Output Channel for
Measured Data
J5-29
CR
LF
"F" "M"
"E" ERR CR
ERR:
Communication
module
Specify byte
sequence and
select output data
Execute trigger
(=<GET>)
"1"
","
","
nnn
nnn:
mmm:
LF
Error code
0: Normal
1: Abnormal
P1
T2
T3
T4
T5
T6
P2
LF
Measured data
(*1)
Reply
T1
CR
Specify measured
data output format
and output channel
DARWIN
Reply
mmm
T7
T8
P3
B1
C1
D1
DATA1
....
An
Bn
Cn
A1 to An:
B1 to Bn:
C1 to Cn:
D1 to Dn:
DATA1 to DATAn:
Dn
DATAn
Figure Time Chart for Communication between Communication Module and DARWIN
T1:
T2:
T3:
T4:
T5:
T6:
T7:
T8:
*1:
DARWIN may return an error reply when the "output format and the our put channel designation" signal is not properly
received from ACM11 communication module.
J5-30
Baud rate:
19200 bps
11 bits
6 characters
Transmission time
= P2 + P3
= T1 + T2 + T3 + T4 + T5 + T6 + T7 + T8
= 10 +2.3 + 10 + 2.3 + 15 + 7.5 + 100 + 210.9
= 358 ms
J6-1
GC1000S:
GCAS:
GC8AA type:
C8AB type:
C8AF type:
GC8AG type:
GC8P type:
In this chapter, GC1000, AS, and GC8 will be referred to as gas chromatography.
J6-2
Maximum quantity
4000 words
(1 word=16 bits)
Explanation
Maximum amount of communication I/O.
208
J060101E.EPS
J6-3
Contents
Interface
Transmission method
Half duplex
Synchronization method
Start-stop synchronization
method
Baud rate
Transmission procedure
Dedicated handshaking
Transmission code
ASCII
Data format
Text frame
Time monitoring
Remarks
ACM21
Start bit
Character length
(*1)
Parity bit
Even number
(*1)
Stop bit
CRLF ($0D$0A)
3000 ms
Reception character
interval monitoring time
1000 ms
RS control
No
(*1)
DR check
No
(*1)
CD check
No
(*1)
Item
Contents
(*1)
Remarks
J060102E.EPS
J6-4
Communication
converter
(K9404LD)
GC1000
ACM21
ACM21
GC8P
GCAS
GC1000
ACM21
GC8AA
/GC8AB
GC8AF/GC8AG
J060201E.EPS
J6-5
RD
SD
4
5
6
GC1000/AS
8
20
7
Sheathed cable
SG
FG
SD
RD
RS
CS
ACM21 DSR
CD
DTR
SG
FG
SD
RD
5
6
GC8
8
20
7
SG
FG
Sheathed cable
Protective ground (100 ohms or less)
J060203E.EPS
J6-6
Address Command
DSaaatt
DS
8n (*1) ,
6n (*2)
Analysis value
Calibration factor
Size
D1aaatt
D1
D2aaatt
D2
CCaaatt
CC
4n
Data type
Contents
Remarks
F32
F32
GC1000/AS only
F32
GC1000/AS only
F32
Calibration factor
Error alarm
AS
AS
I16
Error alarm
End alarm
AE
AE
I16
GC1000/AS only
Confirmation alarm AC
AC
I16
GC1000/AS only
Sampling time
TS
I16
AS only
TS
J060301E.EPS
*1:
*2:
*3:
This is the size when sampling time is specified for read data.
This is the size when no sampling time is specified for the GC1000/AS.
In the case of GC8, this is always set to 6n regardless of whether sampling time is specified.
This is the data sampling time of analysis values sent from GC1000. This is appended at the top of the analysis values
group (DS/D1/D2). Only valid for AS. Invalid when GC1000 is connected directly.
The aaa and tt in the address as well as the size n vary depending on each gas chromatography type, as shown below:
Table Range and Contents of Address and Size : SFCS
Address
DS
aaa
tt
n
Peak count 1 to 99
Applicable gas
chromatography
GC1000/AS
GC8
D1
GC1000/AS
D2
Peak count 1 to 56
GC1000/AS
Peak count 1 to 99
GC1000/AS
CC
GC8
J060302E.EPS
When accessing with a SEBOL ssread statement, specify integer (16-bit signed integer
data) for the data type in the ssread statement regardless of the data type of the data to be
read from the gas chromatography.
J6-7
%WWnn+1
%WWnn+2
%WWnn+4
%WWnn+6
Bit 15=1:
Bit 16=1:
IMPORTANT
A leap year is not considered in the sampling time. Because February always counts data
until the 28th, distinction between February 29 and March 1 in a leap year cannot be made.
For sampling time in a leap year, handle this with the application that processes read data.
J6-8
%WWnn+1
%WWnn+2
Sensitivity error
When data from the gas chromatography has not arrived even once, all data will be read as
0.
J6-9
%WWnn+2
Month (U16)
%WWnn+3
Day (U16)
%WWnn+4
Hour (U16)
%WWnn+5
Minute (U16)
%WWnn+6
%WWnn
(Empty)
J060307E.EPS
The following type of time will be stored depending on the address type:
AS: Time of occurrence
AE: Time of recovery from error
AC: Periodic notification time
The alarm status that can be read is the oldest of those that have not been read. The
second oldest alarm status can be read by writing into AR/ER/CR.
When alarms have not been newly generated, a space is entered as the type of alarm
occurred.
Use the SEBOL ssread statement to read the alarm status.
The following is an example of alarm status assignment in the area starting with
%WW0097:
Communication definition: %WW0097 AS 8
%WW0097
%WW0099
%WW0100
%WW0101
%WW0102
%WW0103
%WW0104
J6-10
Month (U16)
%WWnn+1
Day (U16)
%WWnn+2
Hour (U16)
%WWnn+3
Minute (U16)
%WWnn+4
Second (U16)
%WWnn+5
TIP
When 1 (sampling time read available) is specified for Option 2 in System View, the TS monitoring is not
necessary since the value for the sampling time is converted to seconds and added to each analysis
value.
J6-11
Address
Size
Command
Data type
Contents written as a
command
AR
AR (*1)
DO
None (always 1)
ER
ER (*1)
DO
None (always 1)
CR (*1)
DO
None (always 1)
J060401E.EPS
*1:
When AR/ER/CR commands are executed, the alarm status of the ACM21 communication module read by the AS/AE/
AC commands will be reset. Communication with respect to the gas chromatography is not performed.
Table Address, Size, Command and Data Type of Data to be Written (GC1000/AS only) :
SFCS
Data
Address
Size
Command
Data type
Contents written as a
command
Primary pattern
switching
SEaaa
SE
DO
Pattern number
Interrupt pattern
CEaaa
CE
DO
Pattern number
Run (start)
BEaaa
BE
DO
Always 1
Stop
FEaaa
FE
DO
Always 1
Task switching
XEaaa
XE
DO
Time setting
TEaaa
TE(*1)
DO
*1:
Table Address, Size, Command and Data Type of Data to be Written (GC8 only) : SFCS
Data
Address
Size
Command
Data type
Contents written as a
command
Stream switching
SM0a
SM
DO
Stream number
Calibration
CM0a
CM
DO
Run (start)
BM0a
BM
DO
None (always 1)
Stop
FM0a
FM
DO
None (always 1)
DO
Range switching
RM0a
RM
J060403E.EPS
J6-12
Address
Size
Data type
Contents
U32
Normal:
0x8000 0000
Abnormal: 0x8000 ####
(#### stands for error code)
RSMOa
U32
Normal:
0x8000 0000
Abnormal: 0x8000 ####
(#### stands for error code)
Result of interrupt
pattern execution
RCEaaa
U32
Normal:
0x8000 0000
Abnormal: 0x8000 ####
(#### stands for error code)
U32
Normal:
0x8000 0000
Abnormal: 0x8000 ####
(#### stands for error code)
Result of calibration
execution
RCM0a
RBEaaa
RBM0a
U32
Normal:
0x8000 0000
Abnormal: 0x8000 ####
(#### stands for error code)
RFEaaa
RFM0a
U32
Normal:
0x8000 0000
Abnormal: 0x8000 ####
(#### stands for error code)
RRM0a
U32
Normal:
0x8000 0000
Abnormal: 0x8000 ####
(#### stands for error code)
RXEaaa
U32
Normal:
0x8000 0000
Abnormal: 0x8000 ####
(#### stands for error code)
RTEaaa
U32
Normal:
0x8000 0000
Abnormal: 0x8000 ####
(#### stands for error code)
J060404E.EPS
AS
GC8
Analyzer
number
Contents
001 to 240
001 to 240
241 to 254
241 to 254
01 to 06
For AR/ER/CR, there is no address for command execution results since the commands
are completed immediately and there is no chance of an abnormal termination.
SEE ALSO
For precautions regarding command transmission (data write) to the gas chromatography, see the
following:
J6.8, Precautionary Notes for Gas Chromatography Communication
J6-13
J6-14
In this section, setting items on System View for Gas Chromatography, the specific
functionality and the recommended settings are explained.
SEE ALSO
For more information regarding to Set Details tab on Create New IOM dialog box and subsystem common settings, see the following:
Setting Items for ACM21, ACM22 in J1.5.1, Overview of Setting Items on System View
When using Gas Chromatography, the following items need to be set on Set Details
tab of Create New IOM dialog box called from System View:
Options
The following items can be set on the Set Details tab of the New IOM dialog box
called from System View:
Baud Rate
Parity
Data Bits
Stop Bits
RS Control
DR Check
CD Check
Communication Error Process
Options
Start of Text Delimiter
End of Text Delimiter
After creating the new I/O module, the settings can be modified on the I/O module
property sheet.
J6-15
IMPORTANT
With the gas chromatography, select 9600 bps or less for the baud rate. Since the default
setting is [19200 bps], so that this setting must be changed. With the gas chromatography,
communication cannot be performed at a baud rate of 19200 bps or higher.
IMPORTANT
When using a gas chromatography, [2 bits] cannot be set for stop bit.
J6-16
J6-17
Options 2
For a gas chromatography, set a value of 0 to 2 in option 2 to chose whether or not the
sampling time is to be added to the data read as an analysis value.
The setting range is 0 to 2.
The value set in option 2 is the 2-bit ON/OFF converted to a decimal. The content of each
bit is shown in the table below:
Table Content of Each Bit : SFCS
Bit 2
(Classification of communication counterpart)
Bit 1
(Reading sampling time necessary or not)
When the communication counterpart is GC8, the sampling time cannot be read since it is
not part of transmission. If 3 is set for option 2 by mistake, it is the same as when 2 is
set.
Options 3
The following time settings may be specified in Option 3.
#A Time interval between communication retries.
When the transmission request text #E is not received from Gas Chromatography device,
the transmission invitation text #A may be sent at this time interval.
The value should be 4 or greater. If the set value less than 4, the minimum time interval is
limited as 4.
J6-18
With respect to the address of the subsystem data buffer, the element numbers are displayed on Communication I/O Builder. The element number is only for display no need to
set.
J6-19
Set the unit number, slot number and GC1000 program name as follows:
u-sProgramName
u:
s:
Program Name:
Unit Number
Slot Number
GC1000
This item sets the data size (data length) from the head address set in Device & Address.
Must set the Size since this is a required setting item on Communication I/O Builder.
When using gas chromatography, the Size setting varies with Address settings. The setting
is in word units. Up to 208 settings are possible for each buffer.
SEE ALSO
For more information about Size setting item, see the following:
J1.5.2, Overview of Settings on Communication I/O Builder
J6-20
This sets whether to make the bit or word arrangement in FCS in reverse order of the
subsystem data.
The following settings can be selected:
Bits
No
Words
However, when choosing [Bits], only the data of discrete inputs or discrete outputs can be
reversed. In this case, the default setting is [Bits].
Regarding to words, only the 32-bit analog inputs or 32-bit analog output can be reversed.
In this case the default setting is [No].
J6-21
Set whether to read the communication I/O analog data into the communication I/O data
buffer at the beginning of high-speed scan of the FCS.
The name of the function block I/O terminal can be set as a user-defined label.
J6-22
When a communication error occurs in the subsystem, the system alarm message is
transmitted only once at the time the error occurs. After that, a new system alarm message
will not be sent even if an error is generated by a different cause.
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when a Communication Error Occurs Gas Chromatography : SFCS
FCS name
Unit number
Slot number
Subsystem station number
J6-23
Description
A3B0
A3B1
A3B2
A3C0
A3C1
A3C2
A3C3
A3D0
A3D1
A3D2
A3D3
A3D4
A3D5
A3D6
Invalid GASCHRO type at command object (command not for GC8 received)
A3D7
Invalid GASCHRO type at command object (command not for CC1000 received)
A3E0
A3E1
Abnormal DS/D1/D2 data number (analyzer number, task number, peak number)
A3E2
A3E3
A3E4
A3E5
A3E9
A3EA
A3EC
CC database error
A3ED
A3F1
A3F2
A3F3
A3F4
A3F6
A3F9
A3FA
A3FB
A3FC
TS database error
A3FE
Error code
(hexadecimal)
Description
J060701E.EPS
J6-24
J6-25
With the GC1000/AS, the data status changes to BAD when a communication error occurs.
The nature of the communication error can be confirmed based on the error code stored in
the error variable.
With the GC1000/AS, the data status returns to normal when a normal data or an input
command induction is received. Therefore, the communication error can be identified by
the data status.
With the GC8, the data status changes to BAD when a communication error occurs just like
in the GC1000/AS, but cable disconnection may not be detected in all cases and the data
status may not change to BAD. With the GC8, communication errors cannot be identified
based on the data status.
Blank Page
J7-1
IM 33S01B30-01E
J7-2
10 units
4 units
*1:
Since the maximum communication time may take 6.5 sec. when one ACM12 is connected
with 10 YS instruments, it is recommended to connect ACM12 with the following number of
YS instruments.
Number of SCIU units to be connected to one ACM12:
1 unit
4 units
4 units
It may take an average of two seconds or a maximum of three seconds for input from the
YS instrument to be reflected in the YS block under the following conditions:
The ACM12 is attached to the SFCS and four YS instruments are connected via the
SCIU.
The [High Speed Read] checkbox is checked in the Type and Position tab of the
Create New IOM dialog of the ACM12.
SEE ALSO
For more information about communication time, see the following:
J7.7, Transmission Time for YS Instrument
IMPORTANT
After the communication module is started, it takes 70 seconds for the YS block to write to
the YS instrument.
IM 33S01B30-01E
J7-3
ACM12
RS-485
RS-485
SCIU
YS
instrument
YS
instrument
SCIU
YS
instrument
SCIU
SCIU
YS
instrument
J070201E.EPS
Each YS instrument is connected to the SCIU, which is connected via RS-485 to the
ACM12 installed in the FCS.
IMPORTANT
When the YS instruments connected to SCIU are changed, it is necessary to switch the
SCIU OFF/ON once. Be cautious that after the power switch OFF/ON, communication to all
the YS instruments will fail.
IM 33S01B30-01E
J7-4
SCIU-100
Distance of Transmission:
Connection:
Cable Specification:
SEE ALSO
For more information about the settings in SCIU, see SCIU (Communication Interface Unit) Users
Manual.
The Wiring of the cable for SCIU and ACM12 connection is shown as follows:
ACM12
TX +
TX RX +
RX SG
FG
SCIU
2
1
4
3
7
8
SDB
SDA
RDB
RDA
SG
FG
J070202E.EPS
SCIU
SCIU
2 SDB
SDB
1 SDA
SDA
4 RDB
RDB
3 RDA
RDA
7 SG
SG
8 FG
FG
J070203E.EPS
IM 33S01B30-01E
J7-5
IMPORTANT
When connecting YS100/YS1000 to SCIU, the DCS-LCS communication provided in
YS100/YS1000 can be used. YS100/YS1000 can not connect to RS-485 interface
directly.
When configuring communication devices, only the connected YS instruments should
be registered, if a non-exist instrument is registered, all the connected instruments
may not be communicated properly.
IM 33S01B30-01E
J7-6
Collected Data
YS communication performs communications with YS instruments via the SCIU, collecting
data from each instrument. There are two types of collection intervals: high-speed and lowspeed. The PVs and MVs, which fluctuate constantly, are collected at a high speed, while
the MHs and MLs, which normally do not fluctuate, are collected at a low speed.
The table below lists different types of YS instruments and data collected from each instrument at the high and low speeds.
Table Collected Data According to Different Types of YS Instruments
YS Instrument Type
High Speed
Low Speed
SLCD
MH, ML, P, I, D
SLPC, YS170/YS1700,
YS150/YS1500
SLMC
None
MH, ML
SMRT
SBSD
SLCC
SLBC
STLD
LS, PV
Multiplication of Low speed scan to high speed scan can be set on the ACM12 property
tab.
SEE ALSO
For more information about the data items on YS instruments that can be set, see the following:
D1.33, Control Operations of YS Blocks
IM 33S01B30-01E
J7-7
In this section, setting items on System View for YS instrument, the specific functionality and the recommended settings are explained.
SEE ALSO
For more information regarding to Set Details tab on Create New IOM dialog box and subsystem
common settings, see the following:
Setting Items for ACM11, ACM12 in J1.5.1, Overview of Setting Items on System View
For YS instrument, the setting items are as follows. This setting is performed on the
Set Details tab of the New IOM dialog box called from System View.
Connection Device
Baud Rate
Parity
Data Bits
Stop Bits
RS Control
DR Check
CD Check
Communication Error Process
Options
After creating the new I/O module, the settings can be modified on the I/O module
property sheet.
Parity YS Instrument
This item sets the parity check method used for subsystem data to be transmitted.
When using the YS Instrument, select [Even] for Parity.
IM 33S01B30-01E
J7-8
RS Control YS Instrument
This item sets whether or not to perform RS control during subsystem data transmission.
When using the YS instrument, disable [RS Control] by leaving the [RS Control] checkbox
unchecked.
DR Check YS Instrument
This item sets whether or not to perform DR check during subsystem data transmission.
When using the YS instrument, enable [DR Check] by placing a check in the [DR Check]
checkbox.
CD Check YS Instrument
This item sets whether or not to perform CD check during subsystem data transmission.
When using the YS instrument, disable [CD Check] by leaving the [CD Check] checkbox
unchecked.
IM 33S01B30-01E
J7-9
IMPORTANT
When communication error occurs, communication reestablishment is carried out to every
abnormal YS instruments a certain interval. If multiple YS instruments become abnormal,
besides the specified communication cycle, an additional time period, i.e. [Response
Timeout] x [Number of Abnormal YS instruments] is required.
For this reason, to set a value to a YS instrument may not be updated within 5 seconds. In
this case, the setting value of the YS block may be reverted.
Options YS Instrument
The option settings for the communication parameters of each connection device are
specified in options 1 through 4 of the Set Details tab of the Create New IOM dialog box
called from System View.
When using the YS instrument, set the WDT (Watchdog Timer) time, and low speed update
communication interval magnification in options 2 through 4. Set 0 for option 1.
There are no default settings. Nevertheless, zero will be displayed as settings.
Option 2
This item specifies the WDT time setting.
The WDT time setting is the time interval (in seconds) of WDT communications triggered
from the ACM12 to the SCIU.
If 0 is set, the time interval will be 10 seconds, the setting range is 0 to 9999.
Option 4
This item specifies the low speed update communication interval magnification.
The interval magnification of low-speed update communication refers to a multiple of the
high-speed update interval at which interval data is updated at a low speed by a YS instrument.
If 0 is set, the magnification will be a factor of eight, the setting range is 0 to 20.
IM 33S01B30-01E
J7-10
Element YS Instrument
Element
With addresses of the subsystem data buffer, the element numbers are displayed on
Communication I/O Builder. The element numbers are for display only, cannot be set.
Buffer YS Instrument
Buffer
Set the unit number, slot number and YS program name as follows:
u-sProgramName
u:
s:
ProgramName:
Unit number
Slot number
YS
IM 33S01B30-01E
J7-11
Set the node number, unit number, slot number and YS as Program Name as follows:
n-u-sProgramName
n:
u:
s:
ProgramName:
Node number
Unit number
Slot number
YS
The types of YS instruments to be connected to the SCIU are specified in Device & Address. Two types of addresses are specified: one for data input and the other for data
output.
A data-input address has 1 at the end of the address, while a data-output address has 2
at the end. Always define one set of data input and output addresses at a time.
The data size and data type to be set are determined by the device address.
The table below lists the setting items for different types of YS instruments:
Table Device & Address, Size, Data Type
YS Instrument Type
Size
Data type
SLCD1
16
AIU16
SLCD2
32
AOU16
16
AIU16
32
AOU16
SLMC1
16
AIU16
SLMC2
32
AOU16
SMST-111,
YS135/YS1350
SMST11
16
AIU16
SMST12
32
AOU16
SMST-121,
YS136/YS1360
SMST21
16
AIU16
SMST22
32
AOU16
SMRT1
16
AIU16
SMRT2
32
AOU16
SBSD1 (*1)
16
AIU16
SBSD2 (*1)
32
AOU16
SLCC1 (*2)
16
AIU16
SLCC2 (*2)
32
AOU16
SLBC1 (*3)
16
AIU16
SLBC2 (*3)
32
AOU16
STLD1 (*4)
16
AIU16
STLD2 (*4)
32
AOU16
SLCD
SLMC
SMRT
SBSD
SLCC
SLBC
STLD
SLPC
SLMC
SMST-111
SMST-121
SMRT
SBSD
SLCC
SLBC
STLD
J070501E.EPS
AIU16:
AOU16:
*1:
*2:
*3:
*4:
IM 33S01B30-01E
J7-12
SEE ALSO
For more information about Size setting item, see the following:
J1.5.2, Overview of Settings on Communication I/O Builder
Port YS Instrument
Port
IP Address YS Instrument
IP Address
Station YS Instrument
Station
Set the destination SCIU number and YS instrument channel number using a 3-digit integral number.
SSC
SS:
C:
Reverse YS Instrument
Reverse
This item sets whether or not to reverse the bit or word arrangement in the FCS and the bit
arrangement of subsystem data on the Communication I/O Builder.
Choose [No] for this setting.
The default setting is [No].
IM 33S01B30-01E
J7-13
Scan YS Instrument
Scan
Set whether to read the communication I/O analog data into the communication I/O data
buffer at the beginning of high-speed scan of the FCS.
Label YS Instrument
Label
The name of the function block I/O terminal can be set as a user-defined label.
IM 33S01B30-01E
J7-14
ACM12
SCIU
SCIU number
0
Channel number
SLCD
SLCD
SLPC
J070503E.EPS
Set the types and addresses of YS instruments to be connected on the Communication I/O
Builder as shown below.
Table Settings in Communication I/O Builder
Element
Buffer
Program
Name
%WW0001
144
1-2 YS
16
001
SLCD1
AIU16
%WW0017
32
001
SLCD2
AOU16
%WW0049
16
002
SLCD1
AIU16
%WW0065
32
002
SLCD2
AOU16
%WW0097
16
003
SLPC1
AIU16
%WW0113
32
003
SLPC2
AOU16
Size
Station
Data Type
J070504E.EPS
AIU16:
AOU16:
Note:
IM 33S01B30-01E
J7-15
Link the element number to the IN terminal of each function block of the YS instrument
(hereinafter referred to as the YS block) on the Control Drawing Builder.
SLCD01
SLCD02
SLPC01
SLCD
SLCD
SLPC
IN
IN
IN
%WW0001
%WW0049
%WW0097
J070505E.EPS
If an error occurs during SCIU communication, a system alarm message will be generated
and the data status of the connected YS block will become IOP.
IM 33S01B30-01E
J7-16
:
:
:
:
:
FCS name
Unit number
Slot number
Subsystem station number
Error code
The communication error message will be sent to HIS at the first time that the subsystem
communication becomes abnormal. No further system alarm message will be sent to HIS
even when a different error occurs, unless the communication recovers from the first
occurred error.
SEE ALSO
For more information about error codes, see the following in this chapter:
Communication Error Codes YS Instrument
:
:
:
:
:
:
FCS name
Node number
Unit number
Slot number
Subsystem station number
Error code
The communication error message will be sent to HIS at the first time that the subsystem
communication becomes abnormal. No further system alarm message will be sent to HIS
even when a different error occurs, unless the communication recovers from the first
occurred error.
SEE ALSO
For more information about error codes, see the following in this chapter:
Communication Error Codes YS Instrument
IM 33S01B30-01E
J7-17
System Alarm Message when Communication Recovers from Abnormality YS Instrument : PFCS/SFCS
When the communication recovers from the abnormality, a system alarm message shown
below will be sent to HIS.
STNss SS-COM Recover UNITmm SLOTnn STNzzz CODE=####
STNss
mm
nn
zzz
:
:
:
:
FCS name
Unit number
Slot number
Subsystem station number
System Alarm Message when Communication Recovers from Abnormality YS Instrument : LFCS2/LFCS
When the communication recovers from the abnormality, a system alarm message shown
below will be sent to HIS.
STNss SS-COM Recover RIO01 NODExx UNITmm SLOTnn STNzzz CODE=####
STNss
xx
mm
nn
zzz
:
:
:
:
:
FCS name
Node number
Unit number
Slot number
Subsystem station number
IM 33S01B30-01E
J7-18
Description
A391
A392
A393
A394
A395
A397
Underline error
A398
A399
A39A
A39B
A39C
A39D
A39F
Other errors
A3B0
No response
A3B1
A3B3
A3B5
Inappropriate size
Designated size is out of range
A3B6
Inappropriate type
Unexpected type is designated
A3B7
Non-continuous addresses
I/O adresses of the same device are not continuous
A3B8
A3C1
A3C5
A3C6
A3C7
Protocol error
A3C8
A3C9
A3FE
A3FF
Other errors
Error Code
(Hex)
Description
Countermeasures
Countermeasures
J070601E.EPS
IM 33S01B30-01E
J7-19
T1:
T2:
T3:
T4:
T1
SCIU
T2
ACM12
T3
FCS
input data
T4
YS block
Time (ms)
71
100
Other
25
Total
196
J070702E.EPS
Time Required for Data to be Read from the ACM12 to the FCS as an Input
Data
With the LFCS (*1), it could take approximately 288 ms per YS instrument if the [High
Speed Read] checkbox in the property sheet of the ACM12 is checked.
With the SFCS (*1)/PFCS, it could take approximately 130 ms per YS instrument if the
[High Speed Read] checkbox in the property sheet of the ACM12 is checked.
*1:
Time Required for the FCS Input Data to be Reflected in the YS Block
The FCS input data is reflected in the YS block during the scanning period.
IM 33S01B30-01E
J7-20
Average (ms)
YS instrument to SCIU
480
240
SCIU to ACM12
784
392
520
260
1304
1000
500
1 second scan
2784
1392
Route
Total
Remarks
1964
J070703E.EPS
Max (ms)
Average (ms)
480
240
Remarks
784
392
1964
1152
576
2884
1000
500
1 second scan
3416
1708
Total
J070704E.EPS
IM 33S01B30-01E
J7-21
The table below lists the approximate communication times required from when a value is
written to the MV of the YS block until the data is reflected in the YS instrument.
Table Communication Time for the PFCS/SFCS
Max (ms)
Average (ms)
Comment
200
100
520
260
1304
ACM12 to SCIU
196
98
SCIU to YS instrument
480
240
1396
698
Route
Total
J070705E.EPS
Max (ms)
Average (ms)
Comment
200
100
1152
576
2884
ACM12 to SCIU
196
98
SCIU to YS instrument
480
240
2028
1014
Total
J070706E.EPS
The time for transmitting from FCS to ACM12 or vice versa, from ACM12 to FCS for reading the accessed data can be considered the same.
IM 33S01B30-01E
Blank Page
J8-1
SEE ALSO
Regarding the functions common to different subsystem communication packages, see the following:
J1, General Information Regarding to Subsystem Communication
J8-2
A1SJ71UC24-R4
A1SCPUC24-R2
A2CCPUC24
A2CCPUC24-PRF
The communication modules that can be used in conjunction with the MELSEC-A
computer link unit vary with the model of the computer link unit.
Table Connection Availability between MELSEC-A Computer Link Units and Communication
Modules
Computer link unit
ACM11 (RS-232C)
ACM12 (RS-422/RS-485)
AJ71C24-S8
AJ71C24-S6
AJ71C24-S3
Can be connected
(Use a D-sub 25 pin connector)
AJ71UC24
Can be connected
(Use a D-sub 25 pin connector)
Can be connected
A1SJ71C24-R2
A1SJ71UC24-R2
A1SJ71C24-PRF
A1SJ71UC24-PRF
A1SJ71C24-R4
A1SJ71UC24-R4
Cannot be connected
A1SCPUC24-R2
A2CCPUC24
A2CCPUC24-PRF
Can be connected
(Use a D-sub 9 pin connector)
Cannot be connected
Can be connected
Cannot be connected
Can be connected
J080001E.EPS
If the MELSEC-A CPU supports the above-mentioned MELSEC-A computer link units, it
will support the communication with FCS.
IM 33S01B30-01E
J8-3
Maximum quantity
Explanation
500 words
(1 word=16 bits)
30 stations
J8-4
Description
RS-232C (D-sub 25 pin)
ACM11
RS-422, RS-485
ACM12
Transmission method
Half duplex
Synchronization method
Start-stop synchronization
Baud rate
Transmission procedure
Transmission code
Data type
Time monitoring
Text frame
Remark
(*1)
ASCII
Start bit
Data bit
[7], 8
(*1)
Parity bit
(*1)
Stop bit
Transmission enable
monitoring time
1000ms
Reception character
interval monitoring time
1500ms
$00 (NUL)
$0D (CR)
$0A (LF)
RS control
Yes, [No]
DR check
[Yes], No
CD check
Yes, [No]
0 to 99 seconds [4 seconds]
(*1)
(*1)
(*1)
1 second
J8-5
J8-6
Control bus
FCS
CN1
RDY
RCV
SND
CN1
RS-232C
MODEM
MODEM
RS-232C
MELSEC-A
CPU unit
AJ71C24 type
computer link unit
AJ71C24 type
computer link unit
MELSEC-A
CPU unit
AJ71C24 type
computer link unit
MELSEC-A
CPU unit
RS-422
RS-422
J080201E.EPS
J8-7
IMPORTANT
The length of the RS-232C cable between the ACM11 and modem and between the modem and MELSEC-A must be 15 meters or less.
J8-8
Direction of signal
Pin number
Signal name
FG
Frame ground
SD
Send data
RD
Receive data
RS
Request to send
CS
Clear to send
DR
Data ready
SG
Signal ground
CD
Carrier Detected
20
ER
ACM11
MELSEC-A
Description
Security grounding
SEE ALSO
For details on safety grounding, see the followings:
Figure Cable Connection between ACM11 and Modem
Figure Cable Connection Between MELSEC-A and ACM11 (when MELSEC-A uses an RS-232C D-sub
25 pin connector, and directly connected)
Pin No. 25
Pin No. 14
Pin No. 13
Pin No. 1
J080203E.EPS
J8-9
The following shows when the MELSEC-A and ACM11 are connected via modems and
when they are connected directly without modem:
SD
RD
RS
CS
ACM11
DR
SG
CD
20
ER
FG
Sheathed cable
20
1
SD
RD
RS
CS
DR
Modem (*1)
SG
CD
ER
FG
*1:
SD
RD
RS
CS
ACM11
CD
DR
20
ER
SG
FG
20
Sheathed cable
SD
RD
RS
CS
CD
AJ71C24
AJ71UC24
DR
ER
SG
FG
J8-10
Pin number
Signal
number
CD
Carrier Detected
RD
Receive data
SD
Send data
ER
SG
Signal ground
DR
Data ready
RS
Request to send
CS
Clear to Send
Title
ACM11
Description
MELSEC-A
Not used
J080206E.EPS
9
6
1
D-sub 9 pin (female)
J080207E.EPS
SD
RD
RS
ACM11
CS
CD
DR
ER
SG
20
SD
RD
RS
CS
CD
DR
A1SJ71C24-R2
A1SJ71C24-PRF
A1SJ71UC24-R2
A1SJ71UC24-PRF
A1SCPUC24-R2
A2CCPUC24
A2CCPUC24-PRF
ER
SG
Connector shell connection
Sheathed cable
J8-11
With the ACM11, the RS-232C circuit and FG (frame ground) are electrically insulated. This
has the function of preventing intrusion of noise from the MELSEC-A side and improving
noise resistance. Satisfy all conditions given below to make this function effective:
For the frame ground, perform protective grounding (100 ohms or less) at the opposing side of the connection (the modem or MELSEC-A side).
Attach only one side of the shield of the sheathed cable to the FG of the opposing side
of the connection. DO not ground the cable shield on the ACM11 side. Also, do not
use a connector shell that is conductive.
Connect the FG and the SG (signal ground) of the RS-232C circuit at the opposing
side of the connection. When the FG and SG are not connected on the opposing side,
and if the RS-232C cable is manufactured by Yokogawa Electric, then use AKB141
(RS-232C modem cable) or AKB142 (RS-232C null modem cable). For the AKB141
and AKB142 cables, SG and FG are connected inside of the connector shell. Also, the
cable shield can be connected to the FG of the opposing side of the connection.
SEE ALSO
For details on cable connections, see the following:
A4.3, Wiring of Communication Module in Input & Output Modules (IM 33Y06K01-01E)
J8-12
MELSEC-A
ACM12
MELSEC-A
TX +
SDA
TX +
SDA
TX -
SDB
TX -
SDB
RX +
RDA
RX +
RDA
RX -
RDB
RX -
RDB
SG
SG
SG
SG
FG
FG
FG
FG
(4-wire connection)
(2-wire connection)
J080209E.EPS
MELSEC-A
MELSEC-A
SDA
SDA
SDB
SDB
RDA
RDA
RDB
RDB
SG
SG
FG
FG
MELSEC-A
SDA
SDB
RDA
RDB
SG
FG
J080210E.EPS
IMPORTANT
For subsystem communication between the ACM12 and MELSEC-A, a 1 to n connection
using a 2 wire connection is not supported.
With the ACM12, the FG (frame ground) and the SG (signal ground) for the RS-422 and
RS-485 are separated. Treat the shield for the RS-422 and RS-485 as follows:
Perform protective grounding (100 ohms or less) for the FG at the opposing side of the
connection (MELSEC-A side).
Connect the shield for the cable between ACM12 and MELSEC-A to the FG of the
MELSEC-A side. Do not connect it to the FG of the ACM12 side.
SEE ALSO
For details on cable connections, see the following:
A4.3, Wiring of Communication Module in Input & Output Modules (IM 33Y06K01-01E)
J8-13
2-wire
ON
ON
4-wire
OFF
OFF
J080211E.EPS
J8-14
The following section explains accessible devices for each MELSEC-A CPU unit. In this
section the MELSEC-A CPU units are categorized into the following three groups:
ACPU units
A0J2H, A1, A1N, A1S, A1SJ, A2, A2-S1, A2N, A2N-S1, A2S, A2C, A3, A3N, A3H,
A3M, A73, A52G, A7LMS-F
AnACPU units
A2A, A2A-S1, A3A
AnUCPU units
A2U, A2U-S1, A2US, A2US-S1, A3U, A4U
SEE ALSO
For details on the range of and restrictions on each device number for various MELSEC-A CPU unit
models, refer to the users manual for the MELSEC-A computer link unit to be connected.
J8-15
Bit device
Word device
Device name
Expression
Input
X0000 to X07FF
Hexadecimal
Output
Y0000 to Y07FF
Hexadecimal
Internal relay
M0000 to M2047
Decimal
Latch relay
L0000 to L2047
Decimal
Step relay
S0000 to S2047
Decimal
Link relay
B0000 to B03FF
Hexadecimal
Annunciator
F0000 to F0255
Decimal
Special relay
M9000 to M9255
Decimal
Timer (contact)
TS000 to TS255
Decimal
Timer (coil)
TC000 to TC255
Decimal
Counter (contact)
CS000 to CS255
Decimal
Counter (coil)
CC000 to CC255
Decimal
TN000 to TN255
Decimal
CN000 to CN255
Decimal
Data register
D0000 to D1023
Decimal
Link register
W0000 to W03FF
Hexadecimal
File register
R0000 to R8191
Decimal
Special register
D9000 to D9255
Decimal
STS00, STS16
Decimal
Remarks
J080301E.EPS
IMPORTANT
When using the AJ71C24-S3 computer link unit to perform communication, device numbers M9000 to M9007 and M9248 to M9255 cannot be read directly due to restrictions on
the data designation on the MELSEC-A side. To read the contents of these devices, the
contents should first be temporarily transferred to another devices and then read.
J8-16
Bit device
Device name
Expression
Input
X000000 to X0007FF
(X000800 to X001FFF)
Hexadecimal
Output
Y000000 to Y0007FF
(Y000800 to Y001FFF)
Hexadecimal
Internal relay
M000000 to M008191
Decimal
Latch relay
L000000 to L008191
Decimal
Step relay
S000000 to S008191
Decimal
Link relay
B000000 to B000FFF
(B001000 to B001FFF)
Hexadecimal
Annunciator
F000000 to F002047
Decimal
Special relay
M009000 to M009255
Decimal
Timer (contact)
TS00000 to TS02047
Decimal
Timer (coil)
TC00000 to TC02047
Decimal
Counter (contact)
CS00000 to CS01023
Decimal
Counter (coil)
CC00000 to CC01023
Decimal
TN00000 to TN02047
Decimal
CN00000 to CN01023
Decimal
Data register
D000000 to D006143
(D006144 to D008191)
Decimal
Link register
W000000 to W000FFF
(W001000 to W001FFF)
Hexadecimal
Word device
File register
R000000 to R008191
Decimal
Special register
D009000 to D009255
Decimal
STS00, STS16
Decimal
Remarks
J080302E.EPS
*1:
TIP
When performing communication using the AJ71C24-S8 and AJ71C24-S6 computer link units and if
the MELSEC-A CPU unit model is A2A, A2A-S1 or A3A, then designate a seven digit number for the
bit device or word device.
For the special device STSnn that indicates the communication status, specify the device number
using five digits regardless of the model of MELSEC-A CPU that is used.
J8-17
n
+
9
n
+
8
n
+
7
n
+
6
n
+
5
n
+
4
n
+
3
n
+
2
n
+
1
n
+
31
m=1
n
+
16
m=2
n+16 (m-1)+15
n+16 (m-1)
J080401E.EPS
J080402E.EPS
J8-18
Device number
STS00
STS16
J080403E.EPS
The relationship between bits and stations is shown below. The smallest station number
corresponds to the smallest bit number.
STS00 configuration
15
00
Bit arrangement
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
STS16 configuration
15
Station number
00
Bit arrangement
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
J080404E.EPS
Figure Relationship between the Communication Status Bits and Station Numbers MELSEC-A
J8-19
In this section, setting items on System View for MELSEC-A, the specific functionality and the recommended settings are explained.
SEE ALSO
For more information regarding to Set Details tab on Create New IOM dialog box and subsystem
common settings, see the following:
Setting Items for ACM11, ACM12 in J1.5.1, Overview of Setting Items on System View
For MELSEC-A, the setting items are as follows. These settings are performed on
the Set Details tab of the New IOM dialog box called from System View.
Connection Device
Baud Rate
Parity
Data Bits
Stop Bits
RS Control
DR Check
CD Check
Communication Error Process
Options
After creating the new I/O module, the settings can be modified on the I/O module
property sheet.
J8-20
Parity MELSEC-A
This sets the method for checking the parity of the subsystem data to be transmitted.
The recommended setting is [Even].
When the baud rate is set to [19200 bps], the [no parity] cannot be set.
The parity set in the Set Detail tab of the New IOM dialog box should match the parity
setting of the DIP switch on the MELSEC-A.
SEE ALSO
For the transmission specification switch settings on the MELSEC-A side, see the following:
J8.7, Settings on Subsystem MELSEC-A
J8-21
IMPORTANT
When using MELSEC-A, [2 bits] cannot be used as the stop bit.
The stop bit set in the Detail setting tab of the New IOM dialog box should match the stop
bit setting of the transmission specification setting switch on the MELSEC-A side.
SEE ALSO
For the transmission specification switch settings on the MELSEC-A side, see the following:
J8.7, Settings on Subsystem MELSEC-A
RS Control MELSEC-A
This sets whether or not RS control is performed during subsystem data transmission.
When using MELSEC-A, disable RS control by leaving the [RS control] check box unchecked.
DR Check MELSEC-A
This sets whether or not DR check is performed during subsystem data transmission.
When using MELSEC-A, enable the DR check function by checking the [DR check] check
box.
CD Check MELSEC-A
This sets whether or not CD check is performed during subsystem data transmission.
When using the MELSEC-A, disable the CD check by leaving the [CD check] check box
unchecked.
J8-22
Options MELSEC-A
Settings of communication parameter options vary depending on the equipment connected. Set options by clicking the [Option] button 1 through [Option] button 4 in the Set
Details tab of the New IOM dialog box called from System View.
In the case of MELSEC-A, set 0 in option 1 through option 4.
J8-23
Element MELSEC-A
Element
With respect to the address of the subsystem data buffer, the element numbers are displayed on Communication I/O Builder. The element numbers are not for set, only for
display.
Buffer MELSEC-A
Buffer
J8-24
When setting the name of the program for accessing the subsystem, entering the unit
number, slot number and MELSEC as the program name.
u-sProgramName
u:
Unit number
s:
Slot number
ProgramName: MELSEC
When setting the name of the program for accessing the subsystem, entering the node
number, unit number, slot number and MELSEC as the program name.
n-u-sProgramName
n:
u:
s:
ProgramName:
Node number
Unit number
Slot number
MELSEC
Size MELSEC-A
Size
This item sets the data size (data length) from the head address set in Device & Address.
Must set the Size since this is a required setting item on Communication I/O Builder.
For MELSEC-A, the setting ranges are limited as follows, the unit is in Word.
Word Device:
1 to 64 Words
Bit Device:
1 to 32 Words
SEE ALSO
For more information about Size setting item, see the following:
J1.5.2, Overview of Settings on Communication I/O Builder
J8-25
Port MELSEC-A
Port
IP Address MELSEC-A
IP Address
Station MELSEC-A
Station
This sets the station number of the MELSEC-A. This setting is done via the Communication
I/O Builder.
The station numbers that can be set are 0 to 31.
The station number setting in the Communication I/O Builder should match the setting of
the station number setting switch on the MELSEC-A side.
SEE ALSO
For the setting of the station number setting switch on the MELSEC-A side, see the following:
J8.7, Settings on Subsystem MELSEC-A
J8-26
Xnnnn or Xnnnnnn
Output:
Ynnnn or Ynnnnnn
Internal relay:
Mnnnn or Mnnnnnn
Latch relay:
Lnnnn or Lnnnnnn
Step relay:
Snnnn or Snnnnnn
Link relay:
Bnnnn or Bnnnnnn
Annunciator:
Fnnnn or Fnnnnnn
Special relay:
Mnnnn or Mnnnnnn
Timer (contact):
TSnnn or TSnnnnn
Timer (coil):
TCnnn or TCnnnnn
Counter (contact):
CSnnn or CSnnnnn
Counter (coil):
CCnnn or CCnnnnn
TNnnn or TNnnnnn
CNnnn or CNnnnnn
Data register:
Dnnnn or Dnnnnnn
Link register:
Wnnnn or Wnnnnnn
File register:
Rnnnn or Rnnnnnn
Special register:
Dnnnn or Dnnnnnn
Communication status:
STS00 or STS16
SEE ALSO
For more information about address setting, see the following:
J8.3, Accessible Devices MELSEC-A
J8-27
Reverse MELSEC-A
Reverse
This sets whether or not to make the bit or word arrangement in FCS in reverse order of the
subsystem data.
The following settings can be selected:
Bits
No
Words
However, when choosing [Bits], only the data of discrete inputs or discrete outputs can be
reversed. In this case, the default setting is [Bits].
Regarding to words, only the 32-bit analog inputs or the 32-bit analog outputs can be
reversed. In this case the default setting is [No].
J8-28
Scan MELSEC-A
Scan
Set whether to read the communication I/O analog data into the communication I/O data
buffer at the beginning of high-speed scan of the FCS.
Label MELSEC-A
Label
The name of the function block I/O terminal can be set as a user-defined label.
J8-29
J8-30
10
9
0
Description
(1) Set the AJ71C24 station numbers within the range of 00 to 31 (do not use a
setting 32 or over).
(2) 10 sets a place of 10 for the station number.
(3) 1 sets a place of 1 for the station number.
(4) Station numbers can be set to any number in the range 00 to 31 as long as
there are no duplicates. Thus, it is not necessary to set the numbers in the
order of connections on FCS side. Station numbers are not required to be
continuous.
1
TIP
The A1SJ71C24-R2, A1SJ71C24-PRF, A1SJ71UC24-R2, A1SJ71UC24-PRF and A1SCPUC24-R2
computer link units do not have station number setting switches. When performing subsystem communication with the FCS using dedicated protocol, set the station number to 00 in the Communication I/O
Builder.
J8-31
Mode setting
switch number
B C D E
RS-232C side
RS-422 side
Remarks
Cannot be used
No-protocol mode
No-protocol mode
No-protocol mode
[4]
No-protocol mode
No-protocol mode
No-protocol mode
No-protocol mode
No-protocol mode
F 0 1 2
3 4 5
7 8 9 A
Setting details
No-protocol mode
No-protocol mode
MODE
Cannot be used
Note: [ ] indicates the recommended setting when connecting the ACM11 and the AJ71C24 computer link unit.
TIP
When the setting value of the mode setting switch is 9 to D, the interface for both RS-232C and RS422 are interlocked when operating. The transmission specifications for the RS-232C and RS-422
are the same.
When using the RS-232C and RS-422 in an independent mode, set the mode setting switch to 1 to 8.
When the mode setting switch is set to 9 to D and if there are interfaces that are not connecting
external devices, noise from the interface will enter and normal communication cannot be performed.
In this case, set the mode setting to 1 to 8.
J8-32
Setting
switch
Setting item
SW11
Main channel
SW12
Data bit
Remarks
ON
OFF
RS-422
[RS-232C]
8 bit
[7 bit]
ON
3
4
600
1200
2400
4800
9600
SW13
OFF ON
OFF
ON
OFF
ON
[OFF]
ON
SW14
OFF OFF
ON
ON
OFF
OFF
[ON]
ON
SW15
OFF OFF
OFF
OFF
ON
ON
[ON]
ON
6
7
SW16
[Yes]
No
SW17
[Even]
Odd
SW18
Stop bit
2 bits
[1 bit]
SW21
[Yes]
No
SW22
[Yes]
No
SW23
Yes
[No]
SW24
Terminator on receiving
side?
Yes
[No]
ON
1
2
3
4
SW21
SW22
SW23
SW24
SW18
SW13
SW14
SW15
SW16
SW17
SW11
SW12
300
J080703E.EPS
Note: [ ] indicates the recommended setting when connecting the ACM11 and the AJ71C24 computer link unit.
TIP
The SW11 main channel setting indicates the interface for the connector to which the FCS is connected and is enabled only when the mode setting switch is set to 9 to D. When the mode setting
switch is set to 1 to 8 or F, it does not matter whether the SW11 is ON or OFF.
When communicating with the FCS, always make sure the stop bit, sum check and write during RUN
settings are set as follows:
Stop bit:
1 bit (SW18 OFF)
Sum check:
Yes (SW21 ON)
Can write during RUN?:
Yes (SW22 ON)
J8-33
The following table shows settings for computer link units other than AJ71C24:
Table Settings for Computer Link Units Other than AJ71UC24
Setting switch
MODE
Setting item
Setpoint
Setting description
Type 4 (RS-422/RS-485
side) (*2)
Protocol mode
SW11
Main channel
ON, OFF
SW12
Character length
ON, [OFF]
8, [7] bits
[19200]
ON, OFF, ON
9600
OFF, OFF, ON
4800
2400
1200
SW16
Parity bit
[ON], OFF
[Yes], No
SW17
Parity
[ON], OFF
[Even], odd
SW18
Stop bit
SW21
Check Sum
ON
Yes
SW22
ON
Enabled
SW23
Computer link/Multi-drop
link selection
ON
SW24
Not used
OFF
1 bit
J080704E.EPS
Note:
*1:
*2:
*3:
J8-34
Setting item
MODE
Protocol mode
SW03
Not used
SW04
Setpoint
4
Setting description
Type 4 (RS-232C side)
ON
Enabled
[19200]
ON, OFF, ON
9600
OFF, OFF, ON
4800
2400
1200
SW08
Character length
ON / [OFF]
8/[7] bits
SW09
Parity bit
[ON] / OFF
[Yes]/No
SW10
Parity
[ON] / OFF
[Even]/odd
SW11
Stop bit
OFF
1 bit
SW12
Check Sum
ON
Yes
J080705E.EPS
Setting item
Setpoint
Setting description
MODE
Protocol mode
SW01
SW02
Computer link
/multi-drop link setting
SW03
Not used
SW04
ON
ON
Enabled
[19200]
ON, OFF, ON
9600
OFF, OFF, ON
4800
2400
1200
SW08
Character length
ON / [OFF]
8/[7] bits
SW09
Parity bit
[ON] / OFF
[Yes]/No
SW10
Parity
[ON] / OFF
[Even]/odd
SW11
Stop bit
OFF
1 bit
SW12
Check Sum
ON
Yes
J080706E.EPS
J8-35
Setting item
MODE
Protocol mode
SW01
Setpoint
Setting description
ON
Enabled
[19200]
ON, OFF, ON
9600
OFF, OFF, ON
4800
2400
1200
SW05
Character length
ON / [OFF]
8/[7] bits
SW06
Parity bit
[ON] / OFF
[Yes]/No
SW07
Parity
[ON] / OFF
[Even]/odd
SW08
Stop bit
OFF
1 bit
SW09
Check Sum
ON
Yes
J080707E.EPS
Table Settings for the A2CCPUC24 and A2CCPUC24-PRF Computer Link Units
Setting switch
MODE
Setting item
Protocol mode
Setpoint
Setting description
[19200]
ON, OFF, ON
9600
OFF, OFF, ON
4800
2400
1200
SW14
Character length
ON / [OFF]
8/[7] bits
SW15
Parity bit
[ON] / OFF
[Yes]/No
SW16
Parity
[ON] / OFF
[Even]/odd
SW17
Stop bit
OFF
1 bit
SW18
Check Sum
ON
Yes
SW19
SW20
ON/OFF
ON
RS-422,RS-485/RS-232C (*3)
Enabled
TXD
A/B/C
RS-422/RS-485/none (*3)
RXD
A/B/C
RS-422/RS-485/none (*3)
J080708E.EPS
Note:
*1:
*2:
*3:
J8-36
0
(Default: 0)
Write 0 or 1
(0: perform check (yes))
(1: do not perform check (no))
J080709E.EPS
When connecting a communication module and the AJ71C24 computer link unit, use the
do not perform RS-232C CD terminal check setting. To set do not perform RS-232C
CD terminal check, set 1 in the AJ71C24 buffer memory address, 10BH.
TIP
When do not perform RS-232C CD terminal check is set, the MELSEC-A side changes to full-duplex
communication mode. The MELSEC-A communication packages (ACM11, ACM12) uses half-duplex
communication but there is no problem in using the MELSEC-A communication package (ACM11,
ACM12) and performing communication between the communication I/O module and the AJ71C24
computer link unit. However, this is provided when all cable connection specifications indicated in J8.2,
Connecting to the MELSEC-A are satisfied.
J8-37
SD
RS-422
RS-422
SDA
SDA
SDA
SD SDB
SDB
SDB
RDA
RDA
RDA
RD
RD RDB
RDB
RDB
SG
SG SG
SG
SG
FG
FG
FG
FG
FG
J080710E.EPS
AJ71C24
MODE: D
SW11: OFF
SW23: ON
SW24: ON
MODE: 8
SW23: OFF
SW24: OFF
MODE: 8
SW23: ON
SW24: ON
AJ71UC24
MODE: D
SW11: OFF
SW23: ON
SW24: OFF
Install the supplied terminating resistors
to the sending and receiving sides
MODE: 8
SW23: ON
SW24: OFF
MODE: 8
SW23: ON
SW24: OFF
Install the supplied terminating resistors
to the sending and receiving sides
MODE: 8
TXD: C
RXD: C
MODE: 8
TXD: A
RXD: A
MODE: D
ACCPUC24
SW19: OFF
ACCPUC24-PRF TXD: A
RXD: A
J080711E.EPS
TIP
Terminating resistors for the A2CCPUC24 and A2CCPUC24-PRF computer link units are set using
the terminating resistor setting pin.
RS-422:
A
RS-485:
B
No terminating resistor:
C
Installed the supplied terminating resistors on the MELSEC-A side with computer link units other than
the A2CCPUC24 and A2CCPUC24-PRF.
RS-422:
330 ohms
RS-485:
110 ohms
J8-38
ACM12
RS-422
TX+
TXRX+
RXSG
FG
RS-422
RS-422
SDA
SDA
SDB
SDB
RDA
RDA
RDB
RDB
SG
SG
FG
FG
SDA
SDB
RDA
RDB
SG
FG
Terminating resistor
connection required
J080712E.EPS
MODE: 8
SW11: ON
SW23: OFF
SW24: ON
MODE: 8
SW23: OFF
SW24: OFF
MODE: 8
SW23: ON
SW24: ON
MODE: 8
SW11: ON
SW23: ON
SW24: OFF
MODE: 8
SW23: ON
SW24: OFF
MODE: 8
SW23: ON
SW24: OFF
Install the supplied terminating resistors
to the sending and receiving sides
MODE: 8
ACCPUC24
SW19: ON
ACCPUC24-PRF TXD: C
RXD: C
MODE: 8
TXD: C
RXD: C
MODE: 8
TXD: A
RXD: A
MODE: 8
A1SJ71C24-R4 SW02: ON
A1SJ71UC24-R4
MODE: 8
SW02: ON
MODE: 8
SW02: ON
Install the supplied terminating resistors
to the sending and receiving sides
AJ71C24
AJ71UC24
J080713E.EPS
IMPORTANT
1 to n connections using the 2-wire system are not supported in subsystem communication
between the ACM12 and MELSEC-A.
J8-39
TIP
Terminating resistors for the A2CCPUC24 and A2CCPUC24-PRF computer link units are set using
the terminating resistor setting pin.
RS-422:
A
RS-485:
B
No terminating resistor:
C
Installed the supplied terminating resistors on the MELSEC-A side with computer link units other than
the A2CCPUC24 and A2CCPUC24-PRF.
RS-422:
330 ohms
RS-485:
110 ohms
J8-40
FCS name
Unit number
Slot number
Subsystem station number
Error code
When a communication error occurs in the subsystem, the system alarm message is
transmitted only once at the time the error occurs. After that, a new system alarm message
will not be sent even if an error is generated by a different cause.
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when a Communication Error Occurs MELSEC-A
FCS name
Node number
Unit number
Slot number
Subsystem station number
Error code
When a communication error occurs in the subsystem, the system alarm message is
transmitted only once at the time the error occurs. The new system alarm message will not
be transmitted even if errors are generated by different causes.
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when a Communication Error Occurs MELSEC-A
J8-41
FCS name
Unit number
Slot number
Subsystem station number
FCS name
Node number
Unit number
Slot number
Subsystem station number
J8-42
Description
A391
A392
A393
A394
A395
A397
A398
A399
A39A
A39B
A39C
A39D
A39F
Other error
A3B0
No response
A3B1
A3B2
A3B3
A3B4
A3B5
A3B6
A3B7
A3B8
A3B9
Error code
(hexadecimal)
Description
Remarks
Remarks
J080801E.EPS
J8-43
Description
A3C1
A3C2
A3C3
A3C4
A3C5
A3C6
There is no ETX
A3C7
A3D0
A3D1
Parity error
A3D2
A3D3
Protocol error
A3D4
Framing error
A3D5
Overrun error
A3D6
A3D7
Character error
A3D8
PC access error
A3E0
PC number error
A3E1
Mode error
A3E2
A3E3
A3E8
Remote error
A3F0
A3F1
A3FE
Transmission timeout
A3FF
Other error
Error code
(hexadecimal)
Remarks
Description
Remarks
J080802E.EPS
SEE ALSO
For details on the contents of the errors, refer to the users manual for the MELSEC-A being used.
J8-44
Communication
module
Create message
to be sent
RTS
CTS
RTS
CTS
Modem
Data
Data
ACK
Modem
CTS
RTS
MELSEC-A
MELSEC-A
processing time
T1
T2
T3
T4
T5
T6
T7
T8
T9
J080901E.EPS
T1:
T2:
T3:
T4:
T5:
T6:
T7:
T8:
T9:
J8-45
start bit
data bit +
parity bit
stop bit
J080902E.EPS
Start bit:
Data bit:
Parity bit:
Stop bit:
Baud rate:
1 bit fixed
7 bits or 8 bits
None, even or odd
1 bit fixed
1200, 2400, 4800, 9600, 19200 (bps)
Device
Send
Write
Respond
ACK
Send
Respond
19 Fixed (*1)
10 + No. of Bits
21 Fixed (*2)
7 Fixed
7 Fixed
19 Fixed (*1)
10 + No. of Bits/4
21 Fixed (*2)
7 Fixed
7 Fixed
Word device
19 Fixed (*1)
10 + No. of Words4
21 Fixed (*2)
7 Fixed
7 Fixed
J080903E.EPS
*1:
*2:
A3H
AnA
AnU
No. of access
points
1.13 ms
0.81 ms
2.42 ms
3.51 ms
64 points
1 scan
(2 scans for device R)
1.13 ms
0.84 ms
2.60 ms
3.90 s
64 points
2 scans
(1 scan for RUN enablesetting,
except for R)
Processing
J080904E.EPS
*1:
*2:
The Bit Devices can be handled by Batch Read/Write words commands after grouping the bits into words. Total
number of accessible Bit Devices is:
64x16=1024.
Device R is the file register.
J8-46
J080905E.EPS
J9-1
Applicable Models
The following MELSEC-A communication packages (ACM71) are available.
PFS2230 CS 1000 MELSEC-A communication package (ACM71)
LFS2230 CS 3000 MELSEC-A communication package (ACM71)
When using the MELSEC-A communication package (ACM71), the ACM71 (Ethernet
communication module) is installed in an FCS and a MELSEC-A to perform communications.
The applicable MELSEC models include MELSEC-A, MELSEC-QnA and MELSEC-Q
series PLCs. Note that the MELSEC-QnA and MELSEC-Q can be accessed within the
range of accessibility allowed for the MELSEC-A.
For the communication with MELSEC-QnA or MELSEC-Q, the following devices are not
accessible.
File Register (R)
Latch Relay (L)
Step Relay (S)
Edge Relay (V) (*1)
Integrating Timer (SS/SC/SN) (*1)
Special Link Relay (SB) (*1)
Special Link Register (SW) (*1)
Direct Input (DX) (*1)
Direct Output (DY) (*1)
Index Register (Z) (*1)
File Register (ZR) (*1)
*1:
IM 33S01B30-01E
J9-2
Type name
A series
QnA series
Q series
Ethernet interface
unit model
Name
AJ71E71N-B2
AJ71E71N-B5
AJ71E71N-T
AJ71E71N3-T
A1SJ71E71N-B2
A1SJ71E71N-B5
A1SJ71E71N-T
A1SJ71E71N3-T
AJ71E71-S3
A1SJ71E71-B2-S3
A1SJ71E71-B5-S3
AJ71QE71N-B2
AJ71QE71N-B5
AJ71QE71N-T
AJ71QE71N3-T
A1SJ71QE71N-B2
A1SJ71QE71N-B5
A1SJ71QE71N-T
A1SJ71QE71N3-T
AJ71QE71
AJ71QE71-B5
A1SJ71QE71-B2
A1SJ71QE71-B5
QJ71E71-B2
QJ71E71-B5
QJ71E71-100
QJ71E71
A 10BASE-T interface unit is used for an ACM71 while 10BASE-2, 10BASE-5, 10BASE-T
or 100BASE-TX Ethernet interface unit is used for the MELSEC.
A HUB or other peripherals must be used to convert between different interfaces.
SEE ALSO
Refer to the users manual of MELSEC series (MELSEC Ethernet Interface Unit Users Manual) for more
information on the network configuration method.
IM 33S01B30-01E
J9-3
IMPORTANT
On Detailed Settings tab of FCS Constants Builder, the setting item SEBOL/User C Ratio
needs to be properly set in accordance with the communication program size.
If the default ratio 100 % is used, all resource is assigned for SEBOL and the communication program may fail when SEBOL program is running.
IM 33S01B30-01E
J9-4
Item
Description
Binary
Data communication
procedure
Available station(s)
Communication
when CPU STOP
The setting in MELSEC-A may enable the communication event the controllers
CPU fails. However, when the communication error occurrence caused by the
breakage of wiring, communication will not continue.
J090101E.EPS
Communication Capacity
The communication capacity is as follows:
Maximum number of MELSEC-As allowed for communication: 5 (*1)
*1:
The maximum number of communication destination units for one FCS is irrelevant with the number of ACM71
modules installed in the FCS.
The maximum size of data allowed for communication, including data communicated via
other communication packages used for applicable FCSs, is the size allowed in the communication I/O data storage area (4000 words).
Communication data size in one frame is as follows:
Word device:
256 words
Bit device:
One frame is defined in one line on communication builder. It is the same as restricted by
MELSEC-A protocol.
IM 33S01B30-01E
J9-5
Connection Configuration
An example of connections between FCSs and MELSEC-As is shown below:
Ethernet
HIS
HIS
Control bus
RDY
RCV
SND
CN1
RDY
RCV
SND
RDY
RCV
SND
CN1
CN1
FCS
RDY
RCV
SND
CN1
FCS
Ethernet
HUB
MELSEC-A
Router
MELSEC-A
HUB
MELSEC-A
J090201E.EPS
IMPORTANT
When replace the malfunctioned ACM71 module with a new one, the communication
between the new ACM71 and the MELSEC may not be established properly, because the
hardware information in MELSEC is not refreshed. Restarting the MELSEC or reinitializing
the Ethernet interface can resolve this problem.
SEE ALSO
For more information about reinitializing the Ethernet interface, see the following:
Ethernet Interface Unit Users Manual of MELSEC
IM 33S01B30-01E
J9-6
Addressing
The IP address and subnet mask must be specified for each ACM71 installed in the FCS.
Up to three IP addresses and subnet masks are specified for a single FCS, including the IP
address and subnet mask specified for the control bus of the FCS.
These three IP addresses must have different subnets, respectively.
HIS
Subnet 1
(control bus)
172.16.1.24
(255.255.0.0)
172.16.1.1
(255.255.0.0)
Subnet 2
172.16.1.2
(255.255.0.0)
Subnet 3
172.21.1.1
(255.255.0.0)
RDY
RCV
SND
CN1
RDY
RCV
SND
CN1
172.22.1.1
(255.255.0.0)
FCS
Ethernet
MELSEC-A
Control bus
MELSEC-A
RDY
RCV
SND
CN1
RDY
RCV
SND
CN1
FCS
Ethernet
MELSEC-A
Router
Ethernet
MELSEC-A
Subnet 4
(router destination, etc.)
J090203E.EPS
Figure Addressing
IM 33S01B30-01E
J9-7
Accessible Devices
The range of accessible devices and device numbers, as well as the number of digits for a
device number differ according to the models of MELSEC-A CPU units. The device number
may be expressed as a decimal or hexadecimal value, depending on the type of device.
The following devices are accessible.
Table Accessible Devices in Six Digits
Device type
Bit device
Word device
Device name
Expression
Input
X00000 to X007FF
Hexadecimal
Output
Y00000 to Y007FF
Hexadecimal
Internal relay
M00000 to M02047
Decimal
Special relay
M09000 to M09255
Decimal
Link relay
B00000 to B003FF
Hexadecimal
Annunciator
F00000 to F00255
Decimal
Timer (contact)
TS0000 to TS0255
Decimal
Timer (coil)
TC0000 to TC0255
Decimal
Counter (contact)
CS0000 to CS0255
Decimal
Counter (coil)
CC0000 to CC0255
Decimal
Data register
D00000 to D01023
Decimal
Special register
D09000 to D09255
Decimal
Link register
W00000 to W003FF
Hexadecimal
R00000 to R08191
Decimal
TN0000 to TN0255
Decimal
CN0000 to CN0255
Decimal
Remarks
J090301E.EPS
*1:
IM 33S01B30-01E
J9-8
Bit device
Word device
Device name
Expression
Input
X000000 to X0007FF
Hexadecimal
Output
Y000000 to Y0007FF
Hexadecimal
Internal relay
M000000 to M008191
Decimal
Special relay
M009000 to M009255
Decimal
Link relay
B000000 to B000FFF
Hexadecimal
Annunciator
F000000 to F002047
Decimal
Timer (contact)
TS00000 to TS02047
Decimal
Timer (coil)
TC00000 to TC02047
Decimal
Counter (contact)
CS00000 to CS01023
Decimal
Counter (coil)
CC00000 to CC01023
Decimal
Data register
D000000 to D006143
Decimal
Special register
D009000 to D009255
Decimal
W000000 to W000FFF
Hexadecimal
Link register
File register (*1)
R000000 to R008191
Decimal
TN00000 to TN02047
Decimal
CN00000 to CN01023
Decimal
Remarks
J090302E.EPS
*1:
SEE ALSO
Refer to the users manual of the applicable MELSEC-A CPU unit for more information on address
specification.
IM 33S01B30-01E
J9-9
n
+
9
n
+
8
n
+
7
n
+
6
n
+
5
n
+
4
n
+
3
n
+
31
n
+
2
n
+
1
n=1
n
+
16
m=2
n+16 (m-1)+15
n+16 (m-1)
J090401E.EPS
J090402E.EPS
IM 33S01B30-01E
J9-10
In this section, setting items on System View for MELSEC-A, the specific functionality and the recommended settings are explained.
SEE ALSO
For more information regarding to Detailed Setting tab on Create New IOM dialog box and subsystem
common settings, see the following:
Setting Items for ACM71 in J1.5.1, Overview of Setting Items on System View
IM 33S01B30-01E
J9-11
Similarly, select the following items in Detailed Setting tabs 2 through 5 in the Create New
IOM dialog box. Select any of the tabs of Detailed Setting 2 through 5.
Option 1
This sets the tolerant time for getting response from the subsystem.
Recommended setting is 4 (seconds).
Option 2
This item sets the number of retries performed when a communication error occurs.
Recommended setting is 1 (time).
Option 3
Specify a time interval that the probe communication packets are sent to test if the connection can be established.
Recommended setting is 30 (seconds).
Option 4
The port number on MELSEC-A must be specified.
Since there is no default setting, this port number must be entered.
IM 33S01B30-01E
J9-12
Element MELSEC-A
Element
With respect to the address of the subsystem data buffer, the element numbers are displayed on Communication I/O Builder. The element numbers are for display only, cannot be
set.
IM 33S01B30-01E
J9-13
Buffer MELSEC-A
Buffer
Set the unit number, slot number and MELSEC_E as program name.
u-sProgramName
u:
s:
ProgramName:
Unit Number
Slot Number
MELSEC_E
Size MELSEC-A
Size
This item sets the data size (data length) from the head address set in Device & Address.
Must set the Size since this is a required setting item on Communication I/O Builder.
For MELSEC-A, the setting ranges are limited as follows, the unit is in Word.
Word Device:
1 to 256 Words
Bit Device:
SEE ALSO
For more information about Size setting item, see the following:
J1.5.2, Overview of Settings on Communication I/O Builder
Port MELSEC-A
Port
IP Address MELSEC-A
IP Address
Station MELSEC-A
Station
IM 33S01B30-01E
J9-14
X0nnnn or X0nnnnn
Output:
Y0nnnn or Y0nnnnn
Internal relay:
M0nnnn or M0nnnnn
Special relay:
M0nnnn or M0nnnnn
Link relay:
B0nnnn or B0nnnnn
Annunciator:
F0nnnn or F0nnnnn
Timer (contact):
TSnnnn or TSnnnnn
Timer (coil):
TCnnnn or TCnnnnn
Counter (contact):
CSnnnn or CSnnnnn
Counter (coil):
CCnnnn or CCnnnnn
TNnnnn or TNnnnnn
CNnnnn or CNnnnnn
Data register:
D0nnnn or D0nnnnn
Special register:
D0nnnn or D0nnnnn
Link register:
W0nnnn or W0nnnnn
File register:
R0nnnn or R0nnnnn
SEE ALSO
For more information on address specification, see the following:
J9.3, Accessible Devices MELSEC-A
IM 33S01B30-01E
J9-15
Reverse MELSEC-A
Reverse
This sets whether or not to make the bit or word arrangement in FCS in reverse order of the
subsystem data.
The following settings can be selected:
Bits
No
Words
However, when choosing [Bits], only the data of discrete inputs or discrete outputs can be
reversed. In this case, the default setting is [Bits].
Regarding to words, only the 32-bit analog inputs or the 32-bit analog outputs can be
reversed. In this case the default setting is [No].
IM 33S01B30-01E
J9-16
Scan MELSEC-A
Scan
Set whether to read the communication I/O analog data into the communication I/O data
buffer at the beginning of high-speed scan of the FCS.
Label MELSEC-A
Label
The name of the function block I/O terminal can be set as a user-defined label.
IM 33S01B30-01E
J9-17
Response Timeout
When ACM71 sends a command to MELSEC, ACM71 waits for the response of MELSEC.
A watchdog timer is used to count the waiting time, when the waiting time exceeds the
specified limit; a response timeout error will be initiated. The response timeout error is also
treated as a connection failure and triggers a TCP/IP connection retry for linking ACM71
and MELSEC.
The following circumstances will be explained:
Resending from ACM71
Resending from MELSEC
0.5 to 1 sec
1 sec
2 sec
4 sec
8 sec
ACM71
Command
MELSEC
J090701E.EPS
When the timer for counting response time reaches limit, the response timeout error occurs. And the TCP/IP retransmissions will be carried out. When the connection is established again, the data exchange between the ACM71 and MELSEC will recover.
IM 33S01B30-01E
J9-18
Under the following circumstances, ACM71 sends the close connection command.
ACM71 sends the open connection retries but the port on MELSEC is closed.
ACM71 response timeout error occurred.
SEE ALSO
For more information about connection closes on MELSEC, see the following:
Ethernet Interface Unit Users Manual of MELSEC
Response
(with requested data)
MELSEC
TCP Retransmission
Timer Value
J090702E.EPS
When ACM71 is waiting for the response from MELSEC, if an error occurs in the
communication line and the response timeout error occurs, ACM71 will continue waiting
until the Keep Alive interval becomes timeout. ACM71 will close the connection when the
Keep Alive interval expires, and carry out the connection reties according to the retransmission cycle.
TIP
The Keep Alive feature checks the Ack signals exchanged between the connected destinations so as to
ensure the connection is normal.
When one port is closed and the Ack signal cannot be received, the other port of the connection will close
itself.
The keep-alive timeout of ACM71 is about 7 minutes (fixed).
IM 33S01B30-01E
J9-19
Connection Opened
ACM71
SYN
SYN
RST+ACK
ACK
SYN+ACK
MELSEC
J090703E.EPS
Recovery Scheme
If the connection between ACM71 and MELSEC is not established, or if the ACM71 closed
the connection, the connection request will be sent periodically. Data exchange will be
carried out after the connection is established.
SEE ALSO
For more information about communication retries, see the following:
Create New IOM Dialog Box - MELSEC-A in J9.5 Setting Items on System View
IM 33S01B30-01E
J9-20
IM 33S01B30-01E
J9-21
Setting item
Description
Setting
SW1
SW1
SW2
SW2
Data code
setting
SW3
SW4
SW5
SW6
SW7
SW8
OFF
OFF
OFF
SW3
CPU
communication
timing setting
SW4
Initialization
timing setting
ON
OFF
J090801E.EPS
IM 33S01B30-01E
J9-22
QnA Series
The following explains the setting switches of the AnA series Ethernet interface units
(AJ71QE71N-B2, AJ71QE71N-B5, AJ71QE71N-T, A1SJ71QE71N-B2, A1SJ71QE71N-B5,
A1SJ71QE71N-T, AJ71QE71, AJ71QE71-B5, A1SJ71QE71-B2, A1SJ71QE71-B5).
Table Setting Switches of the QnA Series Ethernet Interface Units
Switch name
SW1
SW2
SW3
Setting item
Setting
Description
Line processing
setting in the
event of a TCP
timeout error
Selects the line processing in the event of a TCP ULP timeout error.
OFF: Closes the line in the event of a TCP ULP timeout error.
ON: Keeps the line open even if a TCP ULP timeout error occurs.
OFF
Selects the data code type of communication data with other nodes.
OFF: Communicates using binary code.
ON: Communicates using ASCII code.
OFF
Automatic startup
mode setting
SW4
SW5
SW6
OFF
SW7
CPU
communication
timing setting
Enables or disables writing of data from other nodes while the PLC CPU
is running.
OFF: Does not allow data to be written from other nodes while the PLC
CPU is running.
ON: Allows data to be written from other nodes while the PLC CPU is
running.
SW8
Initialization
timing setting
ON
OFF
J090802E.EPS
IM 33S01B30-01E
J9-23
Q Series
The setting switches are not available on Q Series QJ71E71-B5/QJ71E71-100/QJ71E71/
QJ71E71-B2. For setting the Ethernet parameters, the MELSEC engineering tool (GX
Developer) should be used.
Table Settings of the Q Series Ethernet Interface Units
Switch name
Ethernet
operational
settings
Setting item
Description of setting
Setting
Binary code
communication
Input format
Decimal
IP address
IP address of the
local station
40 (20 seconds)
4 (2 seconds)
TCP Retransmission
Timer
4 (2 seconds)
4 (2 seconds)
3 (1.5 seconds)
42 (21 seconds)
IP address
setting
IP Setup Timer
Ethernet
Timers Response Monitoring
Initial Settings
Timer
Destination existence
Time period between the physical connection
confirmation starting
36 (18 seconds)
breakages and connection probe starts. (x 500ms)
interval
Ethernet
open settings
Switch name
Destination existence
confirmation interval Interval of Connection Probes (x 500ms)
timer
10 (5 seconds)
Destination existence
Number of Connection Probes
confirmation resend
timer
Protocol
TCP/IP
Open system
Unpassive open
Fixed buffer
Send
Procedure exist
Pairing open
No pairs
Existence confirmation
Confirm
500h
Setting item
Description of setting
Setting
J090812E.EPS
IM 33S01B30-01E
J9-24
Communication Operation
Communication between the MELSEC-A communication package (ACM71) and a
MELSEC is performed as shown below.
MELSEC-A
START
Set communication
parameters
MELSEC-A Communication Package (ACM71)
Initialize
START
Open settings of
each port
Create a socket
Open processing
Connection request
Connect
Receives Connect
Send a command
Command
Receives commands
Response
Receive data
Disconnect
Response with
requested data
Disconnect
Close processing
J090803E.EPS
Since the A series and QnA series Ethernet interface unit only processes communication
commands, the following three functions must be created using the CPU ladder program.
Parameter settings
Processing until the line connection
Reconnection processing following the line disconnection
IM 33S01B30-01E
J9-25
Object
Name
MELSEC
Ethernet
Interface Unit
(*1)
Setting (*2)
4 (2 Seconds)
40 (20 Seconds)
4 (2 Seconds)
Description
TCP resend for 9 times.
(20/2) -1= 9
4 (2 Seconds)
3 (1.5 Seconds)
42 (21 Seconds)
10 (5 Seconds) (t1)
3 times (n)
Existence
Timeout = t0+{t1x(n-1)}
=18+{5x(3-1)}
=28 Seconds
J090809E.EPS
*1:
*2:
When changing the above timer settings, the following rules should be observed:
Rule 1
Connection
Monitoring Time
Existence
Timeout
Response
Monitoring
Timer Value
TCP ULP
Timeout Value
TCP End
Timer Value
TCP
Retransmission
Timer Value
Response
Timeout
TCP Setup
Timer Value
Rule 2
TCP
Retransmission
Timer Value
TCP
Zero Window
Timer Value
J090810E.EPS
SEE ALSO
For more information about Connection Monitoring Time and Response Timeout, see the following:
Create New IOM Dialog Box - MELSEC-A in J9.5 Setting Items on System View
Ladder Program
A sample ladder program for the communication between ACM71 and MELSEC-A is
shown as follows. This is made for connecting A series AJ71E71 via TCP/IP communication with Ethernet interface. For connecting QnA series, the numbers of the buffers and
memories should be different.
The program is outline as follows.
There are two procedures for establishment of connections and multiple ports can be
opened at the same time for the connections.
When a connection is closed, the port waits for the next connection. After the connection is closed, 500 ms delay is required for setting the open request.
IM 33S01B30-01E
J9-26
M9038
DTO
H0
H0000
DTO
H0
TO
H0
TO
H0
H000A K40
TO
H0
H000B K4
TO
H0
H000C K4
TO
H0
H000D K4
TO
H0
H000E K3
TO
H0
H000F K42
TO
H0
H0007
K36
TO
H0
H0008
K10
TO
H0
H0009
K3
TO
H0
H01F0 H8000
SET
X001A
FROM
H0
H0050
D100
TO
H0
H0050
K0
RST
M0002 X0010
X0019 Y0008
TO
H0
H0010
H8002
TO
H0
H0018
K1280
SET
X0018 Y0008
X0010
<>
K0 D101
FROM
H0
H005D D101
TO
H0
H005D K0
FROM
H0
H01F0 D110
K1
WAND H0FFFE
TO
H0
H01F0 D110
D110
K1
Set connection No.1 open request OFF
RST
Y0008
SET
M0002
K5
T0
T0
RST
M0002
IM 33S01B30-01E
J9-27
X0010
PLF
M0000
RST
Y0008
SET
M0002
M0000
X0010
FROMP H0
H01F0 D110
WORP H0001
M0012 X0011
X0019
D110
TOP
H0
H01F0 D110
K1
TO
H0
H0011
TO
H0
H001F K1280
Y0009
H8002
SET
X0018 Y0009
K1
X0011
<>
K0 D102
FROM
H0
H0067
D102
TO
H0
H0067
K0
FROM
H0
H01F0 D110
WAND H0FFFD
TO
H0
H01F0 D110
K1
D110
K1
RST
SET
M0012
K5
T1
T1
RST
M0012
PLF
M0010
RST
Y0009
SET
M0012
X0011
M0010
X0011
FROMP H0
H01F0 D110
WORP H0002
TOP
H0
H01F0 D110
K1
D110
K1
X001C
SET
Y0017
END
J090811E.EPS
IM 33S01B30-01E
J9-28
Data Registers
The table below lists the data registers used in the sample program.
If any of these registers is already in use, use another register.
Table List of Data Registers
Register Number
Description
Data
D100
D101
D102
D110
Timers
The following is the timer used in the sample program.
If this timer is already in use, use another timer.
SEE ALSO
When changing the timer, note that the timer settings differ according to the timers resolution. Refer to the
users manual for the applicable PLC CPU for more information.
Description
Timeout Value
T0
500 ms
T1
500 ms
J090806E.EPS
IM 33S01B30-01E
J9-29
Description
X10
X11
X18
X19
X1A
X1C
Y8
Y9
Y17
Y19
Request to Initialize
J090807E.EPS
IM 33S01B30-01E
J9-30
Buffer Memory
SEE ALSO
For more information on writing and reading the buffer memory when interface unit is installed in a different slot, see the MELSEC-A Programming Manual.
For more information about buffer memory, see MELSEC-A Ethernet Interface Unit Users Manual.
The buffer memories used in the sample program are listed in the following table.
Table Buffer Memories
A Series
Address
QnA Series
Address
H0000
H0000
H0003
H0007
H0008
Description
Size
Local host IP
2 words
1 word
H0011
1 word
H0012
1 word
H0009
H0013
1 word
H000A
H000B
1 word
H000B
H000C
1 word
H000C
H000D
1 word
H000D
H000E
1 word
H000E
H000F
1 word
H000F
H0010
1 word
H0010
H0020
1 word
H0011
H0021
1 word
H0018
H0028
1 word
H001F
H002F
1 word
H01F0
H0067
1 word
H0050
H0069
1 word
H005D
H007C
1 word
H0067
H0086
1 word
H01C0
H0200
Subnet mask
2 words
J090808E.EPS
Other Elements
Other elements used in the sample program are listed as follows. If the element is already
reserved by other program, a different element can also be used.
M9038 : ACPU Special Relay (When CPU starts run, turns ON for only one scan-period)
M0000 : Flag for closing connection No.1 request
M0002 : Flag for rejecting connection No.1 open request
M0010 : Flag for closing connection No.2 request
M0012 : Flag for rejecting connection No.2 open request
IM 33S01B30-01E
J9-31
Error Code
The table below shows the error codes specific to the MELSEC-A.
Table Error Code
Error code
Description
A3B0
No response
A3B2
A3B4
A3B5
A3B7
A3B8
A3B9
IP address error
A3BA
A3BB
A3BC
A3D0
A3D1
A3D2
A3D3
A3D8
A3E0
A3E1
A3FF
Other errors
J090901E.EPS
The A3D0 and succeeding codes indicate errors generated when an error code is received
from the MELSEC-A.
The error codes of MELSEC are indicated in parentheses.
SEE ALSO
Refer to the MELSEC-A Users Manual for more information on error codes.
For error codes pertaining to Ethernet communications, see the following:
J2.4, System Alarm Messages Specific to Ethernet Communication
IM 33S01B30-01E
J9-32
Communication Performance
The transmission time for communication between the communication card and a
MELSEC-A is calculated as a sum of T1 through T4 as shown below.
Communication begins
Communication
card
Communication complete
Request
generation
processing
Data
MELSEC-A
Data
Communication
processing
T1
T2
T3
T4
Figure Time Chart for Communication between Communication Card and MELSEC-A
SEE ALSO
Refer to the MELSEC-A Users Manual for more information on T2 through T4.
IM 33S01B30-01E
J9-33
Using this package to communicate with MELSEC-A in parallel to all the MELSEC-A PLCs
in sequence with their IP addresses. After processing a request of one MELSEC-A, it starts
to process the request of the next.
One transmission only handles one communication assignment on the builder. For an
example, assume there are two MELSEC-A PLCs, one has three communication assignments while the other has only one, transmissions are performed in the following sequence. However, communication delay caused in MELSEC-A PLC is not considered in
this assumption.
Assignment 1
Assignment 4
Subsystem 1
Subsystem 2
Assignment 1
Assignment 4
Assignment 2
Assignment 3
Assignment 2
Repeat
Assignment 4
Assignment 3
Assignment 4
J091003E.EPS
IM 33S01B30-01E
J9-34
Calculation Example
The following shows an example of calculating the transmission time when reading data of
100 data registers.
Assume that the scan time for the MELSEC is 50 ms.
The communication time is calculated based on the following conditions:
Comparing with other processing times, the transmission times of request (T2) and response (T4) are trivial, all together about 1 to 5 milliseconds. Thus in this calculation, T2 +
T4 = 5 ms.
The MELSEC-A CPUs scan period is 50 ms.
Transmission time of request (T2) + Transmission time of response (T4) = 5 ms
PLC CPU processing time (T3) = Number of points / Number of points processed in one
scan scan time
= 100 / 6450
100 ms (Round up to scan time)
J091002E.EPS
TIP
Note that the calculation is approximate since the actual communication time may vary by a wide margin
depending on network traffic.
IM 33S01B30-01E
<J9.11 Troubleshooting>
J9-35
J9.11 Troubleshooting
This section describes how to troubleshoot problems.
IM 33S01B30-01E
J9-36
<J9.11 Troubleshooting>
NO
YES
NO
YES
NO
NO
YES
YES
NO
YES
YES
NO
NO
YES
Communication between the ACM71 and
the MELSEC-A Ethernet interface unit is
performed normally.
The communication I/O definitions are
suspected as the cause of the problem.
Check the system alarm message and
correct the builder setting causing the error.
J091101E.EPS
IM 33S01B30-01E
J9-37
<J9.11 Troubleshooting>
I
NO
NO
NO
NO
NO
NO
YES
YES
YES
YES
YES
A communication error caused by the
MELSEC-A communication package is
suspected.
Check the system alarm message and
correct the builder setting causing the error.
J091102E.EPS
IM 33S01B30-01E
Blank Page
J10-1
SEE ALSO
For further details when performing dual-redundant communication, see the following:
J10.9, Dual-Redundant Communication Modbus
IM 33S01B30-01E
J10-2
Maximum quantity
Explanation of words
500 words
(1 word=16 bits)
30 stations
125 words
J10-3
Description
Remark
ACM11
RS-422
ACM12
Transmission method
Half duplex
Synchronization method
Start-stop synchronization
Baud rate
Transmission procedure
Modbus protocol
(RTU mode)
Transmission code
Binary
Data type
Time monitoring
Text frame
(*1)
Start bit
Data bit
Parity bit
(*1)
Stop bit
Transmission enable
monitoring time
1000 ms
10 ms
Start of text
None
End of text
None
NO
RS control
NO
(*1)
DR check
YES
(*1)
CD check
NO
(*1)
0 to 99 seconds [4 seconds]
(*1)
0 to 99 times [1 time]
(*1)
0 to 999 seconds
[30 seconds]
(*1)
1 second
125 words
Item
Description
Remark
J100102E.EPS
IMPORTANT
When performing subsystem communication with the Modbus PLC, be sure to specify 8
bits for the data bit length on System View. A communication error will occur if 7 bits is
specified.
J10-4
J10-5
Control bus
FCS
CN1
RDY
RCV
SND
CN1
RS-232C
MODEM
RS-232C
MODEM
Modbus PLC
MODEM
Modbus PLC
MODEM
Modbus PLC
J100201E.EPS
J10-6
IMPORTANT
The length of the RS-232C cable between the ACM11 and modem and between the modem and Modbus PLC must be 15 meters or less.
J10-7
Signal name
Direction of signal
Title
Description
FG
Frame ground
SD
Send data
Security grounding
RD
Receive data
RS
Request to Send
CS
Clear to Send
DR
Data Ready
SG
Signal ground
CD
Carrier Detected
20
ER
SEE ALSO
For details on safety grounding, see the followings:
Figure Cable Connection between Modem and ACM11
Figure Cable Connection between Modbus PLC and ACM11 (when Modbus PLC Uses an RS-232C Dsub 25 Pin Connector, and directly Connected )
Pin No. 25
Pin No. 14
Pin No. 13
Pin No. 1
J100203E.EPS
J10-8
The following shows when the Modbus PLC and ACM11 are connected via a modem and
when they are connected directly without a modem.
SD
RD
RS
CS
ACM11
DR
SG
CD
ER
FG
20
20
Sheathed cable
SD
RD
RS
CS
DR
Modem (*1)
SG
CD
ER
FG
Protective grounding
(100 ohms or less)
J100204E.EPS
*1:
SD
RD
RS
CS
ACM11
CD
DR
ER
SG
FG
20
20
Sheathed cable
SD
RD
RS
CS
CD
Modbus PLC
DR
ER
SG
FG
Protective grounding
(100 ohms or less)
J100205E.EPS
J10-9
Direction of signal
Pin number
Signal name
Description
CD
Carrier Detected
RD
Receive data
SD
Send data
ER
SG
Signal ground
DR
Data Ready
RS
Request to Send
CS
Clear to send
ON is input when RS is ON
Not used
J100206E.EPS
9
6
1
D-sub 9 pin (female)
J090207E.EPS
Cable connections when a Modbus PLC and ACM11 are directly connected are shown
below.
SD
RD
RS
ACM11
CS
CD
DR
ER
SG
20
SD
RD
RS
CS
CD
DR
ER
SG
Connector shell connection
Sheathed cable
Protective grounding
(100 ohms or less)
J090208E.EPS
J10-10
With the ACM11, the RS-232C circuit and FG (frame ground) are electrically insulated. This
has the function of preventing intrusion of noise from the Modbus PLC side and improving
noise resistance. Satisfy all conditions given below to make this function effective:
For the frame ground, perform protective grounding (100 ohms or less) at the opposing side of the connection (the modem or Modbus PLC side).
Attach only one side of the shield of the sheathed cable to the FG of the opposing side
of the connection. DO not ground the cable shield on the ACM11 side. Also, do not
use a connector shell that is conductive.
Connect the FG and the SG (signal ground) of the RS-232C circuit at the opposing
side of the connection. When the FG and SG are not connected on the opposing side,
and if the RS-232C cable is one manufactured by Yokogawa Electric, then use
AKB141 (RS-232C modem cable) or AKB142 (RS-232C null modem cable). For the
AKB141 and AKB142 cables, SG and FG are connected inside of the connector shell.
Also, the cable shield can be connected to the FG of the opposing side of the connection.
SEE ALSO
For details on connection cables, see the following:
A4.3, Wiring of Communication Module in Input & Output Modules (IM 33Y06K01-01E)
Modicon 984A,
984B, 984X
Shield
ACM11
2 SD
2 SD
3 RD
3 RD
4 RS
4 RS
5 CS
5 CS
7 SG
7 SG
6 DSR
6 DR
8 CD
8 CD
20 DTR
20 ER
1 FG
(D-sub 25-pin)
1 FG
(D-sub 25-pin)
J100209E.EPS
J10-11
ACM11
Shield
2 SD
2 SD
3 RD
3 RD
4 RS
4 RS
5 CS
5 CS
7 SG
7 SG
6 DSR
6 DR
8 CD
8 CD
20 ER
9 DTR
1 FG
(D-sub 25-pin)
1 FG
(D-sub 9-pin)
J100210E.EPS
ACM11
Shield
E SD
2 SD
K RD
3 RD
B RS
4 RS
W CS
5 CS
P SG
7 SG
T DSR
6 DR
8 CD
20 ER
A DTR
J FG
(D-sub 9-pin)
1 FG
(D-sub 25-pin)
J100211E.EPS
Shield
ACM11
2 SD
2 SD
3 RD
3 RD
4 RS
4 RS
5 CS
5 CS
7 SG
7 SG
6 DSR
6 DR
8 CD
20 DTR
1 FG
(D-sub 25-pin)
20 ER
1 FG
(D-sub 25-pin)
J100212E.EPS
Shield
ACM11
3 SD
2 SD
2 RD
3 RD
7 RS
4 RS
8 CS
5 CS
5 SG
7 SG
6 DR
6 DR
4 ER
8 CD
1 CD
20 ER
Connector Shell
(D-sub 9-pin)
J10-12
1 FG
(D-sub 25-pin)
J100213E.EPS
J10-13
Function
code
Modbus PLC
Address within
device type Modbus PLC device
A
B
Coil
XXXX
Y
A
XXXX
A
Link relay (*1)
B
X
02
12
XXXX
Y
Step status (*1)
Read
01
Input relay
Modbus protocol
function code
(hexadecimal)
XXXX
17
Write
OF
05
OF
05
1D
19
1D
19
J100301E.EPS
*1:
This is a device for Memocon-SC GL60S. Other models do not have this device.
J10-14
Input register
Function
code
A
Modbus PLC
Address within
device type Modbus PLC device
3
XXXX
Modbus protocol
function code
(hexadecimal)
Read
Write
04
10
A
03
B
Holding register
10
XXXX
10
1E
A
13
B
C
1E
XXXX
14
15
B
Link register (*1)
1F
Y
Z
1F
20
16
20
Function
code
1C
20
Z
A
1C
20
XXXX
Device
1B
A
B
4 byte register
1B
1F
XXXX
1F
1A
1E
Z
A
1A
1E
XXXX
06
10
06
XXXX
Modbus PLC
Address within
device type Modbus PLC device
Address
04
Read
Write
Modbus protocol
function code
(hexadecimal)
J100302E.EPS
*1:
This is a device for Memocon-SC GL60S. Other models do not have this device.
Special coil
Comm Status
Function
code
Modbus PLC
Address within
device type Modbus PLC device
Modbus protocol
function code
(hexadecimal)
Read
Write
SP001
07
STSXXX
J100303E.EPS
J10-15
B
C
X
Y
Z
Device
Read
Write
Readback?
Bit device
Yes
Word device
Yes
Bit device
1 bit
Yes
Word device
16 bits
Yes
Word device
32 bits
Yes
Bit device
No
Word device
No
Bit device
1 bit
No
Word device
16 bits
No
Word device
32 bits
No
J100304E.EPS
J10-16
TIP
When there is readback, FCS reads the status of the devices designated in the Communication I/O
Builder back, then compare them with those stored in the I/O image of FCS. The communication
packet to write to the designated devices of Modbus PLC is sent when discrepancy is detected.
When there is no readback, the data in the FCS and ACM11 are compared, and the data is sent to
the Modbus PLC side only if a difference is detected.
SEE ALSO
The function codes supported, accessible devices and sizes differ depending on the Modbus PLC type.
Refer to the users manual for the Modbus PLC being used for details.
J10-17
n
+
9
n
+
8
n
+
7
n
+
6
n
+
5
n
+
4
n
+
3
n
+
31
n
+
2
n
+
1
n=1
n
+
16
m=2
n+16 (m-1)+15
n+16 (m-1)
J100401E.EPS
J100402E.EPS
J10-18
15
15
n
+
7
n
+ n
1
n
n +
1
n
+
7
The value of n, where the status of the special coil are stored,
differ depending on the type of Modbus PLC connected.
J100403E.EPS
00
Bit arrangement
00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
STS016 configuration
15
Station number
00
Bit arrangement
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
J100404E.EPS
Figure Relationship between the Communication Status Bits and Station Numbers Modbus
J10-19
In this section, setting items on System View for Modbus PLC, the specific functionality and the recommended settings are explained.
SEE ALSO
For more information regarding to Set Details tab on Create New IOM dialog box and subsystem
common settings, see the following:
Setting Items for ACM11, ACM12 in J1.5.1, Overview of Setting Items on System View
For Modbus PLC, the setting items are as follows. This setting is done on the Set
Details tab of the New IOM dialog box called from System View.
Connection Device
Baud Rate
Parity
Data Bits
Stop Bits
RS Control
DR Check
CD Check
Communication Error Process
Options
After creating the new I/O module, the settings can be modified on the I/O module
property sheet.
Parity Modbus
This sets the method for checking the parity of the subsystem data to be transmitted.
The recommended setting for the parity is [Even].
When the baud rate is set to [19200 bps], [No] parity cannot be set.
J10-20
IMPORTANT
For the Modbus PLC, a communication error will occur if [7 bits] is selected.
IMPORTANT
When using a Modbus PLC, [2 bits] cannot be set for stop bit.
RS Control Modbus
This sets whether or not RS control is performed during subsystem data transmission.
When using Modbus PLC, disable [RS Control] by leaving the [RS Control] check box
unchecked.
DR Check Modbus
This sets whether or not DR check is performed during subsystem data transmission.
For Modbus PLC, it is required to enable the DR check by checking [DR check] check box.
CD Check Modbus
This sets whether or not CD check is performed during subsystem data transmission.
When using Modbus PLC, disable [CD Check] by leaving the [CD Check] check box
unchecked.
J10-21
Options Modbus
Settings of communication parameter options vary depending on the equipment connected. Set options by clicking the [Option] button in the Set Details tab of the New IOM
dialog box called from the System View.
In the case of Modbus PLC, define a method of recovery communication at the Option 1,
and 0 at the Options 2 to 4.
SEE ALSO
For more information about recovery communication, see the following:
J10.7, Recovery Communication Modbus
J10-22
Element Modbus
Element
With respect to the address of the subsystem data buffer, the element numbers are displayed on Communication I/O Builder as shown below. The element number is not for set,
only for display.
Buffer Modbus
Buffer
J10-23
Set the unit number, slot number and MODBUS as program name in the following format:
u-sProgramName
u:
Unit number
s:
Slot number
ProgramName: MODBUS
Set the node number, unit number, slot number and MODBUS as Program Name in the
following format:
n-u-sProgramName
n:
u:
s:
ProgramName:
Node number
Unit number
Slot number
MODBUS
Size Modbus
Size
This item sets the data size (data length) from the head address set in Device & Address.
Must set the Size since this is a required setting item on Communication I/O Builder.
The setting range is 1 to 125 words.
SEE ALSO
For more information about Size setting item, see the following:
J1.5.2, Overview of Settings on Communication I/O Builder
Port FA-M3
Port
IP Address Modbus
IP Address
J10-24
Station Modbus
Station
Input relay:
A1xxxx
Link relay:
Step status:
ASxxxx
Input register:
A3xxxx
Holding register:
Constant register:
A5xxxx
Link register:
Extended register:
4 byte register:
AWxxxx
Special coil:
SP001
Communication status:STSxxx
xxxx is the address within the Modbus PLC device. The range is 1 to 65535 (1H to
FFFFH) and is set as a decimal or hexadecimal number. If it is set with a hexadecimal
number, add H at the end. Also, with respect to the xxxx portion, the 0 prefixed at the
head can be omitted. For example, A023, A0023 and A00023 are all the same address for
the coil.
SEE ALSO
For details regarding address setting, see the following:
J10.3, Accessible Devices Modbus
J10-25
Reverse Modbus
Reverse
This sets whether or not to make the bit or word arrangement in FCS in reverse order of the
subsystem data.
The following settings can be selected:
Bits
No
Words
However, when choosing [Bits], only the data of discrete inputs or discrete outputs can be
reversed. In this case, the default setting is [Bits].
Regarding to words, only the 32-bit analog inputs or the 32-bit analog outputs can be
reversed. In this case the default setting is [No].
J10-26
Scan Modbus
Scan
Set whether to read the communication I/O analog data into the communication I/O data
buffer at the beginning of high-speed scan of the FCS.
Label Modbus
Label
The name of the function block I/O terminal can be set as a user-defined label.
IM 33S01B30-01E
J10-27
J10-28
IMPORTANT
When option 1 is set to 4, the recovery communication uses the write communication packet right before the error occurred for retransmission. It has to be very careful
when transmitting the control data to the subsystem.
In some types of Modbus PLC, the READ command may overwrite the existing data.
When data must be preserved, designate a function code that does not have
readback.
SEE ALSO
For more information about Set Details tab on Create New IOM dialog box of System View, see the
followings:
Setting Items for ACM11, ACM12 in J1.5.1, Overview of Setting Items on System View
J10.5, Setting Items on System View Modbus
J10-29
01
Response
01 m2
02 Command
02
Response
02 m2
03 Command
03
Response
03 m2
04 Command
04
Response
04 m2
05 Command
05
n-1
Pattern
CRC
Response
05
n-1
Pattern
CRC
06 Command
06
n-1
DATA
CRC
Response
06
n-1
DATA
CRC
07 Command
07
CRC
Response
07
08 Command
08
code
DATA
CRC
Response
08
code
DATA
CRC
0F Command
0F
n-1
m16
Response
0F
n-1
m16
10 Command
10
n-1
Response
10
n-1
CRC
11 Command
11
n-1
CRC
Response
11
CRC
12 Command
12
n-1
Response
12 m2
n-1
m16
CRC
DATA 1
n-1
DATA m
m16
CRC
DATA 1
n-1
DATA m
m
DATA m
m
CRC
CRC
DATA 1
DT
CRC
CRC
DATA 1
n-1
CRC
DATA m
CRC
CRC
DATA 1
DATA m
CRC
CRC
m2
m16
DATA 1
m2
DATA 1
DATA m
CRC
CRC
DATA m
CRC
s:
n:
Station number
Relative value from the head address in the device
For example, in the case of holding register 40050, n=40050-40001=49
m:
The data size designated via the Communication I/O Builder (word units)
Pattern: 0xFF00 when ON, 0x0000 when OFF.
J100801E.EPS
J10-30
13 Command
13
Response
13 m2 DATA 1
14 Command
14
Response
14 m2 DATA 1
15 Command
15
Response
15 m2 DATA 1
16 Command
16
Response
16 m2 DATA 1
17 Command
17
Response
17 m2 DATA 1
19 Command
19
n-1
Pattern
CRC
Response
19
n-1
Pattern
CRC
1A
n-1
DATA
CRC
1A
n-1
DATA
CRC
1B
n-1
DATA
CRC
1B
n-1
DATA
CRC
1C
code
DATA
CRC
1C
code
DATA
CRC
1D
n-1
m16
1D
n-1
m16
1E
n-1
Response
1E
n-1
1F Command
1F
n-1
Response
1F
n-1
20 Command
20
n-1
Response
20
n-1
1A Command
Response
1B Command
Response
1C Command
Response
1D Command
Response
1E Command
n-1
n-1
DATA m
m
n-1
n-1
CRC
CRC
DATA m
CRC
CRC
DATA m
CRC
CRC
DATA m
n-1
CRC
CRC
CRC
DATA m
m2 DATA 1
CRC
DATA m
CRC
DATA m
CRC
DATA m
CRC
DATA m
CRC
CRC
m2 DATA 1
CRC
m2 DATA 1
CRC
m2 DATA 1
CRC
s:
n:
Station number
Relative value from the head address in the device
For example, in the case of holding register 40050, n=40050-40001=49
m:
The data size designated via the Communication I/O Builder (word units)
Pattern: 0xFF00 when ON, 0x0000 when OFF.
J100802E.EPS
J10-31
J10-32
Slave Side
Communication Module
I/O image area
read
Card/Communication
Status output
Overwrite data
Dual-redundant function
Control Side
Stand-by Side
ACM11/ACM12
ACM11/ACM12
RS
card
RS
card
Subsystem
J100901E.EPS
J10-33
Master Side
Communication Module
I/O image area
Slave Side
Communication Module
I/O image area
write
Information on
switching between
the control side
and standby side
Overwrite data
Control Side
Dual-redundant function
Stand-by Side
ACM11/ACM12
ACM11/ACM12
RS
card
RS
card
Subsystem
J100902E.EPS
J10-34
To output the status of communication and communication module to the common switch,
a tag name linked to the card address should be assigned to the common switch as shown
below:
Tag name: Zddssymn
Z:
dd:
ss:
y:
m:
n:
*1:
The following system alarm will be output upon loading, depending on whether or not
definition for the corresponding internal switch exists:
Common switch exists
STNss ACM Monitor Tag[Zddssymn]exists
IMPORTANT
When a tag with the above name exists, the status of communication and communication
module is output automatically to the PV of the designated tag name. Be careful not to use
the above tag names for other purposes.
IM 33S01B30-01E
J10-35
The communication module installed in the first slot will be the master module and the one
installed in the second slot will be the slave module.
Station:
0 (Modbus number)
ZACMWDPX
Data Type:
Output (Discrete)
Reverse:
No
The leading bit in the communication module I/O image area reserved by a dual-redundant
definition is used by the subsystem communication program for switching the write destination. The leading bit in the reserved area is set to 1 when dual-redundant communication
is active and 0 when it is not active.
This signal cannot be referred to as a communication datum, nor can be set.
IM 33S01B30-01E
J10-36
The following system alarms are output upon loading in accordance with the definitions of
the master side and slave side. Each number indicates the position of the master-side card.
When there is an error in the dual-redundancy definition, dual-redundant communication
does not operate.
When dual-redundant definition is normal
STNss Redundant Def. Normal UNITmm SLOTnn
Station:
0 (Modbus number)
ZACMWDPX
Data Type:
Output (Discrete)
Reverse:
No
The leading bit in the communication module I/O image area reserved by a dual-redundant
definition is used by the subsystem communication program for switching the write destination. The leading bit in the reserved area is set to 1 when dual-redundant communication
is active and 0 when it is not active.
This signal can not be referred to as a communication datum, nor can be set.
The following system alarms are output upon loading in accordance with the definitions of
the master side and slave side. Each number indicates the position of the master-side
module. When there is an error in the dual-redundancy definition, dual-redundant communication does not operate.
When dual-redundant definition is normal
STNss Redundant Def. Normal RIOxx NODEyy UNITmm SLOTnn
J10-37
IMPORTANT
If the settings on the Communication I/O Builder are not correct, when running generation
after saving the setting, the generation program can not detect the errors nor error message displays.
Thus it is important to set all the settings correctly. Moreover, the settings can not be added
by online maintenance, nor erro message displays either.
J10-38
Readback Availability
For data writing to the subsystem, only Perform readback is supported. No readback is
not supported.
In the case of Perform readback, first data is read from the subsystem, then compared to
the data in the FCS. If the data is different, it is written to the subsystem.
In the case of No readback specification, data in the FCS and data in the communication
module are compared without reading from the subsystem, and the data is written to the
subsystem only when a difference is found.
Because the data in the slave-side communication module is not refreshed while the
master-side communication module is normal, the data in the communication module is still
old when it is switched from slave to the master. In this case, the difference of data in the
FCS and in the communication module cannot be found since they cannot be compared,
so data write cannot be performed when readback is not specified. With Modbus communication, readback availability is determined by the function code of the address specified via
the Communication I/O Builder.
J10-39
FCS name
Unit number
Slot number
Subsystem station number
Error code
When a communication error occurs in the subsystem, the system alarm message is
transmitted only once at the time the error occurs. After that, a new system alarm message
will not be sent even if an error is generated by a different cause.
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when a Communication Error Occurs Modbus
FCS name
Node number
Unit number
Slot number
Subsystem station number
Error code
When a communication error occurs in the subsystem, the system alarm message is
transmitted only once at the time the error occurs. The new system alarm message will not
be transmitted even if errors are generated by different causes.
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when a Communication Error Occurs Modbus
J10-40
FCS name
Unit number
Slot number
Subsystem station number
FCS name
Node number
Unit number
Slot number
Subsystem station number
J10-41
Description
A391
A392
A393
A394
A395
A398
A399
A39A
A39B
A39C
A39D
A39F
Other error
Communication is retried.
In case of error during retry, information related to the
error occurrence is held for each station number and
recovery communication with respect to that station
number is performed using the set cycle.
A3B0
No response
A3B1
A3B2
A3B3
A3B4
A3B5
A3B6
A3B7
A3B8
A3B9
A3BA
A3BB
Error code
(hexadecimal)
Description
J10-42
Description
Communication is retried.
In case of error during retry, information related to the
error occurrence is held for each station number and
recovery communication with respect to that station
number is performed using the set cycle.
A3C0
CRC-16 error
A3C1
A3C2
A3C3
A3C4
A3C5
A3C6
A3D1
A3D2
A3D3
A3D4
A3D5
A3D6
A3D7
A3D8
A3D9
A3DA
A3DB
A3DC
A3DD
A3DE
A3DF
A3E0
A3E1
A3E2
A3E3
A3E4
A3E5
A3E6
A3E7
A3E8
Error code
(hexadecimal)
Description
SEE ALSO
For details on the contents of the errors, refer to the users manual for the Modbus PLC being connected.
J10-43
Communication
Module
Create message
to be sent
Interpret response
message, store data
RTS
CTS
Modem
Data
Data
Modem
CTS
RTS
Modbus PLC
T2
T3
T4
T5
T6
T7
J101101E.EPS
T1:
T2:
T3:
T4:
T5:
T6:
T7:
Figure Time Chart of Communication between Communication Module and Modbus PLC
J10-44
start bit
data bit +
parity bit
stop bit
J101102E.EPS
Start bit:
Data bit:
Parity bit:
Stop bit:
Baud rate:
1 bit fixed
8 bits fixed (7 bits cannot be set)
None, even or odd
1 bit fixed
1200, 2400, 4800, 9600, 19200 (bps)
Read
Send
Write
Response
Coil
8 fixed
Input relay
8 fixed
Send
9+no. of coils/8 (*1)
Response
8 fixed
Holding register
8 fixed
8 fixed
Input register
8 fixed
J101103E.EPS
*1:
The maximum number of characters that the Modicon (Modicon 484, 584, 984) can read or
write with a single communication and the maximum number of characters it can process
during a single scan are indicated in the table below.
SEE ALSO
For the information on Modbus PLCs other than Modicon 484, 584 and 984, refer to the users manual for
the Modbus PLC being used.
484
584/984
484
584/984
Coil
125
125
32
64
Input relay
125
125
32
64
Holding register
254
125
16
32
Input register
32
125
16
32
J101104E.EPS
484
584/984
484
584/984
Coil
50
64
Holding register
100
32
J101105E.EPS
J10-45
119200 bps
11
50 ms
J101106E.EPS
TIP
When 1 to n communication is performed using multiple Modbus PLCs and if there is no response from
one PLC, recovery communication request sent to the PLC during each recovery communication time
interval designated in IOM property sheet (the default is 30 seconds). While, communication is not
performed during the no response time designated in IOM property sheet (default is 4 seconds). In other
words, if the recovery communication time interval and no response time values are set to the default
values, and if there is no response from one of the PLCs, communication to the normal Modbus PLCs
stops for 4 seconds in every 30 seconds.
Blank Page
J11-1
IMPORTANT
Even though they have the same model name, there are some PLC-5 link modules that do
not use the asynchronous link layer protocol.
IM 33S01B30-01E
J11-2
Maximum quantity
Explanation
500 words
(1 word=16 bits)
30 stations
J11-3
Description
RS-232C (D-sub 25 pin)
ACM11
RS-422
ACM12
Transmission method
Half duplex
Synchronization method
Start-stop synchronization
method
Transmission procedure
Transmission code
Binary
Data type
Time
monitoring
Remark
(*1)
Start bit
Data bit
Parity bit
None, [even]
(*1)
Stop bit
Transmission
enable monitoring 1000ms
time
Reception
character interval
monitoring time
10ms
Reception start
Text frame character
Last character
None
XON/XOFF control
None
RS control
None
(*1)
DR check
Yes
(*1)
(*1)
None
CD check
None
0 to 99 sec [4 sec]
Number of communication
retries upon error
(*1)
(*1)
Description
Remark
J110102E.EPS
IMPORTANT
When performing subsystem communication with the PLC-5, be sure to specify [8
bits] for the data bit length. A communication error will occur if [7 bits] is specified.
When performing subsystem communication with the PLC-5, do not specify 19200
bps for the baud rate.
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
J11-4
Control bus
FCS
CN1
RDY
RCV
SND
CN1
RS-232C
MODEM
MODEM
RS-232C
1770-KF2B
PLC-5
link module
PLC-5
J110201E.EPS
J11-5
IMPORTANT
The cable length between the ACM11 and modem as well as between the modem and the
PLC-5 must each be 15 meters or less.
The PLC-5 link module uses an RS-232C D-sub 25 pin connector. For this reason, a cable
with an RS-232C D-sub 25 pin connector is used when connecting a PLC-5 link module
and the ACM11.
Table RS-232C D-sub 25 Pin Connector Specifications PLC-5
Direction of signal
Pin number
Signal name
Title
FG
Frame ground
SD
Send data
RD
Receive data
RS
Request to Send
CS
Clear to Send
DR
Data Ready
SG
Signal ground
CD
Carrier Detected
20
ER
ACM11
Description
PLC-5
Safety grounding
SEE ALSO
For details on safety grounding, see the followings:
Figure Cable Connection between ACM11 and Modem
Figure Cable Connection between PLC-5 and ACM11 (when connected directly)
Pin No. 25
Pin No. 14
Pin No. 13
Pin No. 1
J110203E.EPS
J11-6
The following shows when the PLC-5 and ACM11 are connected via modems and when
they are connected directly without modem:
SD
RD
RS
CS
ACM11
20
20
DR
SG
CD
ER
FG
Sheathed cable
SD
RD
RS
CS
DR
Modem (*1)
SG
CD
ER
FG
Protective grounding
(100 ohms or less)
J110204E.EPS
SD
RD
RS
CS
ACM11 DR
CD
ER
SG
FG
20
20
Sheathed cable
SD
RD
RS
CS
DSR PLC-5
CD
DTR
SG
FG
Protective grounding
(100 ohms or less)
J110205E.EPS
Figure Cable Connection between PLC-5 and ACM11 (when connected directly)
SEE ALSO
For details on cable connections, see the following:
A4.3, Wiring of Communication Module in Input & Output Modules (IM 33Y06K01-01E)
The cable connection differs by the type of PLC-5. See the users manual for the PLC-5 being connected
regarding the cable connections for each type of PLC-5.
J11-7
With the ACM11, the RS-232C circuit and FG (frame ground) are electrically insulated. This
has the function of preventing intrusion of noise from the PLC-5 side and improving noise
resistance. Satisfy all conditions given below to make this function effective:
For the frame ground, perform protective grounding (100 ohms or less) at the opposing side of the connection (the modem or PLC-5 side).
Attach only one side of the shield of the sheathed cable to the FG of the opposing side
of the connection. Do not ground the cable shield on the ACM11 side. Also, do not use
a connector shell that is conductive.
Connect the FG and the SG (signal ground) of RS-232C circuit at the opposing side of
the connection.
J11-8
1770-KF2
Shield
TX
16
TX
RT (*1)
18
RX
14
RX
25
SG
FG
5
6
8
20
25 pin (female) connector
J110206E.EPS
*1:
RT value for the 1770-KF2 link modules terminating resistor is in the range of 90 to 150 ohms (1/2 W). This varies
according to the type and length of the cable and resistor connected.
IMPORTANT
The 1 to n connection is not supported in the communication between ACM12 and PLC-5.
With the ACM12, the FG (frame ground) and the SG (signal ground) for the RS-422 are
separated. Treat the shield for the RS-422 as follows:
Perform protective grounding (100 ohms or less) for the FG at the opposing side of the
connection (PLC-5 side).
Connect the shield for the cable between ACM12 and the PLC-5 link module, to the
FG of the PLC-5 link module.
SEE ALSO
For details on cable connections, see the following:
A4.3, Wiring of Communication Module in Input & Output Modules (IM 33Y06K01-01E)
When connecting the ACM12 and the PLC-5 link module, a terminating resistor is required
on each side.
J11-9
2-wire
ON
ON
4-wire
OFF
OFF
J110207E.EPS
J11-10
File type
number (*1)
O000:mmm
I001:mmm
Status file
S002:mmm
Bit file
B003:mmm
Timer file
T004:mmm
Counter file
C005:mmm
R006:mmm
Integer file
N007:mmm
Floating-point file
F008:mmm
File type
File name
Address (*2)
PLC-5 command
(CMD/FNC)
Read
Bit file
0F/01
Remark
Write
I/O area; action during access
Not
is not guaranteed. All accesses
possible
are performed using B.
0F/26
0F/01
0F/00
J110301E.EPS
*1:
*2:
J11-11
Address(*1)
Write
05
Unprotected read
mmmmmm01
01
Unprotected write
mmmmmm08
08
Remark
J110302E.EPS
*1:
mmmmmm is the data address. An octal number in the range of 000000 to 777777 can be set.
SEE ALSO
For details on file type numbers, element numbers and data addresses, refer to the users manual for the
PLC-5 to be connected.
J11-12
n
+
9
n
+
8
n
+
7
n
+
6
n
+
5
n
+
4
n
+
31
n
+
3
n
+
2
n
+
1
m=1
n
+
16
m=2
n+16 (m-1)
n+16 (m-1)+15
J110401E.EPS
J110402E.EPS
J11-13
In this section, setting items on System View for PLC-5, the specific functionality
and the recommended settings are explained.
SEE ALSO
For more information regarding to Set Details tab on Create New IOM dialog box and subsystem
common settings, see the following:
Setting Items for ACM11, ACM12 in J1.5.1, Overview of Setting Items on System View
For PLC-5, the setting items are as follows. This setting is done on the Set Details
tab of the New IOM dialog box called from the System View.
Connection Device
Baud Rate
Parity
Data Bits
Stop Bits
RS Control
DR Check
CD Check
Communication Error Process
Options
After creating the new I/O module, the settings can be modified on the I/O module
property sheet.
IMPORTANT
The default setting is [19200 bps] and PLC-5 can not use 19200bps, so that this setting
must be changed.
J11-14
Parity PLC-5
This sets the method for checking the parity of the subsystem data to be transmitted.
The recommended setting is [Even] parity.
An odd parity cannot be used for PLC-5.
The parity set on Set Details tab should match the parity setting on the PLC-5.
IMPORTANT
For PLC-5, a communication error will occur if [7 bits] is selected.
IMPORTANT
For PLC-5, [2 bits] cannot be selected as stop bit.
RS Control PLC-5
This sets whether or not RS control is performed during subsystem data transmission.
When using the PLC-5, disable RS control by leaving the [RS control] check box unchecked.
DR Check PLC-5
This sets whether or not DR check is performed during subsystem data transmission.
When using the PLC-5, enable the DR check by checking [DR check] check box.
CD Check PLC-5
This sets whether or not CD check is performed during subsystem data transmission.
When using the PLC-5, disable CD check by leaving the [CD check] check box unchecked.
J11-15
Options PLC-5
Settings of communication parameter options vary depending on the equipment connected. Set options by clicking the [Option] button in the Set Details tab of the New IOM
dialog box called from System View.
In the case of PLC-5, define the station number of the PLC-5 link module at the Option 1.
Octat numbers are used for settings. Define 0 at the Options 2 to 4.
J11-16
Element PLC-5
Element
With respect to the address of the subsystem data buffer area, the element numbers are
displayed on Communication I/O Builder. The element number cannot be set, only displayed.
J11-17
Buffer PLC-5
Buffer
Set the unit number, slot number and PLC5 as program name in the following format:
u-sProgramName
u:
Unit number
s:
Slot number
ProgramName: PLC5
Set the node number, unit number, slot number and PLC5 as Program Name in following
format:
n-u-sProgramName
n:
u:
s:
ProgramName:
Node number
Unit number
Slot number
PLC5
Size PLC-5
Size
This item sets the data size (data length) from the head address set in Device & Address.
Must set the Size since this is a required setting item on Communication I/O Builder.
For PLC-5, the setting ranges are limited as follows, the unit is in Word.
Bit File:
1 to 16
J11-18
Port PLC-5
Port
IP Address PLC-5
IP Address
Station PLC-5
Station
This sets the station number of the PLC-5 on the Data Highway or Data Highway Plus that
performs communication.
The station numbers are set using an octal value.
This sets the head address of PLC-5 data. This setting is done via the Communication I/O
Builder.
The addresses that can be set are shown below:
Output image file: O000:mmm
Input image file:
I001:mmm
Status file:
S002:mmm
Bit file:
B003:mmm
Timer file:
T004:mmm
Counter file:
C005:mmm
Control file:
R006:mmm
Integer file :
N007:mmm
J11-19
Reverse PLC-5
Reverse
This sets whether or not to make the bit or word arrangement in FCS in reverse order of the
subsystem data.
The following settings can be selected:
Bits
No
Words
However, when choosing [Bits], only the data of discrete inputs or discrete outputs can be
reversed. In this case, the default setting is [Bits].
Regarding to words, only the 32-bit analog inputs or the 32-bit analog outputs can be
reversed. In this case the default setting is [No].
J11-20
Scan PLC-5
Scan
Set whether to read the communication I/O analog data into the communication I/O data
buffer at the beginning of high-speed scan of the FCS.
Label PLC-5
Label
The name of the function block I/O terminal can be set as a user-defined label.
J11-21
NUL
01
00
09
ID
10
FILE NO
24
01
00
0F
00
ELM NO
FNC
DLE
26
10
3A
ETX BCC
03
OR MSK
00
02
DST:
STN:
CMD:
TNS:
FNC:
ID:
FILE NO:
ELM NO:
AND MSK:
OR MSK:
STS:
09
01
4F
DLE
10
ETX BCC
03
TIP
With AND MSK and OR MSK, the most and least significant byte are reversed.
J11-22
01
PCT OST
09
10
TTL TNS
NUL
00
01
00
ID
0F
00
FILE NO
24
FNC
DLE
01
10
ELM NO
3A
ETX BCC
03
NUL SIZ
00
01
TNS
DATA
DLE
4F
10
ETX BCC
03
Response (abnormal)
DLE
10
DST:
STN:
CMD:
TNS:
FNC:
ID:
FILE NO:
ELM NO:
PCT OST:
TTL TNS:
SIZ:
STS:
08
4F
DLE
10
ETX BCC
03
TIP
With 2-byte data, the most and least significant byte are reversed.
J11-23
01
09
PCT OST
TTL
10
TNS NUL
00
01
00
ID
0F
00
FILE NO
24
FNC
DLE
00
10
FILE NO
3A
ETX BCC
03
NUL DATA
00
Response
DLE
10
02
DST:
STN:
CMD:
TNS:
PCT OST:
TTL TNS :
STS:
09
08
4F
DLE
10
ETX BCC
03
TIP
With 2-byte data, the most and least significant byte are reversed.
J11-24
FCS name
Unit number
Slot number
Subsystem station number
Error code
When a communication error occurs in the subsystem, the system alarm message is
transmitted only once at the time the error occurs. After that, a new system alarm message
will not be sent even if an error is generated by a different cause.
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when a Communication Error Occurs PLC-5
FCS name
Node number
Unit number
Slot number
Subsystem station number
Error code
When a communication error occurs in the subsystem, the system alarm message is
transmitted only once at the time the error occurs. The new system alarm message will not
be transmitted even if errors are generated by different causes.
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when a Communication Error Occurs PLC-5
J11-25
FCS name
Unit number
Slot number
Subsystem station number
FCS name
Node number
Unit number
Slot number
Subsystem station number
J11-26
Description
A391
A392
A393
A394
A395
A397
A398
A399
A39A
A39B
A39C
A39D
A39F
Other error
A3B0
A3B1
A3B2
A3B3
A3B4
A3B5
A3B6
A3B7
A3B8
Size error
J110801E.EPS
J11-27
Description
A3C1
A3C2
A3C3
A3C4
A3C5
A3C6
A3C7
A3C8
A3C9
A3CB
A3CF
A3D0
A3D1
BCC error
A3D2
A3D3
A3D4
A3D5
A3E0
No response
A3E1
A3E2
SEE ALSO
For details on the contents of the errors, refer to the users manual for the PLC-5 being used.
J11-28
Create transmission
message
ENQ
ENQ
*2
PLC-5
link module
EOT
ACK
T1
T2
T3
T4
T5
T6
T7
*1
T8
T6
J110901E.EPS
*1 :
*2 :
T1:
T2:
T3:
T4:
T5:
T6:
T7:
T8:
T9:
T10:
T11:
T12:
J11-29
Transmission time (ms) = No. of characters to be sent no. of bits per character 1000
Baud rate (bps)
No. of bits
per character
start bit
data bit
parity bit
stop bit
J110902E.EPS
Start bit:
Data bit:
Parity bit:
Sop bit:
Baud rate:
1 bit fixed
8 bits fixed (7 bits not possible)
None, even
1 bit fixed
1200, 2400, 4800, 9600 (bps)
J11-30
9600 bps
11
31 bytes
2 bytes
ACM ENQ:
4 bytes
64 data
Analog data N009:001 to 065
11+2 64=139 bytes
ACM ACK:
2bytes
J12-1
IM 33S01B30-01E
J12-2
Maximum quantity
Explanation
500 words
(1 word=16 bits)
30 stations
J12-3
Item
Remark
RS-232C
ACM11
RS-422
ACM12
Transmission method
Half duplex
1 to 1 procedure fixed
Synchronization method
Start-stop synchronization
Transmission code
ASCII
Interface
Data type
Control line
Time monitoring
Text frame
(*1)
Start bit
Data bit
Parity bit
[Even], odd
(*1)
Stop bit
RS
Always ON
DR
Transmit when ON
CD
Always ON
ER
Always ON
CS
Transmit when ON
Transmission enable
monitoring time
1000ms
1500ms
Character interval
timeout processing
Regarded as an error
None
EOT character
$0D(CR)
XON/XOFF control
None
0 to 99 sec [4 sec]
(*1)
(*1)
(*1)
Word device 29
Bit device 7
Item
Remark
Description
J120102E.EPS
IMPORTANT
When performing subsystem communication with the SYSMAC, be sure to specify [7 bits]
for the data bit length. A communication error will occur if [8 bits] is specified.
J12-4
Control bus
FCS
CN1
RDY
RCV
SND
CN1
RS-232C
MODEM
MODEM
RS-232C
SYSMAC
J120201E.EPS
J12-5
IMPORTANT
The cable length between the ACM11 and modem as well as between the modem and
SYSMAC must be 15 meters or less.
Direction of signal
Pin number
Signal name
FG
Safety grounding
SD
Send data
RD
Receive data
RS
Request to Send
CS
Clear to Send
DR
Data Ready
SG
Signal ground
CD
Carrier Detect
20
ER
ACM11
SYSMAC
Description
Pin No. 25
Pin No. 14
Pin No. 13
Pin No. 1
J120203E.EPS
J12-6
The following shows when the SYSMAC and ACM11 are connected directly without modem:
SD
RD
RS
CS
ACM11
DR
CD
ER
SG
FG
20
20
Sheathed cable
SD
RD
RS
CS
DR
SYSMAC
CD
ER
SG
FG
Figure Cable Connection between SYSMAC and ACM11 (when connected directly)
With the ACM11, the RS-232C circuit and FG (frame ground) are electrically insulated. This
has the function of preventing intrusion of noise from the SYSMAC side and improving
noise resistance. Satisfy all conditions given below to make this function effective:
For the frame ground, perform protective grounding (100 ohms or less) at the opposing side of the connection (the modem or SYSMAC side).
Attach only one side of the shield of the sheathed cable to the FG of the opposing side
of the connection. Do not ground the cable shield on the ACM11 side. Also, do not use
a connector shell that is conductive.
Connect the FG and the SG (signal ground) of RS-232C circuit at the opposing side of
the connection. When the FG and SG are not connected at the opposing side of the
connection, use an RS-232C cable manufactured by Yokogawa Electric: AKB141
(RS-232C modem cable) or AKB142 (RS-232C null-modem cable). Both AKB141 and
AKB142 have SG and FG connected inside the connector shell. The cable shield can
also be connected to the FG at the opposing side of the connection.
However, the cable AKB142 (RS-232C null-modem cable) is different from the cable
shown in the figure of Cable Connection between SYSMAC and ACM11 (when
connected directly).
If the AKB142 cable is used, you need to check if the ER signal on SYSMAC side (pin
20) is ON for reception.
If the ER signal is always OFF, you need to use the cable shown in the figure of Cable
Connection between SYSMAC and ACM11 (when connected directly).
SEE ALSO
For details on cable connections, see the following:
A4.3, Wiring of Communication Module in Input & Output Modules (IM 33Y06K01-01E)
IM 33S01B30-01E
J12-7
SYSMAC
ACM12
SYSMAC
TX +
SDA
TX +
SDA
TX -
SDB
TX -
SDB
RX +
RDA
RX +
RDA
RX -
RDB
RX -
RDB
SG
SG
SG
SG
FG
FG
FG
FG
(4-wire connection)
(2-wire connection)
J120205E.EPS
SYSMAC
SYSMAC
SYSMAC
SDA
SDA
SDA
SDB
SDB
SDB
RDA
RDA
RDA
RDB
RDB
RDB
SG
SG
SG
FG
FG
FG
J120206E.EPS
IMPORTANT
The 1 to n 2-wire connection is not supported in the communication between ACM12 and
SYSMAC.
With the ACM12, the FG (frame ground) and the SG (signal ground) for the RS-422 are
separated. Treat the shield for the RS-422 as follows:
Perform protective grounding (100 ohms or less) for the FG at the opposing side of the
connection (SYSMAC side).
Connect the shield for the cable between ACM12 and SYSMAC to the FG of the
SYSMAC side. Do not connect it to the FG of the ACM12 side.
SEE ALSO
For details on cable connections, see the following:
A4.3, Wiring of Communication Module in Input & Output Modules (IM 33Y06K01-01E)
When connecting the ACM12 and SYSMAC, it is necessary to attach a terminating register
on each side.
J12-8
2-wire
ON
ON
4-wire
OFF
OFF
J120207E.EPS
J12-9
Device name
Status
Bit device
Error
Timer/counter up data
IR area read/write
HR area read/write
AR area read/write
Word device
LR area read/write
DM area read/write
PV area read/write
Address (*1)
Header code
Size setting
range
Read
Write
YSTR
MS
YSTW
SC
YERR
MF
AGnnnn
RG
WG
1 to 7
XGnnnn
WG
1 to 7
ARnnnn
RR
WR
1 to 29
XRnnnn
WR
1 to 29
AHnnnn
RH
WH
1 to 29
XHnnnn
WH
1 to 29
AJnnnn
RJ
WJ
1 to 29
XJnnnn
WJ
1 to 29
ALnnnn
RL
WL
1 to 29
XLnnnn
WL
1 to 29
ADnnnn
RD
WD
1 to 29
XDnnnn
WD
1 to 29
ACnnnn
RC
WC
1 to 29
XCnnnn
WC
1 to 29
J120301E.EPS
*1:
The nnnn portion of an address can be set using a value between 0000 and 9999. However, the range in which the
setting can actually be made varies depending on the type of the SYSMAC being connected.
If the head address is A, read is done in word units and write in word units with readback.
If the head address is X, read is done in word units and write in word units without readback.
SEE ALSO
For details on address, see the SYSMAC C-Series Upper Link Unit (SBCC-398F).
J12-10
n
+
9
n
+
8
n
+
7
n
+
6
n
+
5
n
+
4
n
+
3
n
+
31
n
+
2
n
+
1
m=1
n
+
16
m=2
n+16 (m-1)+15
n+16 (m-1)
J120401E.EPS
J12-11
In this section, setting items on System View for SYSMAC, the specific functionality
and the recommended settings are explained.
SEE ALSO
For more information regarding to Set Details tab on Create New IOM dialog box and subsystem
common settings, see the following:
Setting Items for ACM11, ACM12 in J1.5.1, Overview of Setting Items on System View
For SYSMAC, the setting items are as follows. These settings are performed on the
Set Details tab of the New IOM dialog box called from System View.
Connection Device
Baud Rate
Parity
Data Bits
Stop Bits
RS Control
DR Check
CD Check
Communication Error Process
Options
After creating the new I/O module, the settings can be modified on the I/O module
property sheet.
Parity SYSMAC
This sets the method for checking the parity of the subsystem data to be transmitted.
The recommended setting for the parity is [Even].
When using SYSMAC, [No] parity cannot be used as parity setting.
J12-12
IMPORTANT
For the SYSMAC, a communication error will occur if [8 bits] is selected.
IMPORTANT
For the SYSMAC, a communication error will occur if [1 bit] is selected.
RS Control SYSMAC
This sets whether or not RS control is performed during subsystem data transmission.
When using the SYSMAC, disable RS control by leaving the [RS control] check box unchecked.
DR Check SYSMAC
This sets whether or not DR check is performed during subsystem data transmission.
When using the SYSMAC, enable the DR check by checking the [DR check] check box.
CD Check SYSMAC
This sets whether or not CD check is performed during subsystem data transmission.
When using the SYSMAC, disable the CD check by leaving the [CD check] check box
unchecked.
J12-13
Options SYSMAC
Settings of communication parameter options vary depending on the equipment connected. Set options by clicking the [Option] button in the Set Details tab of the New IOM
dialog box called from the System View.
In the case of SYSMAC, when 0 is defined at the Option 1, one-to-one connection is
established; when 1 is defined, one-to-n connection is established. One-to-n connection
is supported on the ACM12 (RS-422) only.
For the Options 2 to 4, define 0.
J12-14
Element SYSMAC
Element
With respect to the address of the subsystem data buffer, the element numbers are displayed on Communication I/O Builder. The element number is not for set, only for display.
Buffer SYSMAC
Buffer
Set the unit number, slot number and SYSMAC as program name in the following format.
u-sProgramName
u:
s:
ProgramName:
Unit number
Slot number
SYSMAC
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
J12-15
Set the node number, unit number, slot number and SYSMAC as Program Name in the
following format.
n-u-sProgramName
n:
u:
s:
ProgramName:
Node number
Unit number
Slot number
SYSMAC
Size SYSMAC
Size
This item sets the data size (data length) from the head address set in Device & Address.
Must set the Size since this is a required setting item on Communication I/O Builder.
For SYSMAC, the setting ranges are limited as follows, the unit is in Word.
Status:
Error:
Timer/counter up data:
1 to 7
IR area read/write:
1 to 29
HR area read/write:
1 to 29
AR area read/write:
1 to 29
LR area read/write:
1 to 29
DM area read/write:
1 to 29
PV area read/write:
1 to 29
SEE ALSO
For more information about Size setting item, see the following:
J1.5.2, Overview of Settings on Communication I/O Builder
Port SYSMAC
Port
IP Address SYSMAC
IP Address
J12-16
Station SYSMAC
Station
YSTR, YSTW
Error:
YERR
Timer/counter up data:
AGnnnn, XGnnnn
IR area read/write:
ARnnnn, XRnnnn
HR area read/write:
AHnnnn, XHnnnn
AR area read/write:
AJnnnn, XJnnnn
LR area read/write:
ALnnnn, XLnnnn
DM area read/write:
ADnnnn, XDnnnn
PV area read/write:
ACnnnn, XCnnnn
The nnnn can be set using a value between 0000 and 9999. However, the range in which
the setting can actually be made varies depending on the type of the SYSMAC being
connected.
SEE ALSO
For more information about address setting, see the SYSMAC C Series Upper Link Unit (SBCC-398F) of
Omron Co.
J12-17
Reverse SYSMAC
Reverse
This sets whether or not to make the bit or word arrangement in FCS in reverse order of the
subsystem data.
The following settings can be selected:
Bits
No
Words
However, when choosing [Bits], only the data of discrete inputs or discrete outputs can be
reversed. In this case, the default setting is [Bits].
Regarding to words, only the 32-bit analog inputs or the 32-bit analog outputs can be
reversed. In this case the default setting is [No].
Scan SYSMAC
Scan
Set whether to read the communication I/O analog data into the communication I/O data
buffer at the beginning of high-speed scan of the FCS.
J12-18
Label SYSMAC
Label
The name of the function block I/O terminal can be set as a user-defined label.
J12-19
Unit
number
Data
122 characters
Header
Unit number :
Data:
FCS:
FCS
CR
"00" to "31"
Varies by the header
Check sum (Frame Check Sum)
J120701E.EPS
Data
124 characters
Data:
FCS:
CR
Unit
number
MS
FCS
MS
Response
Code
CR
Receive text
@
Unit
number
Unit number:
MS:
Status data:
Fixed message:
Response Code:
FCS:
Status data
Fixed message
FCS
CR
"00" to "31"
Header code for status read
"0000" to "FFFF"
16 characters fixed
End code of receive text (error code)
Check sum (Frame Check Sum)
J120703E.EPS
J12-20
Unit
number
SC
Mode data
FCS
CR
SC
Response
Code
FCS
CR
Receive text
@
Unit
number
Unit number:
SC:
Mode data:
"00" to "31"
Header code for status write
"00" is program mode
"01" is debug mode
"02" is monitor mode
"03" is operation mode
End code of receive text (error code)
Check sum (Frame Check Sum)
Response Code:
FCS:
J120704E.EPS
Unit
number
MF
Error clear
MF
Response
Code
FCS
CR
Receive text
@
Unit
number
Unit number:
MF:
Error clear:
Error data 1:
Error data 2:
Response Code:
FCS:
Error data 1
Error data 2
FCS
CR
"00" to "31"
Header code for failure information read
"00" means that "do not cancel the error."
"01" means that "cancel the error."
"0000" to "FFFF"
"0000" to "FFFF"
End code of receive text (error code)
Check sum (Frame Check Sum)
J120705E.EPS
J12-21
Unit
number
(*1)
(*1)
Response
Code
FCS
CR
CR
Receive text
@
Unit
number
Read data 1
Read data 2
Read data n
Unit number:
*1:
Head address number:
Number of read data:
Response Code:
Read data:
FCS:
FCS
"00" to "31"
Header code for area data read
Either RR, RH, RJ, RL or RD
"0000" to "9999"
"0001" to "0029"
End code of receive text (error code)
"0001" to "FFFF"
Check sum (Frame Check Sum)
J120706E.EPS
Send text
@
Unit
number
Receive text
Unit
@
number
(*1)
(*1)
Response
Code
Unit number:
*1:
Head address number:
Response Code:
FCS:
FCS
Write data 1
FCS
CR
CR
"00" to "31"
Header code for area data write
Either WR, WH, WJ, WL or WD
"0000" to "9999"
End code of receive text (error code)
Check sum (Frame Check Sum)
J120707E.EPS
J12-22
RG
Receive text
Unit
@
number
RG
ON/
OFF
FCS
FCS
CR
CR
Timer data 1
Timer data 2
Timer data n
Unit number:
RG:
Head timer number:
Number of read timers:
Timer data:
Response Code:
FCS:
"00" to "31"
Header code when reading the timer/counter-up data
"0000" to "9999"
"0001" to "0112"
"0" is OFF
"1" is ON
End code of receive text (error code)
Check sum (Frame Check Sum)
J120708E.EPS
Send text
@
Unit
number
WG
Unit
number
Unit number:
WG:
Head timer number:
Timer data 1:
Response Code:
FCS:
ON/
OFF
FCS
CR
Timer data 1
Receive text
@
WG
Response
Code
FCS
CR
"00" to "31"
Header code for timer/counter-up data write
"0000" to "9999"
"0" is OFF
"1" is ON
End code of receive text (error code)
Check sum (Frame Check Sum)
J120709E.EPS
J12-23
Unit
number
RC
FCS
CR
CR
Receive text
@
Unit
number
RC
Response
Code
Read timer 1
Read timer 2
Read timer n
Unit number:
RC:
Head timer number:
Number of read timers:
Read timer:
Response Code:
Read data:
FCS:
FCS
"00" to "31"
Header code for timer/counter present value area read
"0000" to "9999"
"0001" to "0029"
"0001" to "9999"
End code of receive text (error code)
"0001" to "FFFF"
Check sum (Frame Check Sum)
J120710E.EPS
Figure Communication Text for Timer/Counter Present Value Area Read SYSMAC
Send text
Unit
number
WC
Receive text
Unit
@
number
WC
Unit number:
WC:
Head address number:
Write data:
Response Code:
FCS:
Head address
number
Response
Code
FCS
Write data 1
FCS
CR
CR
"00" to "31"
Header code for timer/counter present value area write
"0000" to "9999"
End code of receive text (error code)
Check sum (Frame Check Sum)
J120711E.EPS
Figure Communication Text for Timer/Counter Present Value Area Write SYSMAC
J12-24
Unit
number
TS
Test data
FCS
CR
TS
Test data
FCS
CR
Receive text
@
Unit
number
Unit number:
TS:
Test data:
FCS:
"00" to "31"
Header code for test communication
Arbitrary characters except for CR (up to 122 characters)
Check sum (Frame Check Sum)
J120712E.EPS
J12-25
FCS name
Unit number
Slot number
Subsystem station number
Error code
When a communication error occurs in the subsystem, the system alarm message is
transmitted only once at the time the error occurs. After that, a new system alarm message
will not be sent even if an error is generated by a different cause.
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when a Communication Error Occurs SYSMAC
FCS name
Node number
Unit number
Slot number
Subsystem station number
Error code
When a communication error occurs in the subsystem, the system alarm message is
transmitted only once at the time the error occurs. The new system alarm message will not
be transmitted even if errors are generated by different causes.
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when a Communication Error Occurs SYSMAC
J12-26
FCS name
Unit number
Slot number
Subsystem station number
FCS name
Node number
Unit number
Slot number
Subsystem station number
Definition Error
The following errors will occur if the content set via the Communication I/O Builder is
inappropriate. Check the setting made via the Communication I/O Builder when the following errors occur.
Table Definition Errors SYSMAC
Error code
(hexadecimal)
Description
A3B1
A3B2
A3B3
A3B4
Inappropriate size
J120801E.EPS
J12-27
Description
A3C0
Retry
A3C1
FCS error
Retry (*1)
A3C2
A3C3
A3C4
A3C5
A3C6
A3C7
Terminator error
Retry
J120802E.EPS
*1:
If there is still an error during retry, recovery communication is performed using the recovery communication time
intervals set in the New IOM dialog box called from the System View.
SEE ALSO
For details on unit number and header code, refer to Omron SBCC-398F SYSMAC C Series Upper Link
Unit.
J12-28
Description
A3D1
A3D2
A3D3
A3D4
A3DB
A3DC
A3DD
A3E0
A3E1
A3E2
A3E3
A3E4
A3E5
A3E6
A3E8
A3E9
A3F0
A3F1
A3F2
A3F3
A3F4
A3F5
A3F6
A3F7
A3F8
A3F9
A3FA
A3FE
A3FF
Error code
(hexadecimal)
Description
Retry
J12-29
Description
A391
A392
A393
A394
A395
A397
A398
A399
A39A
A39B
A39C
A39D
A39F
Other error
Error code
(hexadecimal)
Retry
Description
Description
No response
J12-30
Create message
to be sent
Communication
module
Interpret response
message, store data
SYSMAC
SYSMAC
processing time
T1
T2
T3
T4
T5
J120901E.EPS
T1:
T2:
T3:
T4:
T5:
start bit
data bit +
parity bit
stop bit
J120902E.EPS
Start bit:
Data bit:
Parity bit:
Stop bit:
Baud Rate:
1 bit fixed
7 bits fixed (8 bits not possible)
Even, odd
2 bits fixed
1200, 2400, 4800, 9600, 19200 (bps)
J12-31
19200 bps
Command response:
1 to n
11
100 ms
Blank Page
J13-1
IMPORTANT
For communication with the ACM12, it is necessary to wait for 1 ms or more after the end of
transmission from the ACM12 until a response is sent from the communication processor.
IM 33S01B30-01E
J13-2
Maximum quantity
Explanation
500 words
(1 word=16 bits)
30 stations
J13-3
Description
RS-232C
ACM11
RS-422
ACM12
Transmission method
Half duplex
Synchronization method
Start-stop synchronization
method
Transmission procedure
3964R
Transmission code
Binary
Data type
Control line
Time monitoring
Text frame
Remark
(*1)
Start bit
Data bit
Parity bit
(*1)
Stop bit
RS
Always ON
DR
Transmit when ON
CD
Always ON
ER
Always ON
CS
Transmit when ON
Transmission enable
monitoring time
1000ms
Reception character
interval monitoring time
10ms
Character interval
timeout processing
None
Description
Remark
J130102E.EPS
J13-4
Description
Remark
XON/XOFF control
None
Timer 1
1 to 99 sec [2 sec]
(*1)
Timer 2
1 to 99 sec [2 sec]
(*1)
Timer 3
1 to 99 sec [2 sec]
(*1)
Timer 4
1 to 99 sec [2 sec]
(*1)
Timer 5
(*1)
Timer 6
1 to 99 sec [2 sec]
(*1)
Timer 7
1 to 99 sec [2 sec]
(*1)
0 to 99 times [5 times]
(*1)
0 to 99 seconds [4 seconds]
0 to 99 times [1 time]
(*1)
64 words (AI/AO)
8 words (DI/DO)
J130103E.EPS
IMPORTANT
When performing subsystem communication with the SIMATIC S5, be sure to specify [8
bits] for the data bit length on the System View. A communication error will occur if [7 bits] is
specified.
Communication
processor
D
L
E
D
L
E
D
L
E
S
T
X
Timer 4
Transmission
text
Timer 3
S
T
X
Timer 2
Communication
module
Timer 1
Timer 4:
Monitor the reception timeout between the DLE transmission and the response text
reception.
D
L
E
Transmission
text
S
T
X
D
L
E
J130104E.EPS
J13-5
Timer 5:
If STX is received between the STX transmission and the DLE reception, wait for the
time of Timer 5, and start communication over from the beginning. If there is an error
in the response text, wait for the time of Timer 5, and then start communication over
from the beginning.
Timer 5
Communication
module
Communication
processor
S
T
X
S
T
X
S
T
X
Timer 5
Communication
module
Communication
processor
S
T
X
D
L
E
Transmission
text
D
L
E
D
L
E
S
T
X
D
L
E
S
T
X
Error
response
J130105E.EPS
Timer 6:
If NAK is received between the STX transmission and the DLE reception, wait for the
time of Timer 6 and start communication over from the beginning.
Timer 6
Communication
module
Communication
processor
S
T
X
S
T
X
N
A
K
J130106E.EPS
Timer 7:
If NAK is received between the command transmission and the DLE reception, wait
for the time of Timer 7 and start communication over from the beginning.
Timer 7
Communication
module
Communication
processor
S
T
X
S
T
X
Transmission
text
D
L
E
N
A
K
J130107E.EPS
J13-6
Control bus
FCS
CN1
RDY
RCV
SND
CN1
RS-232C
MODEM
MODEM
RS-232C
CP524/CP525
SIMATIC S5
J130201E.EPS
J13-7
IMPORTANT
The length of the RS-232C cable between the ACM11 and modem as well as the length
between the modem and communication processor must be 15 meters or less, respectively.
The communication processor uses an RS-232C D-sub 25 pin connector. Thus, a cable
with an RS-232C D-sub 25 pin connector is used when connecting the ACM11 and the
communication processor.
Table RS-232C D-sub 25 Pin Connector Specifications SIMATIC S5
Title
Direction of signal
Pin number
Signal name
FG
Frame ground
SD
Send data
RD
Receive data
RS
Request to Send
CS
Clear to Send
DR
Data Ready
SG
Signal ground
CD
Carrier Detected
20
ER
ACM11
Description
SIMATIC
Security ground
SEE ALSO
For details on safety grounding, see the following:
Figure Cable Connection between Communication Processor and ACM11 (when Connected directly)
J13-8
Pin No.13
Pin No.25
Pin No.14
Pin No.1
J130203E.EPS
The following shows the cable connection when the communication processor and ACM11
are connected directly:
SD
RD
RS
CS
ACM11 DR
CD
ER
SG
FG
20
20
SD
RD
RS
CS
CD
DR
Communication
processor
ER
SG
FG
Protective grounding
(100 ohms or less)
J130204E.EPS
Figure Cable Connection between Communication Processor and ACM11 (when Connected
directly)
With the ACM11, the RS-232C circuit and FG (frame ground) are electrically insulated. This
has the function of preventing intrusion of noise from the SIMATIC S5 side and improving
noise resistance. Satisfy all conditions given below to make this function effective:
For the frame ground, perform protective grounding (100 ohms or less) at the opposing side of the connection (the modem or the communication processor side).
Attach only one side of the shield of the sheathed cable to the FG of the opposing side
of the connection. Do not ground the cable shield on the ACM11 side. Also, do not use
a connector shell that is conductive.
Connect the FG and the SG (signal ground) of RS-232C circuit at the opposing side of
the connection. When the FG and SG are not connected at the opposing side of the
connection, use an RS-232C cable manufactured by Yokogawa Electric: AKB141
(RS-232C modem cable) or AKB142 (RS-232C null-modem cable). Both AKB141 and
AKB142 have SG and FG connected inside the connector shell. The cable shield can
also be connected to the FG at the opposing side of the connection.
SEE ALSO
For details on cable connections, see the following:
A4.3, Wiring of Communication Module in Input & Output Modules (IM 33Y06K01-01E)
J13-9
Communication
processor
ACM12
Communication
processor
TX +
SDA
TX +
SDA
TX -
SDB
TX -
SDB
RX +
RDA
RX +
RDA
RX -
RDB
RX -
RDB
SG
SG
SG
SG
FG
FG
FG
FG
(4-wire connection)
(2-wire connection)
J130205E.EPS
IMPORTANT
The 1 to n connection is not supported in subsystem communication between the ACM12
and communication processor.
With the ACM12, the FG (frame ground) and the SG (signal ground) for the RS-422 are
separated. Treat the shield for the RS-422 as follows:
Perform protective grounding (100 ohms or less) for the FG at the opposing side of the
connection (communication processor side).
Connect the shield for the cable between ACM12 and communication processor to the
FG of the communication processor side. Do not connect it to the FG of the ACM12
side.
SEE ALSO
For details on cable connections, see the following:
A4.3, Wiring of Communication Module in Input & Output Modules (IM 33Y06K01-01E)
J13-10
2-wire
ON
ON
4-wire
OFF
OFF
J130206E.EPS
J13-11
Word device
Other
Address (*1)
Read
Discrete input
DRnnnmmm
Discrete output
DWnnnmmm
Analog input
ARnnnmmm
Analog output
AWnnnmmm
Timer
TRnnnmmm
Status
STS
Write
1 to 8
1 to 64
1 to 64
1 to 64
2
J130301E.EPS
:
Can be accessed
Blank: Cannot be accessed
Note: The SIMATIC S5 command type is D (Data Block).
*1:
nnn is the data block number. A 3-digit number within the range of 003 to 255 can be set.
mmm is the data word number. A 3-digit number within the range of 000 to 255 can be set.
The nnnmmm portion varies depending on the type of SIMATIC S5 being used.
SEE ALSO
For details on the address, refer to the users manual for the SIMATIC S5 being used.
J13-12
16 bits
n n n n n n
+ + + + + +
15 14 13 12 11 10
n
+
9
n
+
8
n
+
7
n
+
6
n
+
5
n
+
4
n
+
31
n
+
3
n
+
2
n
+
1
m=1
n
+
16
m=2
n+16 (m-1)+15
n+16 (m-1)
J130401E.EPS
Conversion processing between the SIMATIC S5 data format and the communication
module data format is not performed for bit devices such as discrete input and discrete
output.
J13-13
Conversion processing between the SIMATIC S5 data format and the communication
module data format is not performed for word devices such as analog input and analog
output.
As for word devices such as timers, the communication module data format is converted
into binary data according to the scaling factor represented by the 12th and 13th bits of the
SIMATIC S5 data format.
15
12
BCD
Scaling factor
0: 0.01 s
1: 0.1 s
2: 1 s
3: 10 s
SIMATIC S5 data format
15
J13-14
Status SIMATIC S5
The status of SIMATIC S5 is stored in the FCS as indicated below:
MSB
LSB
First word
No response
BCC error
NAK reception
Transmission character error
Header error
Text length error
MSB
LSB
Second word PLC-system failure code
-> ERRNO value (1 byte)
J130404E.EPS
When an error occurs, 1 is stored in each bit that corresponds to the error.
J13-15
In this section, setting items on System View for SIMATIC S5, the specific functionality and the recommended settings are explained.
SEE ALSO
For more information regarding to Set Details tab on Create New IOM dialog box and subsystem
common settings, see the following:
Setting Items for ACM11, ACM12 in J1.5.1, Overview of Setting Items on System View
For SIMATIC S5, the setting items are as follows. This setting is done on the Set
Details tab of the New IOM dialog box called from System View.
Connection Device
Baud Rate
Parity
Data Bits
Stop Bits
RS Control
DR Check
CD Check
Communication Error Process
Options
After creating the new I/O module, the settings can be modified on the I/O module
property sheet.
J13-16
Parity SIMATIC S5
This sets the method for checking the parity of the subsystem data to be transmitted.
The recommended setting for the parity is [Even].
IMPORTANT
For the SIMATIC S5, a communication error will occur if [7 bits] is selected.
IMPORTANT
For the SIMATIC S5, [2 bits] cannot be used for the stop bit.
RS Control SIMATIC S5
This sets whether or not RS control is performed during subsystem data transmission.
When using the SIMATIC S5, disable RS control by leaving the [RS control] check box unchecked.
DR Check SIMATIC S5
This sets whether or not DR check is performed during subsystem data transmission.
When using the SIMATIC S5, enable the DR check by checking [DR check] check box.
J13-17
CD Check SIMATIC S5
This sets whether or not CD check is performed during subsystem data transmission.
When using the SIMATIC S5, disable the CD check by leaving the [CD check] check box
unchecked.
J13-18
Options SIMATIC S5
Settings of communication parameter options vary depending on the equipment connected. Set options by clicking the [Option] button 1 to 4 in the Set Details tab of the New
IOM dialog box called from the System View.
For the SIMATIC S5, set the time for each timer and the availability of readback using
options 1 through option 3. Set 0 for option 4 in normal conditions.
Option 1
Set the time for timers 1, 2 and 4.
aabbcc
aa:
bb:
cc:
Timer 1
Timer 2
Timer 4
For example, if 010203 is set in option 1, 1 second is set for timer 1, 2 seconds for timer 2
and 3 seconds for timer 4.
Option 2
Set the time for timers 5, 6 and 7.
ddeeff
dd:
ee:
ff:
Timer 5
Timer 6
Timer 7
For example, if 100203 is set in option 2, 10 seconds is set for timer 5, 2 seconds for timer
6 and 3 seconds for timer 7.
Option 3
Set whether to use readback or not. Set 0 when no readback is used and 1 when using
readback.
J13.6
J13-19
Element SIMATIC S5
Element
With respect to the address of the subsystem data buffer, the element numbers are displayed on Communication I/O Builder. The element number is not set, only displayed.
Buffer SIMATIC S5
Buffer
Set the unit number, slot number and S3964R as program name in the following format:
u-sProgramName
u:
s:
ProgramName:
Unit number
Slot number
S3964R
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
J13-20
Set the node number, unit number, slot number and S3964R as Program Name in the
following format:
n-u-sProgramName
n:
u:
s:
ProgramName:
Node number
Unit number
Slot number
S3964R
Size SIMATIC S5
Size
This item sets the data size (data length) from the head address set in Device & Address.
Must set the Size since this is a required setting item on Communication I/O Builder.
For SIMATIC S5, the setting ranges are limited as follows, the unit is in Word.
Discrete input:
1 to 8
Discrete output:
1 to 8
Analog input:
1 to 64
Analog output:
1 to 64
Timer:
1 to 64
Status:
Always set 2
SEE ALSO
For more information about Size setting item, see the following:
J1.5.2, Overview of Settings on Communication I/O Builder
Port SIMATIC S5
Port
IP Address SIMATIC S5
IP Address
Station SIMATIC S5
Station
J13-21
DRnnnmmm
Discrete output:
DWnnnmmm
Analog input:
ARnnnmmm
Analog output:
AWnnnmmm
Timer:
TRnnnmmm
Status:
STS
The nnnmmm portion varies depending on the SIMATIC S5 type being connected.
nnn is the data word number, and set using a three digit value between 003 and 225.
mmm is the data block number, and set using a three digit value between 000 and 225.
SEE ALSO
For more information about address setting, see the users manual of SIMATIC S5.
J13-22
Reverse SIMATIC S5
Reverse
This sets whether or not to make the bit or word arrangement in FCS in reverse order of the
subsystem data. This setting can be set on Communication I/O builders.
The following settings can be selected:
Bits
No
Words
However, when choosing [Bits], only the data of discrete inputs or discrete outputs can be
reversed. In this case, the default setting is [Bits].
Regarding to words, only the 32-bit analog inputs or the 32-bit analog outputs can be
reversed. In this case the default setting is [No].
Scan SIMATIC S5
Scan
Set whether to read the communication I/O analog data into the communication I/O data
buffer at the beginning of high-speed scan of the FCS.
Label SIMATIC S5
Label
The name of the function block I/O terminal can be set as a user-defined label.
J13-23
$00 $00
A
or
E
XX
XX
XX
Data area
XX $FF $FF
command TYP:
dest./source adrs DB no:
dest./source adrs DW no:
number:
Data area:
E
T
X
B
C
C
$10 $03 XX
Header area
command CMD:
D
L
E
Data area
D
L
E
E
T
X
B
C
C
$10 $03 XX
XX
Data area
J13-24
FCS name
Unit number
Slot number
Subsystem station number
Error code
When a communication error occurs in the subsystem, the system alarm message is
transmitted only once at the time the error occurs. After that, a new system alarm message
will not be sent even if an error is generated by a different cause.
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when a Communication Error Occurs SIMATIC S5
FCS name
Node number
Unit number
Slot number
Subsystem station number
Error code
When a communication error occurs in the subsystem, the system alarm message is
transmitted only once at the time the error occurs. The new system alarm message will not
be transmitted even if errors are generated by different causes.
SEE ALSO
For the error codes, see the following in this chapter:
Error Codes when a Communication Error Occurs SIMATIC S5
J13-25
FCS name
Unit number
Slot number
Subsystem station number
FCS name
Node number
Unit number
Slot number
Subsystem station number
J13-26
Description
A3B1
A3B2
A3B3
A3B4
A3B5
A3B6
A3B7
A3B8
Inappropriate type
A3B9
A3BA
A3BB
A3B
A3BC
A3BD
A3BE
A3BF
Processing after
error occurrence
Communication is not
performed.
J130801E.EPS
J13-27
Processing after
error occurrence
Description
A3C0
BCC error
Retry (NAK)
A3C1
Retry (STX)
A3C2
Retry (STX)
A3C3
Next command
A3C4
Retry (NAK)
A3C5
Retry (STX)
A3C6
Retry (STX)
A3C7
Next command
A3C8
Retry (NAK)
A3C9
Retry (NAK)
A3CA
Retry (STX)
A3CB
Retry (STX)
A3CC
Next command
A3CD
Retry (NAK)
J130802E.EPS
J13-28
Description
A391
A392
A393
A394
A395
A397
A398
A399
A39A
A39B
A39C
A39D
A39F
Other error
A3F0
Processing after
error occurrence
Next command
J130803E.EPS
Description
Processing after
error occurrence
A3D0
Retry (STX)
A3D1
Retry (STX)
A3D2
Next command
A3D3
Retry (NAK)
J130804E.EPS
J13-29
STX transmission
DLE transmission
STX
transmission
Creation of
send text
Communication
module
DLE transmission
Interpret
response
message,
store data
Creation of
send text
SIEMENS
SIMATIC S5
processing time
DLE transmission
T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
J130901E.EPS
Note:
T1 to T10 are described below. The following times are figured assuming that the baud rate is 9600
bps and the number of bits per character is 11.
T1: STX transmission time. 131131000/9600=1.15 ms
T2: DLE transmission time. 131131000/9600=1.15 ms
T3: ACM transmission text creation time 10 ms
T4: Send packet transmission time
T5: SIMATIC S5 processing time
T6: STX transmission time. 131131000/9600=1.15 ms
T7: DLE transmission time. 131131000/9600=1.15 ms
T8: SIMATIC S5 response text creation time
T9: Response packet transmission time
T10: Response packet interpretation time/data storing time 1.15 ms+15 ms=16.15 ms
J13-30
No. of characters
no. of bits
1000
to be sent
per character
Baud rate (bps)
J130902E.EPS
9600 bps
11
10 ms
= 1.15+1.15+10+14.90+10+1.15+1.15+10+154.69+16.15=220.34 (ms)
J130903E.EPS
J14-1
IM 33S01B30-01E
J14-2
IMPORTANT
On Detailed Settings tab of FCS Constants Builder, the setting item SEBOL/User C Ratio
needs to be properly set in accordance with the communication program size.
If the default ratio 100 % is used, all resource is assigned for SEBOL and the communication program may fail when SEBOL program is running.
J14-3
Item
Description
Transmission Code
Binary
Data Exchange
Connectible Stations
J14-4
HIS
HIS
Control bus
RDY
RCV
SND
CN1
RDY
RCV
SND
CN1
FCS
Ethernet
HUB
Ethernet
module
DARWIN
Ethernet
module
DAQSTATION
DARWIN
J140201E.EPS
DAQSTATION:
SEE ALSO
For more information about the network configuration, see the users manual of the corresponding
DARWIN/DAQSTATION.
J14-5
Addressing
The IP address and subnet mask must be specified for each ACM71 installed in the FCS.
Up to three IP addresses and subnet masks are specified for a single FCS, including the IP
address and subnet mask specified for the control bus of the FCS.
These three IP addresses must have different subnets, respectively.
HIS
Subnet 1
(control bus)
172.16.1.24
(255.255.0.0)
172.16.1.1
(255.255.0.0)
Subnet 2
DARWIN
172.16.1.2
(255.255.0.0)
Subnet 3
172.21.1.1
(255.255.0.0)
RDY
RCV
SND
CN1
RDY
RCV
SND
CN1
172.22.1.1
(255.255.0.0)
FCS
Ethernet
Control bus
DAQSTATION
RDY
RCV
SND
CN1
RDY
RCV
SND
CN1
FCS
Ethernet
DARWIN
Router
Ethernet
DAQSTATION
Subnet 4
(router destination, etc.)
J140202E.EPS
Figure Addressing
J14-6
J14-7
Year
Month
Date
Hour
Minute
Second A1
B1 C1
D1
DATA1
An
Bn
Cn Dn
DATAn
DATA1
DATA2
DATA3
:
:
:
:
:
DATAn
Alarm status
C1
D1
C2
D2
C3
D3
:
:
:
:
:
Cn
Dn
(C1)
Alarm2
(D1)
Alarm1
Alarm4
(C2)
Alarm2
Alarm3
(D2)
Alarm1
Alarm4
Alarm3
:
:
(Cn)
Alarm2
(Dn)
Alarm1
Alarm4
Alarm3
A1 to An
B1 to Bn
C1 to Cn
D1 to Dn
DATA 1 to DATA n
Alarm
:No alarm
:High limit alarm
:Low limit alarm
:Difference high limit alarm
:Difference low limit alarm
:High limit on rate-of-change alarm
:Low limit on rate-of-change alarm
0
1
2
3
4
5
6
J140401E.EPS
SEE ALSO
For details on alarm status, refer to the Users Manual of DARWIN/DAQSTATION used.
For details on measured data, see the following:
J14.9, Data Acquired from DARWIN/DAQSTATION
J14-8
DATA1-1
DATA1-2
DATA2-1
:
:
:
DATA2-2
:
DATAn-1
DATAn-2
Alarm status
G1
H1
G2
H2
G3
H3
:
:
:
:
:
Gn
Hn
(G1)
Alarm2
(H1)
Alarm1
Alarm4
Alarm1
Alarm4
(G2)
Alarm2
Alarm3
(H2)
Alarm3
:
:
(Gn)
Alarm2
(Hn)
Alarm1
Alarm4
Alarm3
E1 to En
F1 to Fn
G1 to Gn
H1 to Hn
DATA 1 to DATA n
Alarm
:No alarm
:High limit alarm
:Low limit alarm
:Difference high limit alarm
:Difference low limit alarm
:High limit on rate-of-change alarm
:Low limit on rate-of-change alarm
0
1
2
3
4
5
6
J140402E.EPS
SEE ALSO
For details on alarm status, refer to the Users Manual of the DARWIN/DAQSTATION used.
J14-9
This section explains the items set in System View, particularly those unique to
DARWIN/DAQSTATION, and their recommended values.
SEE ALSO
For the general description of setting items in the Detailed Setting tab in the Create New IOM dialog box
and items set commonly for connected devices, see the following:
Setting Items for ACM71 in J1.5.1, Overview of Setting Items on System View
J14-10
Specify the following setting using either one of Detailed Setting tabs 2 through 5 in the
Create New IOM dialog box. Select a tab from Detailed Setting tabs 2 to 5.
Option 1
Specify the no response detection time for both DARWIN and DAQSTATION.
Option 2
Specify the communication retry performed in the event of a communication error for both
DARWIN and DAQSTATION.
Option 3
Specify the interval of retries for recovery communication for both DARWIN and
DAQSTATION.
Option 4
Make sure to specify the port number for DARWIN communication 34151 in the case of
DARWIN.
If 0 is specified, the system will operate in the same manner as when 34151 is specified.
In other words, the port number for DARWIN communication is set to 34151 automatically.
Option 5
Make sure to specify the port number for DAQSTATION communication 34260 in the
case of DAQSTATION.
If 0 is specified, the system will operate in the same manner as when 34260 is specified.
In other words, the port number for DAQSTATION communication is set to 34260 automatically.
J14-11
Element DARWIN/DAQSTATION
Element
With respect to the address of the subsystem data buffer, the element number is indicated
on Communication I/O Builder. The element number is indicated for display purposes only.
It is not selectable.
Buffer DARWIN/DAQSTATION
Buffer
J14-12
Set the unit number, slot number and DAQ_E program name of subsystem as follows:
u-sProgramName
u
s
Program Name
:
:
:
Unit number
Slot Number
DAQ_E
Size DARWIN/DAQSTATION
Size
Specify the data size (data length) from the head address set in the Device & Address
setting for both DARWIN and DAQSTATION.
The setting is in word units.
The data size is set differently according to the type of data acquired.
CH (n)
CH (n + 1)
CH (n + 2)
CH (n + m - 1)
J140601E.EPS
Figure Example of Data Size Setting (in the Case of Measured Data) DARWIN/DAQSTATION
J14-13
CH(n)
CH (n + 1)
CH (n + (m/2) - 1)
J140602E.EPS
Figure Example of Data Size Setting (in the Case of Calculated Data) DARWIN/DAQSTATION
CH (n)
CH (n + 1)
CH (n + 2)
CH (n + m - 1)
J140603E.EPS
Figure Example of Data Size Setting (In the Case of Alarm Status) DARWIN/DAQSTATION
J14-14
Port DARWIN/DAQSTATION
Port
IP Address DARWIN/DAQSTATION
IP Address
Station DARWIN/DAQSTATION
Station
The station number can be specified freely because neither DARWIN nor DAQSTATION
uses any station number. However, it is recommended to specify a unique station number
for each definition of transmission frame. It is easier to identify the area in which an error
has occurred this way since the station number is returned as a system alarm message
when a communication error occurs.
J14-15
st
Standalone model
Expandable model
Unit 0
Unit 1
Unit 0
Figure Correspondence between Head Address and Physical Position of DARWIN Terminals
DARWIN
J14-16
Calculated Data
DTAst
st
s is the slot number and t is the terminal number (st may be a value from 01 to 60 for both
standalone and expandable models.)
Alarm Status
ALust
u
st
Unit number (0 for a standalone model and 0 to 5 for an expandable model in the case of an
alarm status corresponding to measured data.A for an alarm status corresponding to
calculated data.)
s is the slot number and t is the terminal number (st may be a value from 01 to 60 for both
standalone and expandable models in the case of an alarm status corresponding to
measured data. st may be a value from 01 to 60 for both standalone and expandable
models in the case of an alarm status corresponding to calculated data as well.)
Calculated Data
QDAtt
tt
Alarm Status
QALtt
tt
Teminal number (01 to 30 for alarm status corresponding to measured data, and 31 to 60 for
alarm status corresponding to calculated data.)
Specify the data type of the subsystem for both DARWIN and DAQSTATION.
Measured data:
Calculated data:
Alarm status:
J14-17
Reverse DARWIN/DAQSTATION
Reverse
Specify whether or not to make the bit or word arrangement in the FCS in reverse order of
the subsystem data.
Choose [No] for this setting.
The default setting is [No].
Scan DARWIN
Scan
For this setting, it should be specified whether or not to use a function to load the analog
communication I/O data in the I/O data buffer at the beginning of high-speed scan of the
FCS.
Label DARWIN/DAQSTATION
Label
The name of the function block I/O terminal can be set as a user-defined label name.
J14-18
Switch name
Setting item
Description of setting
SW1
SW2
Mode setting
SW3
Setting
SW1 is OFF
SW2 is OFF
SW3 is ON
J140701E.EPS
*1:
*2:
*3:
A mode for setting IP address, subnet mask, and default gateway of DA100 on a PC.
A mode for testing the status of the physical connection.
A mode for communicating by connecting to a network.Specify this mode when reading measured data from a DA100.
Description of setting
Setting
Login function
Invalid
admin : Administrator
user : Users
user
User registration
ON : Register a user.
OFF : Do not register a user.
OFF
Communication timeout
ON
ON
J140702E.EPS
It is possible to log in to this function as a user if the login function is set to Invalid, by
accessing it with the user name user. A password is not required.
J14-19
J14-20
Figure Communication Packet for Requesting Measured Data and Calculated Data DARWIN
J14-21
Month Date
A1
B1
An
E1
En
Hour
Minute
Second
C1
D1
DATA 1
Bn
Cn
Dn
DATA n
F1
G1
H1
DATAA 1
Fn
Gn
Hn
DATAA n
Data length:
Year:
Month:
Date:
Hour:
Minute:
Second:
A1 to An, E1 to En:
B1 to Bn, F1 to Fn:
C1 to Cn, G1 to Gn:
D1 to Dn, H1 to Hn:
DATA 1 to DATA n:
DATAA 1 to DATAA n:
MS DM
Meaning
7FFF
7FFF7FFF
8001
80018001
8002
80028002
8004
80048004
Abnormal data
8005
80058005
No data
J140804E.EPS
Figure Communication Packet for Measured Data and Calculated Data DARWIN
J14-22
Error code
'0'
'1'
ERR NO: Error number
'402
Other than '402'
R CR LF
J140806E.EPS
J14-23
Error code
'0'
The request was received normally.
'1'
An error occurred.
ERROR NO: Error number
J140807E.EPS
SEE ALSO
For the details of ERR NO, refer to the users manual for the DAQSTATION used.
J14-24
Figure Communication Packet for Requesting Measured Data and Calculated Data
DAQSTATION
J14-25
'B'
CR
LF
Length
FL
AT
BL
Year
SUM1
BYTE
Month Date
Hour
Minute
Second
A1
B1
C1
D1
DATA 1
An
Bn
Cn
Dn
DATA n
E1
F1
G1
H1
DATAA 1
En
Fn
Gn
Hn
DATAA n
MS
(Reserved)
Flag
SUM2
FL:
AT:
SUM1:
BL:
BYTE:
Year:
Month:
Date:
Hour:
Minute:
Second:
Flag:
A1 to An, E1 to En:
B1 to Bn, F1 to Fn:
C1 to Cn, G1 to Gn:
D1 to Dn, H1 to Hn:
DATA 1 to DATA n:
DATAA 1 to DATAA n:
SUM2:
Flag
Identifier
Checksum1
Number of blocks (specify 1.)
Number of bytes
Measured data
Calculated data
Meaning
7FFF
7FFF7FFF
8001
80018001
8002
80028002
8004
80048004
Abnormal data
8005
80058005
No data
J140811E.EPS
Figure Communication Packet for Measured Data and Calculated Data DAQSTATION
IM 33S01B30-01E
J14-26
Scale
Wire
Input range Range
connection
Span
Scale
(L)
(R)
CH001
VOLT
OFF
2V
-2.0000
2.0000
CH002
VOLT
OFF
2V
-2.0000
2.0000
CH003
VOLT
OFF
2V
-2.0000
2.0000
CH004
VOLT
OFF
2V
-2.0000
2.0000
CH005
VOLT
OFF
2V
-2.0000
2.0000
CH006
TC
OFF
TypeR
0.0
1760.0
CH007
TC
OFF
TypeR
0.0
1760.0
CH008
TC
OFF
TypeR
0.0
1760.0
CH009
TC
OFF
TypeR
0.0
1760.0
CH010
TC
OFF
TypeR
0.0
1760.0
(L)
(R)
J140901E.EPS
If the above settings are made on the DARWIN side, the measured data values from
CH001 to CH005 are converted in the range from -2.0000 to 2.0000 to integers without
decimal points; i.e., values between -20000 and 20000 are stored in the FCS. For example,
if the measured data of CH002 is 1.5000 V, the value stored will be 15000 in the FCS.
Moreover, the measured data values for CH006 to CH010 are converted in the range from
0.0 to 1760.0 to integers without decimal points. This means the values between 0 and
17600 are stored in the FCS.
J14-27
Scale
Wire
Input range Range
connection
Span
Scale
(L)
(R)
(L)
(R)
CH001
VOLT
OFF
2V
-2.0000
2.0000
-30000
30000
CH002
VOLT
OFF
2V
-2.0000
2.0000
-30000
30000
CH003
VOLT
OFF
2V
-2.0000
2.0000
-30000
30000
CH004
VOLT
OFF
2V
-2.0000
2.0000
-30000
30000
CH005
VOLT
OFF
2V
-2.0000
2.0000
-30000
30000
CH006
TC
OFF
TypeR
0.0
1760.0
-30000
30000
CH007
TC
OFF
TypeR
0.0
1760.0
-30000
30000
CH008
TC
OFF
TypeR
0.0
1760.0
-30000
30000
CH009
TC
OFF
TypeR
0.0
1760.0
-30000
30000
CH010
TC
OFF
TypeR
0.0
1760.0
-30000
30000
J140902E.EPS
If the above settings are made on the DARWIN/DAQSTATION side, the measured data
values from CH001 to CH010 are converted according to the scale and the range set for
each channel. The values stored in FCS will be from -30000 to 30000. For example, if the
measured data of CH002 is 1.5000 V, the value stored in the FCS will be 22500.
J14-28
Channel
Mode
Scale
Wire
Input rage
connection
Range
Span
Scale
(L)
(R)
CH001
VOLT
OFF
2V
-2.0000
2.0000
CH002
VOLT
ON
2V
-2.0000
2.0000
CH003
SKIP
(L)
(R)
0
4000
J140903E.EPS
The following shows how to set the measured data on the FCS side.
1.
Define the element numbers for storing the measured data at CH001 and CH002 on
the DARWIN side in the FCS on Communication I/O Builder. An example of element
number definition is shown below.
Element
number
Buffer
size
Data type
%WW0001 2
2-1DAQ_E 2
DT001
%WW0002 *
%WW0003
J140904E.EPS
2.
Create function blocks PVI-001 and PVI-002 by the Function Block Overview Builder.
The following table shows an example of how to create the function blocks.
Table Example of How to Create Function Blocks by the Function Block Overview Builder
No
Tag Type
Tag
Low limit
name name comment
value
Input
Totalizer
connection
time unit
information
-2.0000
2.0000
CommunicaNo
tion input
%WW0001
-2.0000
2.0000
CommunicaNo
tion input
%WW0002
003
J140905E.EPS
3.
J14-29
Perform the detailed settings for PVI-001 on the Function Block Detail Builder. Specify
the data conversion gain and the data conversion bias as follows in order to convert
data from DARWIN on the FCS side.
Scale on the FCS side
2.0000
-20000
20000
Slope=
2.0000
=0.0001
20000
-2.0000
J140906E.EPS
Figure Correspondence between Data Value Sent from DARWIN and the Scale on the FCS Side
(PVI-001)
Basic
Tag Name
PVI-001
Model Name
PVI
Tag Comment
Lvl
Scan Period
Basic Scan
Scan coefficient
1
0
Scan phase
Input Signal Conversion
Input Signal Convention
SUBSYS
0.0001
0.000
106.25
-6.25
Totalizer
Totalizer Time Unit
No
J140907E.EPS
Figure Data Conversion Gain and Data Conversion Bias Settings by the Function Block Detail
Builder (PVI-001)
4.
J14-30
Perform the detailed settings for PVI-002 on the Function Block Detail Builder. Specify
the data conversion gain and data conversion bias as follows in order to convert data
from DARWIN on the FCS side.
4000
Slope=
2.0000-(-2.0000)
=0.001
4000
Figure Correspondence between Data Value Sent from DARWIN and the Scale on the FCS Side
(PVI-002)
Basic
Tag Name
PVI-002
Model Name
PVI
Tag Comment
Lvl
Scan Period
Basic Scan
Scan coefficient
1
0
Scan phase
Input Signal Conversion
Input Signal Convention
SUBSYS
0.001
-2.0000
106.25
-6.25
Totalizer
Totalizer Time Unit
No
J140909E.EPS
Figure Data Conversion Gain and Data Conversion Bias Settings by the Function Block Detail
Builder (PVI-002)
J14-31
Alarm1
Alarm4
Alarm3
CH (n)
Alarm2
Alarm1
Alarm4
Alarm3
CH (n + 1)
Alarm2
Alarm1
Alarm4
Alarm3
CH (n + 2)
Alarm2
Alarm1
Alarm4
Alarm3
CH (n + (m/2) - 1)
J140910E.EPS
The content of each alarm is set on the DARWIN/DAQSTATION side and transmitted as
one of the following six states.
0: No alarm
1: High limit alarm
2: Low limit alarm
3: Difference high limit alarm
4: Difference low limit alarm
5: High limit on rate-of-change alarm
6: Low limit on rate-of-change alarm
SEE ALSO
For details on the alarm status, refer to the Users Manual of the DARWIN/DAQSTATION.
Data status
There is no module that was installed within the setting range. Maintains the previous data.
BAD
BAD
BAD
Abnormal data
BAD
No data (INVALID)
*1:
The values in () are the data values set in the case of calculation channels.
J14-32
If There is a Module that has not been Installed Within the Setting Range
For the data buffers assigned on a communication I/O builder, if the module is not physically installed, the buffers will hold the previous data and the data status become BAD.
The following shows an example of definition by the Communication I/O Builder and the
status of data storage in the FCS.
Table Example of Settings by the Communication I/O Builder
Element
number
Buffer
size
Data type
%WW0001 30
2-1DAQ_E 30
DT001
Analog input
(16-bit signed integer)
%WW0002 *
%WW0003 *
:
*
:
%WW0030 *
*
:
*
:
*
:
*
:
:
*
J140912E.EPS
DARWIN configuration
Main body
Unit 0
16bits
J140913E.EPS
J14-33
Element
number
Buffer
size
Data type
%WW0001 30
2-1DAQ_E 30
DT051
%WW0002 *
%WW0003 *
:
%WW0030 *
*
:
*
:
*
:
*
:
*
:
:
*
J140914E.EPS
DARWIN configuration
Main body
Unit 1
Unit 0
16bits
Corresponds to
buffer size 30
J14-34
The value in () is the data value transmitted in the case of calculation channels.
The value in () is the data value transmitted in the case of calculation channels.
The value in () is the data value transmitted in the case of calculation channels.
The value in () is the data value transmitted in the case of calculation channels.
The value in () is the data value transmitted in the case of calculation channels.
The value in () is the data value transmitted in the case of calculation channels.
The value in () is the data value transmitted in the case of calculation channels.
J14-35
Meaning
A3B1
A3B2
A3B3
A3B4
No data definition
A3B5
A3B6
A3B7
No communication is performed.
J141001E.EPS
Meaning
A3C1
A3C2
A3C3
A3C4
<reserved>
A3C5
A3C6
A3C7
<reserved>
A3C8
A3C9
A3CA
A3CB
Communication is performed
for each scan.
J141002E.EPS
J14-36
Meaning
Other error
J141003E.EPS
SEE ALSO
For error codes pertaining to Ethernet communication, see the following:
J2.4, System Alarm Messages Specific to Ethernet Communication
J14-37
J14-38
Byte sequence
specification
Byte sequence
specification
Send-receive interval
monitoring time
DARWIN side
Retries
J141101E.EPS
Byte sequence
specification
Byte sequence
specification
Reply
("E1"+CR+LF)
Reply
("E1"+CR+LF)
Retries
J141102E.EPS
J14-39
Byte sequence
specification
Byte sequence
specification
Reply
(?)
Reply
(?)
DARWIN side
Retries
J141103E.EPS
Specification of
output channel
for measured data
Specification of
output channel
for measured data
Byte sequence
specification
Send-receive interval
monitoring time
Retries
J141104E.EPS
Figure No-Response Error after Execution of Specification of Output Channel for Measured
Data DARWIN
J14-40
Format Error after Execution of Specification of Output Channel for Measured Data DARWIN
If specification of output channel for measured data is executed but the reply is returned
in an unexpected frame format, a number of retries equal to the number of retries set in
the builder will be attempted.
If the communication does not return to normal even after retries are repeated for the
number of times specified in the number of retries, a format error is returned for the
specification of output channel for measured data and further retries will be performed
from the next communication definition.
ACM71 side
DARWIN side
Specification of
output channel
for measured data
Specification of
output channel
for measured data
Reply
(?)
Reply
(?)
Retries
J141105E.EPS
Figure Format Error after Execution of Specification of Output Channel for Measured Data
DARWIN
J14-41
Login processing
Login processing
Send-receive interval
monitoring time
DAQSTATION side
Retries
J141106E.EPS
Login
processing
DAQSTATION side
User name
entry
User name
entry request
Login
processing
Reply
(other than "E1"+402)
Recovery
communication time
User name
entry
User name
entry request
Reply
Retries
J141107E.EPS
J14-42
DAQSTATION side
Retries
J141108E.EPS
Reply
("E1"+ERR+CR+LF)
Retries
J141109E.EPS
J14-43
Byte sequence
specification
Byte sequence
specification
Send-receive interval
monitoring time
DAQSTATION side
Retries
J141110E.EPS
Byte sequence
specification
Byte sequence
specification
Reply
("E1"+CR+LF)
Reply
("E1"+CR+LF)
Retries
J141111E.EPS
J14-44
Byte sequence
specification
Byte sequence
specification
Reply
(?)
Reply
(?)
DAQSTATION side
Retries
J141112E.EPS
ACM71 side
DAQSTATION side
Specification of
output channel
for measured data
Byte sequence
specification
Send-receive interval
monitoring time
Retries
J141113E.EPS
Figure No-Response Error after Execution of Specification of Output Channel for Measured
Data DAQSTATION
J14-45
Format Error after Execution of Specification of Output Channel for Measured Data DAQSTATION
If specification of output channel for measured data is executed but the reply is returned
in an unexpected frame format, a number of retries equal to the number of retries set in
the builder will be attempted.
If the communication does not return to normal even after retries are repeated for the
number of times specified in the number of retries, a format error is returned for the
specification of output channel for measured data and further retries will be performed
from the next communication definition.
ACM71 side
DAQSTATION side
Specification of
output channel
for measured data
Specification of
output channel
for measured data
Reply
(?)
Reply
(?)
Retries
J141114E.EPS
Figure Format Error after Execution of Specification of Output Channel for Measured Data
DAQSTATION
J14-46
Communication Performance
The transmission time for communication between the communication card and a
MELSEC-A is calculated as a sum of T1 through T4 as shown below.
Communication begins
Communication
card
Communication complete
Request
generation
processing
Data
DARWIN/
DAQSTATION
Data
Communication
processing
T1
T2
T3
T4
Figure Time Chart for Communication between Communication Card and DARWIN/DAQSTATION
SEE ALSO
Refer to the DARWIN/DAQSTATION Users Manual for more information on T2 through T4.
J14-47
Subsystem 1
Subsystem 2
Assignment 1
Assignment 4
Assignment 2
Assignment 3
Assignment 2
Repeat
Assignment 4
Assignment 3
Assignment 4
J141203E.EPS
Calculation Example
The following shows an example of calculating the transmission time when reading data of
60 registers of measured data.
The communication time is calculated based on the following conditions:
Comparing with other processing times, the transmission times of request (T2) and response (T4) are trivial, all together about 1 to 5 milliseconds. Thus in this calculation, T2 +
T4 = 5 ms.
The DARWIN/DAQSTATION CPUs scan time is 50 ms.
T1 = 50 ms
J141202E.EPS
TIP
Note that the calculation is approximate since the actual communication time may vary by a wide margin
depending on network traffic.
Blank Page
J15-1
IMPORTANT
Even though they have the same model name, there are some SLC 500 link modules that
do not use the asynchronous link layer protocol.
IM 33S01B30-01E
J15-2
Maximum number
Description
500 words
(1 word = 16 bits)
30 stations
J15-3
Description
Interface
Transmission method
Half-duplex
Synchronization method
Start-stop synchronized
communication
Transmission procedure
DF1 protocol
Transmission code
Binary
Start bit
Data format
Remark
ACM11
Data bit
Parity bit
None, [even]
(*1)
Stop bit
Enabled transmission
1000 ms
monitoring time
Time monitoring
Text frame
Monitoring time of
interval between
character reception
10 ms
Reception start
character
None
End character
None
RS control
None
(*1)
DR check
Yes
(*1)
CD check
None
(*1)
0 to 99 seconds [4 seconds]
(*1)
Communication retry
0 to 99 times [once]
(*1)
Interval of retries
Description
Remark
J150102E.EPS
IMPORTANT
When performing subsystem communication with the SLC 500, be sure to specify [8
bits] for the data bit length. A communication error will occur if [7 bits] is specified.
When performing subsystem communication with the SLC 500, do not specify 19200
and 9600 bps for the baud rate.
J15-4
Control bus
FCS
CN1
RDY
RCV
SND
CN1
MODEM
MODEM
RS-232C
1770-KF2
SLC 500
J150201E.EPS
IMPORTANT
The length of the RS-232C cable between the ACM11 and the modem as well as between
the modem and the SLC 500 module must each be 15 meters or less.
IM 33S01B30-01E 10th Edition : Dec.18,2003-00
J15-5
The SLC 500 link module uses an RS-232C D-sub 25 pin connector. For this reason, a
cable with an RS-232C D-sub 25 pin connector is used when connecting a SLC 500 link
module and the ACM11.
Table RS-232C D-sub 25 Pin Connector Specifications SLC 500
Pin
Signal
number name
Name
FG
Frame ground
SD
Transmission data
RD
Reception data
RS
Transmission request
CS
Transmission enabled
DR
SG
Signal ground
CD
Reception carrier
detection
20
ER
Direction of signal
ACM11
SLC 500
Description
Safety grounding
SEE ALSO
For details on safety grounding, see the folowings:
Figure Cable Connection between Modem and ACM11
Figure Cable Connection between SLC 500 and ACM11 (when connected directly)
Pin number 25
Pin number 14
Pin number 13
Pin number 1
J150203E.EPS
Figure Pin Assignment of the RS-232C D-sub 25 Pin Connector SLC 500
J15-6
The following shows the cable connection when the SLC 500 and ACM11 module are
connected via modems and when they are connected directly without modem.
SD
RD
RS
CS
ACM11
20
20
DR
SG
CD
ER
FG
Shielded cable
SD
RD
RS
CS
DR
Modem (*1)
SG
CD
ER
FG
*1:
SD
RD
RS
CS
ACM11 DR
CD
ER
SG
FG
20
20
Shielded cable
SD
RD
RS
CS
DSR SLC 500
CD
DTR
SG
FG
Figure Cable Connection between SLC 500 and ACM11 (when connected directly)
SEE ALSO
For details on connection cables, see the folowing:
A4.3, Wiring of Communication Module in Input & Output Modules (IM 33Y06K01-01E)
The cable connection differs by the type of SLC 500. See the users manual for the SLC 500 being connected regarding the cable connections for each type of SLC 500.
J15-7
With the ACM11, the RS-232C circuit and FG (frame ground) are electrically insulated. This
has the function of preventing intrusion of noise from the SLC 500 side and improving noise
resistance. Satisfy all conditions given below to make this function effective.
For the frame ground (FG), perform protective grounding (100 ohms or less) at the
opposing side of the connection (the modem or SLC 500 side).
Attach only one side of the shield of the sheathed cable to the FG of the opposing side
of the connection. Do not ground the cable shield on the ACM11 side. Also, do not use
a connector shell that is conductive.
Connect the FG and the SG (signal ground) of the RS-232C circuit at the opposing
side of the connection.
J15-8
Word
file
File name
File type
number
Address
Bit file
85
mmmnnn85
Timer file
86
mmmnnn86
Counter file
87
mmmnnn87
Control file
88
mmmnnn88
Integer file
89
mmmnnn89
Communication command
(CMD/FMC)
Read
Write
0F/A2
0F/AA
J150301E.EPS
*1:
SEE ALSO
For details on file type numbers, element numbers, and data addresses, refer to the users manual for the
SLC 500 to be connected.
J15-9
n
+
9
n
+
8
n
+
7
n
+
6
n
+
5
n
+
4
n
+
31
n
+
3
n
+
2
n
+
1
m=1
n
+
16
m=2
n+16(m-1)
n+16(m-1)+15
J150401E.EPS
J150402E.EPS
J15-10
This section explains the items set on System View that are unique to SLC 500 and
their recommended values.
SEE ALSO
For the general description of setting items in the Set Details tab in the Create New IOM dialog box and
items set commonly for subsystems, see the folowing:
Setting Items for ACM11, ACM12 of J1.5.1, Overview of Setting Items on System View
The following items should be set when using SLC 500 modules. The setting is
performed via the Set Details tab of the Create New IOM dialog box called up from
System View.
Connection Device
Baud rate
Parity
Data Bits
Stop Bits
RS Control
DR Check
CD Check
Communication Error Process
Options
After creating the new I/O module, the settings can be modified on the I/O module
property sheet.
IMPORTANT
Always set the proper speed; the default is [19200 bps] but SLC 500 modules cannot
transmit at 19200 bps.
J15-11
IMPORTANT
When using the SLC 500, a communication error will occur if [7 bits] is selected.
IMPORTANT
When using SLC 500, [2 bits] cannot be set for the stop bit.
J15-12
J15-13
The following items should be set when using SLC 500 modules.
Element
Buffer
Program name
Size
Port
IP Address
Station
Device & Address
Data Type
Reverse
Scan
Service Comment
Label
With respect to the address of the subsystem data buffer, the element number is indicated
in the Communication I/O Builder. The element number is indicated for display purposes
only. It is not selectable.
J15-14
On the Communication I/O Builder, set the subsystem program name with unit number, slot
number, and SLC5 as a program name in the following format.
u-sProgramName
u
s
ProgramName
:
:
:
Unit number
Slot number
SLC5
Specify the subsystem program name with node number, unit number, slot number, and
SLC5 as program name in the following format.
n-u-sProgramName
n
u
s
ProgramName
:
:
:
:
Node number
Unit number
Slot number
SLC5
This item sets the data size (data length) from the head address set in Device & Address.
Always set the size since this is a required setting item on Communication I/O Builder.
When using an SLC 500 module, the size should be set within the following setting range
and in units of words.
Word file: 1 to 115
SEE ALSO
For precautions when setting the size, see the folowing:
J1.5.2, Overview of Settings on Communication I/O Builder
J15-15
This sets the station number of the SLC 500 on the Data Highway or Data Highway Plus
that performs communication. The station numbers are set using an octal value.
mmmnnn85
Timer file:
mmmnnn86
Counter file:
mmmnnn87
Control file:
mmmnnn88
Integer file:
mmmnnn89
J15-16
This sets whether or not to make the bit or word arrangement in the FCS in reverse order of
the subsystem data.
Any of the following can be selected for reverse:
Bits
No
Words
However, the bits setting is valid only if the data type is either the discrete input or discrete
output. In this case, the default is [Bits].
The words setting is valid only if the data type is the 32-bit analog input or the 32-bit analog
output. In this case, the default is [No].
This item sets whether or not to use the function to read the analog communication I/O data
to the I/O data buffer at the beginning of each fast-scan of the FCS.
The name of the function block I/O terminal can be set as a user-defined label name.
J15-17
:
:
:
:
:
FCS
Unit number
Slot number
Subsystem station number
Error code
The communication error message will be sent to HIS at the first time that the subsystem
communication becomes abnormal. After that, a new system alarm message will not be
sent even if an error is generated by a different cause.
SEE ALSO
For the error codes, see the folowing in this chapter:
Error Codes SLC 500
:
:
:
:
:
:
FCS
Node number
Unit number
Slot number
Subsystem station number
Error code
The communication error message will be sent to HIS at the first time that the subsystem
communication becomes abnormal. After that, a new system alarm message will not be
sent even if an error is generated by a different cause.
SEE ALSO
For the error codes, see the folowing in this chapter:
Error Codes SLC 500
J15-18
:
:
:
:
FCS
Unit number
Slot number
Subsystem station number
:
:
:
:
:
FCS
Node number
Unit number
Slot number
Subsystem station number
J15-19
Error code
Description
A391
A392
A393
A394
A395
A397
A398
A399
A39A
A39B
A39C
A39D
A39F
Other error
A3B0
No response
A3B1
A3B2
A3B3
A3B4
A3B5
A3B6
A3B7
A3B8
A3B9
A3BA
Incorrect address
A3BB
A3BC
A3BD
A3BE
A3BF
EOT received
A3C0
A3C1
Receives local STS error code 01 (No buffer space in destination node)
A3C2
A3C3
A3C4
Error code
Description
J150701E.EPS
J15-20
Description
A3D1
A3D2
A3D3
A3D4
A3D5
A3D6
A3D7
A3D8
A3D9
Receives local STS error code 90 (remote node cannot buffer the command)
A3DB
Receives local STS error code B0 (remote node error during downloading)
A3E1
Receives command 0F EXT STS error code 01 (block address conversion error)
A3E2
Receives command 0F EXT STS error code 02 (designated address is under range)
A3E3
Receives command 0F EXT STS error code 03 (designated address is over range)
A3E4
Receives command 0F EXT STS error code 04 (cannot find the symbol)
A3E5
A3E6
A3E7
A3E8
A3E9
Receives command 0F EXT STS error code 09 (file size is too large)
A3EA
A3EB
Receives command 0F EXT STS error code 0B (access denied, improper privilege)
A3EC
A3ED
A3EE
A3EF
A3F0
A3F1
A3F2
A3F3
Error code
Description
J150702E.EPS
SEE ALSO
For details on the contents of the errors, refer to the users manual for the SLC 500 being used.
J15-21
Create transmission
message
ENQ
ENQ
*2
SLC 500
link module
EOT
ACK
T1
*1:
*2:
T1:
T2:
T3:
T4:
T5:
T6:
T7:
T8:
T9:
T10:
T11:
T12:
T2
T3
T4
T5
T6
T7
*1
T8
T6
Figure Time Chart of Communication between Communication Module and SLC 500
J15-22
Start
bit
Parity
Data
bit
bit
Stop
bit
J150802E.EPS
Start bit
Data bit
Parity bit
Stop bit
Baud rate
:
:
:
:
:
1 bit fixed
8 bits fixed (7 bits not possible)
None, even
1 bit fixed
1200, 2400, 4800 (bps)
J15-23
The following is an example of calculating the time required for communication between a
communication I/O module and the SLC 500:
Baud rate:
4800 bps
31 bytes
2 bytes
ACM ENQ:
4 bytes
64 data
Analog data 00700189 to 00706589
11264139 bytes
ACM ACK:
2 bytes
Blank Page
J16-1
Type
Model name
Ethernet interface
PLC-5
PLC-5/20E, PLC-5/40E,
PLC-5/80E
SLC 500
*1:
SLC 500, SLC 5/01, SLC 5/02, SLC 5/03, SLC 5/04 are not supported.
IMPORTANT
On Detailed Settings tab of FCS Constants Builder, the setting item SEBOL/User C Ratio
needs to be properly set in accordance with the communication program size.
If the default ratio 100 % is used, all resource is assigned for SEBOL and the communication program may fail when SEBOL program is running.
IM 33S01B30-01E
J16-2
Item
Description
Binary
Stations that can communicate Only stations connected to ACM71 (Access via the DH+ link, etc. is not allowed.)
J160101E.EPS
*1:
The maximum size of data allowed for communication, including data communicated via
other communication packages used for the applicable FCS, is the size allowed in the
communication I/O data storage area (4000 words).
J16-3
HIS
HIS
Control bus
FCS
RDY
RCV
SND
CN1
RDY
RCV
SND
CN1
Ethernet
HUB
PLC-5
SLC 500
J160201E.EPS
J16-4
Addressing
The IP address and subnet mask must be specified for each ACM71 installed in the FCS.
Up to three IP addresses and subnet masks are specified for a single FCS, including the IP
address and subnet mask specified for the control bus of the FCS.
These three IP addresses must have different subnets, respectively.
HIS
Subnet 1
(control bus)
172.16.1.24
(255.255.0.0)
172.16.1.1
(255.255.0.0)
Subnet 2
172.16.1.2
(255.255.0.0)
Subnet 3
172.21.1.1
(255.255.0.0)
RDY
RCV
SND
CN1
RDY
RCV
SND
CN1
172.22.1.1
(255.255.0.0)
FCS
Ethernet
PLC-5
Control bus
SLC 500
RDY
RCV
SND
CN1
RDY
RCV
SND
CN1
FCS
Ethernet
PLC-5
Router
Ethernet
SLC 500
Subnet 4
(router destination, etc.)
J160202E.EPS
Figure Addressing
J16-5
Bit file
File name
File format
O0:mmmm
I1:mmmm
Status file
S2:mmmm
Bit file
B3:mmmm
Timer file
T4:mmmm
Counter file
C5:mmmm
R6:mmmm
Integer file
N7:mmmm
F8:mmmm
0F/68
Not allowed
Remark
I/O area,
operation at
access is not
guaranteed.
0F/67
0F/68
0F/67
J160301E.EPS
*1:
*2:
The file type numbers 0, 1 and 2 are fixed. The values for file type numbers 3 to 8 can be changed in the range from 3
to 999.
Specify an address using the format, Xnnn:mmmm. Each address can consist of up to eight digits.
X is a file format.
nnn is the file type number. A 3-digit decimal number in the range of 0 to 999 can be set.
mmmm is the element number. A 4-digit decimal number in the range of 0 to 9999 can be set. 0 may be omitted.
If an element number is specified using four digits, the file type number should be specified using two digits.
SEE ALSO
Refer to the users manual of the applicable PLC-5/SLC 500 for more information on address specification.
J16-6
Communication command
Address
(CMD/FNC)
specification
for SLC-500 (*2)
Read
Write
File name
File format
File type
number (*1)
Status file
S2:mmmm
Bit file
B3:mmmm
Timer file
T4:mmmm
Counter file
C5:mmmm
R6:mmmm
Integer file
N7:mmmm
F8:mmmm
File type
Not allowed
Bit file
0F/68
0F/68
Remark
Cannot be
accessed directly
Not allowed from SLC 500
(*3).
0F/67
0F/67
J160301E.EPS
*1:
*2:
*3:
The file type number 2 is fixed. The values for file type numbers 3 to 8 can be changed in the range from 3 to 999.
Specify an address using the format, Xnnn:mmmm. Each address can consist of up to eight digits.
X is a file format.
nnn is the file type number. A 3-digit decimal number in the range of 0 to 999 can be set.
mmmm is the element number. A 4-digit decimal number in the range of 0 to 9999 can be set. 0 may be omitted.
If an element number is specified using four digits, the file type number should be specified using two digits.
It is not possible to read output image file O and input image file I of SLC 500 bit files directly. To read these files, first
copy them to bit file B on the SLC 500 side and then access bit file B.
SEE ALSO
Refer to the users manual of the applicable PLC-5/SLC 500 for more information on address specification.
J16-7
%WWxxxx
n n n n n n
+ + + + + +
15 14 13 12 11 10
n
+
9
n
+
8
n
+
7
n
+
6
n
+
5
n
+
31
n
+
4
n
+
3
n
+
2
n
+
1
m=1
n
+
16
m=2
n+16(m-1)
n+16(m-1)+15
J160401E.EPS
Figure
%WWxxxx
J160402E.EPS
J16-8
This section explains the items set in System View that are unique to PLC-5/SLC 500
modules and their recommended values.
SEE ALSO
For the general description of the setting items in the Detailed Setting tab in the Create New IOM dialog
box and items set commonly for connected devices, see the folowing:
Setting Items for ACM71 in J1.5.1, Overview of Setting Items on System View
J16-9
Make the following setting using either one of Detailed Setting tabs 2 through 5 in the
Create New IOM dialog box. Select any one of the Detailed Setting tabs 2 to 5.
Option 1
This item sets the time for detecting no response.
Option 2
This item sets the number of retries performed in the event of a communication error.
Option 3
This item sets the interval between communication recovery retries.
Option 4
The port number 2222 must be specified.
If 0 is specified, the system will operate in the same manner as when 2222 is specified.
This means that the port number for PLC-5/SLC 500 communication is automatically set to
2222.
J16-10
The following items should be set in the case of PLC-5/SLC 500 modules.
Element
Buffer
Program Name
Size
Port
IP Address
Station
Device & Address
Data Type
Reverse
Scan
Service Comment
Label
J16-11
With respect to the address of the subsystem data buffer, the element number is indicated
in the Communication I/O Builder. The element number is indicated for display purposes
only. It is not selectable.
Using the Communication I/O Builder, set the subsystem program name with unit number,
slot number and SLC5_E as a program name in the following format.
u-sProgramName
u
s
ProgramName
:
:
:
Unit number
Slot number
SLC5_E
J16-12
This item sets the data size (data length) from the head address set in Device & Address.
The setting is in word units.
The data size is set differently according to the type of data acquired, as listed in the following table.
Table Size PLC-5/SLC 500
File type
Bit file
(*1)
File name
PLC-5
SLC 500
12 (192 bits)
16 bits/1 word
12 (192 bits)
16 bits/1 word
Status file
8 (128 bits)
8 (128 bits)
16 bits/1 word
Bit file
Timer file
Counter file
Word file
Counter file
(*2)
Integer file
1 datum/3 words
*1:
An element in output image file, input image file and status file represents a bit.
Status File
%WW000n
S2:000m+15
S2:000m
B3:000m
%WW000n+1
B3:000m+1
%WW000n+2
B3:000m+2
J160604E.EPS
Three words are used in order to access one data record in timer, counter, and control files. Two words are used in
order to access one data record in a floating point file. The contents of the timer/counter and control files are as follows:
Timer/Counter
%WW000n
Status bit
%WW000n+1
%WW000n+2
Control
%WW000n
Status bit
%WW000n+1
%WW000n+2
Position (.POS)
J160602E.EPS
J16-13
SEE ALSO
Refer to the users manual of the applicable PLC-5/SLC 500 for more information on data size.
This sets the head address of a file as listed in the table below.
Table Device & Address PLC-5/SLC 500
File type
Bit file
File name
Address
specification
for PLC-5
Address
specification
for SLC 500
O0:mmmm
I1:mmmm
Status file
S2:mmmm
S2:mmmm
Bit file
B3:mmmm
B3:mmmm
Timer file
T4:mmmm
T4:mmmm
Counter file
C5:mmmm
C5:mmmm
R6:mmmm
R6:mmmm
Integer file
N7:mmmm
N7:mmmm
F8:mmmm
F8:mmmm
J160603E.EPS
Note : Specify an address using the format, Xnnn:mmmm. Each address can consist of up to eight digits.
X is a file format.
nnn is the file type number. A 3-digit decimal number in the range of 0 to 999 can be set. File type numbers 0 to 2
are fixed, but the values for file type numbers 3 to 8 can be changed in the range from 3 to 999.
mmmm is the element number. A 4-digit decimal number in the range of 0 to 9999 can be set. 0 may be omitted. If
an element number is specified using four digits, the file type number should be specified using two digits.
J16-14
This item sets whether or not to make the bit or word arrangement in the FCS in reverse
order of the subsystem data.
Any of the following can be selected for reverse.
Bits
No
Words
However, the bits setting is valid only if the data type is either the discrete input or discrete
output. In this case, the default is [Bits].
The words setting is valid only if the data type is the 32-bit analog input or the 32-bit analog
output. In this case, the default is [No].
This item sets whether or not to use the function to read the communication I/O analog data
to the I/O data buffer at the beginning of each fast-scan of the FCS.
J16-15
The name of the function block I/O terminal can be set as a user-defined label name.
J16-16
J16-17
Description
A3B0
No response
A3B1
A3B2
A3B3
A3B4
A3B5
A3B6
A3B7
A3B8
A3B9
Download error
A3BA
A3C0
A3C1
A3C2
A3C3
A3C4
Send error
A3D1
A3D2
A3D3
A3D4
A3D5
A3D6
A3D7
A3D8
A3D9
IP address error
A3DA
A3DB
A3DC
(Reserved)
A3DD
Address error
A3DE
(Reserved)
J160801E.EPS
SEE ALSO
For error codes pertaining to Ethernet communications, see the folowing:
J2.4, System Alarm Messages Specific to Ethernet Communication
J16-18
Communication Performance
The transmission time between the communication card and PLC-5/SLC 500 is figured as
the total of the time T1 to T4 shown below.
Communication begins
Communication
card
Communication complete
Request
generation
processing
Data
PLC-5/SLC 500
Data
Response
processing
T1
T2
T3
T4
Figure Time Chart of Communication between Communication Card and PLC-5/SLC 500
SEE ALSO
Refer to the users manual of the applicable PLC-5/SLC 500 for more information on T2 to T4.
J16-19
Calculation Example
The following shows an example of calculating the transmission time when reading 100
data records of an integer (16-bit) file.
Calculation of the transmission time is based on the following conditions:
Comparing with other processing times, the transmission times of request (T2) and response (T4) are trivial, all together about 1 to 5 milliseconds. Thus in this calculation, T2 +
T4 = 5 ms.
PLC-5/SLC 500 scan interval:
100 ms
J160902E.EPS
TIP
Note that the calculation is approximate since the actual communication time may vary by a wide margin
depending on network traffic.
Blank Page
J17-1
IM 33S01B30-01E
J17-2
IMPORTANT
On Detailed Settings tab of FCS Constants Builder, the setting item SEBOL/User C Ratio
needs to be properly set in accordance with the communication program size.
If the default ratio 100% is used, all resource is assigned for SEBOL and the communication program may fail when SEBOL program is running.
SEE ALSO
For more information about dual-redundant configuration with Modbus Communication Package, see the
following:
J17.8, Dual-Redundant Communication Modbus
J17-3
Description
Binary
Error control
N/A
SEE ALSO
See OPEN Modbus/TCP SPECIFICATION Release 1.0 (March 29, 1999, Andy Swales, Schneider
Electric) for the protocol used by Modbus/TCP PLCs.
J17-4
This capacity indicates the number of modules that a single FCS can communicate with. It is irrelevant to the number
of ACM71 modules installed.
The maximum amount of data allowed for communication, including data communicated
via other communication packages used for the applicable FCS, is the size of the communication I/O data buffer (4000 words).
The maximum number of definitions per ACM71 is 208; one definition is transmitted per
communication processing. The amount of data communicated per definition is as follows:
Word device (reading):
125 words
100 words
125 words
50 words
J17-5
HIS
HIS
Control bus
RDY
RCV
SND
CN1
RDY
RCV
SND
CN1
FCS
Ethernet
HUB
Modbus/TCP PLC
Modbus/TCP PLC
J170201E.EPS
J17-6
Addressing Modbus
An IP address and a subnet mask must be specified for each ACM71 that will be installed
in an FCS.
Up to three IP addresses and subnet masks can be assigned to a single FCS, since an IP
address and a subnet mask are also specified for the control bus of the FCS.
Note that these three IP addresses must be assigned to different subnets.
HIS
Subnet 1
(control bus)
172.16.1.24
(255.255.0.0)
172.16.1.1
(255.255.0.0)
Subnet 2
172.16.1.2
(255.255.0.0)
Subnet 3
172.21.1.1
(255.255.0.0)
RDY
RCV
SND
CN1
FCS
Ethernet
Modbus/TCP PLC
Control bus
Modbus/TCP PLC
RDY
RCV
SND
CN1
172.22.1.1
(255.255.0.0)
RDY
RCV
SND
CN1
RDY
RCV
SND
CN1
FCS
Ethernet
Modbus/TCP PLC
Router
Ethernet
Modbus/TCP PLC
Subnet 4
(downstream from router)
J170202E.EPS
J17-7
The reference number set for the setting of [Device & Address] on the Communication I/O builder should be the zero
originated address of the subsystem (where the address starts from zero).
For the PLCs that compliant with IEC61131-3 such as Modicon Premium where the
address for communication starts from zero, the original address number should be
used.
(For example : For the input relay numbered %I0010, A10010 should be specified.)
For the PLCs such as Modicon Quantum, the address for communicating starts from
one, the original address number minus one should be used.
(For example : For the input relay numbered 10011, A10010 should be specified.)
TIP
In the Modbus communication package for ACM71 communication module, the Device &
Address parameter is based on the zero-originated address in the communication frame.
However, if the PLC address is based on the one-originated address, the setting for Device
& Address should be equal to this one-originated address minus one.
If you do not know where your PLC devices are zero-originated addressed or one-originated addressed, you need to query the vendor of the PLC.
For example, to define the input relays addressed 10012 to 10015 of Modicon Premium
PLC on the Communication I/O Builder. A10012 needs to be set for [Device & Address]
while 1 needs to be set for [Size]. Here, the A in A10012 stands for the function code, the
1 next to A stands for the device type and 0012 is the beginning of the reference numbers
of the devices.
IM 33S01B30-01E
J17-8
The following table lists the addresses and Modbus/TCP protocol function codes for the
accessible devices.
Table Bit Devices Modbus
Address
Device
Function
code
Device type
Address of
of
device within
Modbus/TCP PLC Modbus/TCP PLC
Modbus/TCP protocol
function code
(hexadecimal)
Read
A
0
05
XXXX (*1)
0F
Y
Input relay
0F
01
Coil
Write
XXXX (*1)
05
02
J170301E.EPS
Address
Device
Input register
Function
code
A
C
Device type
Address of
of
device within
Modbus/TCP PLC Modbus/TCP PLC
3
XXXX(*1)
Modbus/TCP protocol
function code
(hexadecimal)
Read
Write
04
10
B
C
Holding register
D
X
06
03
4
10
16 (*2)
XXXX(*1)
10
06
10
16 (*2)
J170302E.EPS
*1:
*2:
Address
Device
Function
code
Device type
Address of
of
device within
Modbus/TCP PLC Modbus/TCP PLC
Modbus/TCP protocol
function code
(hexadecimal)
Read
Write
SP000
07 (*2)
Communication
status
STSXXX(*1)
Dual-redundant
ZACMWDPX
Special coil
J170303E.EPS
*1:
*2:
IM 33S01B30-01E
J17-9
IM 33S01B30-01E
J17-10
Device
Read
Write
Readback
Bit device
Yes
Word device
Yes
Bit device
In 1-bit units
Yes
Word device
In 16-bit units
Word device
In 32-bit units
Word device
Yes
Yes
In 1-bit units
Yes
Bit device
No
Word device
No
Bit device
In 1-bit units
No
Word device
In 16-bit units
No
Word device
In 32-bit units
No
Word device
In 1-bit units
No
J170304E.EPS
TIP
When a function code with readback is used, data is first read from the Modbus/TCP PLC side, and
the data read is then written to the appropriate FCS if the data type specified by Communication I/O
Builder is an input. If the data type specified is output, the data read is compared with the data stored
in the FCS. If the two sets of data are different, the data is transmitted to the Modbus/TCP PLC side.
When a function code without readback is used, the data stored in the FCS is compared with the data
held by the ACM71, and the data is transmitted to the Modbus/TCP PLC side only if a difference is
detected.
SEE ALSO
The function codes supported, accessible devices, and data sizes are all different depending on the type
of Modbus/TCP PLC. See the users manual of the Modbus/TCP PLC to be used for more information.
IM 33S01B30-01E
J17-11
n
+
9
n
+
8
n
+
7
n
+
6
n
+
5
n
+
4
n
+
31
n
+
3
n
+
2
n
+
1
m=1
n
+
16
m=2
:
:
:
:
:
n + 16 (m - 1) + 15
n + 16 (m - 1)
J170401E.EPS
IM 33S01B30-01E
J17-12
J170402E.EPS
n
+
7
n
+ n
1
15
n
n +
1
n
+
7
IM 33S01B30-01E
J17-13
00
Bit sequence
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16
Station
number
01
Station
number
16
Structure of STS017
15
00
Bit sequence
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Station
number
17
Station
number
32
J170404E.EPS
Figure Correspondence between Communication Status Bits and Station Numbers Modbus
IM 33S01B30-01E
J17-14
This section describes the items that can be set in System View for Modbus/TCP
PLCs, including specific and recommended settings.
SEE ALSO
For an overview of the setting items in the Detailed Setting tab of the Create New IOM dialog box and the
settings common to different subsystems, see the following:
Setting Items for ACM71 in J1.5.1, Overview of Setting Items on System View
IM 33S01B30-01E
J17-15
Set the following items in any of the Detailed Setting tabs 2 through 5 of the Create New
IOM dialog box. Select an appropriate tab from the Detailed Setting tabs 2 through 5.
Option 1
This item sets the time for detecting a response timeout.
Option 2
This item sets the number of retries performed in the event of a communication error.
Option 3
This item sets the interval between communication recovery retries.
Option 4
Always set port number 502.
If 0 is specified, the system will operate in the same manner as if 502 were specified. In
other words, port number 502 will be set.
Since there is no default setting, be sure to enter the port number.
IM 33S01B30-01E
J17-16
Element Modbus
Element
The element numbers of the addresses of the subsystem data buffer are displayed in
Communication I/O Builder. The element numbers are displayed for reference only; thus,
they cannot be set.
Buffer Modbus
Buffer
IM 33S01B30-01E
J17-17
Enter the unit number, slot number, and EMODBUS as the program name in the field for
the program names of other devices using the following format:
u-sProgramName
u:
s:
ProgramName:
Unit number
Slot number
EMODBUS
Size Modbus
Size
This item sets the data size (data length) from the head address set in Device & Address.
Make sure to set the size, as it is a required setting item in Communication I/O Builder.
In the case of the Modbus/TCP PLC, the setting range is from 1 to 125 words; the size is
set in word units.
SEE ALSO
For a detailed description of the size, see the following:
J17.1, Communication Specifications Modbus
For precautions when setting the size, see the following:
J1.5.2, Overview of Settings on Communication I/O Builder
Port Modbus
Port
IP Address Modbus
IP Address
Station Modbus
Station
IM 33S01B30-01E
J17-18
This item sets the head address of the Modbus/TCP PLC data.
The following addresses can be set.
No address is set by default.
Coils:
Input relay:
Input registers:
A3xxxx, C3xxxx
Holding registers:
Special coil:
SP000
Communication status:
STSxxx
Dual-redundant:
ZACMWDPX
xxxx is the address within the Modbus/TCP PLC device. The setting range is from 0 to
65535 (0H to FFFFH); it can be specified either as a decimal or hexadecimal number. If the
address is set as a hexadecimal number, suffix it with H.
Note that leading zeros of the xxxx part can be omitted. For example, coils A023, A0023,
and A00023 indicate the same address.
SEE ALSO
For a detailed description of the address specification, see the following:
J17.3, Accessible Devices Modbus
For more information about communication status, see the following:
J17.4, Subsystem Data Storing Format Modbus
For more information about dual-redundant configuration, see the following:
J17.8, Dual-Redundant Communication Modbus
IM 33S01B30-01E
J17-19
Reverse Modbus
Reverse
This item specifies whether or not to reverse the bit or word sequences within the FCS and
in the subsystem data.
Any of the following options can be selected for the Reverse setting:
Bits
No
Words
Note that the Bits setting is only valid if the data type is either discrete input or discrete
output. In this case, the default setting is [Bits].
The Words setting is only valid if the data type is 32-bit analog input or 32-bit analog output.
In this case, the default setting is [No].
Scan Modbus
Scan
This item specifies whether or not to load the analog communication I/O data into the
communication I/O data buffer at the beginning of each high-speed scan of the FCS.
IM 33S01B30-01E
J17-20
Label Modbus
Label
The name of a function block I/O terminal can be set as a user-defined label name in this
item.
IM 33S01B30-01E
J17-21
IM 33S01B30-01E
J17-22
Dual-Redundant Configuration
A pair of Ethernet communication modules installed in a same FCS communication nest
can be put into dual-redundant configuration.
Station:
ZACMWDPX
Data Type:
Output (Discrete)
Reverse:
No
In the line of an element where ZACMWDPX is defined in the Device & Address column,
the data of the element have the following significances.
%WBxxxx16(*1) :
%WBxxxx15(*1) :
*1:
xxxx stand for the element number of the line that the dual-redundant configuration ZACMWDPX is defined.
IM 33S01B30-01E
J17-23
IM 33S01B30-01E
J17-24
Readback
For data writing to the subsystem, the option Perform readback is supported. The option
No readback is not supported. When readback is performed, data read from the Modbus/
TCP PLC are compared to the data in the FCS. If discrepancies exist, a write command is
sent to write the data from FCS to the subsystem.
When readback is not performed, data in the FCS and data in the communication module
are compared without reading from the Modbus/TCP PLC, and the data are written to the
Modbus/TCP PLC only when discrepancies are found.
Because the data in the standby side communication module is not refreshed while the
control side communication module is normal, the data in the communication module is still
old when it is switched from standby to control. In this case, the difference of the data in the
FCS and in the communication module cannot be found since they cannot be compared,
so data write are not performed if readback is not performed. Moreover, for Modbus communication, readback can be specified by the function code for the designated address
using the Communication I/O Builder.
IM 33S01B30-01E
J17-25
Error code
(hexadecimal)
Description
A3B0
No response
A3B1
A3B2
A3B3
A3B4
A3B5
A3B6
A3B8
A3B9
A3BA
A3BB
A3BC
A3BD
A3C1
A3C2
A3C3
A3C4
A3C5
A3C6
IM 33S01B30-01E
J17-26
Description
A3D1
A3D2
A3D3
A3D4
A3D5
A3D6
A3D7
A3D8
A3D9
A3DA
A3DB
A3DC
A3DD
A3DE
A3DF
A3E0
A3E1
A3E2
A3E3
A3E4
A3E5
A3E6
A3E7
A3E8
SEE ALSO
For a detailed description of error codes pertaining to Ethernet communications, see the following:
J2.4, System Alarm Messages Specific to Ethernet Communication
See the users manual of the Modbus/TCP PLC to be connected for a detailed description of errors.
IM 33S01B30-01E
J17-27
Communication card
Communication end
Request
processing
Data
Modbus/TCP PLC
Data
Response
processing
T1
T2
T3
T4
Figure Communication Timing Chart between a Communication Card and a Modbus/TCP PLC
SEE ALSO
See the users manual of the Modbus/TCP PLC for descriptions of T2 to T4.
IM 33S01B30-01E
J17-28
50 ms
J171002E.EPS
TIP
Note that the calculated communication time is approximate since the actual communication time may
vary significantly with the network traffic.
IM 33S01B30-01E