Beruflich Dokumente
Kultur Dokumente
USERS MANUAL
P-link Module
PE-link Module
FEH203a
Preface
This Users manual explains the specifications of the following modules for MICREX-SX series:
P-link module (type: NP1L-PL1)
PE-link module (type: NP1L-PE1)
Read this manual carefully to ensure correct operation. When using modules or peripheral devices, be sure to read the
corresponding users manual listed below.
<SX-Programmer Standard>
Notes
Notes
1. This manual may not be reproduced in whole or part in any form without prior written approval by the manufacturer.
2. The contents of this manual (including specifications) are subject to change without prior notice.
3. If you find any ambiguous or incorrect descriptions in this manual, please write them down (along with the manual No.
shown on the cover) and contact FUJI.
Safety Precautions
Be sure to read the Safety Precautions thoroughly before using this module.
Here, the safety precaution items are classified into Warning and Caution.
Warning : Incorrect handling of the device may result in death or serious injury
Caution : Incorrect handling of the device may result in major injury or physical damage.
Even some items indicated by Caution may also result in a serious accident.
Both safety instruction categories provide import information. Be sure to strictly observe these three instructions.
Warning
Never touch any part of charged circuits as terminals and exposed metal portion while the power is turned ON. It may result
in an electric shock to theoperator.
Turn OFF the power before mounting, dismounting, wiring, maintaining or checking, otherwise, electric shock, erratic
operation or troubles might occur.
Place the emergency stop circuit, interlock circuit or the like for safety outside the PC. A failure of PC might break or cause
problems to the machine.
Do not connect in reverse polarity, charge (except rechargeable ones), disassemble, heat, throw in fire or short-circuit the
batteries, otherwise, they might burst or take fire.
If batteries have any deformation, spilled fluids, or other abnormality, do not use them. The use of such batteries might cause
explosion or firing.
Do not open the FG terminal with the LG-FG short circuited. (It must be grounded, otherwise it might cause electric shock.)
Notes
Safety Precautions
Caution
Do not use one found damaged or deformed when unpacked, otherwise, failure or erratic operation might be caused.
.
Do not shock the product by dropping or tipping it over, otherwise, it might be damaged or troubled.
Follow the directions of the operating instructions when mounting the product. If mounting is improper, the product might
drop or develop problems or erratic operations.
Use the rated voltage and current mentioned in the operating instructions and manual. Use beyond the rated values
might cause fire, erratic operation or failure.
Operate (keep) in the environment specified in the operating instructions and manual. High temperature, high humidity,
condensation, dust, corrosive gases, oil, organic solvents, excessive vibration or shock might cause electric shock, fire,
erratic operation or failure.
Select a wire size to suit the applied voltage and carrying current. Tighten the wire terminals to the specified torque.
Inappropriate wiring or tightening might cause fire, malfunction, failure, or might cause the product to drop from its
mounting.
Contaminants, wiring chips, iron powder or other foreign matter must not enter the device when installing it, otherwise,
erratic operation or failure might occur.
Connect the ground terminal to the ground, otherwise, an erratic operation might occur.
Periodically make sure the terminal screws and mounting screws are securely tightened.
Operation at a loosened status might cause fire or erratic operation.
Put the furnished connector covers on unused connectors, otherwise, failure or erratic operation might occur.
Install the furnished terminal cover on the terminal block, otherwise, electric shock or fire might occur.
Sufficiently make sure of safety before program change, forced output, starting, stopping or anything else during a run.
The wrong operation might break or cause machine problems.
Engage the loader connector in a correct orientation, otherwise, an erratic operation might occur.
Before touching the PC, discharge any static electricity that may have been collected on your body. To discharge it, touch
a grounded metallic object. Static electricity might cause erratic operation or failure of the module.
Be sure to install the electrical wiring correctly and securely, observing the operating instructions and manual. Wrong or
loose wiring might cause fire, accidents, or failure.
When disengaging the plug from the outlet, do not pull the cord, otherwiase, break of cable might cause fire or failure.
Do not attempt to change system configurations (such as installing or removing I/O modules) while the power is ON,
otherwise, failure or erratic operation might occur.
Do not attemp to repair the module by yourself -- contact your Fuji Electric agent. When replacing the batteries, correctly
and securely connect the battery connectors, otherwise, fire, accidents or failure might occure.
To clean the module, turn power off and wipe the module with a cloth moistened with warm water. Do not use thinner or
other organic solvents, as the module surface might become deformed or discolored.
Do not remodel or disassemble the product, otherwise, a failure might occur.
Follow the regulations of industrial wastes when the device is to be discarded.
The modules covered in these operating instructions have not been designed or manufactured for use in equipment or
systems which, in the event of failure, can lead to loss of human life.
If you intend to use the modules covered in these operating instructions for special applications, such as for nuclear
energy control, aerospace, medical, or transportation, please consult your Fuji Electric agent.
Be sure to provide protective measures when using the module covered in these operating instructions in equipment
which, in the event of failure, may lead to loss of human life or other grave results.
Revision
*Manual No. is shown on the cover.
Jun. 2004 FEH203a Operations in the case of using SX-Programmer Standard was added.
RAS information was added.
Contents
Preface
Safety Precautions
Revisions
Contents
Page
P-link module or
PE-link module
Power
supply CPU
Different configurations
(P/PE-link modules connected to
P-link module or
SX buses of different systems)
PE-link module
Power
supply CPU
Note: P-link and PE-link cannot be mounted together on the same link.
Key points
Be sure to connect the P/PE-link module to a slot that has a processor bus connector. Mounting on a slot that has
no processor connector is not possible.
In the case of system (configuration) with a standard CPU module, the versions of the P/PE-link module and the
standard CPU must be 1030 or later. A combination of former versions is not available.
For a standard CPU module whose version is under V1131, access to the P/PE-link module memory via the
processor bus is not available. Use direct read / write instruction.
When you use the change bank, be sure to connect the high-performance CPU module and the P/PE-link module on
the same processor bus (on the same base).
1-1
Section 2 Specifications
2-1 General Specifications
Item Specification
Operating ambient 0 to 55
temperature
Storage temperature -25 to +70
Physical 20 to 95%RH no condensation
environment Relative humidity
(Transport condition: 5 to 95%RH no condensation)
conditions
Pollution degree 2
Corrosion immunity Free from corrosive gases. No stained with organic solvent
Operating altitude 2000m or less above sea level (Transport condition: 70kPa or more)
Mechanical Half amplitude: 0.15mm, Constant acceleration: 19.6m/s2, Two hours for each of three
Vibration
service mutually perpendicular axes.
conditions Shock Acceleration peak: 147m/s2, Three times for each of three mutually perpendicular axes.
Nose immunity 1.5kV rise time 1ns, pulse width 1s (noise simulator)
Electrical
Electrostatic discharge Contact discharge: 6kV Aerial discharge: 8kV
service
conditions Radioelectromagnetic 10V/m (80MHz to 1000MHz)
field
Construction Panel-mounted
Cooling Air cooling
Isolation method Photocoupler
Dielectric strength 455V AC/minute (between I/O connector pins and frame ground)
Insulation resistance 10M or more with 500V DC megger (between I/O connector pins and frame ground)
NP1L-PL1: 24V DC, 160mA or less
Internal current consumption
NP1L-PE1: 24V DC, 160mA or less
NP1L-PL1: Approx. 235g, P-link connector : Approx. 40g
Mass
NP1L-PE1: Approx. 235g, PE-link connector : Approx. 40g
Dimensions Described in section 2-5
2-1
Section 2 Specifications
2-2 Performance and Communication Specifications
2-2-1 List of performance and communication specifications
Item Specification
P-link PE-link
Type NP1L-PL1 NP1L-PE1
No. of channels 1 channel/module
No. of SX bus Max. 2/configuration
connectable modules
No. of P/PE-link Max. 16/system Max. 64/system
connectable modules
Transmission line format Bus configuration (multi-drop)
Electrical transmission line: Coaxial cable
Transmission line Optical transmission line: SI/GI quartz optical cable
Distance between optical converters: Max. 1km (SI)/3km (GI)
Electrical transmission line: Total length 250m Optical Electrical transmission line: Total length 500m,
transmission line (Distance between optical Min.1m or more
Transmission distance
converters): Max. 1km (SI)/3km (GI) Optical transmission line (distance between
optical converters): Max. 1km (SI)/3km (GI)
Transmission method Half-duplex, serial transmission
Data exchange method N : N (Token-passing method) Memory refresh method
Transmission speed 5Mbps
Modulation method PDM (Pulse Duration Modulation)
Error check FCS (Frame Check Sequence), Number of data words check, Collision detection
Data transfer Broadcast communication, Message transmission
Memory capacity for 7.6KW 24.5KW
broadcast data
Other functions Self diagnosis/RAS functions
Occupied slot 1 slot
Occupied words None (No input /output areas are occupied)
[Reference]
Token passing method: System in which the right of control access is passed from one terminal to another by moving a
token (the right of access) via the network.
Broadcast communication: Simultaneous communication from one station to multiple stations with an image similar to
that of a broadcasting station.
2-2
Section 2 Specifications
2-2 Performance and Communication Specifications
2-2-2 Broadcast communication specifications
(1) Type and capacity of memory for broadcast communication
P-link PE-link
Type of memory Memory capacity Max. transmission Memory capacity Max. transmission
area capacity
High-speed 1 area 512 words 64 words 512 words 1K words
1152 words 256 words 8K words combining high-speed 1
High-speed 2 area
and 2 areas
Low-speed 1 area 3072 words 512 words 4K words 1K words
Low-speed 2 area 3072 words 512 words 12K words 1K words
P-link PE-link
Type of memory Head block No. Number of Head block No. Number of
transmission blocks transmission blocks
High-speed 1 area 0 to 15 0 to 2 0 to 63 0 to 64
High-speed 2 area 0 to 35 0 to 8 0 to 1023 0 to 128
Low-speed 1 area 0 to 95 0 to 16 0 to 511 0 to 128
Low-speed 2 area 0 to 95 0 to 16 0 to 1535 0 to 128
* 1 block P-link = 32 words
PE-link = 8 words
< Image of broadcast communication >
2-3
Section 2 Specifications
2-2 Performance and Communication Specifications
(3) Address assignment for broadcast communication
The memory for broadcast communication is provided in each P/PE-link module and the address is assigned as follows. In
this table, addresses are listed in word format, but bit access is possible for all the areas.
1) D300win
2) SX-Programmer Standard
Note: The CPU number of a P/PE-link module is determined from the CPU number that is set from D300win, or from the
CPU No. selection switch on the front panel of the module.
Remote station
Local station Instruction used
MICREX-SX MICREX-F
M_SEND 110 words 110 words
M_RECEIVE 110 words 110 words
R_READ (VAR TYPE=0) Dependent on CPU (see note)
MICREX-SX
R_READ (VAR TYPE=1) 108 words 108 words
R_WRITE (VAR TYPE=0) Dependent on CPU (see note)
R_WRITE (VAR TYPE=1) 108 words 108 words
Message module send 110 words 110 words
MICREX-F MSGT 108 words 108 words
MSGR 108 words 108 words
2-4
Section 2 Specifications
2-2 Performance and Communication Specifications
(2) PE-link
Remote station
Local station Instruction used
MICREX-SX MICREX-F
M_SEND 507 words 500 words
M_RECEIVE 507 words 500 words
R_READ (VAR TYPE=0) Dependent on CPU (see note)
MICREX-SX
R_READ (VAR TYPE=1) 239 words 239 words
R_WRITE (VAR TYPE=0) Dependent on CPU (see note)
R_WRITE (VAR TYPE=1) 239 words 239 words
Message module send 500 words 500 words
MICREX-F MSGT 234 words 498 words
MSGR 234 words 498 words
Note: The maximum communicable volume of data is the maximum value of array type data in the MICREX series CPU
modules. For a high-performance CPU, it is 4096 words. For a standard CPU, there is no limitation on the maximum
volume of array type data, and it depens on the size of a memory area where the array type data is stored.
Area Transmission
High-speed area Data is transmitted whenever each module obtains the right of transmission. (1st block and 2nd block)
Only one station transmits while the right of transmission is transferred around all the modules. When the right
Low-speed area of transmission is set to both the 3rd and 4th blocks, at first, only one block is transmitted. The other block is
transmitted at the next turn.
Message One message is transmitted whenever each module obtains the right of transmission. There is no
transmission transmission when there are no messages to transmit.
0 station H H H
1 station H H L H
15 station H H H M
1) High-speed case 2) High and low-speed case 3) Message and high-speed case
Time
H : High-speed area
L : Low-speed area
M : Message area
2-5
Section 2 Specifications
2-3 Cable Specifications
Use P/PE-link cable that has the following specifications. If a cable different from the specified cable (for example a twisted-
pair cable, etc.) is used, the system may stop due to faulty operation of the transmission line.
2-6
Section 2 Specifications
2-4 Names and Functions
2-4-1 Names
(1) NP1L-PL1 (P-link module)
B c DE
ON
789A
CPU
4) Station No. selection switch
F 0 12
No.
OFF 3 456
3 456
F 0 12
789A
PH
B c DE
Reserved
3 456
F 0 12
789A
PL
5) P-link connector
B c DE
6) Nameplate (on the right side)
3 456
F 0 12
789A
DA
B c DE
6) Version seal
B c DE
789A
ON CPU
4) Station No. selection switch
F 0 12
No.
OFF 3 456
3 456
F 0 12
789A
PH
B c DE
Reserved
3 456
F 0 12
789A
PL
789A
DA
B c DE
7) Version seal
2-7
Section 2 Specifications
2-5 Names and Functions
2-4-2 Functions
1) Status indication LED
This LED indicates operation status of NP1L-PL1/PE-1.
10. 50& 4%8
Symbol Color Description
'44 .'4 6'4
Turns on when the module is operating normally.
ONL Green
(After power supply is turned on, blinks until the SX bus is setup.)
ERR Red Turns on when there is an error in module itself or on the SX bus.
SND Green Turns on during transmission of P/PE-link data.
RCV Green Turns on during reception of P/PE-link data.
Turns on when registered a P/PE-link station is not connected or a
LER Red
connected P/PE-link station is disconnected.
TER Red Turns on when a transmission error occurs.
Note: The ( ) mark indicates OFF and the ( * ) mark indicates Blink, ON or OFF.
B c DE
789A
CPU
F 0 12
ON Enabled
Disabled
OFF
2-8
Section 2 Specifications
2-4 Names and Functions
4) Station No. selection switch
This switch sets the station number of the P/PE-link within a range of 0 to F for the P-link module, and within 00 to 3F
for the PE-link module.
3 456
F 0 12
789A
PH Upper-digit
B c DE Note: In the case of the P-link module, set with the lower digit switch after
fixing the upper digit to 4. If a value other than 4 is set, proper
3 456 operation cannot be guaranteed.
F 0 12
789A
PL Lower-digit
B c DE
5) P/PE-link connector
The P/PE-link connector is connected here. The tightening torque of the screw for fixing the connector is 0.9 to 1.0Nm. For a
description of the method of assembling the P/PE-link connector, refer to Section 5-2 Cable terminal processing of P/PE-
link.
6) Nameplate
The type, date of manufacture and serial number are printed on the side of the module.
7) Version seal
Versions of the hardware and firmware of this module are indicated on this seal.
20 Hardware version
30 Firmware version
2-9
Section 2 Specifications
2-5 Dimensions
Dimensions of NP1L-PL1 are same as those of NP1L-PE1.
35 (44) 90
105
2-10
Section 3 System Configuration
3-1 Mounting the Module
3-1-1 Mounting position
NP1L-PL1 and NP1L-PE1 are communication modules connected to the SX-bus. Mounting positions on the base board are
restricted as follows.
The modules are mounted in slots where there are processor connectors.
Note: Mounting on the base board of remote I/O such as T-link, OPCN-1, DeviceNet etc. is not possible.
3-1
Section 3 System Configuration
3-2 Example of Basic System Configuration
By using broadcast communication, data communication is carried out between two configurations. An example utilizing a P-
link module will be explained below.
As shown in the following figures, by setting the CPU number of P-link module A to 8 and that of P-link module B to 9,
1 block (32 words) for high-speed 1 area is used for each transmission area.
< Configuration A > P-link station No.0 < Configuration B > P-link station No.1
CPU number 8 CPU number 9
Power Power
supply CPU supply CPU
A B
P-link
%MW8.1.0 %MW9.1.0
Transmission area of Reception area of
P-link module A P-link module B
%MW8.1.31 %MW9.1.31
%MW8.1.32 %MW9.1.32
Reception area of Transmission area of
P-link module A P-link module B
%MW8.1.63 %MW9.1.63
(Note) %MX10.11.14
MOVE
EN ENO
Note: In the case of access to the broadcast transmission area of the P-link (PE-link) through the processor bus, read and
write data after checking that the processor bus access fault flag (%MX10.11.14) is not on. If the flag is on, data that is
accessed to the broadcast transmission area in the P-link (PE-link) is not guaranteed.
3-2
Section 3 System Configuration
3-2 Example of Basic System Configuration
2) Example of program with PLC Programmer
X1.0
SM11E
CTUC0100
MOVEWM9.0WM100
X1.1 (Note)
CRST
SM11E
MOVEC0WM8.0
(Note
Note: In the case of access to the broadcast transmission area of the P-link (PE-link) through the processor bus, read and
write data after checking that the processor bus access fault flag (SM11E) is not on. If the flag is on, data that is
accessed to the broadcast transmission area in the P-link (PE-link) is not guaranteed.
3-3
Section 3 System Configuration
3-3 P/PE-link System with Optical Converter
By constructing the transmission line of the P/PE-link with optical cables, the transmission distance of the P/PE-link can be
extended. Further, since an optical transmission line is less influenced by noise, it is also effective if any device generating
noise exists in the middle of the transmission line.
Max. 1km
Optical line
FNC300 FNC300
2) By linking two optical converters through two optical cables, the optical transmission line can be duplicated. In this case,
if any part of the optical cable becomes broken, transmission can be continued without interruption and a highly reliable
system can be configured.
Max. 1km
Optical line
FNC300 FNC300
3-4
Section 3 System Configuration
3-3 P/PE-link System with Optical Converter
(2) Cascade connection (Number of optical converters that can be connected: max.17)
1) Cascade connection 1
By cascading optical converters, P-link modules distributed by large distances from each other can be connected effectively.
* Total length of optical transmission line: max. 16km
2) Cascade connection 2
The optical transmission line can be duplicated for improved reliability.
3-5
Section 3 System Configuration
3-3 P/PE-link System with Optical Converter
(3) Loop connection (Number of optical converters that can be connected: max. 17)
The optical transmission line can be connected in a loop for effective duplication of the configuration. Even if any part of the
optical cables is broken, transmission can continue without interruption.
P/PE P/PE
FNC FNC
300 300
P/PE P/PE
P/PE P/PE
FNC FNC
300 Optical line 300
P/PE P/PE
Electrical line
3-6
Section 3 System Configuration
3-3 P/PE-link System with Optical Converter
3-3-3 System configuration with long distance optical converter (FNC320)
(1) Basic configuration
1) The transmission line is changed to optical line by use of two converters.
< Maximum length of total distance >
P-link: 3.5km (Electrical line 250m x 2, Optical line 3km)
PE-link: 4km (Electrical line 500m x 2, Optical line 3km)
< Number of connectable P/PE-link modules >
P-link: Max. 16
PE-link: Max. 64
Max. 3km
T: Optical transmission module
R: Optical reception module
Optical line
TR TR TR TR
FNC320 FNC320
2) By connecting two optical converters through two optical cables, the optical transmission line can be duplicated. In this
case, if any part of the optical cable becomes broken, transmission can be continued without interruption and a highly
reliable system can be configured.
Max. 3km
Optical line
TR TR TR TR
FNC320 FNC320
3-7
Section 3 System Configuration
3-3 P/PE-link System with Optical Converter
(2) Cascade connection (Number of optical converters that can be connected: max. 17)
By cascading optical converters, P-link modules separated by large distances from each other can be connected effectively.
* Total length of optical transmission line: max. 48km
TR TR TR TR TR TR TR TR
FNC320 FNC320 FNC320 FNC320
module
module
module
module
module
module
module
module
P-link
P-link
P-link
P-link
P-link
P-link
P-link
P-link
(3) Loop connection (Number of optical converters that can be connected: max. 17)
The optical transmission line can be connected in a loop for effective duplication of the configuration. Even if any part of the
optical cables is broken, transmission can continue without interruption.
* Total distance length of optical transmission line: max. 48km
Optical line
P/PE T
R
FNC
320 T
P/PE R
P/PE T R P/PE
R T
FNC FNC
320 T 320 R
P/PE R T P/PE
P/PE T R P/PE
R T
FNC FNC
Optical line 320 R
320 T
P/PE R T P/PE
3-8
Section 3 System Configuration
3-3 P/PE-link System with Optical Converter
(4) Star connection (8 pairs maximum)
With a star connection, capsule groups dispersed in a wide area can be effectively connected. Since the effect of an optical
converter error is limited to within the region where the error occurred, a highly reliable system can be configured. As shown in
the following figure, transmission lines can be duplicated (by connecting the paths shown as dotted lines).
Electrical line
TR TR TR TR TR TR
FNC320 FNC320 FNC320
3-9
Section 4 System Definition
To construct a P-link system or a PE-link system with using a P-link module or a PE-link module of MICREX-SX series, the
system definitions listed below are required for each configuration.
System configuration definition
Operation definition
Configuration registration definition
(Registration of P/PE-link configured stations)
Area selection (Automatic sending area selection)
Change bank CPU definition
I/O I/O
CPU
A
<Setting procedure>
Double-click the [System definition] icon in the project tree with the left button. The system configuration window is
displayed. If the program is written in the package displays mode of PLC programmer, the [System definition] dialog
box is displayed when PLC function [System definition] is executed. As shown in the figure below, the window
initially displays the 11-slot base with the registered power supply module and CPU module.
4-1
Section 4 System Definition
4-1 Module Registration
Register the P-link module. As the P-link module is mounted on the right of the CPU module (example of configuration
in the previous page), click the [Insert] button on the system definition window or click the <Insert> key with the CPU
module selected. The Module insertion dialog box is displayed.
Select the Processor link module for the module group type and then select the P-link for the outline specification.
Set the CPU number of the P-link module and click the [OK] button. The P-link module is registered.
Note: Registration of the P/PE-link module should be with slot which is on the processor bus.
4-2
Section 4 System Definition
4-2 Operation Definition (Local Station Number Selection)
This definition is used to select the local station number of P/PE-link.
<Setting procedure>
Right-click the P-link module registerd in the System definition dialog box and left-click the property button on the menu.
The [Module property] dialog box is displayed.
Click the [parameter] button on the [Module property] dialog box. The [P-link parameter setting] dialog box is displayed.
Register the P-link station number of the local station on this screen.
4-3
Section 4 System Definition
4-3 Configuration Registration Definition
This definition is used to register all station numbers of P/PE-link modules that are connected to the P/PE link.
<Setting procedure>
Left-click the [Structure definition] tab in the P-link parameters setting dialog box.
The following screen is displayed.
Left-click the station number of the P-link module that is connected to the P-link.
P-link
4-4
Section 4 System Definition
4-4 Area Selection
The sending area of P/PE-link module is selected.
<Setting procedure>
Left-click the [Area setting] tab in the P-link dialog box. The following screen is displayed.
Set the first block number and the number of sending blocks in the transmission area of the local station.
4-5
Section 4 System Definition
4-5 Changing Bank
When the data are exchanged between the broadcast area and the application program, it occurs that the uniqueness of the
data is important. The uniqueness of the data is maintained by changing the memory (bank) of the broadcast area for P/PE-
link modules.
CPU P/PE
P/PE transmission line
Send area
Application
Receive area
*
Receive area
(Receive buffer)
* The application program (change bank FB) changes the send / receive area accessed by the application program of the
send / receive area accessed by the P/PE-link.
4-6
Section 4 System Definition
4-5 Changing Bank
4-5-2 Change bank CPU definition
This definition is used to register the CPU which issues a change bank command. Two or more CPUs can be specified.
When even one CPU is registered, the change bank mode is performed. When no CPU is registered, the asynchronous mode
is performed.
<Setting procedure>
Left-click the [Definition of bank change] tab in the P-link parameter setting dialog box. The following screen is
displayed.
Click the button to register the CPU tat performs the change bank.
Note 1: The application program (change bank FB) performs the change bank. Refer to Appendix 1-2.
Note 2: The CPU that performs the change bank and the P/PE-link module must be mounted on the same processor
bus (on the same base).
Note 3: For the transmission area in the NP1L-PL1 (P-link), the bank change of the high speed area, the low speed 1
area and low speed 2 area is performed collectively. Thus the settings of these areas must be same. For
example, if CPU 0 performs the change bank of the high speed area, CPU 0 must be set to perform also the
bank change of the low speed 1 area and low speed 2.
4-7
Section 4 System Definition
4-5 Changing Bank
<Setting of change bank in the redundant system>
1) 1 to 1 redundant mode
Set the CPU numbers of both operating CPU (CPU 0) and waiting CPU (CPU 1).
<Setting example>
Operating CPU Waiting CPU
2) N to 1 redundant mode
Register the CPU numbers of all the operating CPU (CPU 0, 1, 2) and waiting CPU (CPU 3).
<Setting example>
Operating CPU Waiting CPU
4-8
Section 5 Wiring
5-1 Wiring Precautions
(1) Before removing the connector, remove the fixing screws.
(2) Communications cables must be isolated from high-voltage cables and power cables as far as possible. Communication
cables must not be run parallel with those cables.
(3) These cables should be installed as shown in the following figure. Shielding cables should be used.
Communication cable
1)
300mm or more
Lower power cable
2)
1) P/PE-link cable
300mm or more 2) Input / Output current, PC power supply circuit
3) General-purpose control circuit
Control cable
4) Power circuit
3)
300mm or more
Power cable
4)
Metal plate
Grounding
(Grounding resistance of 100 or less)
200mm or more
?Communication cable Lower power cable Control cable Power cable
1) 2) 3) 4)
Grounding
(Grounding resistance of 100 or less)
5-1
Section 5 Wiring
5-2 P/PE-link Wiring
Process the ends of P/PE-link cables.
(1) Remove a part of the sheath
and internal insulation
Cut the sheath Remove the cut part of Cut the internal insulation and expose
sheath to expose the shield the internal conductor.
wire (external conductor).
Shield wire
5-2
Section 5 Wiring
5-3 Wiring Rule
P (inner wire) must be connected P, SD (shield wire) must be connected SD.
P and SD must not be grounding.
Correct Incorrect
P P P P P P P
SD SD SD SD SD SD SD
Correct Incorrect
Station Station
1 1
Correct Incorrect
Station Station
1 : Terminating resistor 1
5-3
Section 6 Troubleshooting
Diagnosis of the system status and failure by using the P/PE-link module is carried out by the following three methods.
Diagnosis by the LED indication of the CPU module
Diagnosis by the system memory of the CPU module and the memory of the PE-link module.
Diagnosis by the failure diagnosis function of the loader
6-1
Section 6 Troubleshooting
6-2 Diagnosis with Flags
With flags in the system memory of the CPU module and flags in the PE-link module, the statuses of the stations that
configure the P/PE-link (whether they are normal) and the running definition (whether it is valid) can be diagnosed.
The processor-link running definition fault flag, the link configuration flag and fault flag that are explained below can be
used with an application program.
Address
Note: If the above flags turn on, the system is stopped by a fatal fault.
6-2
Section 6 Troubleshooting
6-2 Diagnosis with Flags
6-2-2 Link configuration flag / fault flag
This flag indicates the statuses of each P/PE link module that configure the P/PE-link. The corresponding station number
turns on. This flag is provided in the P/PE-link module.
(1) P-link module configuration / fault flag
For D300win
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
%MW.1.7808 F E D C B A 9 8 7 6 5 4 3 2 1 0 Configuration flag
%MW.1.7809 F E D C B A 9 8 7 6 5 4 3 2 1 0 Fault flag
For D300win 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
%MW.1.25088 F E D C B A 9 8 7 6 5 4 3 2 1 0
%MW.1.25089 1F 1E 1D 1C 1B 1A 19 18 17 16 15 14 13 12 11 10
%MW.1.25090 2F 2E 2D 2C 2B 2A 29 28 27 26 25 24 23 22 21 20
%MW.1.25091 3F 3E 3D 3C 3B 3A 39 38 37 36 35 34 33 32 31 30
%MW.1.25092 F E D C B A 9 8 7 6 5 4 3 2 1 0
%MW.1.25093 1F 1E 1D 1C 1B 1A 19 18 17 16 15 14 13 12 11 10
%MW.1.25094 2F 2E 2D 2C 2B 2A 29 28 27 26 25 24 23 22 21 20
%MW.1.25095 3F 3E 3D 3C 3B 3A 39 38 37 36 35 34 33 32 31 30
6-3
Section 6 Troubleshooting
6-3 Diagnosis with Loader
With the failure diagnosis function of the program loader, the following information can be read out.
System module configuration System configuration display on the [Failure diagnosis] dialog box
P/PE-link module type information Detailed information display on the [Failure diagnosis] dialog box
System RAS screen
P/PE-link module intensive status information Detailed information display on the [Failure diagnosis] dialog box
System RAS screen
SX bus transmission information Detailed information display on the [Failure diagnosis] dialog box
Bus transmission information screen
RAS inmormation in the P/PE-link module Detailed information display on the [Failure diagnosis] dialog box
Dump list screen
6-4
Section 6 Troubleshooting
6-3 Diagnosis with Loader
With the tabs on the detailed information display, the information display can be changed.
1) System RAS screen
6-5
Section 6 Troubleshooting
6-3 Diagnosis with Loader
6-3-1 System RAS information
On the system RAS screen, the following information is displayed.
The type information of the P/PE-link module selected on the system configuration display
The module intensive status of the P/PE-link module selected on the system configuration display
Normal Module running normally Initialization is completed and module is running normally.
Module fatal fault: error input detection Hardware fault; module needs to be replaced.
Module fatal fault: WDT up fault Hardware fault; module needs to be replaced.
Module fatal fault: CPU fault Hardware fault; module needs to be replaced.
Module fatal fault: ROM fault Hardware fault; module needs to be replaced.
Fatal fault Module fatal fault: RAM fault Hardware fault; module needs to be replaced.
Module fatal fault: memory buckup fault Hardware fault; module needs to be replaced.
Note: If Module disconnected is displayed on the system RAS screen , check the CPU station No. selection switch.
For P-link module, check that the upper digit of the P-link station No. selection switch is set at 4. These switch
setting errors cannot be detected as RAS information.
6-6
Section 6 Troubleshooting
6-3 Diagnosis with Loader
6-3-2 SX bus transmission information
If noise interferes with the SX bus transmission line or if the wiring of SX bus is defective, various errors that are related to SX
bus transmission are counted. When such error counter works, it means that the environment of the SX bus system is
problematic with respect to noise. And some measure needs to be taken.
CRC error detected counter (Valid stamp) Counted up if CRC error is detected but stamp is valid.
Frame length error detected counter Counted up if frame length error is detected.
6-7
Section 6 Troubleshooting
6-3 Diagnosis with Loader
6-3-3 Dump list
In the dump list of this module, the following information is stored.
Configuration / fault flag
P-link transmission information This information is the internal code that is used basically by FUJI engineer for
adjustment.
PE-link transmission information This information is the internal code that is used basically by FUJI engineer for
adjustment
Message error log This information is the internal code that is used basically by FUJI engineer for adjustment.
On-board hard error factor
P-link error information This information is the internal code that is used basically by FUJI engineer for adjustment.
PE-link error information This information is the internal code that is used basically by FUJI engineer for adjustment.
(1) Configuration / fault flag
This flag indicates the status of the stations that configure the P/PE-link.
P-link module
Configuration flag and fault flag are updated when a change occurs in the configuration of the P-link stations.
6-8
Section 6 Troubleshooting
6-3 Diagnosis with Loader
PE-link module
6-9
Section 6 Troubleshooting
6-3 Diagnosis with Loader
(2) On-board hard error factor
The error information about the P/PE-link is shown. If any flag in this area turns on, the module needs to be replaced.
15(F) 8 7 0
0 0 0 0 0 0 0 0 0 0 0 0
CPU error
Unused
ROM error
RAM error
Communication LSI error
6-10
Appendix 1 Example Programs
Appendix 1-1 Message Communication Program between SX series
Appendix 1-1-1 Overview of communication methods
The methods for message communication between SX series (between configurations) with P/PE-link are as follows.
1) Data write by R_WRITE FB (Data receive program is not necessary on the other side.)
2) Data read by R_READ FB (Data send program is not necessary on the other side.)
3) Data send by M_OPEN+M_SEND (Data receive program by M_OPEN+M_RECEIVE) is necessary on the other side.
Note: Never have access to the memory of the P/PE-link module by the following instructions.
1) WRITE_BOOL: The access data cannot be guaranteed.
2) EXT_T_S: The result of the execution of the instruction ends abnormally. (Error code: INT#32)
PE-link
App.1-1
Appendix 1 Example Programs
Appendix 1-1 Example of Message Communication Program
Appendix 1-1-3 Sample programs
(1) Sample program of R_WRITE
<Operation>
Data in WORD form of CPU_A is written to the standard memory (%MW1.2048 to %MW1.2048) of CPU_B in another system
(configuration).
SX SX
R_WRITE_1
R_WRITE END
W_START REQ DONE S
SX bus station No. in ERR
UINT#246 MODULE_NO ERROR S
CPU A side PE-link module
(Note1) UINT#0 CHANNEL_NO STATUS STA1
PE-link station No. in
UDINT#16#3F STATION_NO
CPU B side PE-link module.
(Note2) UINT#0 VAR_TYPE
UINT#5 SIZE
001
F_REST END
R
ERR
R
App.1-2
Appendix 1 Example Programs
Appendix 1-1 Example of Message Communication Program
(2) Sample program of R_READ
<Operation>
Data in CPU_B (%MW1.2048 to %MW1.2052) is read to CPU_A in another configuration.
SX SX
CPU A CPU B
R_READ
R_READ
END2
W_START REQ DONE S
SX bus station No. in ERR2
UINT#246 MODULE_NO ERROR
CPU A side PE-link module S
(Note1) UINT#0 CHANNEL_NO STATUS STA2
PE-link station No. in
UDINT#16#3F STATION_NO
CPU B side PE-link module
(Note2) UINT#0 VAR_TYPE
UINT#5 SIZE
R_DATA[1]MON1
R_DATA[2]MON2 Read data monitor
R_DATA[3]MON3 The data type for variable from MON1 to MON5 is WORD type.
R_DATA[4]MON4
R_DATA[5]MON5
001
F_REST2 END2
R
ERR2
R
App.1-3
Appendix 1 Example Programs
Appendix 1-1 Example of Message Communication Program
(3) Data send with M_OPEN+M_SEND
<Operation>
By using M_SEND FB from CPU A, data is transmitted to CPU_B in another configuration.
<Program CPU A side (data send program)>
If SND_SW is turned on, send data (S_DATA) is transmitted in message communication.
001
SND_SW S_END
R
S_ERR
R
M_OPEN_1
M_SEND_1
M_OPEN SND_SW M_SEND S_END
BOOL#1 EN_C VALID REQ DONE S
S_ERR
SX bus station No.in PE-link module A UINT#246 MODULE_NO CON_NO CON_NO ERROR S
(Note1) UINT#0 CHANNEL_NO STATUS OPEN_STA STATUS S_STA1
PE-link station No. in PE-link module B UDINT#16#3F STATION_NO (Note2) W_DATA SD SD S_DATA
UINT#1 SPORT_NO
App.1-4
Appendix 1 Example Programs
Appendix 1-1 Example of Message Communication Program
<Program CPU B side (Data receive program)>
When R_SW is turned ON, the state changes to waiting for message reception. When data is transmitted, send data from
CPU-A is received and R_END turns ON. Received data is stored in R_DATA.
R_SW R_END
R
R_ERR
R
M_OPEN_1
M_RECEIVE_1
(Note 2)
M_OPEN
R_SW M_RECEIVE R_END
BOOL#1 EN_C VALID EN_R NDR S
R_ERR
SX bus station number in PE-link module B UINT#246 MODULE_NO CON_NO CON_NO ERROR S
(Note1) UINT#0 CHANNEL_NO STATUS R_STA
App.1-5
Appendix 1 Example Programs
Appendix 1-2 Example of Bank-change Program
With two configurations linked through the PE-link as shown in the following figure, a program used to change the bank of data
transmission in broadcast communication will be explained.
<Configuration diagram>
PE-link
BANK_CHG
B_CHG REQ DONE OK
SX bus station No. in UINT#246 MODULE_NO ERROR ERR
PE-link module A
STATUS STA
BUSY BUSY
Note 1: For using BANK_CHG FB, the CPU module that performs change bank and P/PE link module must be mounted on the
same processor bus (on the same base). If they are not mounted on the same processor bus and this FB is executed,
an application program execution error occurs.
Note 2: For using BANK_CHG FB, be sure to perform the change bank CPU definition in 4-5-2.
Note 3: Data read is performed through the processor bus. Check with an application that there is no error in the processor
bus.
App.1-6
Appendix 1 Example Programs
Appendix 1-2 Example of Bank-change Program
< Example of data write-in program (CPU-B) >
After the write-in data is set, the bank is changed.
In this example program, the bank is changed after data #12345678 in the DWORD format is written-in.
BANK_CHG_1
BANK_CHG
B_CHG_S REQ DONE OK
SX bus station number in
PE-link module B UINT#246 MODULE_NO ERROR ERR
STATUS STA
BUSY BUSY
001 R_TRIG_1
B_CHGS SEND_OK
R_TRIG
R
CLK Q
SEND_ERR
R
002
BUSY OK SEND_OK
S
ERR SEND_ERR
S
App.1-7
Appendix 1 Example Programs
Appendix 1-3 Message Communication Program with MICREX-F series
Appendix 1-3-1 Overview of communication methods
Message communication methods between MECREX-SX series and MICREX-F series are as follows.
(1) Data transmission (SX_CPU M/F_processor)
PE-link module
SX bus station No.246 MICREX-F120S
PE-link station No.00
MICREX-SX
Power CPU
supply
PE-link
App.1-8
Appendix 1 Example Programs
Appendix 1-3 Message Communication Program with MICREX-F series
Appendix 1-3-3 Sample programs
(1) Sample program of R_WRITE
<Operation>
WORD type data is written to the auxiliary memory (WM100 to WM104) in the MICREX-F series processor bus.
<Program>
001
START END_F01
R
ERR_F01
R
R_WRITE_1
R_WRITE END_F01
START REQ DONE S
SX bus station No. in ERR_F01
UINT#246 MODULE_NO ERROR S
PE-link module
Note 1) UINT#0 CHANNEL_NO STATUS ERR_STA
PE-link station No. in
M/F PE-link card UDINT#1 STATION_NO
UINT#5 SIZE
Note 2) W_DATA SD SD
App.1-9
Appendix 1 Example Programs
Appendix 1-3 Message Communication Program with MICREX-F series
(2) Sample program of M_OPEN+M_SEND
<Operation>
WORD type data is transferred to the file area (W30.0 to W30.4) in MICREX-F series processor. Data receive program is
necessary for MICREX-F series.
<Program SX side>
001
START END
R
ERR
R
M_OPEN_1
M_SEND_1
M_OPEN SND_SW M_SEND END
START EN_C VALID REQ DONE S
ERR
SX bus station No. in PE-link module UINT#246 MODULE_NO CON_NO CON_NO ERROR S
(Note1) UINT#1 CHANNEL_NO STATUS STATUS STA1
PE-link station No. in M/F PE-link card UDINT#1 STATION_NO (Note3) W_DATA SD SD
App.1-10
Appendix 1 Example Programs
Appendix 1-3 Message Communication Program with MICREX-F series
(3) Sample program of R_READ
<Operation>
The values of the auxiliary memory (WM0 to WM4) in the MICREX-F series processor is read to SX CPU.
<Program>
001
START END_F01 Declaration of data type
R TYPE
W_1_10ARRAY1...10OF WORD
ERR_F01 W_1_2ARRAY1...2OF WORD
R END_TYPE
R_READ_1
R_READ END_F01
START REQ DONE S
ERR_F01
SX bus station No. in PE-link module UINT#246 MODULE_NO ERROR S
UINT#5 SIZE
(Note2R_DATA RD RD R_DATA
App.1-11
Appendix 1 Example Programs
Appendix 1-3 Message Communication Program with MICREX-F series
(4) Data transmission program from M/F with announce relay
<Operation>
The file area (W31.0 to 31.4) data in the MICREX-F series processor is transmitted to SX_CPU. Data receive program with
M_OPEN+M_RECEIVE is necessary on SX_CPU.
001
B0 D0
System definitionMessage module registration
D0 A51 Message module No. No. Data module No. Use Link
S 0
A101 B100 SPORT_No. 1 31 2 4
RPORT_No. 2 30 3 4
3
A150 B101
Send Receive P/PE-link
0ch
Note: For the detailed use of MICREX-F series instruction, refer to MICREX-F series instruction (FH160) and MICREX-F
series communication (FH161).
<Program SX side>
M_OPEN_1
M_RECEIVE_1
M_OPEN
M_RECEIVE R_END
START EN_C VALID EN_R NDR S
R_ERR
SX bus station No. in PE-link module UINT#246 MODULE_NO CON_NO CON_NO ERROR S
(Note1UINT#0 CHANNEL_NO STATUS STA1
PE-link station No. in M/F PE-link card UDINT#1 STATION_NO (Note3R_DATA RD RD R_DATA
(Note1UINT#0 MODE
(Note1UINT#0 SUB_MODE
ERR
(Note2UINT#2 RPORT_NO ERROR S
App.1-12
Mitsui Sumitomo Bank Ningyo-cho Bldg.,
5-7, Nihonbashi Odemma-cho, Chuo-ku, Tokyo 103-0011, Japan
Phone: +81-3-5847-8011
Fax: +81-3-5847-8172
URL http://www.fujielectric.co.jp/fcs/eng/