Active program, I/o control, Host communications setup – Electro Cam PS-6144 Series User Manual

Page 97: Registers (cont'd)

Advertising
background image

6-25 Communications

Registers (Cont'd)

Run Time Control (Cont'd)

40342

EEPROM Changed
Read only
Values: 0 = no change, 1 = changed.
A value of '1' in this register means that the EEPROM has been changed (through the
keyboard) since the last time this register was read. Reading this register sets it to '0'.

Active Program

40343

Active Program
Read/Write.
Values: 1 - Max program number
Returns to program currently active; determined either by hardware inputs or by the value of
the default program. If hardware inputs are active, writes to this register will change the
default program, but the active program will not change.

I/O Control

40350 - 40359 Input Status

Read Only.
Values: 0 - 65535
Each register represents the status of 16 inputs.

40360 - 40369 Output Status

Read/Write.
Values: 0 - 65535
Each register represents the status of 16 outputs. The least significant bit of the register
corresponds to the lowest numbered output. Writing to one of these registers will force 16
outputs. The ORing and ANDing registers (and coils) will reflect the forced conditions.

40370 - 40379 ORing Bits

Read/Write.
Values: 0 - 65535
Each register represents the status of 16 ORing bits. The least significant bit of the register
corresponds to the lowest numbered output. When a '1' is present in an outputs' bit position,
the output will be forced ON. The OUTPUT STATUS register will reflect the forced condition.

40380 - 40389 ANDing Bits

Read/Write.
Values: 0 - 65535
Each register represents the status of 16 ANDing bits. The least significant bit of the register
corresponds to the lowest numbered output. When a '1' is present in an outputs' bit position,
the output will be forced OFF. The OUTPUT STATUS register will reflect the forced condi-
tion.

Host Communications Setup

40390

Communication Type (RS485/RS232)
Read/Write.
Values: 0/1 (0=RS485, 1=RS232)
Determines the communication type used by the controller. This register may only be written
to when the controller is stopped (via the STOP CONTROL register).

40391

Communication Baud Rate
Read/Write.
Values: 2/3/4/5 (2=4800, 3=9600, 4=19200, 5=38400)
Determines the baud rate used by the controller. This register may only be written to when
the controller is stopped (via the STOP CONTROL register).

Advertising