NT21_Setup Manual (V068-E1-1) (986757), страница 16
Текст из файла (страница 16)
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.82SectionConnecting to the Host’s RS-422A/485 PortAllocated DMwordValue5-1SettingsPort 2DM320108200DM320110000 to 0009DM32016000j1:N NT Link mode(*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 2,set DM 32010 to 8200 Hex, DM 32011 to 0000 Hex, and DM 32016 to 0006 Hex.Using the High-speed 1:N NT Link MethodCompatible Host UnitsThe OMRON PCs that can be connected using the high-speed RS-422A/4851:N NT Link are the CS-series (CS1G/H and CS1G/H-H), CJ-series CJ1G models only.
With the CS-series, a CS1W-SCB41-E Serial Communications Boardmust be used. With the CJ-series, a CJ1W-SCU41 Serial Communications Unitmust be used. (If a Serial Communications Board is used, even CS-series Unitswithout the “-V1” suffix can be connected via high-speed 1:N NT Link.)Be sure to check the model number of the PC and Board/Unit before trying toestablish the high-speed 1:N NT Link.The following table shows which Units can be connected as hosts to the NT21with the high-speed 1:N NT Link through the RS-422A/RS-485 port.PC SeriesPCs supporting directconnection to the CPU UnitPCs supporting connection through aSerial Communications Board/UnitCS 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---CJ1G-CPU44/45 (*2)ConnectablemodelsCS1GCS1HCS1G-HCS1H-HCJ1G*1 A CS1W-SCB41 Serial Communications Board is required.*2 A CJ1W-SCU41 Serial Communications Unit 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)communications and set the terminator switch to enable or disable the terminating resistance.Terminal resistance switch (TERM)Set to ON (Terminal resistance is present.)Communications mode switch (WIRE)For RS-422A: 4 (4-wire)For RS-485: 2 (2-wire)Unit number switchSet the a unique unit number between0 and F so that it will not duplicate thenumbers used in other units.CPU Unit Allocated DM Area SettingsSetting is written from the Programming Device (a Programming Console or CXProgrammer) directly into the allocated DM Area settings (PC Setup) of the CPU83SectionConnecting to the Host’s RS-422A/485 Port5-1Unit.
After the settings are written, they become effective by turning the powerON, restarting the Unit, restarting the communication port, or execution of theSTUP instruction.In the following table, the relevant word addresses allocated in the DM Area andsettings are shown.Allocated DM wordPort 1WritingValueSettingsDM3200082001:N NT Link modeDM32001000ACommunications baud rate (high-speed)DM32006000jj = The largest model number of theconnected PTs (0 to 7)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 000A Hex, and DM 32006 to 0006 Hex.Connecting to a CS-series Serial Communications BoardSerial Communications Board equipped with an RS-422A/485 port for CS-series CPU Units:CS1W-SCB41 (Port 2 is an RS-422A/485 port.)Reference: Serial Communications Boards and Serial Communications Units with lot number 991220 (12/20/99) and later support the high-speed 1:N NT Link.
Boards andUnits with earlier lot numbers cannot be used.Setting the Front SwitchesRDYCOMM1COMM2Port 1RS-232CPORT1Terminator Switch (TERM)Set to ON (right side)OFF2ON TERM4WIREPORT2(RS422/RS485)Port 2RS-422A/485Wire Selection Switch (WIRE)RS-422A: Set to 4 (right side) for 4-wire.RS-485: Set to 2 (left side) for 2-wire.SCB41CPU Unit Allocated DM Area SettingsSetting is written from the Programming Device (a Programming Console or CXProgrammer) directly into the allocated DM Area settings (PC Setup) of the CPUUnit.
After the setting is written, it becomes effective by turning the power ON,restarting the Unit, restarting the communication port, or execution of the STUPinstruction.84SectionConnecting to the Host’s RS-422A/485 Port5-1In the following table, the relevant word addresses allocated in the DM Area andsettings are shown.Allocated DM wordValuePort 2SettingsDM3201082001:N NT Link modeDM32011000ACommunications baud rate (high-speed)DM32016000jj = The largest model number of theconnected PTs (0 to 7)For example, when connecting PTs with model numbers 3, 4, 5, and 6 to port 2,set DM 32010 to 8200 Hex, DM 32011 to 000A Hex, and DM 32016 to 0006 Hex.When using the MemoryLink MethodWith the memory link method, the connection can be made to a personal computer or FA computer equipped with RS-422A.When connecting to the host with the memory link method, it is necessary tocreate a program for the memory link at the host.The communication conditions that can be used with the memory link methodare listed in the following table.
For the host (a personal computer, an FA computer, etc.), its setting should be compatible to one of the communication conditions listed in the following table. Set the same communication conditions at theNT21 by the memory switch. (page 132).ItemSetting at HostI/O portRS-422ABaud rate1,200, 2,400, 4,800, 9,600, 19,200, or 38,400 bps.Data bits7 bits, 8 bitsStop bits1 bit, 2 bitsParityNone, even, oddFlow controlNone, XON/XOFF5-1-2 Direct 1:1 Connection to the Host’s RS-422AThis section explains how to connect the NT21’s RS-232C port with the host’sRS-422A port through a Link Adapter.A Link Adapter (NT-AL001 or NS-AL002) is required to convert communicationsmethods between the RS-232C and RS-422A formats.Connecting the NT21 to the Link Adapter (RS-232C)Link Adapter(NT-AL001 orNS-AL002)NT21HostRS-232C(2 m max.)Compatible Cables with Attached Connectors:XW2Z-070T-1 (9-pin to 9-pin, 0.7 m)XW2Z-200T-1 (9-pin to 9-pin, 2 m)1NT216Link AdapterAbbreviation Pin numberRS-232Cconnector59ShieldFGConnectorhoodConnectorhood–11–SD22SDRD33RDRS44RSCS55CS+5V66+5V–77––88–SG99SG(9-pin type)61Pin number AbbreviationFGRS-232Cconnector(9-pin type)5985SectionConnecting to the Host’s RS-422A/485 Port5-1When an NT-AL001 Link Adapter is being used, the RS-232C cable can be connected to either serial port A or B on the NT21.When an NS-AL002 Link Adapter is being used, the Link Adapter connects directly to serial port B on the NT21, so an RS-232C cable is not required.Connecting the Link Adapter to the Host (RS-422A)Link Adapter(NT-AL001 orNS-AL002)NT21HostRS-422A(500 m max.)Wiring to a C-series Host Link UnitApplicable Unit: C200H-LK202-V161NS-AL002NT-AL001Link AdapterPC (CPU Unit)Pin number87531ShieldPin number AbbreviationNT-AL001NS-AL002ConnectorhoodFG11F.
Ground1RDB2---SG2–SGRS-422Aterminal6Abbreviationblock33SDB3447SDA4–52RDB5SDB266RDA6RDA7---CSB7FG8---CSA8–9SDADIP Switch SettingsRS-422Aconnector95(9-pin type)NT-AL001:Pins 1 and 2 ONPins 3 to 6 OFFNS-AL002:Pin 4 ONPins 1 to 3 OFFNote To avoid an FG ground loop, do not connect the Link Adapter’s functional groundto the shield wire of the RS-422A cable.Wiring to a CPM1, CPM2A, CPM2C, or SRM1Applicable Units:CPM1-10CDR-jCPM1-20CDR-jCPM1-30CDR-jCPM1A-10CDj-jCPM1A-30CDj-jCPM2A-30CDjj-jCPM2A-60CDjj-jCPM2C-10jjjjjj-jCPM1A-20CDj-jCPM1A-40CDj-jCPM2A-40CDjj-jCPM2C-20jjjjjj-jSRM1-C02-V2Connect to the PC through a CPM1-CIF11 RS-422A Adapter.NS-AL002NT-AL001Link AdapterPC (RS-422A Adapter)Pin numberNT-AL00175318RS-422Aterminalblock642AbbreviationNS-AL002AbbreviationFGFGSG11F.