NT21_Setup Manual (V068-E1-1) (986757), страница 15
Текст из файла (страница 15)
The CPM2C’s communication port handles both RS-232Cand peripheral port connections, which are divided internally. Therefore, whenusing the CPM2C, it is necessary to select RS-232C or peripheral port connections, according to the kind of cable and port (on the cable) used, as shown in thefollowing table. Refer to the CPM2C Operation Manual for more details.Peripheral portCPM2C-CN111CPM2CCPM2CCS1W-CN114Peripheral portRS-232C port(D-Sub 9-pin, female)Setting Switches on a C200HX/HG/HE(-Z)E Serial Communications BoardSet the switches on a C200HX/HG/HE(-Z)E Serial Communications Board asfollows.Switch 1:Set to 4 (4-wire, for RS-422A)Switch 2:Set to ON for terminator ON (terminating resistance applied)Setting Switches on a CQM1H Serial Communications BoardSet the switches on a CQM1H Serial Communications Board as follows.Wire selection (WIRE): Set to 4 (4-wire, for RS-422A)Terminator (TERM):Set to ON for termination ON.Serial Communications Board(Inner Board slot 1)Terminator Switch (TERM)Set to ON (right side).Wire Selection Switch (WIRE)Set to 4 (right side).Setting the Switches on an RS-422A AdapterCPM1CIF11CPM1Set the terminator selector switch to ON (upper position).Connecting to a CS-series Serial Communications BoardSerial Communications Board with RS-422A/485 port equipped for CS-seriesCPU Unit Model:CS1W-SCB41 (The port 2 is RS-422A/485 port.)76SectionConnecting to the Host’s RS-422A/485 Port5-1Setting the Front SwitchesRDYCOMM1COMM2Port 1RS-232CPORT1Terminal resistance setting switch (TERM)Set to ON (Terminal resistance is present.) (right side)OFF2Port 2RS-422A/485ON TERM4WIREPORT2(RS422/RS485)Two-wire/four-wire changeover switch (WIRE)4 (4-wire) (right side)SCB41Allocated DM Area Settings for CPU UnitSettings are written from the Programming Device (a Programming Console orCX-Programmer) directly into the allocated DM Area settings (PC Setup) of theCPU Unit.
After the settings are written, they become effective by turning thepower ON, restarting the Unit, restarting the communication port, or executingthe STUP instruction.The following table shows the words allocated in the DM Area and the settings.Allocated DMwordValueSettingsPort 2DM320108000Host Link mode, 2 stop bits, data length 7 bits,even parity,DM320110000Baud rate9,600 bps.19,200 bps.0007Baud rateDM320120000Transmit delay timeDM320130000No CTS control0 ms.Unit No.0 for Host LinkUsing the 1:1 NT Link MethodCompatible Host UnitsSome models and series of OMRON PCs have the RS-422A 1:1 NT Link function built in.• The C200HX/HG/HE(-Z)E CPU Units can be connected by the RS-422A 1:1NT Link method by installing a Serial Communications Board.• The CQM1H CPU Units can be connected by the RS-422A 1:1 NT Link methodby installing a Serial Communications Board.Check the model and series of the PC and the type of installed Serial Communications Board before making connections.77SectionConnecting to the Host’s RS-422A/485 Port5-1The following table lists the Units that are equipped with an RS-422A 1:1 NT Linkfunction compatible with the NT21.PC SeriesC SeriesCVM1Series (*3)CPU Units with Built-in RS-422A 1:1 NTLink FunctionModel NameC200HE-CPU32-(Z)E(*1)C200HE-CPU42-(Z)E(*1)C200HE (-Z)EC200HG-CPU33-(Z)E(*1)C200HG-CPU43-(Z)E(*1)C200HG-CPU53-(Z)E(*1)C200HG-CPU63-(Z)E(*1)C200HG (-Z)EC200HX-CPU34-(Z)E(*1)C200HX-CPU44-(Z)E(*1)C200HX-CPU54-(Z)E(*1)C200HX-CPU64-(Z)E(*1)C200HX-CPU65-ZE(*1)C200HX-CPU85-ZE(*1)C200HX (-Z)ECQM1H-CPU51/61 (*2)CQM1HCVM1-CPU01-EV2CVM1-CPU11-EV2CVM1-CPU21-EV2CVM1*1 One of the following Serial Communications Boards is required:C200HW-COM03-EV1 or C200HW-COM06-EV1.*2 A CQM1H-SCB41 Serial Communications Board is required.*3 CPU Units of CVM1/CV-series PCs without the suffix -EVj cannot beconnected.The 1:1 NT Link method cannot be used using RS-485.
To use the 1:1 NT Linkmethod, connect by RS-422A.NT link connection using RS-422A/485 is not possible with the CPM1, CPM2A,and CPM2C.Settings at the HostThe setting methods for each model of Unit are described below.• Connecting to a CVM1/CV-series (-EVj) CPU UnitsCVM1-CPU01-EV2/CVM1-CPU11-EV2/CVM1-CPU21-EV2PC SetupWhen connecting to the CVM1/CV-series CPU Unit by the 1:1 NT Link method,no particular settings are required at the PC Setup.78SectionConnecting to the Host’s RS-422A/485 Port5-1Setting the Front Switches@ Host Link communication method selection(selector switch)Set this to RS-422A.@ Communications type setting (pin 3)Set this switch to ON.(for communication by NT link)I/O port selector switchRS-232CRS-422A@ Terminator setting (pin 6)Set this switch to ON.(Set terminator ON.)Connecting to a C-series C200HX/HG/HE(-Z)E or CQM1HPC Setup SettingsWrite the PC Setup (data memory) settings directly from a Programming Device(e.g., CX-Programmer) in accordance with the host model.WordWriting ValuePort A of C200HX/HG/HE(-Z)E*1Host ModelDM65554000Port 2 of CQM1H*2DM65504000SettingUse 1:1 NT Link*1 RS-422A port of the Serial Communications Board*2 RS-422A port of the Serial Communications BoardFor details on operations relating to the PC Setup, refer to the manual for the PCyou are using.Setting the DIP Switches on a C200HX/HG/HE(-Z)E Serial Communications BoardSet the switches on a C200HX/HG/HE(-Z)E Serial Communications Board asfollows.Switch 1: Set to 4 (4-wire, for RS-422A)Switch 2: Set to ON for terminator ON (terminating resistance applied)Setting Switches on a CQM1H Serial Communications BoardSet the switches on a CQM1H Serial Communications Board as follows.Wire selection (WIRE): Set to 4 (4-wire, for RS-422A)Terminator (TERM):Set to ON for termination ON.Serial Communications Board(Inner Board slot 1)Terminator Switch (TERM)Set to ON (right side).Wire Selection Switch (WIRE)Set to 4 (right side).79SectionConnecting to the Host’s RS-422A/485 Port5-1Using the 1:N NT Link MethodCompatible Host UnitsThe OMRON PCs that can be connected using the RS-422A/485 1:N NT Linkare the CS-series (CS1G/H and CS1G/H-H), CJ-series CJ1G, C200HX/HG/HE(-Z)E, and CQM1H models only.
A Serial Communications Board/Unit or aSerial Communications Board must be installed to make the connection.Check the model and series of the PC against the CPU Unit model or SerialCommunications Board before making the connections.The Units that can be connected as hosts to the NT21 by the 1:N NT Link methodusing a RS-422A/485 port are listed in the following table.PC SeriesCPU Units withBuilt-in 1:N NTLink FunctionCPU Units connectable through aSerial Communications BoardModelCS1GCS1HCS1G-HCS1H-HCS Series---CS1G-CPU42/43/44/45-E(V1)(*1)CS1H-CPU63/64/65/66/67-E(V1)(*1)CS1G-CPU42H/43H/44H/45H(*1)CS1H-CPU63H/64H/65H/66H/67H(*1)CJ Series---CJ1J-CPU44/45(*2)CJ1G---C200HE-CPU32-(Z)E(*3)C200HE-CPU42-(Z)E(*3)C200HE(-Z)E---C200HG-CPU33-(Z)E(*3)C200HG-CPU43-(Z)E(*3)C200HG-CPU53-(Z)E(*3)C200HG-CPU63-(Z)E(*3)C200HG(-Z)E---C200HX-CPU34-(Z)E(*3)C200HX-CPU44-(Z)E(*3)C200HX-CPU54-(Z)E(*3)C200HX-CPU64-(Z)E(*3)C200HX-CPU65-ZE(*3)C200HX-CPU85-ZE(*3)C200HX(-Z)E---CQM1H-CPU51/61(*4)CQM1HC Series*1 A CS1W-SCB41-E Serial Communications Board is required.*2 A CJ1W-SCU41 Serial Communications Unit is required.*3 A C200HW-COM03-V1 or C200HW-COM06-V1 Serial Communications Board isrequired.*4 A CQM1H-SCB41 Serial Communications Board is required.Settings at the HostConnecting to a CJ-series Serial Communications UnitCJ-series: CJ1W-SCU41 (Port 1 is an RS-422A/485 port.)Setting the Front SwitchesSet the unit number of the Serial Communications Unit with the rotary switch onthe front of the Unit.
Set the unit number with a flat blade screwdriver. Also, setthe communications mode switch to select 2-wire (RS-485) or 4-wire (RS-422A)80SectionConnecting to the Host’s RS-422A/485 Port5-1communications and set the terminator switch to enable or disable the terminating resistance.Terminal resistance switch (TERM)Set to ON (Terminal resistance is present.)Unit number switchSet the a unique unit number between0 and F so that there is not a conflictwith the numbers used in other Units.Communications mode switch (WIRE)For RS-422A: 4 (4-wire)For RS-485: 2 (2-wire)Allocated DM Area Settings for CPU UnitSettings are written from the Programming Device (a Programming Console orCX-Programmer) directly into the allocated DM Area settings (PC Setup) of theCPU Unit. After settings are written, they become effective by turning the powerON, restarting the Unit, restarting the communication port, or executing theSTUP instruction.The following table shows the words allocated in the DM Area and the settings.Allocated DMwordWriting ValueSettingsPort 1DM3200082001:N NT Link modeDM320010000 to 0009DM32006000j(*1)Communications baud rate (standard)j = The largest model number of the connected PTs (0 to 7)*1 Set any value between 0000 and 0009 Hex for the communications baud rate.The same baud rate will be used regardless of the value as long as it is between0000 and 0009 Hex.For example, when connecting PTs with model numbers 3, 4, 5, and 6 to port 1,set DM 32000 to 8200 Hex, DM 32001 to 0000 Hex, and DM 32006 to 0006 Hex.C-series C200HX/HG/HE(-Z)E and CQM1HPC Setup SettingsWrite the communication conditions directly into the PC Setup (data memory)using a Programming Device (e.g., CX-Programmer).Make the setting indicated in the word shown below.Host ModelWordWriting ValuePort A of a C200HX/HG/HE(-Z)E*1DM65555j00Port 2 of a CQM1H*2DM65505j00SettingUse 1:N NT Linkj = largesta gest uu be oeunitt numberof ttheconnected PTs ((1 to 7))*3*1 The Serial Communications Board’s RS-422A/485 port*2 The Serial Communications Board’s RS-422A/485 port*3 When using C200HE(-Z)E, the maximum PT unit number is 3.For details on setting the PC Setup settings, refer to the PC’s operation manual.Reference:S There are no Serial Communications Boards for the C200HX/HG/HE(-Z)E inwhich port B is the RS-422A/485 port.S There are no Serial Communications Boards for the CQM1H in which port 1 isthe RS-422A/485 port.Setting the DIP Switches on a C200HX/HG/HE(-Z)E Serial Communications BoardSet the switches on a C200HX/HG/HE(-Z)E Serial Communications Board asfollows.81SectionConnecting to the Host’s RS-422A/485 Port5-1Switch 1: Set to 4 (4-wire, for RS-422A), orSet to 2 (2-wire, for RS-485)Switch 2: Set to ON for terminator ON (terminating resistance applied)Setting Switches on a CQM1H Serial Communications BoardSet the switches on a CQM1H Serial Communications Board as follows.Wire selection (WIRE): Set to 4 (4-wire, for RS-422A)orSet to 2 (2-wire, for RS-485)Terminator (TERM):Set to ON for termination ON.Serial Communications Board(Inner Board slot 1)Terminator Switch (TERM)Set to ON (right side)Wire Selection Switch (WIRE)When using RS-422A: Set to 4 (right side) for 4-wire.When using RS-485: Set to 2 (left side) for 2-wire.Connecting to CS-series Serial Communications BoardSerial Communications Board with RS-422A/485 port equipped for CS-seriesCPU Unit model:CS1W-SCB41 (The port 2 is RS-422A/485 port.)Setting the Front SwitchesRDYCOMM1COMM2Port 1RS-232CPORT1Terminal resistance setting switch (TERM)Set to ON (Terminal resistance is present.) (right side)OFF2Port 2RS-422A/485ON TERM4WIREPORT2(RS422/RS485)Two-wire/four-wire changeover switch (WIRE)For RS-422A: 4 (4-wire) (right side)For RS-485: 2 (2-wire) (left side)SCB41Allocated DM Area Settings for CPU UnitSettings are written from the Programming Device (a Programming Console orCX-Programmer) directly into the allocated DM Area settings (PC Setup) of theCPU Unit.