This User’s Manual explains the system configuration of SPH general purpose communication module, the specifications
and operation of the modules.
Read this manual carefully to ensure correct operation. When using modules or peripheral devices, be sure to read the
corresponding user’s manuals listed below.
<Relative manuals for the SX-Programmer Expert (D300win)>
<Relative manuals for the SX-Programmer Standard (Standard Loader)>
eltiT.oNlaunaMstnetnoC
,noitcurtsnIlaunaMs'resU
seiresXS-XERCIM
s'resU,erawdraHlaunaM
HPSseiresXS-XERCIM
launaMs'resU
,>ecnerefeR<dradnatSremmargorP-XS
seiresXS-XERCIM
*This manual is structured to be applicable to both D300win and Standard Loader.
*In addition to the above manuals, the following Fuji Electric FA Components & Systems Co., Ltd. site offers various
manuals and technical documents associated with MICREX-SX.
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.
Be sure to read the “Safety Precautions” thoroughly before using the module.
Here, the safety precaution items are classified into “Warning” and “Caution.”
Safety Precautions
Warning
Caution
Even some items indicated by “Caution” may also result in a serious accident.
Both safety instruction categories provide important information. Be sure to strictly observe these instructions.
: Incorrect handling of the device may result in death or serious injury.
: Incorrect handling of the device may result in minor injury or physical damage.
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 PLC.
A failure of PLC 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.)
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.
Remove the dust-cover seals of modules after wiring, fire, accidents, failue or fault 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 PLC, 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.
External power supply (such as 24V DC power supply) which is connected to DC I/O should be strongly isolated from
Section 1 General ..........................................................................................1-1
1-1 General ............................................................................................................................................ 1-1
1-2 Selections and Programs for the Communication ..................................................................... 1-2
1-3 General Purpose Communication Package for Factory Automation Machine ........................ 1-3
1-4 Product Versions and Supported Functions ............................................................................... 1-4
3-1-1 Mounting position ................................................................................................................................. 3-1
3-1-2 Number of mountable modules ............................................................................................................ 3-1
3-2 System Configurations .................................................................................................................. 3-2
3-2-1 1:1 Connection using RS-232C port ..................................................................................................... 3-2
3-2-2 1:N Connection using RS-485 port (N = max. 31 modules) ................................................................. 3-3
3-2-3 Connecting independently to RS-232C and RS-485 ports ................................................................... 3-4
3-2-4 Connection using RS-232C and RS-485 ports (2) ............................................................................... 3-5
3-2-5 Connecting a personal computer loader to the RS-232C port and RS-485 port ................................. 3-7
3-2-6 Loader network configuration using RS-485 ........................................................................................ 3-7
3-2-7 Loader network configuration using modems (1) ................................................................................. 3-8
4-1 General ............................................................................................................................................ 4-1
4-2 Specifications for Non-procedural FB ......................................................................................... 4-3
4-2-1 Communication specification ................................................................................................................ 4-3
4-2-2 FB format ............................................................................................................................................... 4-4
4-3-3 OPEN status list .................................................................................................................................. 4-10
4-4 Data Sending ................................................................................................................................ 4-11
4-4-1 Data sending procedure ...................................................................................................................... 4-11
4-4-2 Send status list .................................................................................................................................... 4-12
4-5 Data Receiving .............................................................................................................................. 4-13
4-5-1 Data receiving procedure .................................................................................................................... 4-13
4-5-2 Receiving status list ............................................................................................................................ 4-14
4-6 RAS Information ........................................................................................................................... 4-15
6-2-1 When RS-485 is used (2-wire) .............................................................................................................. 6-2
6-2-2 When RS-485 is used (4-wire system) ................................................................................................. 6-2
6-2-3 When RS-232C is used ......................................................................................................................... 6-3
1-4-2 Available standard extended FB ........................................................................................... 1-4
General
Section 1 General
1-1 General
NP1L-RS1/2/4 are communication modules which enable data communication between a CPU module and external
devices, and which are connected to the base board (on the SX bus) of MICREX-SX series. (NP1L-RS1/2/4 are
sometimes abbreviated as RS1/2/4.)
The port type and the number of ports are as follows:
epyTstropfo.oN
1SR-L1PNlennahc1:584-SR,lennahc1:C232-SR
2SR-L1PNlennahc1:C232-SR
4SR-L1PNlennahc1:584-SR
RS1
RS-232C
Power
supply
(1:1)
CPU I/OI/OI/OI/O
RS-485
(1:n) n = Max. 31
External
device
As an external device,
it is possible to connect
a loader software
package for in a
personal computer.
<Overview of SX bus connection>
Total length of SX bus: Max. 25m
I/OI/OI/OI/O
CPU
Data transmission between CPU and an
external device is performed via the SX bus.
External
device
Loader software package for a personal computer
External
device
External
device
General purpose
communication module
External device
1-1
1-2 Selections and Programs for the Communication
The following preparations are necessary for RS1/2/4 to communicate between a CPU module of MICREX-SX series and
external devices.
MICREX-SX series
RS1/2/4
Power
supply
<CPU modules side>
Initializing parameters for a RS-232C port and a
RS-485 port.
(Transmission speed, data length, parity bit, stop
bits etc.,)
Application software for the communication.
FA packages are optionally provided
for each external device.
External device
CPU I/OI/OI/OI/O
<RS1/2/4 side>
Selection switch of the module is used.
RS-485 station No. selection switch (0 to F)
If RS-485 port is not used, the selection is not
necessary.
Mode selection switch
Device selection of RS-232C port and RS-485
port, Data conversion
RS-485 terminating resistor ON/OFF switch
ON/OFF of terminating resistor is selected.
If RS-485 port is not used, this switch is ignored.
<External device side>
Transmission speed, data length, parity bit, stop bits etc.
Application software for the communication.
1-2
1-3 General Purpose Communication Package
for Factory Automation Machine
Nonsequenced FB is provided for NP1L-RS1/2/4 to communicate with external serial devices. (Included in D300win.)
General purpose communication package for Factory Automation machine (NP4N-COMF) is provided to communicate
Note 1: The modem-based loader functions are functions which realize remote operation and programming by connecting
a modem to the RS-232C port and using the public circuit. These functions cannot be used with the NP1L-RS4
which is provided only with the RS-485 port.
Note 2: With modem-based function 1, the transmission rate between this module and a commercial modem is fixed to
19200 bps. With modem-based function 2, the transmission rate can be selected from 9600, 19200, and 38400
bps.
Note 1: This FB uses the RS-485 port. Cannot be used with the NP1L-RS2 which is provided only with the RS-232C port.
Note 2: This FB uses the RS-232C port. Cannot be used with the NP1L-RS4 which is provided only with the RS-485 port.
1-4
Section 2 Specifications
Page
2-1 General Specifications ............................................................................................... 2-1
2-2 Communication Specifications ................................................................................. 2-2
2-3 Names and Functions................................................................................................. 2-3
Note 1: The use of the non-procedural FB allows this mode to be used like the full-duplex mode on applications.
Note 2: Transmission rates 300, 600, 76800, and 115200 bps can be used in the following combinations:
This switch is used to select a connectable device, the signal conversion and the self-diagnosis for the RS-232C port and
the RS-485 port.
C
MODE
D
B
E
A
F
9
8
7
6
3
5
4
Switch
0
1
2
No.
Mode
RS-232C portRS-485 port
RS-232C <=> RS-485
Signal conversion
Remarks
0General purpose device General purpose device Not available
1Programming loaderGeneral purpose device Not available
2General purpose device Programming loaderNot available
3Programming loaderProgramming loaderNot available
Applies to
V2535 or later.
4General purpose device General purpose device Available
5
Not used
6
Modem-loder
19200 bps
General purpose device Not available
Applies to
V1031 or later.
7Self-diagnosis mode 1 (diagnoses internal memory and LED)
8Self-diagnosis mode 2 (diagnoses RS-232C, RS-485 turning back)
Modem-loder
9
19200 bps
Modem-loder
A
9600 bps
Modem-loder
B
9600 bps
Modem-loder
C
38400 bps
Modem-loder
D
38400 bps
Modem-loder
E
76800 bps
(Note 5)FModem-loder
115200 bps
Programming loaderNot available
General purpose device Not available
Programming loaderNot available
General purpose device Not available
Programming loaderNot available
General purpose device Not available
Modem-loder
115200 bps
—
Applies to
V1031 or later.
Applies to
V2535 or later.
Applies to
V2536 or later.
Note 1: For details of the function mode, refer to “3-2 System configuration.”
Note 2: For the self-diagnosis, refer to “3-4 Self-diagnosis.”
Note 3: “Programming loader” is the mode for connecting to D300win. Communication specifications are fixed to” 38400
bps” for transmission speed, “8 bits” for data length, “1 bit” for stop bits, and “even” for parity.
Note 4: “Modem-loader" is the mode that is basically used to connect to D300win loader via a modem. In general, for
modems, “none” is specified for parity. Therefore, in this mode, communication specifications become “8 bits” for
data length, “1 bit” for stop bits, and “none” for parity.
Note 5: Either channel is selected and used.
3) RS-485 station No. selection switch
This switch used to select a RS-485 station number of NP1L-RS1 or NP1L-RS4. Selecting range is 0 to F.
C
D
B
E
A
RS485
No.
(0-F)
F
9
0
8
1
7
2
6
3
5
4
2-5
2-3 Names and Functions
Functions
4) RS-232C port
This port is D-sub, 9-pin connector (female). This connector is connected to D-sub, 9-pin connector (male).
(1) RS to CS signal check .......................................................................................................................... 3-11
(2) ER to DR signal check .......................................................................................................................... 3-11
(3) RS-232C/RS-485 data check................................................................................................................ 3-11
(4) Preservation of the result of the check.................................................................................................. 3-11
Mounting restrictions
Section 3 System Configuration
3-1 Mounting Restrictions
3-1-1 Mounting position
NP1L-RS1/2/4 is a general purpose communication module which is connected to the SX bus of MICREX-SX series. The
mounting position on the base board is restricted as follows:
They can be mounted in any slot except those for the power supply module (the two slots from the left on the base board).
<Base board other than 6-slots base board>
<6-slots base board>
Mountable slots
Note: The general purpose communication modules cannot be mounted on T-link or OPCN-1 slave station base boards.
Power
supply
T-link master module
CPU
Mountable slots
T-link interface module
I/OI/OI/OI/O
Power
supply
3-1-2 Number of mountable modules
A maximum of 16 modules per configuration can be connected. However, when other communication related modules are
used in the same configuration, the maximum number of 16 is the total of these and NP1L-RS1/2/4 modules.
P-link module (NP1L-PL1)
PE-link module (NP1L-PE1)
FL-net (OPCN-2) module (NP1L-FL1)
General purpose communication module (NP1L-RS1/2/4)
PC card interface module (NP1F-PC2)
Memory card interface module (NP1F-MM1)
Maximum of 16 modules per configuration.
3-1
3-2 System Configurations
3-2-1 1:1 Connection using RS-232C port
This configuration connects to an external device having an RS-232C interface via the RS-232C port.
The mode selection switch is set to “0” (zero).
RS1 or RS4
<Mode selection switch: “0”>
RS-232C port
1: 1 connection
General purpose device
Power
supply
CPU
RS-485 port
Signal conversion
General purpose device
None
RS-232C
External device
* With RS1, a D300win personal computer loader can be connected to an RS-485 port which is not used.
In this case, the mode selection switch needs to be set to “2.”
RS1
<Mode selection switch: “2”>
General purpose device
Loader
None
Power
supply
CPU
RS-485
RS-232C port
RS-485 port
Signal conversion
RS-232C
External device
For the connection, refer to “3-3-2 When
connecting to RS-485 port.”
3-2
1: N connection
3-2 System Configurations
3-2-2 1:N Connection using RS-485 port (N = max. 31 modules)
This configuration connects to external devices having an RS-485 interface via the RS-485 port. The mode selection
switch is set to “0.” A maximum of 31 external devices can be connected. However, when all external devices are RS1 or
RS4, the maximum number is limited to 15 because only 0 to F are available for addressing.
RS1 or RS4
<Mode selection switch: “0”>
Power
supply
CPU
RS-232C port
RS-485 port
Signal conversion
RS-485
General purpose device
General purpose device
None
External deviceExternal deviceExternal device
ABC
Note: External devices A , B and C must be the same in type as well
as communication protocol. For example, this connection is not
available when A and B are temperature controllers and C is a
bar code reader.
* With NP1L-RS1, a D300win personal computer loader can be connected to an RS-232C port which is not in use.
In this case, the mode selection switch needs to be set to “1.”
RS1
<Mode selection switch: “1”>
Loader
General purpose device
None
Power
supply
CPU
RS-232C
RS-232C port
RS-485 port
Signal conversion
RS-485
External deviceExternal deviceExternal device
ABC
For the connection, refer to “3-3-1 When
connecting to RS-232C port.”
3-3
3-2 System Configurations
1: 1 / 1: N connection
3-2-3 Connecting independently to RS-232C and RS-485 ports
This configuration connects to external devices using the RS-232C port and RS-485 port. In this case, communication
through these ports is performed independently.
Power
supply
RS1
CPU
RS-485
<Mode selection switch: “0”>
RS-232C port
RS-485 port
Signal conversion
General purpose device
General purpose device
None
External device
ABC
Note: External devices A , B and C must be the same in type as well
as communication protocol. For example, this connection is not
available when A and B are temperature controllers and C is a
bar code reader.
RS-232C
External deviceExternal device
External device
3-4
1: 1 / 1: N connection
3-2 System Configurations
3-2-4 Connection using RS-232C and RS-485 ports (2)
This configuration connects to external devices using the RS-232C port and RS-485 port.
RS1
Power
supply
CPU
External device
External deviceExternal device
BCD
RS-232C
External device
(personal computer, etc.)
With this configuration, the following communications can be performed :
1) Communication between external device A and external device B, C or D (not via the CPU module)
2) Communication between external device A and CPU module
3) Communication between external device B, C or C and CPU module
<Mode selection switch: “0”>
RS-232C port
RS-485 port
Signal conversion
RS-485
A
General purpose device
General purpose device
Yes
<1) Communication between external device A and external device B, C or D>
This communication is performed directly, namely not via the CPU module.
RS1
Transmission speed is 38400 bps (default) for
both RS-232C and RS-485. Changing
transmission speed is done through the user
Power
supply
CPU
program (expansion FB).
RS-485
External device
External deviceExternal device
BCD
RS-232C
External device
(personal computer, etc.)
A
3-5
3-2 System Configurations
<2) Communication between external device A and the CPU module>
RS1
1: 1 / 1: N connection
Power
supply
CPU
RS-485
External device
B
External deviceExternal device
C
RS-232C
External device A
(personal computer, etc.)
(Note)
<3) Communication between external device B, C or D and the CPU module>
RS1
D
Note: A user program for
controlling external
device A is necessary.
Power
supply
CPU
Note: When the station number designated in the
send data is the same as the setting of the
RS-485 station number setting switch of RS1,
FB in the CPU module receives the data.
RS-485
External device
External deviceExternal device
BCD
Note: External devices A, B and C must be the same in type as well as
communication protocol. For example, this connection is not available
when A and B are temperature controllers and C is a bar code reader.
RS-232C
External device A
(personal computer, etc.)
3-6
1: 1 / 1: N connection
3-2 System Configurations
3-2-5 Connecting a personal computer loader to the RS-232C port and RS-485 port
This configuration connects a D300win personal computer loader to each of RS-232C and RS-485 ports.
Power
supply
RS1
CPU
RS-232C
<Mode selection switch: “3”>
RS-232C port
RS-485 port
Signal conversion
RS-485
Loader
Loader
None
For the connection, refer to
“3-3 Loader Connecting Cable.”
3-2-6 Loader network configuration using RS-485
This configuration connects a D300win personal computer loader to the RS-232C port of RS1 on System 1.
A D300win can communicate with both CPUs of System 1 and System 2.
<Mode selection switch of System 1: “5”>
RS-232C port
RS-485 port
Signal conversion
Power
supply
Loader
General device/loader
Yes
CPU
RS-232C
<Mode selection switch of System 2: “2”>
RS-232C port
Loader
Normal
RS1
RS1
RS-485 port
Signal conversion
Power
supply
CPU
RS-485
• When connected to the CPU of System 1, designate, from the
programming loader, the CPU which is in the configuration.
• When connected to the CPU of System 2, designate, from the
programming loader, the RS-485 station number of RS1 on System 2.
3-7
Loading...
+ 65 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.