Set Communications Port: _INV600_SetComm

advertisement
_INV600_SetComm (1/2)
INV
600
Set Communications Port: _INV600_SetComm
Basic
function
Symbol
Sets the communications settings of the serial port on the PLC to the same default settings as those of the
3G3MV.
Start trigger
_INV600_SetComm
Unit selection
Serial port No.
File name
Applicable
models
Conditions
for usage
(BOOL)
EN
(INT)
UnitSelect
(INT)
PortNo
(BOOL)
ENO
Lib\FBL\omronlib\Inverter\INVRT\Serial\_INV600_SetComm11.cxf
Inverters
3G3MV Series, 3G3RV Series
CIMR-V7AZ, CIMR-F7Z, CIMR-E7Z, CIMR-L7Z, CIMR-G7 (Sold by OYMC)
CPU Unit
CS1*-CPU**H Unit version 3.0 or higher
CJ1*-CPU**H Unit version 3.0 or higher
CJ1M-CPU** Unit version 3.0 or higher
CP1H
CP1L (except 10 points CPU)
Serial
CS1W-SCU21-V1, CJ1W-SCU21-V1, CJ1W-SCU41-V1 Unit Version 1.2 or higher
Communications
CS1W-SCB21-V1 and CS1W-SCB41-V1 Unit Version 1.2 or higher
Units/Boards
CP Series CPU serial port
CX-Programmer
Version 5.0 or higher
The inverter is to be connected to the Serial Communications Unit (SCU), Serial Communication Board (SCB),
or a serial port on the CP Series CPU unit.
This FB initialize parameters for serial ports to work with 3G3MV series inverter which have communication
parameters set to factory setting.
If other setting for more performance is needed, use FB
_SCX604SetPortGateway according to Function description below.
■ Inverter Settings
• Slave address(n153/H5-01)= 1 to 31
A unique setting required for all nodes on same MODBUS line.
■ PLC Parameters
• See users manual for RS422/485 wire.
• Serial communication unit or board must have serial gateway function to MODBUS line.
■ Shared Resources
• No Special resource to specify
Function
description
FB
precautions
EN input
condition
Restrictions
Input
variables
Output
variables
A EN input would set the specified Serial port for 3G3MV inverter communication parameter on factory setting.
and then restarts Serial Communication unit or board to run with the parameter.
For other communication setting (Non-parity or faster baud-rate=19200) , use _SCX604SetPortGateway.
■ Communication Parameters
• Mode=9:Serial Gateway
• 3G3MV Factory setting.
¾
Data=8bit
¾
Stop=1bit
¾
Parity (n155/H5-03)=Even (disagree with 3G3RV, CIMR (-F7Z/ -E7Z/ -L7Z/ -G7) Factory setting)
¾
Baud (n154/H5-02)=9600 bit/s
¾
Delay =0 (default)
.
• The FB does not check for restart have finished.
• An upwardly differentiated signal or a 1 cycle on signal should be used. otherwise, the Serial Communication
unit does not start because of the restart bit stay ON.
• When any input variable is out of range, ENO will be turned OFF and the FB will not be executed.
• Always use an upwardly differentiated version of input to EN.
_INV600_SetComm (2/2)
Application
example
Initializes the memory area for the Serial Communications Unit (SCU) with the Unit No. 10
Unit No.: 10
&10
CPU
SCU
Serial port No.: 1
Parity
3G3MV, CIMR-V7AZ: n155=0(Factory Setting)
3G3RV, CIMR (-F7Z/ -E7Z/ -L7Z/ -G7): H5-03=1(Even)
Speed (Baud Rate)
3G3MV, CIMR-V7AZ: n154=2(9600bit/s)
3G3RV, CIMR (-F7Z/ -E7Z/ -L7Z/ -G7): H5-02=3(9600bit/s)
Inverter
Start trigger
_INV600_SetComm
Unit selection
&2
Serial port No.
&1
Related
manuals
(BOOL)
EN
(INT)
UnitSelect
(INT)
PortNo
• SYSDRIVE 3G3MV Series Multi-function Compact Inverter User’s Manual (I527)
• SYSDRIVE 3G3RV Series High-function General-purpose Inverter User’s Manual (I532)
• CIMR-F7Z User’s Manual (YEG-TOE-S616-55.1-OY)
• CIMR-E7Z User’s Manual (YEG-TOE-S616-56.1-OY)
• CIMR-L7Z User’s Manual (TOMCC71067600AA-OY)
• CIMR-G7 User’s Manual (TOE-S616-60.2)
■ Variable Table
Input Variables
Name
EN
Variable name
EN
Data type
BOOL
Default
FALSE
Range
Unit selection
UnitSelect
INT
&0
&0 to &15,
#BBBB
#CCCC
&1 to &2
Serial port No.
(BOOL)
ENO
PortNo
INT
1
Description
ON (1): Starts FB
OFF (0): Does not start FB
Specify the connected Unit and serial port.
For CP Series CPU Serial port:
Unit selection
#CCCC
(UnitSelect)
Serial port No.
1: Port 1
(PortNo)
2: Port 2
For SCB:
Unit selection
#BBBB
(UnitSelect)
Serial port No.
1: Port 1
(PortNo)
2: Port 2
For SCU:
Unit selection
(UnitSelect)
Serial port No.
Output Variables
Name
Variable name
ENO
ENO
Data type
BOOL
■ Revision History
Version
Date
1.00
2005.4.22
1.10
2006.4.28
Range
Unit No. (&0 to &15)
1: Port 1
Description
1 (ON): FB processed normally.
0 (OFF): FB not processed or ended in an error.
Contents
Original production
Support CPU serial port
■ Note
This document explains the function of the function block.
It does not provide information of restrictions on the use of Units and Components or combination of them. For actual applications,
make sure to read the operation manuals of the applicable products.
Download