Language objects associated with configuration. Schneider Electric PL7 Micro/Junior/Pro, Communication applications, Volume 2
広告
広告
Modem language objects
Language objects associated with configuration
Introduction
Internal constants
This page describes all the configuration language objects for Modem communication that can be displayed by the application program.
The following table describes the internal constants:
Object
%KWxy.i.0
%KWxy.i.1
%KWxy.i.2
%KWxy.i.3
Function
Type
Speed / format
Timeout
Slave address
Meaning
0 for Uni-telway mode
Byte 0 = speed z 16#00 = 1200 bits/s, ..., 16#03 = 9600 bits/s
Byte 1: format z z z z x8: bit number (1 = 8 bits, 0 = 7 bits) x9 = 1: parity management x10: Parity type (1 = odd, 0 = even) x11: stop bit (1 = 1 bit, 0 = 2 bits)
Value of timeout
Byte 0: standard slave address
Byte 1: number of consecutive addresses
(from 1 to 3)
%KWxy.i.4
Not used
%KWxy.i.5
RTS/CTS delay Value of delay in hundredths of a millisecond
%KWxy.i.6
Speed / Format in ASCII mode
Byte 0 = speed in ASCII mode z 16#00 = 1200 bits/s, ...,16#03 = 9600 bits/s z z z z
Byte 1: format in ASCII mode x8: bit number (1 = 8 bits, 0 = 7 bits) x9 = 1: parity management x10: Parity type (1 = odd, 0 = even) x11: stop bit (1 = 1 bit, 0 = 2 bits)
%KWxy.i.7
Stop Bits received Byte 0 z z x0 = 1: end character enabled x1 = 1: end character included
Byte 1: value of frame end character
%KWxy.i.8
Not used
%KWxy.i.9
Number of redial attempts
%KWxy.i.10
Delay between redial attempts
Value between 0 and 10 redial attempts
Byte 0: delay between redial attempts in seconds, value between 30 and 180 seconds in increments of
30 s
130
35013154.02 07/2008
Modem language objects
Object Function Meaning
%KWxy.i.11
Dial mode z z z
Byte 0: type of dialing z x0 = 0: tone dial x0 = 1: pulse dial x1 = 0: password test x1 = 1: no password test
Byte 1: dialing time value between 30 and 180 seconds in increments of 30 s
%KWxy.i.12
Maximum time between
2 messages
Message transfer check, value in seconds between
0 and 32767 seconds
%KWxy.i.13
Maximum connection time
%KWxy.i.14 to 17
Passwords z z
Value between 0 and 32767 seconds
= 0: no connection time control
> 0: connection time control
148 byte string
Micro internal constants
The following table describes internal constants for Micro PLCs:
Object
%KWxy.i.18 to 49
%KWxy.i.50 to 123
Function
List of passwords
Modem string
Meaning
List of 8 passwords, with a maximum of 8 characters per password
148 byte string
Premium internal constants
The following table describes internal constants for Premium PLCs:
Object
%KWxy.i.18 to 81
%KWxy.i.82 to 155
Function
List of passwords
Modem string
Meaning
List of 16 passwords, with a maximum of 8 characters per password
148 byte string
35013154.02 07/2008
131
Modem language objects
132
35013154.02 07/2008
ダウンロード
広告