HITACHI LYD000A工控卡件,LYD000A使用尺寸
例如,如果用戶正在輸入
將值9和%R150相加,則過(guò)程為:1.從PLC編程軟件中,選擇“參考表”(F2)。
2.將光標(biāo)指向?qū)瑩芴?hào)字符串的每個(gè)%R,并選擇“ascii”(F7)格式。
3.選擇%R150并鍵入“9”(包括引號(hào))。點(diǎn)擊“回車”鍵,將值輸入到適當(dāng)?shù)募拇嫫鳌?/p>
對(duì)于剩余的撥號(hào)字符串,請(qǐng)遵循此過(guò)程。如果使用PLC編程軟件以十六進(jìn)制格式輸入撥號(hào)字符串,則選擇“十六進(jìn)制”(F5)并將寄存器組轉(zhuǎn)換為十六進(jìn)制格式。然后,每個(gè)撥號(hào)字符串都將是根據(jù)ASCII等效輸入,不需要引號(hào)。詳見(jiàn)第22頁(yè)附錄AASCII/十六進(jìn)制轉(zhuǎn)換圖。
HITACHI LYD000A工控卡件使用HHP,只能以十六進(jìn)制格式輸入撥號(hào)字符串。只需轉(zhuǎn)到%R150并輸入連續(xù)寄存器中十六進(jìn)制格式的撥號(hào)字符串。有關(guān)詳細(xì)信息,請(qǐng)參見(jiàn)表3-6、3-7和3-8特殊撥號(hào)字符串的配置示例和第23頁(yè)的附錄B。注意:表盤字符串從右到右輸入PLC編程軟件和手持式編程器
左邊示例:數(shù)字“1”后跟“2”將輸入這兩個(gè)設(shè)備“3231”一旦撥號(hào)字符串輸入到適當(dāng)?shù)募拇嫫髦校瑒t第一個(gè)離散輸出(%Q)為HE693RTU940配置,切換以啟動(dòng)呼叫。在寄存器中輸入“1”將調(diào)用撥號(hào)撥號(hào)%R引用處的字符串,在我們前面的示例中,%R150。將“0”輸入寄存器清除狀態(tài)寄存器并斷開呼叫。
一旦將%Q設(shè)置為高并且撥打了電話號(hào)碼,則會(huì)顯示“異常報(bào)告”命令采樣以查看呼叫是否被接受。如果呼叫被接受,主機(jī)將發(fā)出Modbus請(qǐng)求然后,主機(jī)將在預(yù)定位置請(qǐng)求數(shù)據(jù)。當(dāng)主人
掛斷,本地調(diào)制解調(diào)器將丟棄載波檢測(cè)(DCD),從機(jī)將設(shè)置狀態(tài)OK(%I8)。這個(gè)每次命令完成時(shí),連接都會(huì)斷開。調(diào)制解調(diào)器無(wú)法保持連接。
For example, if the user was entering
the values 9 and , into %R150, then the process would be:
1. From the PLC Programming Software, select 'Reference Tables' (F2).
2. Cursor to each %R that will contain dial string characters and select 'ascii' (F7) format.
3. Select the %R150 and type "9," (include quotation marks). Strike the 'Enter' key to input the values to
the appropriate registers.
Follow this process for the remaining dial string.
If entering the dial string in hexadecimal format using the PLC Programming Software, then select 'hex'
(F5) and convert the group of registers to a hexadecimal format. Each dial string character would then be
entered according to it's ASCII equivalent, no quotation marks needed. See Appendix A on page 22 for
an ASCII/HEX conversion chart.
Using the HHP, the dial string can only be entered in hexadecimal format. Simply go to %R150 and enter
the dial string in the consecutive registers in hexadecimal format. See Tables 3-6, 3-7, and 3-8 for
Configuration Examples and Appendix B on page 23 for Special Dial String Characters. Note: The dial
string is entered into the PLC Programming Software and the Hand Held Programmer from right to
left. Example: The number "1" followed by "2" would be entered into these two devices, "3231."Once the dial string has been entered into the appropriate registers, then the first discrete output (%Q)
configured for the HE693RTU940 is toggled to initiate a call. Entering a '1' into the register calls the dial
string at the Dial %R reference, in our previous example, %R150. Entering a '0' into the register clears
the status register and disconnects the call.
Once the %Q has been set high and the telephone number dialed, the Report-By-Exception command is
sampled to see if the call was accepted. If the call was accepted, the Master will issue a Modbus request
for the station ID. The Master will then request data at a predetermined location. When the Master
hangs up, the local modem will drop the Carrier Detect (DCD) and the slave will set status OK (%I8). The
connection is broken each time a command is completed. The modems do not stay connected.