[N/B] Parameters

<< Click to Display Table of Contents >>

 

[N/B] Parameters

N1 or B1

Device model. Please check table Device models for more information

N2 or B2

Data type. Please check table Data types for more information

N3 or B3

Merker number or physical address, if the B1 parameter is equal to 5 (five). Please check tables Physical addresses for PS3 and PS4-100 models - Internal RAM and Physical addresses for PS3 and PS4-100 models - External RAM for more information

N4 or B4

Position of a bit in the Merker/Word data type, between 0 (zero) and 15, if the B2 parameter is equal to 3 (three)

 

Device models

N1 or B1

Model

3

PS306 and PS316

5

PS3 and PS4-100

7

PS4-200, PS4-341-MM1, PSA-201, and PS416

 

Data types

N1 or B1

Description

0

Least significant byte of a Merker/Word data type

1

Most significant byte of a Merker/Word data type

2

Unsigned Merker/Word

3

Bit of a Merker/Word data type

4

Floating point with 4 (four) bytes

5

Unsigned DWord with 4 (four) bytes

6

Signed Merker/Word

7

Signed DWord with 4 (four) bytes

8

String, only for PLC Tags, that is, only for N2 parameters

 

Communication via Modem

For communication via modem, use the values indicated on the next table.

 

N1

-1 (minus one)

N2

0 (zero)

N3

3 (three)

N4

Command. Please check table Modem commands for more information

 

Modem commands

N4

Description

Operation

Data Type

0

Phone number

Reading or writing

String

1

Dialing

Write-only

Command Write

2

Status

Read-only

String

3

Carrier

Read-only

Boolean

4

Escape

Write-only

Command Write

5

Baud rate

Read-only

Double

 

Physical addresses for PS3 and PS4-100 models - Internal RAM

N3

Operation

Symbol

Description

0020

Read-only

IB0.0

Digital input - master

0021

Read-only

IB0.8

Digital input - master

0022

Write-only

QB0.0

Digital output - master

0023

Write-only

QB0.8

Digital output - master

0024

Read-only

MB0.0

Check byte - master

0025

Read-only

MB0.8

Check byte - master

002B

Read-only

MB3.8

Check byte - master

0035

Read-only

 

State word - master

0036

Read-only

 

State word - master

 

Physical addresses for PS3 and PS4-100 models - External RAM

N3

Operation

Symbol

Description

4E85

Read-only

 

State word - 1. slave

4E86

Read-only

 

State word - 1. slave

4E87

Read-only

 

State word - 2. slave

4E88

Read-only

 

State word - 2. slave

4E89

Read-only

 

State word - 3. slave

4E8A

Read-only

 

State word - 3. slave

4E8B

Read-only

 

Type - master

4E8C

Read-only

 

Type - 1. slave

4E8D

Read-only

 

Type - 2. slave

4E8E

Read-only

 

Type - 3. slave

5E00

Reading or writing

IB1.0

Digital input - 1. slave

5E01

Reading or writing

IB1.8

Digital input - 1. slave

5E02

Reading or writing

IB2.0

Digital input - 2. slave

5E03

Reading or writing

IB2.8

Digital input - 2. slave

5E04

Reading or writing

IB3.0

Digital input - 2. slave

5E05

Reading or writing

IB3.8

Digital input - 2. slave

5E06

Reading or writing

QB1.0

Digital output - 1. slave

5E06

Reading or writing

QB1.0

Digital output - 1. slave

5E06

Reading or writing

QB1.0

Digital output - 1. slave

5E0B

Reading or writing

QB3.8

Digital output - 3. slave

5E0C

Reading or writing

MB4.0

Check byte -master

5E0D

Reading or writing

MB4.8

Check byte -master

5E47

Reading or writing

MB33.8

Check byte -master

5E4C

Reading or writing

IA0.0

Analog input 1 - master

5E4D

Reading or writing

IA0.1

Analog input 2 - master

5E6A

Reading or writing

IA3.2

Analog input 3 - slave

5E6B

Reading or writing

IA3.3

Analog input 4 - slave

5E6C

Reading or writing

QA0.0

Analog output - master

5E6D

Reading or writing

QA1.0

Analog output 1. slave

5E6E

Reading or writing

QA2.0

Analog output 2. slave

5E6F

Reading or writing

QA3.0

Analog output 3. slave

Was this page useful?