Command number 2: set the pass code – Rockwell Automation 1758-RTU202 DataSite Software User Manual FRN 1.2 User Manual

Page 284

Advertising
background image

Publication 1758-UM002D-EN-P - October 2010

284 Extension Modbus Protocol for DataSite Controllers (1758-FLO)

Command Number 2: Set the Pass Code

Use command number 2 to set a new pass code. The default pass code is 0.

There is no event code for command number 2.

Return codes for command number 1

Return Code

Description

00

OK

01

Year invalid

02

Month invalid

03

Day invalid

04

Hour invalid

05

Minute invalid

06

Second invalid

07

Week invalid

100

Pass code is wrong

Other

Invalid

Parameters for command number 2

Address

Data Type

Attribute

Description

49025

u_short

RW

2

49026

u_short

R

Return code

49027

u_short

W

Reserved

49028

u_int

W

Pass code for user
Default is 0.

49030…49034

Reserved

49035

u_int

W

New pass code

Return codes for command number 2

Return Code

Description

00

OK

100

Pass code is incorrect

Other

Invalid

Advertising